/* V3.72.9.2 — Ajuste visual del consentimiento de cookies */
.tra-cookie-consent,
.tra-cookie-modal,
.tra-cookie-reopen {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tra-cookie-consent[hidden],
.tra-cookie-modal[hidden],
.tra-cookie-reopen[hidden] {
  display: none !important;
}

.tra-cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1300;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.tra-cookie-consent__card {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(199, 151, 91, .36);
  border-radius: 24px;
  background: rgba(6, 27, 43, .88);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  pointer-events: auto;
}

.tra-cookie-consent__eyebrow {
  margin: 0 0 6px;
  color: #ffe0b2;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tra-cookie-consent h2,
.tra-cookie-modal h2 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.16;
}

.tra-cookie-consent h2 {
  color: #fff7e8;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
}

.tra-cookie-modal h2 {
  color: #061b2b;
}

.tra-cookie-consent p {
  margin: 0;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
}

.tra-cookie-consent__links {
  margin-top: 10px !important;
  font-size: .9rem;
}

.tra-cookie-consent__links a {
  color: #ffe0b2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tra-cookie-consent__actions,
.tra-cookie-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.tra-cookie-consent__button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.tra-cookie-consent__button:hover,
.tra-cookie-consent__button:focus-visible,
.tra-cookie-modal__close:hover,
.tra-cookie-modal__close:focus-visible,
.tra-cookie-reopen:hover,
.tra-cookie-reopen:focus-visible {
  transform: translateY(-1px);
}

.tra-cookie-consent__button--primary {
  border-color: #c7975b;
  background: #c7975b;
  color: #061b2b;
}

.tra-cookie-consent__button--soft {
  border-color: rgba(199, 151, 91, .52);
  background: rgba(199, 151, 91, .18);
  color: #fff7e8;
}

.tra-cookie-consent__button--ghost {
  background: rgba(255,255,255,.06);
  color: #fff7e8;
}

.tra-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1310;
}

.tra-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.54);
}

.tra-cookie-modal__dialog {
  position: relative;
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: auto;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  color: #061b2b;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}

.tra-cookie-modal__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.tra-cookie-modal__close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(6,27,43,.14);
  border-radius: 50%;
  background: #f6f2eb;
  color: #061b2b;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.tra-cookie-modal__body > p {
  margin: 0 0 16px;
  color: rgba(6,27,43,.72);
  line-height: 1.6;
}

.tra-cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(6,27,43,.11);
}

.tra-cookie-option strong {
  display: block;
  margin-bottom: 4px;
}

.tra-cookie-option small {
  display: block;
  color: rgba(6,27,43,.68);
  line-height: 1.55;
}

.tra-cookie-option input {
  width: 22px;
  height: 22px;
  accent-color: #0f5132;
}

.tra-cookie-option.is-required input {
  opacity: .55;
}

.tra-cookie-modal__footer {
  margin-top: 22px;
}

.tra-cookie-modal__footer .tra-cookie-consent__button--ghost {
  color: #061b2b;
  border-color: rgba(6,27,43,.22);
}

.tra-cookie-reopen {
  display: none !important;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1250;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(199, 151, 91, .38);
  border-radius: 999px;
  background: rgba(6,27,43,.82);
  color: #fff7e8;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  box-shadow: 0 14px 42px rgba(0,0,0,.22);
  cursor: pointer;
}


.legal-cookie-preferences-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid rgba(199,151,91,.28);
  border-radius: 20px;
  background: #fffaf2;
  box-shadow: 0 14px 34px rgba(6,27,43,.08);
}

.legal-cookie-preferences-box strong {
  display: block;
  margin-bottom: 4px;
  color: #061b2b;
  font-size: 1rem;
}

.legal-cookie-preferences-box p {
  margin: 0;
  color: rgba(6,27,43,.72);
}

.legal-cookie-manage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(199,151,91,.42);
  border-radius: 999px;
  background: #c7975b;
  color: #061b2b;
  font: inherit;
  font-size: .94rem;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(6,27,43,.12);
  cursor: pointer;
}

.legal-cookie-manage:hover,
.legal-cookie-manage:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(6,27,43,.18);
  outline: none;
}

@media (max-width: 720px) {
  .tra-cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .tra-cookie-consent__card {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 20px;
  }

  .tra-cookie-consent__actions,
  .tra-cookie-modal__footer {
    justify-content: stretch;
  }

  .legal-cookie-preferences-box {
    display: block;
  }

  .legal-cookie-preferences-box .legal-cookie-manage {
    width: 100%;
    margin-top: 14px;
  }

  .tra-cookie-consent__button {
    flex: 1 1 100%;
  }

  .tra-cookie-modal__dialog {
    margin-top: 12px;
    max-height: calc(100vh - 24px);
    padding: 20px;
    border-radius: 22px;
  }
}
