
.anywhere-property-widget-empty {
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.anywhere-property-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    border-radius: 22px;
    overflow: hidden;
    color: #ffffff;
    padding: 48px;
}

.anywhere-property-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,.15), rgba(15,23,42,.72));
}

.anywhere-property-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.anywhere-property-eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    margin: 0 0 8px;
}

.anywhere-property-hero h1 {
    color: inherit;
    font-size: clamp(34px, 6vw, 72px);
    margin: 0 0 10px;
}

.anywhere-property-location {
    font-size: 18px;
    margin: 0;
}

.anywhere-property-gallery {
    display: grid;
    grid-template-columns: repeat(var(--anywhere-gallery-columns, 3), minmax(0, 1fr));
    gap: 14px;
}

.anywhere-property-gallery figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
}

.anywhere-property-gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.anywhere-property-details-widget,
.anywhere-property-features-widget,
.anywhere-property-quote-widget {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
}

.anywhere-property-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 18px 0 0;
}

.anywhere-property-meta div {
    background: #f8fafc;
    border-radius: 14px;
    padding: 14px;
}

.anywhere-property-meta dt {
    font-weight: 800;
    color: #334155;
}

.anywhere-property-meta dd {
    margin: 4px 0 0;
}

.anywhere-feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.anywhere-feature-grid li {
    display: flex;
    gap: 9px;
    align-items: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px;
}

.anywhere-accommodation-list {
    display: grid;
    grid-template-columns: repeat(var(--anywhere-accommodation-columns, 3), minmax(0, 1fr));
    gap: 18px;
}

.anywhere-accommodation-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.anywhere-accommodation-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.anywhere-accommodation-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.anywhere-accommodation-meta {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: grid;
    gap: 6px;
}

.anywhere-detail-button {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800;
    padding: 10px 16px;
    border: 0;
    cursor: pointer;
}

.anywhere-property-quote-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.anywhere-property-quote-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
}

.anywhere-property-quote-form input,
.anywhere-property-quote-form select {
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 10px;
}

@media (max-width: 767px) {
    .anywhere-property-hero {
        padding: 28px;
        border-radius: 16px;
    }

    .anywhere-property-gallery,
    .anywhere-accommodation-list {
        grid-template-columns: 1fr !important;
    }
}


.anywhere-property-booking-widget {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
}

.anywhere-property-booking-form {
    display: grid;
    gap: 16px;
}

.anywhere-property-booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.anywhere-property-booking-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
}

.anywhere-property-booking-form input,
.anywhere-property-booking-form select,
.anywhere-property-booking-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 10px;
    background: #ffffff;
}

.anywhere-booking-mode-toggle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.anywhere-booking-mode-toggle label {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    flex-direction: row;
    align-items: center;
}

.anywhere-public-booking-notice {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-weight: 700;
}

.anywhere-public-booking-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.anywhere-public-booking-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Full public Stay Detail shortcode/widget */
.anywhere-stay-detail-page {
    display: grid;
    gap: 28px;
}

.anywhere-stay-detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 24px;
    align-items: start;
}

.anywhere-stay-detail-content {
    display: grid;
    gap: 24px;
}

.anywhere-stay-detail-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 24px;
}

.anywhere-stay-detail-page .anywhere-property-gallery,
.anywhere-stay-detail-page .anywhere-property-details-widget,
.anywhere-stay-detail-page .anywhere-property-features-widget,
.anywhere-stay-detail-page .anywhere-accommodation-list,
.anywhere-stay-detail-page .anywhere-property-booking-widget,
.anywhere-stay-detail-page .anywhere-property-quote-widget {
    margin-top: 0;
}

.anywhere-stay-detail-page .anywhere-detail-button {
    background: #000000 !important;
    color: #ffffff !important;
}

@media (max-width: 960px) {
    .anywhere-stay-detail-main {
        grid-template-columns: 1fr;
    }

    .anywhere-stay-detail-sidebar {
        position: static;
    }
}

/* v1.9.30 From rate display */
.anywhere-stays-from-rate {
    margin: 8px 0 12px;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
}
.anywhere-stays-from-rate strong {
    font-size: 22px;
    font-weight: 900;
}
.anywhere-property-hero-rate {
    color: #ffffff;
    margin-top: 12px;
    font-size: 18px;
}
.anywhere-property-hero-rate strong {
    color: #ffffff;
    font-size: 28px;
}
.anywhere-accommodation-card-rate {
    margin: -4px 0 10px;
}

