/* Campervan Hire NI: content and asset adaptations on the complete v42 layout. */

.site-header .brand {
  flex: 0 1 300px;
  width: clamp(220px, 23vw, 300px);
  min-width: 0;
}
.brand .merchant-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.footer-brand {
  flex: 0 1 320px;
  width: min(320px, 30vw);
}
.sd-contact-bar .contact-copy strong { overflow-wrap: normal; }
.trip-desk a { text-decoration: none; }

/* A physical companion cue. The app owns data-dog-too; the default is absent. */
.door-lead {
  position: absolute;
  left: 83.5%;
  top: 32%;
  width: 7%;
  height: 31%;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
  filter: drop-shadow(1px 2px 1px #17292745);
}
.door-lead svg { display: block; width: 100%; height: 100%; overflow: visible; }
.door-lead .lead-hook,
.door-lead .lead-clip { stroke: #b8b7ab; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.door-lead .lead-rope { stroke: #915032; stroke-width: 6; stroke-linecap: round; }
.door-lead .lead-thread { stroke: #d0aa70; stroke-width: 1.3; stroke-linecap: round; }
html[data-dog-too="true"] .door-lead { opacity: 1; visibility: visible; transform: none; }
html[data-dog-too="false"] .door-lead { opacity: 0; visibility: hidden; }
.pet-stamp strong { font-size: clamp(13px, 1.35vw, 19px); }
.pet-stamp > span:first-child { font-size: 7px; }

.scene-credit {
  display: block;
  margin: -7px 0 19px;
  font: 10px/1.55 var(--body);
  letter-spacing: .015em;
  color: #33493d;
}
.breakfast-scene .scene-credit { margin-bottom: 14px; }
.gb-concept-note {
  margin: 12px 0 0;
  max-width: 34ch;
  color: #eee6d4bb;
  font: 11px/1.6 var(--body);
}
.gb-maker { font-size: clamp(8px, .82vw, 11px); }
.gb-film button strong { line-height: 1.22; }

.camper-specs #camper-seats { font-size: clamp(17px, 1.8vw, 25px); }
.merchant-dog-photo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 18px 0;
}
.merchant-dog-photo img {
  width: 110px;
  height: 136px;
  flex: 0 0 110px;
  object-fit: cover;
  object-position: 55% 58%;
  border: 5px solid var(--paper);
  box-shadow: 1px 3px 8px #11283b1c;
  transform: rotate(-3deg);
}
.merchant-dog-photo figcaption { font: italic 15px/1.35 Daydream, Georgia, serif; max-width: 18ch; }

/* Keep the three original postcard controls; scenery is the main printed image. */
.detour-card.has-route-photo > .route-photo {
  display: block;
  width: 100%;
  height: 135px;
  margin: 12px 0 20px;
  object-fit: cover;
  flex-shrink: 0;
}
.detour-card.has-route-photo > .postcard-art {
  position: absolute;
  top: 49px;
  right: 24px;
  left: auto;
  width: 60px;
  height: 52px;
  margin: 0;
  opacity: .16;
  mix-blend-mode: multiply;
  pointer-events: none;
}

#inside-image { object-fit: contain; object-position: center; }
#inside-views { display: flex; flex-wrap: wrap; gap: 8px; margin: 19px 0 0; }
#inside-views:empty { display: none; }
#inside-views button {
  padding: 8px 11px;
  background: var(--paper);
  color: var(--navy);
  border: 1px solid #11283b30;
  border-radius: 4px;
  font: 11px/1.35 var(--body);
}
#inside-views button[aria-pressed="true"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }
#inside-views button:focus-visible { outline: 2px solid #a4512d; outline-offset: 3px; }
#inside-photo-caption {
  margin: 11px 0 0;
  font: 12px/1.5 var(--body);
  color: #40504b;
}

.pet-charge-note { margin: -3px 0 17px 29px; font: 10px/1.5 var(--body); max-width: 34ch; }
.capacity-advice { margin: 7px 0 15px; padding-left: 12px; border-left: 2px solid var(--green); font: 11px/1.6 var(--body); }
.enquiry-note-wrap { margin: 25px 0 22px; text-align: left; }
.enquiry-note-label { display: block; margin-bottom: 11px; font: 13px/1.45 var(--display); }
#enquiry-note {
  display: block;
  width: 100%;
  min-height: 245px;
  max-height: 520px;
  resize: vertical;
  padding: 17px 18px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid #11283b40;
  border-radius: 5px;
  font: 13px/1.65 var(--body);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#enquiry-note:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
#copy-enquiry { width: 100%; min-height: 48px; margin-top: 12px; font-size: 13px; }
#enquiry-status { margin: 11px 0 0; font: 11px/1.55 var(--body); }
#enquiry-status:empty { display: none; }
.enquiry-contact-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 13px; margin-top: 20px; }
.enquiry-contact-actions .text-link { font-size: 11px; }

@media (max-width: 1150px) {
  .site-header .brand { width: 235px; flex-basis: 235px; }
  .detour-card.has-route-photo > .route-photo { height: 115px; margin-bottom: 16px; }
}
@media (max-width: 900px) {
  .door-lead { left: 69.6%; top: 31%; }
}
@media (max-width: 850px) {
  .site-header .brand { width: 205px; flex-basis: 205px; }
  .detour-card.has-route-photo > .route-photo { height: 100px; }
  .detour-card.has-route-photo > .postcard-art { width: 48px; height: 44px; right: 17px; }
}
@media (max-width: 680px) {
  .door-lead { top: 28.2%; }
  .site-header .brand { width: 170px; flex-basis: 170px; max-width: calc(100vw - 206px); min-width: 138px; }
  .footer-brand { width: min(270px, 64vw); flex-basis: auto; }
  .scene-credit { font-size: 10px; }
  .gb-concept-note { margin: -12px 0 22px; max-width: 42ch; }
  .gb-maker { font-size: 8px; }
  .detour-card.has-route-photo > .route-photo { height: 125px; margin: 13px 0 19px; }
  .detour-card.has-route-photo > .postcard-art { top: 51px; right: 26px; width: 60px; height: 52px; }
  #inside-views button { font-size: 11px; padding: 9px 11px; }
  .enquiry-contact-actions { flex-direction: column; align-items: flex-start; }
  .pet-charge-note { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .door-lead { transition: none; } }
.motion-off .door-lead { transition: none; }
