/* Shore India finish for Brikk's native templates. No grid or placement changes. */
body.shore-marketplace {
  --main: var(--shore-orange);
  --main-shade: var(--shore-orange-hover);
  color: var(--shore-ink);
  background: var(--shore-bg);
  -webkit-font-smoothing: antialiased;
}
body.shore-marketplace :is(a, button, input, select, textarea, [role="button"]):focus-visible {
  outline: 2px solid var(--shore-orange-hover);
  outline-offset: 3px;
}
body.shore-marketplace :is(a, button, input, select, textarea) {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.shore-marketplace :is(.rz-button, .woocommerce .button, .wp-element-button) {
  border-radius: 10px;
  font-weight: 650;
}
body.shore-marketplace :is(.rz-button-accent, .woocommerce .button.alt, .wp-block-button__link) {
  background-color: var(--shore-orange);
  border-color: var(--shore-orange);
  color: #fff;
}
body.shore-marketplace :is(.rz-button-accent, .woocommerce .button.alt, .wp-block-button__link):hover {
  background-color: var(--shore-orange-hover);
  border-color: var(--shore-orange-hover);
  color: #fff;
}
body.shore-marketplace :is(.rz-form-group, .woocommerce, .wc-block-components-form) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-color: var(--shore-line);
  border-radius: 9px;
  color: var(--shore-ink);
}
body.shore-marketplace :is(.rz-form-group, .woocommerce, .wc-block-components-form) :is(input, select, textarea):focus {
  border-color: var(--shore-orange);
  box-shadow: 0 0 0 3px rgb(249 115 22 / 14%);
}
body.shore-marketplace :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--shore-orange); }
body.shore-marketplace :is(.rz-error, .woocommerce-error, .wc-block-components-validation-error) {
  color: var(--shore-error);
  border-radius: 9px;
}
body.shore-marketplace :is(.woocommerce-message, .woocommerce-info, .wc-block-components-notice-banner) { border-radius: 9px; }

/* Header and native WordPress menus. */
body.shore-marketplace .brk-header {
  background-color: #fff;
  border-bottom: 1px solid var(--shore-line);
  box-shadow: 0 3px 20px rgb(24 24 27 / 5%);
}
/* Brikk's overlap mode assumes a transparent header and white navigation.
   Shore keeps the white header, so its top state needs dark navigation too. */
body.shore-marketplace.brk-overlap-header .brk-header { color: var(--shore-ink); }
body.shore-marketplace.brk-overlap-header .brk-header .brk-site-logo > a > img { opacity: 1; }
body.shore-marketplace.brk-overlap-header .brk-header .brk-logo-overlap img { opacity: 0 !important; }
body.shore-marketplace.brk-is-sticky .brk-header { background-color: rgb(255 255 255 / 94%); }
body.shore-marketplace .brk-header :is(.brk-nav-main, .brk-nav-user) a:hover,
body.shore-marketplace .brk-header :is(.current-menu-item, .current-menu-ancestor) > a,
body.shore-marketplace .brk-mobile-header a:hover { color: var(--shore-orange-hover); }
body.shore-marketplace .brk-header :is(.sub-menu, .brk-nav-user .sub-menu) {
  border: 1px solid var(--shore-line);
  border-radius: 10px;
  box-shadow: var(--shore-shadow-popover);
}
body.shore-marketplace .brk-header .brk--pad > i { background-color: var(--shore-orange-soft); color: var(--shore-orange-hover); }
body.shore-marketplace .brk-site-logo img,
body.shore-marketplace .brk-logo-overlap img {
  width: 108px;
  height: 50px;
  max-width: 108px;
  max-height: 50px;
  object-fit: cover;
  object-position: center;
}

/* Elementor's saved sections retain their order, spacing, and image geometry. */
body.shore-marketplace .elementor :is(.elementor-button, .elementor-icon) { transition: color .18s ease, background-color .18s ease, box-shadow .18s ease; }
body.shore-marketplace .elementor .elementor-button:hover { box-shadow: 0 7px 20px rgb(249 115 22 / 14%); }

