/* =========================================
   BUA Country Accordion PRO
   Luxury Soft
========================================= */

.bua-pro-accordion,
.bua-pro-accordion *,
.bua-pro-accordion *::before,
.bua-pro-accordion *::after {
  box-sizing: border-box;
}

.bua-pro-accordion {
  width: 100%;
  background: #f8f7f6;
  border: 1px solid #e5dddd;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
}

.bua-pro-item {
  width: 100%;
  display: block;
  background: #f8f7f6;
  border-bottom: 1px solid #e8e0e0;
}

.bua-pro-item.is-open .bua-pro-header {
  background: #fffdfc !important;
}

.bua-pro-item.is-open .bua-pro-content {
  border-top: 1px solid #e8e0e0;
}

.bua-pro-item:last-child {
  border-bottom: 0;
}

.bua-pro-header {
  appearance: none;
  -webkit-appearance: none;
  width: 100% !important;
  min-width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 19px 24px;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fbf9f8 !important;
  box-shadow: none !important;
  cursor: pointer;
  text-align: left;
  text-decoration: none !important;
  font: inherit;
  color: inherit;
  transition: background 0.24s ease, border-color 0.24s ease;
}

.bua-pro-header:hover {
  background: #fffdfc !important;
}

.bua-pro-header:focus,
.bua-pro-header:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(191, 60, 121, 0.16) !important;
}

.bua-pro-header > * {
  pointer-events: none;
}

.bua-pro-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
}

.bua-pro-flag-wrap {
  width: 48px;
  height: 32px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
}

.bua-pro-flag {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bua-pro-country-name {
  display: block;
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #DE2C72;
  white-space: normal;
}

.bua-pro-icon {
  position: relative;
  width: 34px;
  height: 34px;
  min-width: 34px;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 999px;

  /* 👉 ROSA BUA */
  background: linear-gradient(180deg, #e31c67 0%, #c81459 100%);

  border: 1px solid rgba(200, 20, 89, 0.12);
  box-shadow: none;

  transition: transform 0.28s ease, background 0.22s ease;
  overflow: hidden;
}

.bua-pro-header:hover .bua-pro-icon {
  background: linear-gradient(180deg, #cf3f7d 0%, #b63670 100%);
}

.bua-pro-icon,
.bua-pro-icon * {
  visibility: visible !important;
}

.bua-pro-icon-line {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block !important;
  background: #ffffff !important;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.2s ease;
  z-index: 3;
  opacity: 1 !important;
}

.bua-pro-icon-line-horizontal {
  width: 12px;
  height: 2px;
}

.bua-pro-icon-line-vertical {
  width: 2px;
  height: 12px;
}

.bua-pro-item.is-open .bua-pro-icon {
  transform: rotate(180deg);
}

.bua-pro-item.is-open .bua-pro-icon-line-vertical {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scaleY(0.35);
}

.bua-pro-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  background: #fffdfc;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bua-pro-content-inner {
  padding: 18px 24px 24px;
  border-top: 0;
}

.bua-pro-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: #57525a;
  max-width: 980px;
}

.bua-pro-terms {
  display: inline-block;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #4c88ff;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.bua-pro-terms:hover {
  color: #2f6fe9;
  text-decoration: underline !important;
}

.bua-pro-city-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}

.bua-pro-city-item {
  margin: 0 0 12px;
  break-inside: avoid;
}

.bua-pro-city-link {
  position: relative;
  display: inline-block;
  padding-left: 15px;
  color: #c43a74;
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bua-pro-city-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(196, 58, 116, 0.45);
}

.bua-pro-city-link:hover {
  color: #ab2f63;
  transform: translateX(2px);
  text-decoration: none !important;
}

@media (min-width: 768px) {
  .bua-pro-city-list {
    columns: 2;
    column-gap: 46px;
  }

  .bua-pro-country-name {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .bua-pro-accordion {
    border-radius: 14px;
  }

  .bua-pro-header {
    padding: 16px 16px;
    gap: 14px;
  }

  .bua-pro-header-left {
    gap: 12px;
  }

  .bua-pro-flag-wrap {
    width: 40px;
    height: 28px;
  }

  .bua-pro-country-name {
    font-size: 17px;
    letter-spacing: 0.04em;
  }

  .bua-pro-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .bua-pro-icon-line-horizontal {
    width: 10px;
  }

  .bua-pro-icon-line-vertical {
    height: 10px;
  }

  .bua-pro-content-inner {
    padding: 16px 16px 18px;
  }

  .bua-pro-text,
  .bua-pro-terms,
  .bua-pro-city-link {
    font-size: 14px;
  }
}
/* ===== FIX MOBILE DEFINITIVO ===== */
@media (max-width: 767px) {

  .bua-pro-header-left {
    flex: 1;
    max-width: calc(100% - 55px);
  }

  .bua-pro-country-name {
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0.03em;
    white-space: normal;
    display: block;
  }

  .bua-pro-icon {
    flex-shrink: 0;
  }

}

/* =========================
   CTA dentro del acordeón
   Luxury soft unificado
========================= */

.bua-pro-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.bua-pro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;

  background: rgba(227, 28, 103, 0.06);
  color: #c71f62 !important;
  border: 1px solid rgba(227, 28, 103, 0.14);

  transition: all 0.22s ease;
}

.bua-pro-cta:hover {
  background: #ffffff;
  color: #b0124d !important;
  border-color: rgba(227, 28, 103, 0.35);
  transform: translateY(-1px);
}

.bua-pro-cta:active {
  transform: translateY(0);
}

/* Ambos quedan iguales */
.bua-pro-cta-primary,
.bua-pro-cta-secondary {
  background: rgba(227, 28, 103, 0.08);
  color: #c71f62 !important;
  border: 1px solid rgba(227, 28, 103, 0.18);
}

.bua-pro-cta-primary:hover,
.bua-pro-cta-secondary:hover {
  background: #ffffff;
  color: #b0124d !important;
  border-color: rgba(227, 28, 103, 0.35);
}

@media (max-width: 767px) {
  .bua-pro-cta-row {
    gap: 10px;
  }

  .bua-pro-cta {
    width: 100%;
    min-height: 40px;
    font-size: 14px;
    padding: 10px 14px;
  }
}