/* v1.9.31 Detail page availability calendar */
.anywhere-stay-availability-calendar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    display: grid;
    gap: 16px;
}
.anywhere-calendar-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 18px;
    align-items: end;
}
.anywhere-calendar-header h3 {
    margin: 0 0 6px;
}
.anywhere-calendar-header p {
    margin: 0;
    color: #64748b;
}
.anywhere-calendar-accommodation {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
}
.anywhere-calendar-accommodation select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
}
.anywhere-calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px;
}
.anywhere-calendar-toolbar button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}
.anywhere-calendar-title {
    color: #0f172a;
    font-size: 17px;
}
.anywhere-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}
.anywhere-calendar-weekday {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-align: center;
    padding: 6px 2px;
}
.anywhere-calendar-empty,
.anywhere-calendar-day {
    min-height: 64px;
}
.anywhere-calendar-day {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    cursor: not-allowed;
    padding: 6px 2px;
}
.anywhere-calendar-day span {
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}
.anywhere-calendar-day small {
    font-size: 10px;
    font-weight: 700;
}
.anywhere-calendar-day.is-open {
    background: #ecfdf5;
    border-color: #86efac;
    color: #166534;
}
.anywhere-calendar-day.is-booked,
.anywhere-calendar-day.is-unavailable {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}
.anywhere-calendar-day.is-past {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
}
.anywhere-calendar-day.is-clickable {
    cursor: pointer;
}

.anywhere-calendar-day.is-too-short {
    background: #fff7ed !important;
    border-color: #fdba74 !important;
    color: #9a3412 !important;
}
.anywhere-calendar-day.is-too-short:hover {
    background: #ffedd5 !important;
    border-color: #fb923c !important;
    color: #9a3412 !important;
}
.anywhere-calendar-day.is-clickable:hover,
.anywhere-calendar-day.is-range-start,
.anywhere-calendar-day.is-range-end,
.anywhere-calendar-day.is-in-range {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}
.anywhere-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}
.anywhere-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.anywhere-calendar-legend i {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: inline-block;
}
.anywhere-calendar-legend i.open { background: #22c55e; }
.anywhere-calendar-legend i.booked { background: #ef4444; }
.anywhere-calendar-legend i.selected { background: #0f172a; }
.anywhere-calendar-selection,
.anywhere-calendar-loading {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
}
.anywhere-calendar-loading {
    grid-column: 1 / -1;
    text-align: center;
}
@media (max-width: 767px) {
    .anywhere-calendar-header {
        grid-template-columns: 1fr;
    }
    .anywhere-calendar-grid {
        gap: 4px;
    }
    .anywhere-calendar-day,
    .anywhere-calendar-empty {
        min-height: 52px;
    }
    .anywhere-calendar-day small {
        display: none;
    }
}

/* v1.9.33 Accommodation type drill-down modal */
body.anywhere-accommodation-modal-open {
    overflow: hidden;
}
.anywhere-accommodation-image {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}
.anywhere-accommodation-title-button {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    text-align: left;
    cursor: pointer;
}
.anywhere-accommodation-title-button:hover,
.anywhere-accommodation-title-button:focus {
    text-decoration: underline;
}
.anywhere-accommodation-card-actions {
    margin-top: auto;
    display: grid;
    gap: 10px;
}
.anywhere-detail-button-secondary {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #0f172a !important;
}
.anywhere-accommodation-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.anywhere-accommodation-modal.is-open {
    display: flex;
}
.anywhere-accommodation-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
}
.anywhere-accommodation-modal-panel {
    position: relative;
    z-index: 2;
    width: min(1080px, 100%);
    max-height: min(88vh, 920px);
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}
.anywhere-accommodation-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.anywhere-accommodation-modal-scroll {
    max-height: min(88vh, 920px);
    overflow-y: auto;
}
.anywhere-accommodation-modal-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: #f8fafc;
}
.anywhere-accommodation-modal-gallery figure {
    margin: 0;
    min-height: 170px;
    border-radius: 14px;
    overflow: hidden;
}
.anywhere-accommodation-modal-gallery figure:first-child {
    grid-row: span 2;
}
.anywhere-accommodation-modal-gallery img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    display: block;
}
.anywhere-accommodation-modal-content {
    padding: 26px;
    display: grid;
    gap: 18px;
}
.anywhere-accommodation-modal-eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    color: #64748b;
    font-size: 12px;
}
.anywhere-accommodation-modal-content h2 {
    margin: -12px 0 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
    color: #0f172a;
}
.anywhere-accommodation-modal-rate {
    margin: -6px 0 0;
}
.anywhere-accommodation-modal-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 0;
}
.anywhere-accommodation-modal-meta div {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
}
.anywhere-accommodation-modal-meta dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.anywhere-accommodation-modal-meta dd {
    margin: 5px 0 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}