/* Staging destinations for Shore experiences and dining until reviewed offers exist. */
body.shore-marketplace .shore-upcoming { max-width: 1040px; margin: 30px auto 90px; padding: 0 24px; }
body.shore-marketplace .shore-upcoming-kicker { color: var(--shore-orange-hover); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
body.shore-marketplace .shore-upcoming-title { max-width: 720px; margin: 12px 0 20px; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; }
body.shore-marketplace .shore-upcoming > p { max-width: 660px; font-size: 17px; line-height: 1.6; }
body.shore-marketplace .shore-upcoming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 36px 0; }
body.shore-marketplace .shore-upcoming-grid section { padding: 30px; border: 1px solid var(--shore-line); border-radius: 16px; background: #fff; }
body.shore-marketplace .shore-upcoming-grid h2 { margin: 0 0 12px; font-size: 25px; }
body.shore-marketplace .shore-upcoming-grid p { margin: 0; line-height: 1.6; }
body.shore-marketplace .shore-upcoming-link { display: inline-block; padding: 12px 20px; border-radius: 9px; background: var(--shore-orange); color: #fff; font-weight: 700; }
body.shore-marketplace .shore-upcoming-link:hover { background: var(--shore-orange-hover); color: #fff; }
body.shore-marketplace .shore-experience-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 22px 0 30px; }
body.shore-marketplace .shore-experience-directory__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--shore-line); border-radius: 12px; background: #fff; color: var(--shore-ink); text-decoration: none; box-shadow: 0 4px 16px rgb(18 40 60 / 6%); }
body.shore-marketplace .shore-experience-directory__card:hover { color: var(--shore-ink); box-shadow: 0 8px 22px rgb(18 40 60 / 12%); }
body.shore-marketplace .shore-experience-directory__card img { display: block; width: 100%; height: 145px; object-fit: cover; }
body.shore-marketplace .shore-experience-directory__card > span { padding: 11px 12px 3px; font-size: 15px; font-weight: 700; }
body.shore-marketplace .shore-experience-directory__card small { padding: 0 12px 12px; color: var(--shore-muted); font-size: 12px; }
@media (max-width: 900px) {
  body.shore-marketplace .shore-experience-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.shore-marketplace .shore-upcoming { margin: 35px auto 60px; padding: 0 18px; }
  body.shore-marketplace .shore-upcoming-grid { grid-template-columns: 1fr; gap: 14px; }
  body.shore-marketplace .shore-upcoming-grid section { padding: 22px; }
  body.shore-marketplace .shore-experience-directory { gap: 12px; }
  body.shore-marketplace .shore-experience-directory__card img { height: 120px; }
}

/* Two visible date controls share Routiz's original date-range calendar and inputs. */
body.shore-marketplace.home .brk-carousel-search .shore-native-date-title { display: none; }
body.shore-marketplace.home .brk-carousel-search .rz-search-mods > .rz-mod { flex: 1 1 0; min-width: 0; }
body.shore-marketplace.home .brk-carousel-search .rz-search-mods > .shore-date-mod { flex-grow: 2; }
body.shore-marketplace.home .brk-carousel-search .shore-date-mod .rz-filter-tab,
body.shore-marketplace.home .brk-carousel-search .shore-date-fields { width: 100%; }
body.shore-marketplace.home .brk-carousel-search .shore-date-fields { display: flex; }
body.shore-marketplace.home .brk-carousel-search .shore-date-field {
  display: flex;
  align-items: center;
  width: 50%;
  min-height: 52px;
  padding: 7px 14px;
  border: 0;
  border-left: 1px solid var(--shore-line);
  border-radius: 0;
  background: #fff;
  color: var(--shore-ink);
  text-align: left;
  cursor: pointer;
}
body.shore-marketplace.home .brk-carousel-search .shore-date-field:hover { background: var(--shore-orange-soft); }
body.shore-marketplace.home .brk-carousel-search .shore-date-copy { display: grid; gap: 2px; min-width: 0; }
body.shore-marketplace.home .brk-carousel-search .shore-date-label { font-size: 11px; font-weight: 700; line-height: 1.2; }
body.shore-marketplace.home .brk-carousel-search .shore-date-value { overflow: hidden; color: var(--shore-muted); font-size: 13px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
body.shore-marketplace.home .brk-carousel-search .shore-date-field--selected .shore-date-value { color: var(--shore-ink); }

/* Keep the Shore logo legible against Brikk's overlapping mobile header. */
@media (max-width: 1199px) {
  body.shore-marketplace.brk-overlap-header .brk-mobile-header {
    background-color: #fff;
    color: var(--shore-ink);
    box-shadow: 0 2px 16px rgb(24 24 27 / 8%);
  }
  body.shore-marketplace.brk-header-text-white .brk-mobile-header .brk--logo { display: block; }
  body.shore-marketplace.brk-header-text-white .brk-mobile-header .brk-logo-overlap { display: none; }
  body.shore-marketplace .brk-mobile-header .brk--site-name img {
    width: 114px;
    height: 54px;
    max-width: 114px;
    max-height: 54px;
    margin: 8px 0;
    object-fit: cover;
    object-position: center;
  }
}
@media (min-width: 768px) and (max-width: 899px) {
  body.shore-marketplace.home .brk-carousel-search .rz-search-mods > .rz-mod:first-child { flex-grow: 1.65; }
  body.shore-marketplace.home .brk-carousel-search .rz-search-mods > .shore-date-mod { flex-grow: 1.7; }
  body.shore-marketplace.home .brk-carousel-search .rz-search-mods > .rz-mod:last-child { flex-grow: 1.15; }
  body.shore-marketplace.home .brk-carousel-search .rz-quick-label { min-width: 0; font-size: 12px; text-overflow: ellipsis; }
}
@media (max-width: 767px) {
  body.shore-marketplace.home .brk-carousel-search .rz-search-mods > .rz-mod { flex: 0 0 auto; width: 100%; }
  body.shore-marketplace.home .brk-carousel-search .shore-date-fields { flex-direction: column; }
  body.shore-marketplace.home .brk-carousel-search .shore-date-field { width: 100%; border-left: 0; border-top: 1px solid var(--shore-line); }
}

/* Native Routiz Explore cards, filters and pagination. */
/* Brikk's taxonomy cards have no image for regions without a completed stay. */
body.shore-marketplace.home .elementor-element-159b91c .brk--image.brk--icon-only {
  background: #fff1e5;
  box-shadow: inset 0 0 0 1px #ffe0c8;
}
body.shore-marketplace.home .elementor-element-159b91c .brk--icon-only .brk--inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.shore-marketplace.home .elementor-element-159b91c .brk--icon-only .brk--icon {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--shore-orange);
  color: #fff;
  font-size: 21px;
}
body.shore-marketplace.home .elementor-element-159b91c .brk--icon-only + .brk--name::after {
  display: block;
  margin-top: 2px;
  color: var(--shore-muted);
  content: 'Coming soon';
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
}
body.shore-marketplace :is(.rz-search-filter, .rz-search-form, .rz-filter-tab, .rz-listing, .rz-single .rz-content, .rz-action) { border-color: var(--shore-line); }
/* Routiz text fields declare 100% content width; include their padding in that width inside Explore's grid. */
body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-form-group input[type="text"],
body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-form-group input[type="search"] {
  box-sizing: border-box;
  max-width: 100%;
}
/* Keep the five Homes filters in one row on wide screens. The category field
   uses Routiz Select2, matching Region rather than a browser-native popup. */
@media (min-width: 1100px) {
  body.shore-marketplace.shore-homes-explore .rz-search-filter--inline .rz-form > .rz-grid > .rz-mod:not([data-type="hidden"]) {
    box-sizing: border-box;
    flex: 0 0 20%;
    width: 20%;
    max-width: 20%;
  }
}
body.shore-marketplace.shore-homes-explore .select2-dropdown {
  overflow: hidden;
  border: 1px solid var(--shore-line);
  border-radius: 9px;
  box-shadow: var(--shore-shadow-popover);
}
body.shore-marketplace.shore-homes-explore .select2-results__options { max-height: 220px; }
body.shore-marketplace.shore-homes-explore .select2-search__field {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--shore-line);
  border-radius: 6px;
  outline: none;
}
body.shore-marketplace.shore-homes-explore .select2-search__field:focus-visible {
  border-color: var(--shore-orange);
  outline: none;
  box-shadow: 0 0 0 2px rgb(249 115 22 / 12%);
}
body.shore-marketplace.shore-homes-explore .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--shore-orange);
  color: #fff;
}
body.shore-marketplace.shore-homes-explore .rz-filter-tab:has(input[name="rz_listing_category"]) .rz-buttons {
  display: grid;
  gap: 6px;
  margin: 0;
}
body.shore-marketplace.shore-homes-explore .rz-filter-tab:has(input[name="rz_listing_category"]) .rz-buttons .rz-btn {
  display: block;
}
body.shore-marketplace.shore-homes-explore .rz-filter-tab:has(input[name="rz_listing_category"]) .rz-buttons .rz-btn span {
  margin: 0;
  border-radius: 8px;
  background: var(--shore-bg-soft);
  color: var(--shore-ink);
  text-align: left;
}
body.shore-marketplace.shore-homes-explore .rz-filter-tab:has(input[name="rz_listing_category"]) .rz-buttons .rz-btn input:checked + span {
  background: var(--shore-orange) !important;
  color: #fff;
  box-shadow: none;
}
@media (min-width: 1024px) {
  body.shore-marketplace.shore-homes-explore .rz-filter-tab:has(input[name="rz_listing_category"]) .rz-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  body.shore-marketplace.shore-homes-explore .rz-filter-tab:has(input[name="rz_listing_category"]) .rz-buttons .rz-btn span {
    display: flex;
    min-height: 48px;
    box-sizing: border-box;
    align-items: center;
    padding: 7px 9px;
    font-size: 12px;
    line-height: 1.25;
  }
}
body.shore-marketplace .rz-listing { border-radius: 12px; box-shadow: 0 5px 24px rgb(24 24 27 / 6%); }
body.shore-marketplace .rz-listing:hover { box-shadow: var(--shore-shadow-card); }
body.shore-marketplace .rz-listing-content :is(h3, h4),
body.shore-marketplace .rz-single :is(h1, h2, h3) { color: var(--shore-ink); }
body.shore-marketplace :is(.rz-filter-tab.rz-expand, .rz-guests.rz-open, .rz-dropdown, .rz-modal) { box-shadow: var(--shore-shadow-popover); }
body.shore-marketplace :is(.rz-filter-tab.rz-expand, .rz-listing .rz--selected, .rz-paging .rz--active) { border-color: var(--shore-orange); }
body.shore-marketplace :is(.rz-paging a:hover, .rz-paging .rz--active, .rz-calendar .rz-days li.rz--selected) { color: var(--shore-orange-hover); }

