/* =========================================================
   PRINCIPE DEL PACIFICO — DIRECT HOLIDAY BANNER 2026/27
   Component: /components/direct-holiday-banner.php
   Requires the design tokens and .wrap class from main.css.
   ========================================================= */

.direct-holiday-banner {
  position: relative;
  z-index: 20;
  color: #573b17;
  background: #fff8ec;
  border-bottom: 1px solid #ecd9b9;
}

.direct-holiday-banner__inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.direct-holiday-banner__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 50%;
  color: var(--white, #fdfcfa);
  background: #b8644c;
  font-size: 18px;
  line-height: 1;
}

.direct-holiday-banner__copy {
  min-width: 0;
  font-family: var(--font-body, "DM Sans", system-ui, sans-serif);
  line-height: 1.35;
}

.direct-holiday-banner__copy strong {
  display: block;
  color: #9d4f3b;
  font-size: 15px;
  font-weight: 500;
}

.direct-holiday-banner__copy span {
  display: block;
  margin-top: 3px;
  color: #7a664d;
  font-size: 13px;
  font-weight: 300;
}

.direct-holiday-banner__cta {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 0 4px;
  border-bottom: 1px solid rgba(184, 100, 76, .55);
  border-radius: 0;
  color: #9d4f3b;
  background: transparent;
  box-shadow: none;
  font-family: var(--font-body, "DM Sans", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast, 150ms) ease,
              border-color var(--dur-fast, 150ms) ease;
}

.direct-holiday-banner__cta::after {
  content: "→";
  margin-left: 8px;
  transition: transform var(--dur-fast, 150ms) ease;
}

.direct-holiday-banner__cta:hover {
  color: #7f3e2f;
  background: transparent;
  border-color: #9d4f3b;
}

.direct-holiday-banner__cta:hover::after {
  transform: translateX(3px);
}

.direct-holiday-banner__cta:focus-visible {
  outline: 3px solid var(--cta, #e8a855);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .direct-holiday-banner__inner {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px 13px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .direct-holiday-banner__mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 17px;
  }

  .direct-holiday-banner__copy strong {
    font-size: 14px;
  }

  .direct-holiday-banner__copy span {
    font-size: 12px;
  }

  .direct-holiday-banner__cta {
    grid-column: 1 / -1;
    width: max-content;
    min-height: 34px;
    justify-self: start;
    justify-content: flex-start;
    padding: 5px 0 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .direct-holiday-banner__cta {
    transition: none;
  }
}