.anywhere-accommodation-modal-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 18px;
}
.anywhere-accommodation-modal-section h3 {
    margin: 0 0 10px;
    color: #0f172a;
}
.anywhere-accommodation-modal-section p:last-child {
    margin-bottom: 0;
}
.anywhere-accommodation-modal-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 24%);
}
.anywhere-accommodation-modal-actions .anywhere-detail-button {
    margin-top: 0;
}
@media (max-width: 767px) {
    .anywhere-accommodation-modal {
        padding: 10px;
        align-items: stretch;
    }
    .anywhere-accommodation-modal-panel,
    .anywhere-accommodation-modal-scroll {
        max-height: calc(100vh - 20px);
    }
    .anywhere-accommodation-modal-gallery {
        grid-template-columns: 1fr;
    }
    .anywhere-accommodation-modal-gallery figure:first-child {
        grid-row: auto;
    }
    .anywhere-accommodation-modal-content {
        padding: 20px;
    }
    .anywhere-accommodation-modal-actions {
        display: grid;
    }
}

/* v1.9.34 Detail page booking optimisation and black/white mode toggle */
.anywhere-stay-detail-booking-stack {
    align-content: start;
}
.anywhere-stay-detail-sidebar .anywhere-stay-availability-calendar {
    padding: 18px;
    gap: 12px;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-header {
    grid-template-columns: 1fr;
    gap: 12px;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-header h3,
.anywhere-stay-detail-sidebar .anywhere-property-booking-widget h3 {
    margin-top: 0;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-header p {
    font-size: 13px;
    line-height: 1.45;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-toolbar {
    padding: 8px;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-toolbar button {
    background: #000000;
    color: #ffffff;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-title {
    font-size: 15px;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-grid {
    gap: 4px;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-empty,
.anywhere-stay-detail-sidebar .anywhere-calendar-day {
    min-height: 44px;
    border-radius: 9px;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-day span {
    font-size: 14px;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-day small {
    display: none;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-weekday {
    font-size: 11px;
    padding: 4px 1px;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-legend {
    gap: 10px;
    font-size: 12px;
}
.anywhere-stay-detail-sidebar .anywhere-calendar-selection,
.anywhere-stay-detail-sidebar .anywhere-calendar-loading {
    font-size: 13px;
    padding: 10px 12px;
}
.anywhere-booking-mode-toggle {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 2px 0 4px;
}
.anywhere-booking-mode-toggle label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 12px 14px !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 12px !important;
    color: #111827 !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    cursor: pointer;
}
.anywhere-booking-mode-toggle input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    border: 2px solid #000000 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    display: inline-grid !important;
    place-content: center;
    box-shadow: none !important;
    accent-color: #000000;
}
.anywhere-booking-mode-toggle input[type="radio"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    transform: scale(0);
    transition: transform .12s ease-in-out;
    background: #000000;
}
.anywhere-booking-mode-toggle input[type="radio"]:checked::before {
    transform: scale(1);
}
.anywhere-booking-mode-toggle label:has(input[type="radio"]:checked) {
    border-color: #000000 !important;
    background: #f8fafc !important;
    color: #000000 !important;
}
.anywhere-booking-mode-toggle input[type="radio"]:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}
@media (min-width: 1180px) {
    .anywhere-stay-detail-main {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 460px);
    }
}
@media (max-width: 960px) {
    .anywhere-stay-detail-sidebar .anywhere-calendar-empty,
    .anywhere-stay-detail-sidebar .anywhere-calendar-day {
        min-height: 52px;
    }
}

/* v1.9.36 accommodation option wording */
.anywhere-accommodation-options-section > h2 {
  margin: 0 0 18px;
}
.anywhere-accommodation-card-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #4b5563;
}


/* v1.9.37 accommodation card icon specs */
.anywhere-accommodation-specs{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.anywhere-accommodation-spec{
  display:inline-flex;
  align-items:center;
  gap:6px;
  line-height:1;
  font-size:14px;
  font-weight:600;
  color:inherit;
}
.anywhere-accommodation-spec-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
}
.anywhere-stays-listing-rooms,
.anywhere-accommodation-room-summary{
  margin:8px 0 0;
}


/* v1.9.38 evenly spaced accommodation card icons */
.anywhere-stays-listing-card .anywhere-accommodation-specs,
.anywhere-accommodation-card .anywhere-accommodation-specs{
  width:100%;
  justify-content:space-between;
  gap:8px;
}
.anywhere-stays-listing-card .anywhere-accommodation-spec,
.anywhere-accommodation-card .anywhere-accommodation-spec{
  flex:1 1 0;
  justify-content:center;
  min-width:0;
}
.anywhere-stays-listing-button,
.anywhere-detail-button{
  text-align:center;
}


/* v1.9.44 Featured accommodation carousel and compact card meta */
.anywhere-accommodation-meta.anywhere-accommodation-meta-compact{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  align-items:center;
  margin:10px 0 0;
  padding:0;
  list-style:none;
}
.anywhere-accommodation-meta.anywhere-accommodation-meta-compact li{
  margin:0;
}
.anywhere-accommodation-guests{
  white-space:nowrap;
}
.anywhere-accommodation-property-name{
  margin:0 0 4px;
  font-size:12px;
  font-weight:700;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.anywhere-featured-accommodation-carousel-section{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.anywhere-featured-accommodation-carousel{
  display:flex;
  gap:22px;
  overflow-x:auto;
  overflow-y:visible;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding:4px 2px 18px;
}
.anywhere-featured-accommodation-slide{
  flex:0 0 min(360px,88vw);
  scroll-snap-align:start;
}
.anywhere-featured-accommodation-slide .anywhere-accommodation-card{
  height:100%;
}
.anywhere-accommodation-specs{
  justify-content:space-evenly;
  width:100%;
}
.anywhere-featured-checkbox .stayfinder-checkbox-inline{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
}



/* v1.9.45 Stay detail description/meta layout */
.anywhere-property-details-layout{
  margin: 28px 0;
}
.anywhere-property-detail-title{
  margin: 0 0 16px;
}
.anywhere-property-detail-summary-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,320px);
  gap:22px;
  align-items:stretch;
}
.anywhere-property-description-panel{
  margin:0;
  padding:22px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}
.anywhere-property-description-panel p:first-child{
  margin-top:0;
}
.anywhere-property-description-panel p:last-child{
  margin-bottom:0;
}
.anywhere-property-meta.anywhere-property-meta-stack{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0;
}
.anywhere-property-meta.anywhere-property-meta-stack > div{
  width:100%;
  margin:0;
  padding:18px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}
.anywhere-property-meta.anywhere-property-meta-stack dt{
  margin:0 0 6px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#64748b;
}
.anywhere-property-meta.anywhere-property-meta-stack dd{
  margin:0;
  font-size:16px;
  font-weight:800;
  color:#111827;
}
@media (max-width: 900px){
  .anywhere-property-detail-summary-grid{
    grid-template-columns:1fr;
  }
  .anywhere-property-meta.anywhere-property-meta-stack{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 640px){
  .anywhere-property-meta.anywhere-property-meta-stack{
    grid-template-columns:1fr;
  }
}



/* v1.9.46 featured carousel spacing and neutral hover fix */
.anywhere-featured-accommodation-carousel-section .anywhere-accommodation-card,
.anywhere-accommodation-options-section .anywhere-accommodation-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.anywhere-featured-accommodation-carousel-section .anywhere-accommodation-content,
.anywhere-accommodation-options-section .anywhere-accommodation-content{
  display:flex;
  flex-direction:column;
  gap:8px;
  height:100%;
}
.anywhere-featured-accommodation-carousel-section .anywhere-accommodation-content > *,
.anywhere-accommodation-options-section .anywhere-accommodation-content > *{
  margin-top:0;
}
.anywhere-featured-accommodation-carousel-section .anywhere-accommodation-card-actions,
.anywhere-accommodation-options-section .anywhere-accommodation-card-actions{
  margin-top:auto;
  padding-top:8px;
}
.anywhere-featured-accommodation-carousel-section .anywhere-accommodation-meta.anywhere-accommodation-meta-compact,
.anywhere-accommodation-options-section .anywhere-accommodation-meta.anywhere-accommodation-meta-compact{
  gap:6px 12px;
  line-height:1.35;
}
.anywhere-featured-accommodation-carousel-section .anywhere-accommodation-guests,
.anywhere-accommodation-options-section .anywhere-accommodation-guests{
  white-space:normal;
}
.anywhere-featured-accommodation-carousel-section .anywhere-detail-button:hover,
.anywhere-accommodation-options-section .anywhere-detail-button:hover,
.anywhere-public-booking-widget .anywhere-detail-button:hover,
.anywhere-property-quote-panel .anywhere-detail-button:hover{
  background:#111827!important;
  border-color:#111827!important;
  color:#ffffff!important;
  filter:none!important;
}
.anywhere-featured-accommodation-carousel-section .anywhere-detail-button-secondary:hover,
.anywhere-accommodation-options-section .anywhere-detail-button-secondary:hover{
  background:#ffffff!important;
  border-color:#111827!important;
  color:#111827!important;
}
.anywhere-featured-accommodation-carousel-section a:hover,
.anywhere-featured-accommodation-carousel-section button:hover{
  box-shadow:none;
}
.anywhere-featured-accommodation-carousel-section .anywhere-accommodation-title-button:hover,
.anywhere-accommodation-options-section .anywhere-accommodation-title-button:hover{
  background:transparent!important;
  color:inherit!important;
}


/* v1.9.59 final UI polish */
.anywhere-advanced-nav{margin-top:14px;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:#fff;padding:10px 12px;}
.anywhere-advanced-nav summary{cursor:pointer;font-weight:700;color:#222;}
.anywhere-advanced-nav .stayfinder-tabs-advanced{margin-top:12px;}
.stayfinder-form .anywhere-help-text,.anywhere-help-text{line-height:1.5;}
.stayfinder-section-header h3{letter-spacing:-.01em;}
.anywhere-property-payment-override{border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:12px;background:#fff;margin:12px 0;}
.anywhere-property-payment-override summary{font-weight:700;cursor:pointer;}

/* v1.0.13: only make bed/bedroom/bathroom icons 5px larger; cards/layout stay unchanged. */
.anywhere-accommodation-spec-icon{
  font-size:20px;
  line-height:1;
}

/* v1.0.21 Gallery carousel + lightbox */
.anywhere-gallery-carousel {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 24px;
}

.anywhere-gallery-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2px 2px 12px;
    scrollbar-width: thin;
}

.anywhere-gallery-slide {
    flex: 0 0 min(82%, 420px);
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: start;
    background: #f8fafc;
}

.anywhere-property-gallery-carousel.columns-2 .anywhere-gallery-slide { flex-basis: min(72%, 520px); }
.anywhere-property-gallery-carousel.columns-3 .anywhere-gallery-slide,
.anywhere-property-gallery-carousel.columns-4 .anywhere-gallery-slide,
.anywhere-property-gallery-carousel.columns-5 .anywhere-gallery-slide { flex-basis: min(76%, 390px); }

.anywhere-gallery-lightbox-trigger {
    appearance: none;
    border: 0;
    padding: 0;
    width: 100%;
    display: block;
    background: transparent;
    cursor: zoom-in;
}

.anywhere-gallery-lightbox-trigger img,
.anywhere-gallery-carousel img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.anywhere-gallery-lightbox-trigger:hover img,
.anywhere-gallery-lightbox-trigger:focus-visible img {
    transform: scale(1.035);
}

.anywhere-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, .84);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(15,23,42,.22);
}

.anywhere-gallery-prev { left: 12px; }
.anywhere-gallery-next { right: 12px; }

.anywhere-gallery-nav:hover,
.anywhere-gallery-nav:focus-visible {
    background: rgba(15, 23, 42, .96);
    color: #fff;
}

.anywhere-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.anywhere-gallery-lightbox.is-open { display: flex; }

.anywhere-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .84);
}

.anywhere-gallery-lightbox-panel {
    position: relative;
    z-index: 2;
    max-width: min(1100px, 94vw);
    max-height: 90vh;
}

.anywhere-gallery-lightbox-panel img {
    width: auto;
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
    background: #fff;
}

.anywhere-gallery-lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(0,0,0,.3);
}

body.anywhere-gallery-lightbox-open { overflow: hidden; }

@media (max-width: 767px) {
    .anywhere-gallery-slide,
    .anywhere-property-gallery-carousel.columns-2 .anywhere-gallery-slide,
    .anywhere-property-gallery-carousel.columns-3 .anywhere-gallery-slide,
    .anywhere-property-gallery-carousel.columns-4 .anywhere-gallery-slide,
    .anywhere-property-gallery-carousel.columns-5 .anywhere-gallery-slide {
        flex-basis: 88%;
    }
    .anywhere-gallery-lightbox-trigger img,
    .anywhere-gallery-carousel img {
        height: 230px;
    }
    .anywhere-gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 26px;
    }
}

.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel {
    display: block;
    padding: 8px;
}
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-track {
    padding-bottom: 8px;
}
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-slide,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-slide:first-child {
    grid-row: auto;
    flex-basis: min(82%, 520px);
    min-height: 0;
}
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel img {
    height: 320px;
    min-height: 0;
}
/* v1.0.41 Equal gallery carousel image frames */
.anywhere-gallery-carousel {
    --anabm-gallery-height: clamp(220px, 28vw, 360px);
}
.anywhere-gallery-carousel .anywhere-gallery-track {
    align-items: stretch;
}
.anywhere-gallery-carousel .anywhere-gallery-slide {
    display: flex;
    height: var(--anabm-gallery-height);
    min-height: var(--anabm-gallery-height);
}
.anywhere-gallery-carousel .anywhere-gallery-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}
.anywhere-gallery-carousel .anywhere-gallery-lightbox-trigger img,
.anywhere-gallery-carousel img {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center center;
}
.anywhere-property-gallery-carousel {
    --anabm-gallery-height: clamp(230px, 30vw, 380px);
}
.anywhere-accommodation-gallery-carousel,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel {
    --anabm-gallery-height: clamp(230px, 30vw, 360px);
}
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-slide,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-slide:first-child {
    height: var(--anabm-gallery-height);
    min-height: var(--anabm-gallery-height);
}
@media (max-width: 767px) {
    .anywhere-gallery-carousel,
    .anywhere-property-gallery-carousel,
    .anywhere-accommodation-gallery-carousel,
    .anywhere-accommodation-modal-gallery.anywhere-gallery-carousel {
        --anabm-gallery-height: 230px;
    }
}


/* v1.0.42 Forced equal gallery carousel frames
   The carousel containers can also carry legacy grid gallery classes such as
   .anywhere-property-gallery. Force carousel mode to prevent mixed grid/flex
   rules from causing uneven image/card sizes. */
.anywhere-property-gallery.anywhere-gallery-carousel,
.anywhere-accommodation-gallery.anywhere-gallery-carousel,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel,
.anywhere-gallery-carousel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    --anabm-gallery-height: clamp(240px, 30vw, 380px);
}

.anywhere-gallery-carousel > .anywhere-gallery-track,
.anywhere-property-gallery.anywhere-gallery-carousel > .anywhere-gallery-track,
.anywhere-accommodation-gallery.anywhere-gallery-carousel > .anywhere-gallery-track,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel > .anywhere-gallery-track {
    display: flex !important;
    align-items: stretch !important;
    gap: 14px !important;
    overflow-x: auto !important;
    grid-template-columns: none !important;
}

.anywhere-gallery-carousel .anywhere-gallery-slide,
.anywhere-property-gallery.anywhere-gallery-carousel .anywhere-gallery-slide,
.anywhere-property-gallery.anywhere-gallery-carousel figure.anywhere-gallery-slide,
.anywhere-accommodation-gallery.anywhere-gallery-carousel .anywhere-gallery-slide,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-slide,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-slide:first-child {
    box-sizing: border-box !important;
    display: block !important;
    flex: 0 0 min(82%, 420px) !important;
    width: min(82%, 420px) !important;
    max-width: min(82%, 420px) !important;
    height: var(--anabm-gallery-height) !important;
    min-height: var(--anabm-gallery-height) !important;
    max-height: var(--anabm-gallery-height) !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
}

.anywhere-property-gallery-carousel.columns-2 .anywhere-gallery-slide {
    flex-basis: min(78%, 520px) !important;
    width: min(78%, 520px) !important;
    max-width: min(78%, 520px) !important;
}

.anywhere-property-gallery-carousel.columns-3 .anywhere-gallery-slide,
.anywhere-property-gallery-carousel.columns-4 .anywhere-gallery-slide,
.anywhere-property-gallery-carousel.columns-5 .anywhere-gallery-slide {
    flex-basis: min(76%, 390px) !important;
    width: min(76%, 390px) !important;
    max-width: min(76%, 390px) !important;
}

.anywhere-gallery-carousel .anywhere-gallery-lightbox-trigger,
.anywhere-property-gallery.anywhere-gallery-carousel .anywhere-gallery-lightbox-trigger,
.anywhere-accommodation-gallery.anywhere-gallery-carousel .anywhere-gallery-lightbox-trigger,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-lightbox-trigger {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: inherit !important;
}

.anywhere-gallery-carousel .anywhere-gallery-lightbox-trigger img,
.anywhere-gallery-carousel img,
.anywhere-property-gallery.anywhere-gallery-carousel img,
.anywhere-accommodation-gallery.anywhere-gallery-carousel img,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: inherit !important;
}