/* Brikk's fixed Submission header/footer heights originally excluded their padding. */
body.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--top {
  box-sizing: border-box;
  padding: 10px 20px;
}
body.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--bottom { box-sizing: border-box; }
body.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--middle { min-width: 0; }
body.shore-marketplace.rz-is-submission .brk-submission .brk--row,
body.shore-marketplace.rz-is-submission .rz-submission-step { min-width: 0; }
body.shore-marketplace.rz-is-submission .rz-submission-step :is(input, textarea, select) { box-sizing: border-box; max-width: 100%; }
body.shore-marketplace.rz-is-submission .rz-submission-step :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select):focus-visible { outline: 2px solid var(--shore-orange); outline-offset: 2px; }
body.shore-marketplace.rz-is-submission .rz-submission-step .rz--title { color: var(--shore-ink); }
body.shore-marketplace.rz-is-submission .rz-submission-step .rz-plans .rz-plan { height: 100%; box-sizing: border-box; border: 1px solid var(--shore-line); box-shadow: 0 8px 24px rgb(24 24 27 / 5%); }
body.shore-marketplace.rz-is-submission .rz-submission-step .rz-plans .rz-plan .rz-action .rz-button { box-sizing: border-box; width: 100%; max-width: 100%; }
body.shore-marketplace.rz-is-submission .rz-submission-step .rz-plans .rz-plan.rz-highlight { border-color: var(--shore-orange); box-shadow: inset 0 0 0 1px var(--shore-orange); }
body.shore-marketplace.rz-is-submission .rz-submission-step .rz-plans input:checked + .rz-plan { background: var(--shore-orange-soft) !important; box-shadow: inset 0 0 0 2px var(--shore-orange) !important; }
body.shore-marketplace.rz-is-submission .rz-submission-step .rz-plans input:checked + .rz-plan .rz-button { background: var(--shore-orange); color: #fff; }
body.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--bottom { box-shadow: 0 -8px 24px rgb(24 24 27 / 5%); }
body.admin-bar.shore-marketplace.rz-is-submission .brk-submission > .brk--sidebar,
body.admin-bar.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--top { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--top { top: 46px; }
}
body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type { padding-block: 12px; }
body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--image {
  box-sizing: border-box;
  flex: 0 0 104px;
  width: 104px;
  padding-inline: 16px;
}
body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--radio input:checked + span::after,
body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type:hover .rz--radio span::after { color: var(--shore-orange); }
@media (max-width: 767px) {
  body.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--top { padding: 6px 16px; }
  body.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--bottom { padding: 10px 16px; }
  body.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--top .rz--image { flex: 0 0 30px; width: 30px; margin-right: 10px; }
  body.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--top .rz--name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
  body.shore-marketplace.rz-is-submission .brk-submission > .brk--content > .brk--top .rz--exit { flex: 0 0 auto; margin-left: 8px; }
  body.shore-marketplace.rz-is-submission .brk-submission .brk--row {
    flex: 0 1 auto;
    justify-content: flex-start;
  }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type {
    display: grid;
    grid-template-columns: 24px 48px minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
    box-sizing: border-box;
    min-height: 96px;
    padding: 8px 16px;
    background-color: var(--shore-bg-soft);
    text-align: left;
    box-shadow: inset 0 0 0 1px var(--shore-line);
  }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type.rz-active,
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type:hover { box-shadow: inset 0 0 0 2px var(--shore-orange); }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--radio { grid-column: 1; grid-row: 1 / span 2; }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--radio span::after { font-size: 24px; }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--image {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 48px;
    max-width: 48px;
    padding: 0;
    margin: 0;
  }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--image .rz--img { width: 48px; }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--content { grid-column: 3; grid-row: 1; min-width: 0; margin: 0; }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--content .rz--title { font-size: 17px; line-height: 1.25; }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--action { grid-column: 3; grid-row: 2; margin: 0; }
  body.shore-marketplace.rz-is-submission .rz-submission-types .rz--type .rz--action .rz-button { padding: 7px 16px; }
}

/* Keep Brikk's padded Explore cards inside each percentage-width grid cell. */
@media (min-width: 768px) {
  body.rz-is-explore .rz-explore-listings .rz-listing-item { box-sizing: border-box; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.rz-is-explore.rz-explore-type--full .rz-explore-listings .rz-listings[data-cols] .rz-listing-item { flex: 0 1 50%; max-width: 50%; }
}

/* When Routiz has no map provider, keep Brikk's cards and filters in a full-width Explore layout. */
body.rz-is-explore.rz-explore-type--map:has(.rz-explore-map.rz--no-map) .brk-explore-content { display: none; }
body.rz-is-explore.rz-explore-type--map:has(.rz-explore-map.rz--no-map) .brk-explore-sidebar {
  flex: 1 1 100%;
  max-width: 100%;
}
body.rz-is-explore.rz-explore-type--map:has(.rz-explore-map.rz--no-map) :is(.rz-taxonomy-heading .rz--inner, .rz-explore-listings, .rz-search-filter--inline .rz--content) {
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
}
body.rz-is-explore.rz-explore-type--map:has(.rz-explore-map.rz--no-map) .rz-explore-listings .rz-listings[data-cols] .rz-listing-item {
  box-sizing: border-box;
  flex: 0 1 33.3333%;
  max-width: 33.3333%;
}
@media (min-width: 768px) and (max-width: 991px) {
  body.rz-is-explore.rz-explore-type--map:has(.rz-explore-map.rz--no-map) .rz-explore-listings .rz-listings[data-cols] .rz-listing-item { flex-basis: 50%; max-width: 50%; }
}
@media (max-width: 991px) {
  body.rz-is-explore.rz-explore-type--map:has(.rz-explore-map.rz--no-map) .brk-explore-sidebar { margin-top: 2rem; }
}
@media (max-width: 767px) {
  body.rz-is-explore.rz-explore-type--map:has(.rz-explore-map.rz--no-map) .rz-explore-listings .rz-listings[data-cols] .rz-listing-item { flex-basis: 100%; max-width: 100%; }
}

/* Five Brikk listing cards per row on wide Explore pages. */
@media (min-width: 1300px) {
  body.rz-is-explore.rz-explore-type--full .rz-explore-listings .rz-listings[data-cols] .rz-listing-item,
  body.rz-is-explore.rz-explore-type--map:has(.rz-explore-map.rz--no-map) .rz-explore-listings .rz-listings[data-cols] .rz-listing-item {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Routiz reserves 64px for Brikk's mobile bar; its padding makes the actual bar 84px tall. */
@media (max-width: 991px) {
  body.shore-marketplace.rz-is-explore.rz--expand-search-filters .rz-search-filter--inline { bottom: 84px; }
  body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-search-footer { gap: 10px; }
  body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-search-footer .rz-ml-auto {
    order: -1;
    flex: 1 1 100%;
    text-align: right;
  }
  body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-search-footer .rz-submit-buttons {
    flex: 1 1 100%;
    width: 100%;
  }
  body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-search-footer .rz-submit-buttons > .rz--submit {
    flex: 1 1 calc(50% - 5px);
    margin-top: 0;
  }
  body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-search-footer .rz-submit-buttons .rz-button {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-search-footer .rz-submit-buttons > .rz--submit + .rz--submit .rz-button {
    background: #fff;
    color: var(--shore-ink);
    box-shadow: inset 0 0 0 1px var(--shore-line);
  }
  body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-search-footer .rz-submit-buttons > .rz--submit + .rz--submit .rz-button::before,
  body.shore-marketplace.rz-is-explore .rz-search-filter--inline .rz-search-footer .rz-submit-buttons > .rz--submit + .rz--submit .rz-button::after { display: none; }
}

/* Native listing gallery, sidebar and calendar. */
body.shore-marketplace :is(.rz-single .rz-sidebar, .rz-single .rz-action, .rz-single .rz-gallery img) { border-radius: 12px; }
body.shore-marketplace.single-rz_listing .rz-action-footer .rz-button.rz-large {
  box-sizing: border-box;
  max-width: 100%;
}
body.shore-marketplace .rz-calendar .rz-days li:not(.rz--not-available):not(.rz--past-day):hover { background-color: var(--shore-orange-soft); }
/* Search calendar has no listing-specific nightly rate; its zero labels stretch mobile rows. */
body.shore-marketplace .brk-carousel-search .rz-calendar .rz-days li .cal-price { display: none; }
/* Routiz gives each weekday 14.28% width plus 10px padding, which wraps the
   seven labels into two rows in narrow booking and search calendars. */
body.shore-marketplace .rz-calendar .rz-weekdays li {
  box-sizing: border-box;
  flex: 0 0 calc(100% / 7);
  min-width: 0;
  padding: 8px 0;
  text-align: center;
}
/* The plugin's generic li span rule also applies to the price's nested spans.
   Keep booking dates square and render the compact rate below the day number. */
body.shore-marketplace .rz-calendar-booking .rz-days li > span {
  box-sizing: border-box;
  height: 56px;
  padding-top: 0;
}
body.shore-marketplace .rz-calendar-booking .rz-days li > span > i { top: 17px; }
body.shore-marketplace .rz-calendar-booking .rz-days li .cal-price {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  overflow: hidden;
  font-size: 8px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}
body.shore-marketplace .rz-calendar-booking .rz-days li .cal-price :is(.rz--currency, .rz--amount) { display: none; }
body.shore-marketplace .rz-calendar-booking .rz-days li .cal-price::after { content: attr(data-shore-rate); }

/* Brikk account, authentication and footer structures remain intact. */
body.shore-marketplace :is(.brk-account, .brk-account-footer, .brk-footer, .woocommerce-account) { border-color: var(--shore-line); }
body.shore-marketplace .brk-account :is(a:hover, .current-menu-item > a),
body.shore-marketplace .brk-footer a:hover { color: var(--shore-orange-hover); }
body.shore-marketplace :is(.brk-footer, .brk-account-footer) { background-color: var(--shore-bg-soft); }
body.shore-marketplace :is(.brk-footer .brk--bottom, .brk-account-footer) { color: var(--shore-muted); }
body.shore-marketplace :is(.rz-modal, .woocommerce form.login, .woocommerce form.register) { border-radius: 12px; }

/* Brikk's account page and sign-in modal share the Routiz authentication form. */
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-signin-tabs ul {
  flex-wrap: wrap;
  gap: 8px 18px;
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-signin-tabs a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin: 0;
  font-size: 14px;
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-signin-tabs li.rz-active a::before {
  background-color: var(--shore-orange);
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-signin-section input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
  min-height: 48px;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 16px;
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-standard-role {
  max-width: 360px;
  margin: 24px auto 28px;
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-standard-role ul {
  gap: 12px;
  margin: 0;
  padding: 0;
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-standard-role li {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-standard-role a {
  display: flex;
  min-height: 110px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--shore-line);
  border-radius: 12px;
  color: var(--shore-ink);
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-standard-role a:hover,
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-standard-role a:focus-visible {
  border-color: var(--shore-orange);
  background-color: var(--shore-orange-soft);
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .rz-standard-role img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
/* Nextend buttons are inserted only after Google or Facebook is configured. */
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .shore-social-login .nsl-container {
  width: 100%;
  margin: 0 0 20px;
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .shore-social-login .nsl-container-buttons {
  display: grid;
  gap: 10px;
}
body.shore-marketplace :is(.brk-signin-form, .rz-modal-signin) .shore-social-login .nsl-button {
  min-height: 48px;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 767px) {
  body.shore-marketplace .rz-modal-signin .rz-modal-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  body.shore-marketplace .rz-modal-signin .rz-modal-footer {
    width: 100%;
    box-sizing: border-box;
    padding-right: 16px;
    padding-left: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  body.shore-marketplace .rz-modal-signin .rz-modal-footer .rz-button {
    width: 100% !important;
    max-width: none;
    box-sizing: border-box;
    margin: 0 !important;
  }
}

/* Keep the fixed mobile navigation from covering checkout fields and the payment button. */
@media (max-width: 1023px) {
  body.shore-marketplace.woocommerce-checkout .brk-mobile-bar { display: none; }
}

/* The parent footer's negative row margins and account inputs overflow narrow viewports. */
@media (max-width: 1279px) {
  body.shore-marketplace.page:not(.elementor-page):not(.rz-is-explore):not(.rz-is-submission) :is(.brk-page-title .brk-row, .brk-container > .brk-row),
  body.shore-marketplace :is(.brk-footer, .brk-account-footer) .brk-row,
  body.shore-marketplace.woocommerce-account :is(.brk-container > .brk-row, .brk-page-title .brk-row),
  body.shore-marketplace.single-rz_listing :is(.brk-cover-outer > .brk-row, .site-main > .brk-row, .brk-nearby > .brk-row, .brk-similar > .brk-row) {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
  }
}
@media (max-width: 767px) {
  body.shore-marketplace.woocommerce-account :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) { max-width: 100%; box-sizing: border-box; }
  body.shore-marketplace.blog .brk-msnry .brk--cell { box-sizing: border-box; }
}

/* Brikk's masonry column positioning leaves unused space on tablet article archives. */
@media (min-width: 768px) and (max-width: 1199px) {
  body.shore-marketplace.blog .brk-msnry {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    height: auto !important;
  }
  body.shore-marketplace.blog .brk-msnry > .brk--cell {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box;
  }
}

/* Brikk's comment fields use full-width content boxes, which add padding outside the article column. */
@media (max-width: 1023px) {
  body.shore-marketplace.single-post .comment-form :is(input:not([type="checkbox"]):not([type="radio"]), textarea) {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.shore-marketplace :is(a, button, input, select, textarea, .elementor-button) { transition: none; }
}
