/* STAYS by Goodwins
   Everything here either does something theme.json cannot,
   or skins the TAC Booking Engine output to match the brand.
   Colours come from theme.json presets, never hard-coded twice. */

:root {
  --stays-teal: var(--wp--preset--color--teal, #034947);
  --stays-deep: var(--wp--preset--color--teal-deep, #003734);
  --stays-mint: var(--wp--preset--color--mint, #8be6c8);
  --stays-stone: var(--wp--preset--color--stone, #e3e7ea);
  --stays-ink: var(--wp--preset--color--ink, #2b3a3a);
  --stays-muted: var(--wp--preset--color--muted, #5a6b6b);
  --stays-line: rgba(3, 73, 71, .14);
  --stays-radius: 14px;        /* images, cards, panels */
  --stays-radius-sm: 8px;      /* fields and small boxes */
  --stays-serif: var(--wp--preset--font-family--serif);
  --stays-sans: var(--wp--preset--font-family--sans);
}

/* ---------- Type details ---------- */

h1 em, h2 em { font-weight: 400; font-style: italic; }
h1 strong, h2 strong { font-family: var(--stays-sans); font-weight: 700; letter-spacing: -0.02em; }

.is-style-eyebrow {
  font-family: var(--stays-sans);
  font-size: var(--wp--preset--font-size--xs) !important;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stays-teal);
  margin-bottom: .5rem;
}
.has-teal-background-color .is-style-eyebrow,
.has-teal-deep-background-color .is-style-eyebrow { color: var(--stays-mint); }

/* ---------- Buttons ---------- */

.wp-block-button__link { transition: background-color .15s, color .15s, border-color .15s; }

.wp-block-button.is-style-mint .wp-block-button__link {
  background: var(--stays-mint);
  color: var(--stays-deep);
}
.wp-block-button.is-style-mint .wp-block-button__link:hover { background: #a6eed6; }

.wp-block-button.is-style-line .wp-block-button__link {
  background: transparent;
  color: var(--stays-teal);
  border: 1.5px solid var(--stays-teal);
}
.wp-block-button.is-style-line .wp-block-button__link:hover { background: var(--stays-teal); color: #fff; }

/* ---------- Header ---------- */

.stays-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .stays-site-header { top: 32px; }
.stays-header {
  border-bottom: 1px solid var(--stays-line);
  gap: 1.5rem;
  padding-left: max(var(--wp--style--root--padding-left), calc((100% - 1200px) / 2)) !important;
  padding-right: max(var(--wp--style--root--padding-right), calc((100% - 1200px) / 2)) !important;
}
.stays-header-left { gap: clamp(1rem, 3vw, 2.75rem); }
.stays-header-right { gap: 1.5rem; }
.stays-logo { margin: 0; line-height: 0; }
.stays-logo img { height: auto; display: block; }
.stays-nav .wp-block-navigation-item__content { color: var(--stays-teal); }
.stays-nav .wp-block-navigation__container { gap: 1.75rem; }
.stays-owner-link { margin: 0; }
.stays-owner-link a { color: var(--stays-teal); text-decoration: none; }
.stays-owner-link a:hover { text-decoration: underline; }
.stays-search-btn .wp-block-button__link::before {
  content: "";
  display: inline-block;
  width: 15px; height: 15px;
  margin-right: .55rem;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Six items now: keep every label on one line, tighten as the screen narrows,
   and switch to the menu button below 1024px. */
.stays-header, .stays-header-left, .stays-header-right { flex-wrap: nowrap !important; }
.stays-nav .wp-block-navigation__container { flex-wrap: nowrap; }
.stays-nav .wp-block-navigation-item__content,
.stays-owner-link a,
.stays-search-btn .wp-block-button__link { white-space: nowrap; }
@media (max-width: 1180px) {
  .stays-nav .wp-block-navigation__container { gap: 1.25rem; }
  .stays-header-left { gap: 1.5rem; }
}
@media (max-width: 1100px) {
  .stays-owner-link { display: none; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .stays-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .stays-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
  .stays-header-left { flex: 1; }
  .stays-header-left .stays-nav { margin-left: auto; }
}
@media (max-width: 599px) {
  .stays-header-left { flex: 1; }
  .stays-header-left .stays-nav { margin-left: auto; }
}
@media (max-width: 600px) {
  .stays-header { gap: .75rem; }
  .stays-header .stays-logo img { width: 116px !important; }
  .stays-header-right { gap: .5rem; }
  .stays-header .stays-search-btn .wp-block-button__link { padding: .7rem .9rem; white-space: nowrap; }
  .admin-bar .stays-site-header { top: 0; }
}

/* ---------- Hero ---------- */

.stays-hero { position: relative; }

/* Slides: each is a group with its own photo and copy, stacked in one grid
   cell so the hero is as tall as the tallest slide. The search bar sits over
   the bottom of whichever slide is showing. */
.stays-hero-slides { display: grid; margin: 0 !important; }
.stays-hero-slide {
  grid-area: 1 / 1; position: relative; margin: 0 !important;
  min-height: clamp(520px, 68vh, 680px);
  padding: var(--wp--preset--spacing--70) var(--wp--style--root--padding-right) 10.5rem var(--wp--style--root--padding-left);
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.stays-hero-slides:not(.is-ready) > .stays-hero-slide:first-child,
.stays-hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .stays-hero-slide, .stays-hero-slide.is-active { transition: none; } }
/* A soft wash on the left keeps the copy readable over any photo. */
.stays-hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(241,245,246,.92) 0%, rgba(241,245,246,.7) 38%, rgba(241,245,246,0) 68%);
}
.stays-hero-slide > * { position: relative; z-index: 1; }
.stays-hero-title { font-size: var(--wp--preset--font-size--display) !important; line-height: 1.02; max-width: 8em; margin-top: 0; }
.stays-hero-search {
  position: absolute !important; left: 0; right: 0; bottom: 2.75rem; z-index: 3; margin: 0 !important;
  padding: 0 var(--wp--style--root--padding-right) 0 var(--wp--style--root--padding-left);
}
@media (max-width: 781px) {
  .stays-hero-slide { min-height: 0; padding-bottom: 5.5rem; }
  .stays-hero-search { position: relative !important; bottom: auto; margin-top: -3.5rem !important; padding-bottom: 2rem; }
}
.stays-hero-pause {
  position: absolute !important; z-index: 4 !important; right: 1.25rem; top: 1.25rem;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--stays-teal);
  display: grid; place-items: center;
}
.stays-hero-pause svg { width: 14px; height: 14px; fill: currentColor; }
.stays-hero-pause:focus-visible { outline: 2px solid var(--stays-teal); outline-offset: 2px; }
.stays-hero-copy p { max-width: 30em; color: var(--stays-ink); }

/* ---------- Steps ---------- */

.stays-step { border-top: 3px solid var(--stays-teal); padding-top: 1.25rem; }
.stays-step-mint { border-top-color: var(--stays-mint); }
.stays-step-num {
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 700;
  color: var(--stays-teal);
  margin-bottom: .5rem;
}
.stays-step h3 { margin-top: 0; margin-bottom: .5rem; }
.stays-step p:last-child { color: var(--stays-ink); }

/* ---------- Image and text split ---------- */

.stays-split { gap: 0 !important; }
.stays-split-media .stays-media-panel {
  height: 100%;
  background-size: cover;
  background-position: center;
}
@media (max-width: 781px) {
  .stays-split-media .stays-media-panel { min-height: 320px !important; }
}

/* ---------- Corporate band corner ---------- */

.wp-block-group.is-style-corner { position: relative; overflow: hidden; }
.wp-block-group.is-style-corner::after {
  content: "";
  position: absolute; top: 0; right: 0;
  width: clamp(48px, 7vw, 88px);
  height: clamp(48px, 7vw, 88px);
  background: var(--stays-mint);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Ticks in a row */
.wp-block-list.is-style-ticks {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem 1.5rem;
  font-size: var(--wp--preset--font-size--small);
}
@media (max-width: 600px) { .wp-block-list.is-style-ticks { grid-template-columns: 1fr; } }
.wp-block-list.is-style-ticks li { padding-left: 1.4rem; position: relative; line-height: 1.35; }
.wp-block-list.is-style-ticks li::before {
  content: "";
  position: absolute; left: 0; top: .3em;
  width: .7rem; height: .4rem;
  border-left: 1.5px solid var(--stays-mint);
  border-bottom: 1.5px solid var(--stays-mint);
  transform: rotate(-45deg);
}

/* ---------- FAQs ---------- */

.stays-faqs .wp-block-details { padding: 1.15rem 0; margin: 0; }
.stays-faqs .wp-block-details:last-child { border-bottom: 1px solid var(--stays-line); }
.stays-faqs summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--stays-teal);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}
.stays-faqs summary::-webkit-details-marker { display: none; }
.stays-faqs summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  flex: none;
}
.stays-faqs details[open] summary::after { content: "\2212"; }
.stays-faqs details p { margin: .75rem 0 0; color: var(--stays-ink); max-width: 42em; }

/* ---------- Footer ---------- */

.stays-footer a { color: inherit; text-decoration: none; }
.stays-footer a:hover { text-decoration: underline; }
.stays-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.wp-block-group.is-style-boxed { border: 1px solid rgba(255,255,255,.35); padding: 1.5rem; }
.wp-block-group.is-style-boxed h3 { color: #fff; margin: 0 0 .5rem; }
.stays-cta-link a {
  color: var(--stays-mint) !important;
  font-weight: 700;
  font-size: var(--wp--preset--font-size--xs);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.stays-footer-base {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: var(--wp--preset--spacing--50) !important;
  padding-top: 1.5rem;
  opacity: .9;
}
.stays-footer-base p { margin: 0; }

/* ======================================================================
   TAC Booking Engine bridge
   Sets the plugin's own variables. Two-class selectors beat the
   plugin's inline .tac-stays-root block regardless of load order, so
   the theme is the single source of the booking engine's colours.
   ====================================================================== */

body .tac-stays-root {
  --tacbe-brand: #034947;
  --tacbe-accent: #034947;
  --tacbe-text: #2b3a3a;
  --tacbe-muted-ink: #5a6b6b;
  --tacbe-paper: #ffffff;
  --tacbe-surface: #ffffff;
  --tacbe-line: rgba(3, 73, 71, .16);
  --tacbe-btn-text: #ffffff;
  --tacbe-radius: var(--stays-radius);
  --tacbe-promo-bg: #8be6c8;
  --tacbe-promo-text: #003734;
  font-family: var(--stays-sans);
  color: var(--tacbe-text);
}

/* Search bar: square, white, mint Search button, small caps labels. */
body .tac-stays-root {
  --tacbe-sb-bg: #8be6c8;
  --tacbe-sb-text: #003734;
  --tacbe-sb-border: none;
}
.tac-stays-root .tacbe-searchbar { background: #fff; border-radius: var(--stays-radius); box-shadow: var(--wp--preset--shadow--bar); }
.tac-stays-root .tacbe-sb-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stays-teal);
  white-space: nowrap;
}
.tac-stays-root .tacbe-sb-go {
  border-radius: 0 var(--stays-radius) var(--stays-radius) 0;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Homepage hero: the bar-only widget shrink-wraps by default.
   Desktop: stretch it to the full width as drawn. Phones: stack the fields. */
@media (min-width: 782px) {
  .stays-hero .tacbe-bar-only .tacbe-searchbar { display: flex; flex-wrap: nowrap; width: 100%; }
  .stays-hero .tacbe-bar-only .tacbe-sb-field { flex: 1 1 0; min-width: 0; }
  .stays-hero .tacbe-bar-only .tacbe-sb-go { flex: 0 0 auto; min-width: 11rem; }
}
@media (max-width: 781px) {
  .stays-hero .tacbe-bar-only .tacbe-searchbar { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
  .stays-hero .tacbe-bar-only .tacbe-sb-field { flex: none; width: 100%; box-sizing: border-box; border-right: 0; border-bottom: 1px solid var(--stays-line); }
  .stays-hero .tacbe-bar-only .tacbe-sb-go { width: 100%; min-height: 3.25rem; box-sizing: border-box; border-radius: 0 0 var(--stays-radius) var(--stays-radius); }
}

/* Cards sit white on the stone band, as drawn. */
.stays-good-ones .tac-stays-root,
.stays-search-page .tac-stays-root { --tacbe-surface: #ffffff; }
.tac-stays-root .tacbe-card-price strong { color: var(--stays-teal); }

/* ---------- Seamless full-width sections ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + * { margin-block-start: 0 !important; }
.wp-block-post-content > :first-child { margin-block-start: 0; }
@media (max-width: 781px) {
  .stays-split-copy {
    padding-left: var(--wp--style--root--padding-left) !important;
    padding-right: var(--wp--style--root--padding-right) !important;
  }
}


/* ======================================================================
   Property page — follows the goodwins.co.nz executive rentals layout
   ====================================================================== */

.stays-property { --stays-pale: #eaf9ec; }
/* The plugin pads its own wrapper and rules off each section. The theme owns spacing here. */
.stays-property .tac-stays-root { padding: 0; margin: 0; max-width: none; }
.stays-property .tacbe-prop-section { border-top: 0; padding-top: 0; }
.stays-property .tacbe-prop-section h2,
.stays-property .tacbe-similar h2 { font-family: var(--stays-serif); font-weight: 600; color: var(--stays-teal); letter-spacing: -0.01em; }
.stays-property .tacbe-daterange,
.stays-property .tacbe-bk-guests input,
.stays-property .tacbe-enquiry-fields input,
.stays-property .tacbe-enquiry-fields textarea { border-radius: 0 !important; }
.stays-property .tacbe-quote-box { max-width: none; }
.stays-property .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stays-ico { width: 1.25em; height: 1.25em; flex: none; }

/* Teal banner: breadcrumb, hero photo, address as the H1 */
.stays-prop-banner { padding-top: 1.75rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.stays-prop-hero { position: relative; }
.stays-crumb {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.5rem;
}
.stays-crumb a { color: var(--stays-mint); text-decoration: none; }
.stays-crumb a:hover { text-decoration: underline; }
.stays-hero-photo {
  display: block; width: 100%; padding: 0; border: 0; background: rgba(255,255,255,.08);
  cursor: zoom-in; aspect-ratio: 2.08 / 1; overflow: hidden;
}
.stays-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.stays-hero-photo:hover img { transform: scale(1.015); }
.stays-prop-h1 {
  position: relative;
  margin: clamp(-3.25rem, -3.8vw, -1.25rem) 0 0;
  padding: 0 clamp(0rem, 2vw, 1.5rem);
  /* The property name is the heading now, and names run long. */
  font-size: clamp(2.1rem, 4.6vw, 4.25rem);
  line-height: 1.02;
  max-width: 22ch;
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--stays-mint);
  text-wrap: balance;
}
.stays-prop-suburb {
  margin: 1.25rem 0 0;
  padding: 0 clamp(0rem, 2vw, 1.5rem);
  font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stays-mint);
}

/* Photo strip: starts on the content edge, runs off the right of the screen */
.stays-prop-photos { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.stays-strip { position: relative; }
.stays-strip-track {
  list-style: none; margin: 0;
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 0 0 max(var(--wp--style--root--padding-left), calc((100vw - 1200px) / 2));
  scroll-padding-left: max(var(--wp--style--root--padding-left), calc((100vw - 1200px) / 2));
}
.stays-strip-track::-webkit-scrollbar { display: none; }
.stays-strip-slide { flex: 0 0 min(724px, 82vw); scroll-snap-align: start; }
.stays-strip-slide button { display: block; width: 100%; padding: 0; border: 0; background: var(--stays-stone); cursor: zoom-in; aspect-ratio: 1.82 / 1; overflow: hidden; }
.stays-strip-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stays-strip-nav {
  display: flex; justify-content: flex-end; gap: 0;
  padding-right: max(var(--wp--style--root--padding-right), calc((100vw - 1200px) / 2));
  margin-top: .75rem;
}
.stays-strip-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--stays-teal); background: #fff; color: var(--stays-teal); cursor: pointer;
}
.stays-strip-btn + .stays-strip-btn { border-left: 0; }
.stays-strip-btn:hover:not(:disabled) { background: var(--stays-teal); color: #fff; }
.stays-strip-btn:disabled { opacity: .35; cursor: default; }

/* Bed, bath, guest counts */
.stays-prop-iconrow { padding: 1rem 0 1.75rem; border-bottom: 1px solid var(--stays-line); }
.stays-counts { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.25rem; color: var(--stays-teal); }
.stays-count { position: relative; padding: 10px 0 0 20px; }
.stays-count .stays-ico { width: 34px; height: 34px; stroke-width: 1.5; }
.stays-count-badge {
  position: absolute; left: 0; top: 0;
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px;
  display: grid; place-items: center;
  background: var(--stays-mint); color: var(--stays-deep);
  font-size: .8rem; font-weight: 700; line-height: 1;
}

/* Two columns, booking side on a pale mint band that runs to the screen edge */
.stays-prop-cols { gap: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.stays-prop-main { padding: 2rem clamp(1.5rem, 4vw, 3.5rem) 3.5rem 0; min-width: 0; }
.stays-prop-side { position: relative; padding: 2rem 0 3.5rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.stays-prop-side::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0;
  right: calc(-1 * max(var(--wp--style--root--padding-right), (100vw - 1200px) / 2));
  background: var(--stays-pale);
}
.stays-prop-body { position: relative; z-index: 0; overflow-x: clip; }

/* Facts row */
.stays-facts { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2rem; padding-bottom: 2rem; }
.stays-facts-times { display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem; }
.stays-fact { display: flex; flex-direction: column; gap: .3rem; color: var(--stays-teal); }
.stays-fact-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stays-fact-value { font-size: 1.5rem; line-height: 1.15; }
.stays-fact-price { text-align: right; }
.stays-fact-price .stays-fact-label { font-family: var(--stays-serif); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; text-transform: none; }

.stays-prop-title {
  margin: 0 0 2rem;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.04;
  max-width: 14em;
  text-wrap: balance;
}

/* Plugin sections inside the main column */
.stays-prop-main .tacbe-prop-section { margin: 0 0 2.5rem; }
.stays-prop-main .tacbe-prop-section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 1rem; }
.stays-prop-main .tacbe-clamp-toggle,
.stays-prop-main .tacbe-amenity-more {
  margin-top: 1rem;
  background: transparent; color: var(--stays-teal);
  border: 1px solid var(--stays-teal); border-radius: 0;
  padding: .7rem 1.2rem; font-weight: 600; cursor: pointer;
}
.stays-prop-main .tacbe-clamp-toggle:hover,
.stays-prop-main .tacbe-amenity-more:hover { background: var(--stays-teal); color: #fff; }

/* Side panels: white, teal hairline */
.stays-panel { background: #fff; border: 1px solid var(--stays-teal); border-radius: var(--stays-radius); margin: 0 !important; }
.stays-panel-book { padding: 1.75rem 0 0; }
.stays-panel-book > .stays-panel-title,
.stays-panel-book > .stays-panel-intro { padding: 0 1.75rem; }
.stays-panel-title { font-size: 2rem; margin: 0 0 .4rem; }
.stays-panel-intro { margin: 0 0 .5rem; font-size: var(--wp--preset--font-size--small); color: var(--stays-ink); }
.stays-panel-book .tacbe-quote-box { border: 0 !important; box-shadow: none !important; background: #fff !important; padding: .75rem 1.75rem 1.75rem; }
.stays-panel-book .tacbe-bk-head { margin-bottom: 1rem; }
.stays-panel-avail { padding: 1.25rem 1.75rem; }
.stays-panel-avail:not(:has(.tacbe-availability)) { display: none; }
.stays-panel-avail .tacbe-prop-section { margin: 0; }
.stays-panel-avail summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--stays-serif); font-size: 1.4rem; font-weight: 600; color: var(--stays-teal);
}
.stays-panel-avail summary::-webkit-details-marker { display: none; }
.stays-panel-avail summary::after {
  content: "Show calendar";
  font-family: var(--stays-sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--stays-teal); border-radius: 99px; padding: .35rem .8rem; white-space: nowrap;
}
.stays-panel-avail details[open] summary::after { content: "Hide calendar"; }
.stays-panel-avail details[open] summary { margin-bottom: 1rem; }
.stays-panel-avail .tacbe-cal-month { flex-basis: 100% !important; max-width: none !important; }

.stays-panel-share { padding: 1.5rem 1.75rem; }
.stays-panel-share:empty { display: none; }
.stays-share-title { font-size: 1.4rem; margin: 0 0 1rem; }
.stays-share-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--stays-line); }
.stays-share-actions a,
.stays-share-actions button {
  display: inline-flex; align-items: center; gap: .55rem;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stays-teal); text-decoration: none;
}
.stays-share-actions a:hover span,
.stays-share-actions button:hover span { text-decoration: underline; }
.stays-share-social { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.stays-share-social a {
  display: inline-block; padding: .4rem .85rem; border: 1px solid var(--stays-teal); border-radius: 99px;
  font-size: .8rem; color: var(--stays-teal); text-decoration: none;
}
.stays-share-social a:hover { background: var(--stays-teal); color: #fff; }

/* The neighbourhood: teal band, map, address and directions */
.stays-prop-area { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--50); }
.stays-prop-area .tac-stays-root { --tacbe-text: #fff; color: #fff; }
.stays-prop-area .tacbe-prop-section h2 { color: #fff; }
.stays-prop-area .tacbe-prop-section { margin: 0; }
.stays-prop-area .tacbe-prop-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1.25rem; }
.stays-prop-area .tacbe-prop-section p { max-width: 52em; color: rgba(255,255,255,.92); }
.stays-prop-area .tacbe-map { margin-top: 2rem; min-height: clamp(320px, 45vw, 560px); border-radius: var(--stays-radius); overflow: hidden; }
.stays-address {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem;
  margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.18);
}
.stays-address p { display: flex; align-items: center; gap: .75rem; margin: 0; color: var(--stays-mint); }
.stays-address .stays-ico { width: 1.6em; height: 1.6em; }
.stays-directions {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.25rem; border: 1px solid var(--stays-mint);
  color: var(--stays-mint) !important; text-decoration: none !important; font-weight: 600;
}
.stays-directions:hover { background: var(--stays-mint); color: var(--stays-deep) !important; }

/* Similar homes */
.stays-prop-similar { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.stays-prop-similar:not(:has(.tacbe-similar:not([hidden]))) { display: none; }
.stays-prop-similar .tacbe-similar { margin: 0 !important; padding: 0 !important; background: none !important; }
.stays-prop-similar .tacbe-similar h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 2rem; }

/* Lightbox */
html.stays-lb-open { overflow: hidden; }
.stays-lb {
  position: fixed; inset: 0; z-index: 100000;
  display: grid; place-items: center;
  background: rgba(0, 30, 29, .94);
}
.stays-lb-img { max-width: min(92vw, 1600px); max-height: 84vh; object-fit: contain; }
.stays-lb-close, .stays-lb-nav {
  position: absolute; border: 0; background: none; color: #fff; cursor: pointer; line-height: 1;
}
.stays-lb-close { top: 1rem; right: 1.25rem; font-size: 2.5rem; }
.stays-lb-nav { top: 50%; transform: translateY(-50%); font-size: 3.5rem; padding: 1rem; }
.stays-lb-prev { left: .5rem; }
.stays-lb-next { right: .5rem; }
.stays-lb-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .85rem; margin: 0; }

/* Phones and small tablets: one column, booking panel after the content */
@media (max-width: 781px) {
  .stays-prop-main { padding: 1.5rem 0 2rem; }
  .stays-prop-side { padding: 2rem 0 2.5rem; }
  .stays-prop-side::before {
    left: calc(-1 * var(--wp--style--root--padding-left));
    right: calc(-1 * var(--wp--style--root--padding-right));
  }
  .stays-fact-price { text-align: left; }
  .stays-counts { gap: 1.75rem; }
  .stays-panel-book > .stays-panel-title,
  .stays-panel-book > .stays-panel-intro { padding: 0 1.25rem; }
  .stays-panel-book .tacbe-quote-box { padding: 1rem 1.25rem 1.25rem; }
  .stays-panel-avail, .stays-panel-share { padding: 1.25rem; }
}

/* Print: the listing, not the chrome */
@media print {
  .stays-site-header, .wp-block-template-part footer, .stays-prop-side .stays-panel-book,
  .stays-panel-avail, .stays-panel-share, .stays-strip-nav, .stays-prop-similar,
  .stays-prop-area .tacbe-map, .stays-directions, .tacbe-mobile-bar { display: none !important; }
  .stays-prop-banner, .stays-prop-area { background: #fff !important; color: #000 !important; }
  .stays-prop-h1, .stays-prop-suburb, .stays-crumb a, .stays-address p,
  .stays-prop-area .tacbe-prop-section h2, .stays-prop-area .tacbe-prop-section p { color: #000 !important; }
  .stays-strip-track { flex-wrap: wrap; overflow: visible; padding: 0; }
  .stays-strip-slide { flex-basis: 48%; }
  .tacbe-clamp { max-height: none !important; -webkit-line-clamp: unset !important; }
  .tacbe-amenity-extra { display: flex !important; }
  .stays-prop-side::before { display: none; }
}

/* The plugin's phone booking bar is appended to <body>, outside the plugin
   wrapper, so it never sees the brand variables. Give it STAYS colours. */
body .tacbe-mobile-bookbar {
  --tacbe-brand: #034947;
  --tacbe-text: #034947;
  --tacbe-muted-ink: #5a6b6b;
  font-family: var(--stays-sans);
  border-top: 1px solid var(--stays-line);
}
body .tacbe-mobile-bookbar .tacbe-mbb-go {
  border-radius: 0 !important;
  padding: .75rem 1.1rem !important;
  font-weight: 700;
}
.stays-panel-avail summary > span { font-family: var(--stays-serif); font-weight: 600; color: var(--stays-teal); }

/* ======================================================================
   Inside pages: photo heroes, explore cards, forms
   ====================================================================== */

/* Photo hero: the photo is the group's background image, the wash keeps
   white text readable whatever photo the team picks. */
.stays-photo-hero {
  position: relative;
  isolation: isolate;
  background-size: cover;
  display: flow-root;
}
.stays-photo-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0, 36, 34, .82) 0%, rgba(0, 36, 34, .35) 45%, rgba(0, 36, 34, .05) 75%),
    linear-gradient(90deg, rgba(0, 36, 34, .55) 0%, rgba(0, 36, 34, 0) 60%);
}
.stays-photo-hero-copy { padding-top: clamp(8rem, 20vw, 16rem); max-width: 1200px; }
.stays-photo-hero h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 4.125rem); max-width: 13em; margin: .25rem 0 1rem; text-wrap: balance; }
.stays-photo-hero .is-style-eyebrow { color: var(--stays-mint); }
.stays-photo-hero-lead { max-width: 34em; color: rgba(255,255,255,.92); }
.stays-photo-hero .wp-block-buttons { margin-top: 2rem; }

.wp-block-button.is-style-line-light .wp-block-button__link {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.8);
}
.wp-block-button.is-style-line-light .wp-block-button__link:hover { background: #fff; color: var(--stays-deep); }

/* Ticks, one per line */
.wp-block-list.is-style-ticks-stacked { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.wp-block-list.is-style-ticks-stacked li { position: relative; padding-left: 1.75rem; line-height: 1.4; }
.wp-block-list.is-style-ticks-stacked li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: .8rem; height: .45rem;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); color: var(--stays-teal);
}
.has-teal-background-color .wp-block-list.is-style-ticks-stacked li::before,
.has-teal-deep-background-color .wp-block-list.is-style-ticks-stacked li::before { color: var(--stays-mint); }
.stays-facts-col { border-left: 1px solid var(--stays-line); padding-left: var(--wp--preset--spacing--50) !important; }
@media (max-width: 781px) { .stays-facts-col { border-left: 0; padding-left: 0 !important; border-top: 1px solid var(--stays-line); padding-top: 1.5rem; } }

/* Explore cards: a photo, a title, the whole card clickable */
.stays-explore-grid { gap: 1.5rem !important; }
.stays-explore-grid > .wp-block-column { min-width: 0; }
.wp-block-group.stays-card-link {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; margin: 0 !important;
  padding-left: 1.5rem !important; padding-right: 1.5rem !important;
  background-size: cover; background-position: center;
}
.wp-block-group.stays-card-link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0,36,34,.88) 0%, rgba(0,36,34,.25) 55%, rgba(0,36,34,0) 80%);
  transition: background-color .3s;
}
.wp-block-group.stays-card-link:hover::before { background-color: rgba(0,36,34,.15); }
.stays-card-title { font-size: 1.375rem !important; margin: 0 0 .4rem !important; line-height: 1.15; }
.stays-card-title a { color: #fff !important; text-decoration: none !important; }
.stays-card-title a::after { content: ""; position: absolute; inset: 0; }
.stays-card-title a:focus-visible { outline: none; }
.stays-card-link:focus-within { outline: 3px solid var(--stays-mint); outline-offset: 2px; }
.stays-card-text { margin: 0 !important; font-size: var(--wp--preset--font-size--small); color: rgba(255,255,255,.88); }

/* Enquiry forms */
.stays-form { display: grid; gap: 1rem; }
.stays-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
@media (max-width: 600px) { .stays-form-grid { grid-template-columns: 1fr; } }
.stays-field { margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.stays-field label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.stays-field-opt { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .7; margin-left: .35rem; }
.stays-field input, .stays-field textarea {
  font: inherit; color: var(--stays-ink);
  background: #fff; border: 1px solid var(--stays-line); border-radius: var(--stays-radius-sm);
  padding: .8rem .9rem; width: 100%; box-sizing: border-box;
}
.stays-field input:focus, .stays-field textarea:focus { outline: 2px solid var(--stays-mint); outline-offset: 0; border-color: var(--stays-teal); }
.stays-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.stays-form-actions { margin: .5rem 0 0; }
.stays-form-submit { border: 0; cursor: pointer; padding: 1rem 1.75rem; }
.stays-form-submit:disabled { opacity: .6; cursor: wait; }
.stays-form-status { margin: 0; padding: .9rem 1rem; font-weight: 600; }
.stays-form-status.is-ok { background: var(--stays-mint); color: var(--stays-deep); }
.stays-form-status.is-error { background: #fbe9e7; color: #8a1f11; }
.has-teal-background-color .stays-field label { color: #fff; }
.has-teal-background-color .stays-form-submit { background: var(--stays-mint); color: var(--stays-deep); }
.has-teal-background-color .stays-form-submit:hover { background: #a6eed6; }
.stays-enquire-band { scroll-margin-top: 90px; }
@media (max-width: 781px) {
  .stays-photo-hero::before { background: linear-gradient(0deg, rgba(0,36,34,.85) 0%, rgba(0,36,34,.55) 60%, rgba(0,36,34,.3) 100%); }
}

/* The plugin pads its own wrapper; the theme's bands already provide the gutter. */
.stays-grid .tac-stays-root,
.stays-search-page .tac-stays-root { padding-left: 0; padding-right: 0; }

/* Header in classic PHP templates (the plugin's checkout page): the block
   layout styles are not printed there, so set the row explicitly. */
.stays-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; }
.stays-header-left, .stays-header-right { display: flex; align-items: center; flex-wrap: nowrap; }

/* ======================================================================
   Booking plugin checkout page, in STAYS style
   ====================================================================== */
body.tacbe-checkout-page .stays-classic-main { background: var(--wp--preset--color--paper, #f1f5f6); }
body.tacbe-checkout-page .tacbe-co-page { background: transparent !important; }
body.tacbe-checkout-page .stays-classic-main { padding: clamp(2rem, 4vw, 3.5rem) var(--wp--style--root--padding-right) clamp(3rem, 6vw, 5rem) var(--wp--style--root--padding-left); }
body.tacbe-checkout-page .tacbe-co-page { max-width: 1200px; margin: 0 auto; }

body.tacbe-checkout-page .tac-stays-root .tacbe-co-top { margin-bottom: 1.5rem; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-back { color: var(--stays-teal) !important; font-weight: 600 !important; cursor: pointer; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-back:hover { text-decoration: underline; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-steps { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--stays-muted); }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-steps [aria-current], body.tacbe-checkout-page .tac-stays-root .tacbe-co-steps .is-current { color: var(--stays-teal) !important; }

body.tacbe-checkout-page .tac-stays-root .tacbe-co-main {
  background: #fff; border: 1px solid var(--stays-line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
body.tacbe-checkout-page .tac-stays-root .tacbe-co-h1 {
  font-family: var(--stays-serif) !important; font-weight: 600 !important; color: var(--stays-teal) !important;
  font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 .4rem;
}
body.tacbe-checkout-page .tac-stays-root .tacbe-co-lede { color: var(--stays-muted); margin: 0 0 1.75rem; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-h2 {
  font-family: var(--stays-serif) !important; font-weight: 600 !important; color: var(--stays-teal) !important;
  font-size: 1.45rem; margin: 1.75rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--stays-line);
}
body.tacbe-checkout-page .tac-stays-root .tacbe-co-field label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--stays-teal) !important;
}
body.tacbe-checkout-page .tac-stays-root .tacbe-co-opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--stays-muted); }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-input,
body.tacbe-checkout-page .tac-stays-root .tacbe-co-field textarea,
body.tacbe-checkout-page .tac-stays-root .tacbe-co-field select {
  border: 1px solid rgba(3, 73, 71, .22) !important; border-radius: 0 !important; background: #fff;
}
body.tacbe-checkout-page .tac-stays-root .tacbe-co-input:focus,
body.tacbe-checkout-page .tac-stays-root .tacbe-co-field textarea:focus { outline: 2px solid var(--stays-mint); outline-offset: 0; border-color: var(--stays-teal) !important; }

/* The "Request to book" note: a quiet hairline box, not a heavy accent bar. */
/* Plain note: no box, no fill, no accent bar. A hairline above and below. */
body.tacbe-checkout-page .tac-stays-root .tacbe-co-banner {
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  border-top: 1px solid var(--stays-line) !important; border-bottom: 1px solid var(--stays-line) !important;
  padding: .9rem 0 !important; font-size: .95rem;
}
body.tacbe-checkout-page .tac-stays-root .tacbe-co-banner strong { color: inherit !important; }

body.tacbe-checkout-page .tac-stays-root .tacbe-co-bar { border-top: 1px solid var(--stays-line); margin-top: 1.75rem; padding-top: 1.5rem; align-items: center; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-bar-total { color: var(--stays-teal) !important; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-bar-total > :first-child { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-bar-total > :last-child { font-family: var(--stays-serif) !important; font-size: 1.9rem; font-weight: 600 !important; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-btn { border-radius: 0; padding: 1.05rem 2rem; font-weight: 700; min-height: 54px; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-btn:hover { background: var(--stays-deep); }

/* Stay summary */
body.tacbe-checkout-page .tac-stays-root .tacbe-co-side > * { background: #fff; border-color: var(--stays-teal) !important; border-radius: 0 !important; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-name { font-family: var(--stays-serif) !important; font-weight: 600 !important; color: var(--stays-teal) !important; font-size: 1.4rem; line-height: 1.15; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-town { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--stays-teal) !important; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-facts dt { color: var(--stays-muted); }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-price { border-top-color: var(--stays-line) !important; }
body.tacbe-checkout-page .tac-stays-root .tacbe-co-line:last-child { color: var(--stays-teal) !important; font-family: var(--stays-serif) !important; font-size: 1.15rem; }

/* Homepage closing "Find your Auckland stay." heading. The homepage content was
   saved before the Headline size existed, so size it here as well. */
.home .wp-block-post-content > .has-stone-background-color:last-child h2.has-text-align-center:not([class*="-font-size"]) {
  font-size: var(--wp--preset--font-size--headline);
}

/* Quote breakdown: keep amounts on one line (also fixed in the plugin for the next release). */
.tac-stays-root .tacbe-line-label { min-width: 0; }
.tac-stays-root .tacbe-line-amt { flex-shrink: 0; white-space: nowrap; text-align: right; }

/* In the editor, show every slide one under the other so each slide's photo
   and copy can be edited, and the search bar after them. */
.editor-styles-wrapper .stays-hero-slides { display: block; }
.editor-styles-wrapper .stays-hero-slide { opacity: 1 !important; visibility: visible !important; padding-bottom: var(--wp--preset--spacing--60); margin-bottom: 8px !important; }
.editor-styles-wrapper .stays-hero-search { position: relative !important; bottom: auto; padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* ---------- Concierge services ---------- */

.stays-concierge-cards { gap: 1.25rem !important; }
.stays-concierge-card {
  background: var(--wp--preset--color--paper, #f1f5f6);
  border-top: 3px solid var(--stays-mint);
  border-radius: var(--stays-radius);
  padding: 1.25rem 1.25rem 1.5rem;
}
.stays-concierge-card::before {
  content: ""; display: block; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem;
  border-radius: 999px; background: rgba(139,230,200,.35);
}
.stays-concierge-card { position: relative; }
.stays-concierge-card::after {
  content: ""; position: absolute; top: calc(1.25rem + 3px + .6rem); left: calc(1.25rem + .6rem);
  width: 1.55rem; height: 1.55rem; background: var(--stays-teal);
  -webkit-mask: var(--stays-ico) center / contain no-repeat; mask: var(--stays-ico) center / contain no-repeat;
}
.stays-concierge-title { font-family: var(--stays-sans) !important; font-size: 1.05rem !important; font-weight: 700 !important; letter-spacing: 0 !important; margin: 0 0 .4rem !important; }
.stays-concierge-card p { margin: 0; color: var(--stays-ink); }
.stays-ico-basket { --stays-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 11-1 9'/%3E%3Cpath d='m19 11-4-7'/%3E%3Cpath d='M2 11h20'/%3E%3Cpath d='m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4'/%3E%3Cpath d='M4.5 15.5h15'/%3E%3Cpath d='m5 11 4-7'/%3E%3Cpath d='m9 11 1 9'/%3E%3C/svg%3E"); }
.stays-ico-chef { --stays-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21a1 1 0 0 0 1-1v-5.35c0-.457.316-.844.727-1.041a4 4 0 0 0-2.134-7.589 5 5 0 0 0-9.186 0 4 4 0 0 0-2.134 7.588c.411.198.727.585.727 1.041V20a1 1 0 0 0 1 1Z'/%3E%3Cpath d='M6 17h12'/%3E%3C/svg%3E"); }
.stays-ico-car { --stays-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.stays-ico-calendar { --stays-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='m9 16 2 2 4-4'/%3E%3C/svg%3E"); }
@media (max-width: 781px) { .stays-concierge-cards { flex-wrap: wrap !important; } .stays-concierge-cards > .wp-block-column { flex-basis: calc(50% - .625rem) !important; } }
@media (max-width: 520px) { .stays-concierge-cards > .wp-block-column { flex-basis: 100% !important; } }


/* ---------- Rounded corners (client request, Oct 2026) ---------- */

.stays-media-panel,
.wp-block-group.stays-card-link,
.stays-hero-photo, .stays-hero-photo img,
.stays-strip-slide button, .stays-strip-slide img,
.stays-split-media .stays-media-panel,
.wp-block-image:not(.stays-logo) img,
.is-style-boxed,
.tac-stays-root .tacbe-card,
.tac-stays-root .tacbe-card-mediawrap,
.tac-stays-root .tacbe-card-media { border-radius: var(--stays-radius); }
.tac-stays-root .tacbe-card { overflow: hidden; }
.tac-stays-root .tacbe-card-mediawrap,
.tac-stays-root .tacbe-card-media { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.stays-split-media .stays-media-panel { overflow: hidden; }
.stays-property .tacbe-enquiry-fields textarea,
.stays-property .tacbe-enquiry-fields input,
.tac-stays-root .tacbe-quote input,
.tac-stays-root .tacbe-quote select,
.tac-stays-root .tacbe-dates { border-radius: var(--stays-radius-sm) !important; }
.tac-stays-root .tacbe-cal-cell, .tac-stays-root .tacbe-cal-swatch { border-radius: 6px; }

/* ---------- Search cards: name, then suburb, then capacity ---------- */

.tac-stays-root .tacbe-card-body { display: flex; flex-direction: column; }
.tac-stays-root .tacbe-card-title { order: -2; margin-bottom: .2rem; }
.tac-stays-root .tacbe-card-suburb {
  order: -1; text-transform: none; letter-spacing: 0; font-weight: 500;
  font-size: .9rem; color: var(--stays-muted); margin-bottom: .45rem;
}

/* ---------- Availability calendar: booked nights must read as booked ---------- */

.tac-stays-root .tacbe-cal-cell.is-booked,
.tac-stays-root .tacbe-cal-swatch.is-booked {
  background: var(--stays-stone) !important; border-color: var(--stays-stone) !important;
  color: rgba(43, 58, 58, .45) !important; text-decoration: line-through;
}
.tac-stays-root .tacbe-cal-cell.is-avail,
.tac-stays-root .tacbe-cal-swatch.is-avail {
  background: #fff !important; border-color: rgba(3, 73, 71, .35) !important; color: var(--stays-teal) !important;
}

/* ---------- Property page additions (Oct 2026) ---------- */

.stays-iconrow { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.stays-count-area { display: flex; align-items: center; gap: .55rem; padding-left: 0; }
.stays-count-area .stays-ico { width: 30px; height: 30px; }
.stays-area-value { font-weight: 600; color: var(--stays-teal); white-space: nowrap; }
.stays-video-btn {
  display: inline-flex; align-items: center; gap: .7rem; cursor: pointer;
  background: transparent; border: 1.5px solid var(--stays-teal); border-radius: 999px;
  color: var(--stays-teal); font: inherit; font-weight: 600; padding: .45rem 1.1rem .45rem .45rem;
}
.stays-video-play {
  width: 2.1rem; height: 2.1rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--stays-mint); color: var(--stays-deep);
}
.stays-video-play .stays-ico { width: 14px; height: 14px; fill: currentColor; stroke: none; margin-left: 2px; }
.stays-video-btn:hover { background: var(--stays-teal); color: #fff; }
.stays-video-btn:focus-visible { outline: 2px solid var(--stays-mint); outline-offset: 2px; }
.stays-video-frame { width: min(92vw, 1100px); aspect-ratio: 16 / 9; border-radius: var(--stays-radius); overflow: hidden; background: #000; }
.stays-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.stays-share-social button {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; font: inherit; font-size: .8rem;
  padding: .4rem .85rem; border: 1px solid var(--stays-teal); border-radius: 99px; background: transparent; color: var(--stays-teal);
}
.stays-share-social button .stays-ico { width: 15px; height: 15px; }
.stays-share-social button:hover { background: var(--stays-teal); color: #fff; }

.stays-gtk h3 { font-family: var(--stays-sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 1.5rem 0 .6rem; }
.stays-gtk h3:first-of-type { margin-top: 0; }
.stays-bedding { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.stays-bedding li { border: 1px solid var(--stays-line); border-radius: var(--stays-radius-sm); padding: .75rem .9rem; display: flex; flex-direction: column; gap: .15rem; }
.stays-bed-room { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--stays-teal); }
.stays-bed-beds { color: var(--stays-ink); }

.stays-concierge-link a {
  color: var(--stays-teal) !important; font-size: 1rem; font-weight: 700;
  letter-spacing: 0; text-transform: none; text-decoration: none;
}
.stays-concierge-link a:hover { text-decoration: underline; }
/* Full-bleed split photos meet the screen edge: no rounding there. */
.stays-split-media .stays-media-panel { border-radius: 0 !important; }

.stays-prop-hero:not(:has(.stays-hero-photo)) .stays-prop-h1 { margin-top: 1.25rem; }
@media (max-width: 600px) {
  .stays-counts { flex-wrap: wrap; gap: 1.25rem 1.5rem; }
  .stays-count .stays-ico { width: 30px; height: 30px; }
}
/* Line the search bar up with the slide copy (the plugin wrapper pads itself). */
.stays-hero-search > .tac-stays-root { padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 781px) { .stays-hero { background-color: transparent !important; } }

/* Concierge on a dark section colour (green by default): light text, mint
   details. Any light colour picked in the editor keeps the dark text. */
.stays-concierge.has-teal-background-color,
.stays-concierge.has-teal-deep-background-color { color: #fff; }
.stays-concierge.has-teal-background-color > * > h2,
.stays-concierge.has-teal-deep-background-color > * > h2,
.stays-concierge.has-teal-background-color > * > p,
.stays-concierge.has-teal-deep-background-color > * > p { color: #fff; }
.stays-concierge.has-teal-background-color .is-style-eyebrow,
.stays-concierge.has-teal-deep-background-color .is-style-eyebrow,
.stays-concierge.has-teal-background-color .stays-concierge-link a,
.stays-concierge.has-teal-deep-background-color .stays-concierge-link a { color: var(--stays-mint) !important; }
.stays-concierge.has-teal-background-color .stays-concierge-card,
.stays-concierge.has-teal-deep-background-color .stays-concierge-card { background: #fff; border-top-color: var(--stays-mint); }
.stays-concierge .stays-concierge-card h3 { color: var(--stays-teal); }