.anywhere-gallery-lightbox-panel img {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    object-fit: contain !important;
}

@media (max-width: 767px) {
    .anywhere-property-gallery.anywhere-gallery-carousel,
    .anywhere-accommodation-gallery.anywhere-gallery-carousel,
    .anywhere-accommodation-modal-gallery.anywhere-gallery-carousel,
    .anywhere-gallery-carousel {
        --anabm-gallery-height: 230px;
    }
    .anywhere-gallery-carousel .anywhere-gallery-slide,
    .anywhere-property-gallery.anywhere-gallery-carousel .anywhere-gallery-slide,
    .anywhere-accommodation-gallery.anywhere-gallery-carousel .anywhere-gallery-slide,
    .anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-slide {
        flex-basis: 88% !important;
        width: 88% !important;
        max-width: 88% !important;
    }
}


/* v1.0.43 Definitive carousel frame sizing
   This targets the actual PHP-rendered frame and adds extra specificity so all
   carousel slides stay equal even when theme/Elementor image rules are present. */
.anywhere-gallery-carousel {
    --anabm-gallery-height: clamp(260px, 30vw, 380px) !important;
}
.anywhere-gallery-carousel .anywhere-gallery-track {
    align-items: stretch !important;
}
.anywhere-gallery-carousel .anywhere-gallery-slide,
.anywhere-property-gallery-carousel .anywhere-gallery-slide,
.anywhere-accommodation-gallery-carousel .anywhere-gallery-slide,
.anywhere-accommodation-modal-gallery.anywhere-gallery-carousel .anywhere-gallery-slide {
    position: relative !important;
    height: var(--anabm-gallery-height) !important;
    min-height: var(--anabm-gallery-height) !important;
    max-height: var(--anabm-gallery-height) !important;
    aspect-ratio: auto !important;
}
.anywhere-gallery-carousel .anywhere-gallery-lightbox-trigger,
.anywhere-gallery-carousel .anabm-gallery-frame {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    line-height: 0 !important;
}
.anywhere-gallery-carousel .anabm-gallery-frame > img,
.anywhere-gallery-carousel .anywhere-gallery-lightbox-trigger > img,
.anywhere-gallery-carousel img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    aspect-ratio: auto !important;
}
.anywhere-gallery-lightbox .anywhere-gallery-lightbox-panel img {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    object-fit: contain !important;
}
@media (max-width: 767px) {
    .anywhere-gallery-carousel {
        --anabm-gallery-height: 230px !important;
    }
}
