/* Mobile redesign (phones, <= 767px). Everything here is scoped to that
   breakpoint so desktop/tablet rendering is untouched. Loaded after
   responsive.css; rules that must beat a page's own inline <style> block
   (which loads later) are prefixed with `body`.
   Bump the ?v= on the <link> in layout.blade.php whenever this changes. */

@media only screen and (min-width: 768px) {
  .spm-only { display: none !important; }
}

/* Wizard: wrapper that only becomes a grid on phones */
.spm-type-grid { display: contents; }

@media only screen and (max-width: 767px) {

  .spm-hide { display: none !important; }

  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }

  /* Short pages: the footer sits at the bottom of the screen instead of
     floating mid-page with white space under it. */
  .boxed_wrapper { display: flex; flex-direction: column; min-height: calc(100vh - 62px - env(safe-area-inset-bottom, 0px)); }
  .boxed_wrapper > .main-footer { margin-top: auto; }

  /* ---------- header ---------- */
  .main-header .header-top { display: none; }
  body .main-header .outer-box {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
  body .main-header .outer-box .logo-box { padding: 10px 0 !important; }
  body .main-header .outer-box .logo-box .logo { max-width: 104px; margin: 0; }
  body .main-header .menu-area { position: static; }
  /* "Post a space" stays in the header as a small pill between the logo and
     the menu button; "Book a space" is covered by the Search tab. */
  .main-header .header-lower .outer-box > .btn-box { display: none; }
  .main-header .header-lower .outer-box > .logo-box { order: 0; }
  .main-header .header-lower .outer-box > .btn-box:nth-child(3) { display: block; order: 1; margin-left: auto; }
  .main-header .header-lower .outer-box > .menu-area { order: 2; margin-left: 6px; }
  body .main-header .header-lower .btn-box:nth-child(3) .theme-btn-one {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 12px 0 10px;
    border: 0;
    border-radius: 999px;
    background: #dcf5ea;
    color: #0d1927;
    font: 600 13px/1 'Nunito', sans-serif;
    white-space: nowrap;
  }
  body .main-header .header-lower .btn-box:nth-child(3) .theme-btn-one:before,
  body .main-header .header-lower .btn-box:nth-child(3) .theme-btn-one:after { display: none; }
  body .main-header .header-lower .btn-box:nth-child(3) .theme-btn-one i { margin: 0; font-size: 10px; line-height: 1 !important; color: #0d1927; }
  .menu-area .mobile-nav-toggler { padding: 10px 0 10px 10px; }
  .menu-area .mobile-nav-toggler .icon-bar { width: 24px; margin-bottom: 6px; }
  .main-header .header-lower { border-bottom: 1px solid #eef0f2; }

  /* ---------- bottom tab bar ---------- */
  .spm-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: flex;
    background: #fff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -4px 16px rgba(60, 214, 142, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .spm-tabbar a {
    flex: 1 1 0;
    min-width: 0;
    height: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font: 500 11px/1 'Nunito', sans-serif;
    color: #7b8591;
    white-space: nowrap;
  }
  .spm-tabbar a i { font-size: 20px; line-height: 1 !important; }
  .spm-tabbar a i:before { color: inherit !important; }
  .spm-tabbar a.is-active { color: #0d1927; font-weight: 700; }
  .modal-open .spm-tabbar,
  .mobile-menu-visible .spm-tabbar { display: none; }

  /* Fixed widgets sit above the tab bar instead of under it. */
  /* Only WhatsApp floats on phones, at the right edge where it does not cover
     the start of headings and labels; the phone number is in the footer. The
     scroll-to-top button sits just above it. */
  body .floating-icons { left: auto; right: 12px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  body .floating-icons .float1,
  body .floating-icons .float2,
  body .floating-icons .float3 { display: none; }
  body .floating-icons a { width: 42px; height: 42px; font-size: 18px; }
  .scroll-top { width: 42px; height: 42px; line-height: 42px; font-size: 18px; right: 12px; border-radius: 50%; }
  .scroll-top.open { bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }

  /* ---------- shared section rhythm ---------- */
  .auto-container { padding-left: 16px; padding-right: 16px; }
  .sec-pad { padding: 32px 0 !important; }
  .sec-title { margin-bottom: 18px; }
  .sec-title span { font-size: 12px; line-height: 18px; letter-spacing: 0.04em; margin-bottom: 4px; }
  .sec-title h2 { font-size: 22px; line-height: 28px; font-weight: 800; margin-bottom: 6px; }
  .sec-title p { font-size: 13px; line-height: 20px; }

  .spm-section { padding: 22px 0 0; }
  .spm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
  }
  .spm-head h2 {
    font: 800 18px/24px 'Quicksand', sans-serif;
    color: #0d1927;
    margin: 0;
  }
  .spm-head a {
    flex: none;
    font: 500 13px/20px 'Nunito', sans-serif;
    color: #2a9d6a;
  }
  .spm-head a i { font-size: 11px; margin-left: 6px; }
  .spm-head h2 { flex: 1; min-width: 0; }
  .spm-arrows { flex: none; display: flex; gap: 6px; }
  .spm-arrows button {
    width: 30px;
    height: 30px;
    border: 1px solid #e3e6ea;
    border-radius: 50%;
    background: #fff;
    color: #0d1927;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .spm-arrows button i { line-height: 1 !important; }
  .spm-arrows button:disabled { opacity: 0.35; }

  /* ---------- hero ---------- */
  .banner-section { padding: 26px 0 22px; }
  .banner-section:before { opacity: 0.45; }
  .banner-section .content-box { text-align: left; }
  .banner-section .content-box h1 { font-size: 26px; line-height: 32px; font-weight: 800; margin-bottom: 8px; }
  .banner-section .content-box p { font-size: 14px; line-height: 20px; font-weight: 500; margin-bottom: 18px; }
  .banner-section .content-box .input-inner {
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 0;
    box-shadow: 0 10px 30px rgba(13, 25, 39, 0.18);
  }
  .banner-section .content-box .input-inner .form-group {
    background: #f3f5f6;
    border-radius: 999px;
    margin-bottom: 10px;
  }
  .banner-section .content-box .input-inner .form-group i { display: block; left: 18px; top: 0; line-height: 46px !important; color: #5b6570; }
  body .banner-section .content-box .input-inner .form-group input[type='search'] {
    height: 46px;
    padding: 0 16px 0 46px;
    font-size: 14px;
    text-align: left;
  }
  body .banner-section .content-box .input-inner .select2-selection--single {
    height: 46px !important;
    padding: 8px 36px 8px 46px;
  }
  body .banner-section .content-box .input-inner .select2-selection__rendered { font-size: 14px; text-align: left; }
  body .banner-section .content-box .input-inner .select2-selection__arrow { height: 46px !important; right: 14px !important; }
  .banner-section .content-box .input-inner .btn-box { padding: 0; }
  .banner-section .content-box .input-inner .btn-box button {
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 999px;
  }
  .banner-section .hkl { border-radius: 14px; padding: 8px 0; top: 50px; box-shadow: 0 10px 30px rgba(13, 25, 39, 0.18); }

  /* ---------- categories: 4-up tiles ---------- */
  .category-section.sec-pad { padding: 22px 0 0 !important; }
  .category-section > .auto-container > .sec-title,
  .category-section .more-btn { display: none; }
  .category-section .auto-container .auto-container { padding: 0; }
  .category-section .inner-content {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  body .category-section .category-block-one {
    flex: none !important;
    max-width: none !important;
    margin: 0;
    padding: 0;
    visibility: visible !important;
    animation: none !important;
  }
  .category-section .category-block-one:nth-child(n+8):not(.spm-cat-all) { display: none; }
  .category-block-one .inner-box {
    max-width: none;
    padding: 12px 4px 10px;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    box-shadow: 0 2px 8px rgba(13, 25, 39, 0.04);
  }
  .category-block-one .inner-box:before,
  .category-block-one .inner-box .shape,
  .category-block-one .inner-box > span,
  .category-block-one .inner-box > p { display: none; }
  .category-block-one .inner-box .icon-box { font-size: 30px; line-height: 40px; height: 40px; margin-bottom: 6px; color: #0d1927; }
  .category-block-one .inner-box .icon-box img { width: 40px; height: 40px; object-fit: contain; filter: none !important; }
  .category-block-one .inner-box h5 {
    font: 600 11px/14px 'Nunito', sans-serif;
    color: #0d1927 !important;
    margin: 0;
    width: 100%;
  }
  .category-block-one .inner-box h5 abbr { vertical-align: top; }
  .category-block-one .inner-box:hover .icon-box { color: #0d1927; }

  /* ---------- promo banners ---------- */
  .spm-findme {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #dcf5ea;
    color: #0d1927;
    text-align: left;
  }
  .spm-findme__icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #b9ead4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  .spm-findme__text { flex: 1; min-width: 0; }
  .spm-findme__text strong { display: block; font: 700 15px/20px 'Quicksand', sans-serif; color: #0d1927; }
  .spm-findme__text span { display: block; font: 400 12px/17px 'Nunito', sans-serif; color: #3d5248; }
  .spm-findme > i { flex: none; font-size: 13px; }

  .spm-list {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(100deg, #3cd68e 0%, #3cd68e 100%);
    overflow: hidden;
  }
  .spm-list__text { flex: 1; min-width: 0; }
  .spm-list__text strong { display: block; font: 700 15px/20px 'Quicksand', sans-serif; color: #fff; }
  .spm-list__text span { display: block; font: 400 12px/17px 'Nunito', sans-serif; color: #cfe3da; margin-top: 2px; }
  .spm-list__btn {
    flex: none;
    background: #fff;
    color: #0d1927;
    font: 600 13px/38px 'Nunito', sans-serif;
    padding: 0 14px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .spm-list__btn i { font-size: 11px; margin-left: 6px; }

  /* ---------- horizontal scrollers ---------- */
  .spm-scroller {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 2px 16px 10px;
  }
  .spm-scroller::-webkit-scrollbar { display: none; }

  /* Card rows show exactly two cards and stop on whole cards. */
  .spm-scroller--cards { margin: 0; padding: 2px 0 10px; scroll-snap-type: x mandatory; }
  .spm-scroller--cards .spm-card { flex: 0 0 calc((100% - 10px) / 2); }

  .spm-card {
    position: relative;
    flex: 0 0 172px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(13, 25, 39, 0.05);
    overflow: hidden;
  }
  .spm-card__link { display: block; color: inherit; }
  .spm-card__media { position: relative; height: 116px; background: #e9ecef; }
  .spm-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .spm-card__price {
    position: absolute;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    background: #3cd68e;
    color: #fff;
    font: 700 13px/24px 'Nunito', sans-serif;
    padding: 0 9px;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .spm-card__price small { font-size: 11px; font-weight: 500; }
  .spm-card__badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; }
  .spm-card__badges span {
    font: 700 9.5px/18px 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0 7px;
    border-radius: 999px;
    background: #2dbe6c;
    color: #fff;
  }
  .spm-card__badges span.is-premium { background: #3cd68e; color: #fff; }
  .spm-card__fav {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(13, 25, 39, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
  }
  .spm-card__fav i { color: #0d1927; font-size: 14px; line-height: 1 !important; }
  .spm-card__body { padding: 9px 10px 11px; }
  .spm-card__cat { font: 400 11px/16px 'Nunito', sans-serif; color: #7b8591; }
  .spm-card__title {
    font: 700 13.5px/18px 'Quicksand', sans-serif;
    color: #0d1927;
    margin: 2px 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .spm-card__loc {
    font: 400 11.5px/16px 'Nunito', sans-serif;
    color: #5b6570;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .spm-card__loc i { font-size: 11px; margin-right: 5px; color: #0d1927; }

  .spm-chip {
    flex: none;
    font: 500 13px/38px 'Nunito', sans-serif;
    color: #0d1927;
    padding: 0 16px;
    border: 1px solid #e3e6ea;
    border-radius: 999px;
    background: #fff;
    white-space: nowrap;
  }
  .spm-chip i { font-size: 12px; margin-right: 7px; color: #0d1927; }
  .spm-chip:first-child { background: #dcf5ea; border-color: #dcf5ea; font-weight: 600; }

  /* ---------- homepage sections kept from the desktop layout ---------- */
  .testimonial-section { margin-top: 26px; }
  .testimonial-section .image-layer,
  .testimonial-section .anim-icon { display: none; }
  .testimonial-section .testimonial-content .text p { font-size: 14px; line-height: 22px; }

  .clients-section { padding: 28px 0 8px; }
  .clients-section .sec-title { margin-bottom: 6px; }
  .clients-section .inner-box { margin-top: 12px; }
  .clients-section .clients-logo-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  body .clients-section .clients-logo-list li { width: auto; float: none; }
  .clients-section .clients-logo-list li .clients-logo {
    min-height: 56px;
    line-height: 56px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    background: #fff;
  }
  .clients-section .clients-logo-list li .clients-logo img { width: 100% !important; max-width: 84px; max-height: 40px; object-fit: contain; }

  .download-section { padding: 28px 0; }
  .download-section .image-column { display: none; }
  .download-section .content_block_1 .content-box h2 { font-size: 22px; line-height: 28px; margin-bottom: 16px; }
  .download-section .content_block_1 .content-box span.upper-text { background: #dcf5ea; color: #0d1927; margin-bottom: 10px; }
  .download-section .content_block_1 .content-box .download-btn { display: flex; gap: 10px; }
  body .download-section .content_block_1 .content-box .download-btn a {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 10px 10px 10px 50px;
    border-radius: 14px;
    border: 1px solid #eef0f2;
    box-shadow: 0 2px 8px rgba(13, 25, 39, 0.05);
  }
  .download-section .content_block_1 .content-box .download-btn a i { left: 14px; font-size: 26px; }
  .download-section .content_block_1 .content-box .download-btn a span { font-size: 11px; line-height: 15px; }
  .download-section .content_block_1 .content-box .download-btn a h4 { font-size: 14px; line-height: 18px; }

  /* ---------- footer: compact on phones ----------
     Logo and social icons on one row, the company line, contact details and
     the policy links. Services and Top News are hidden (spm-hide in the
     layout): the menu and the tab bar already carry those links. */
  .main-footer .footer-top { padding: 22px 0 4px; background-attachment: scroll; }
  .main-footer .footer-column { margin: 0; }
  .main-footer .footer-widget { margin: 0 0 14px !important; }
  .footer-top .logo-widget {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px 12px;
    margin-top: 0;
  }
  .footer-top .logo-widget .footer-logo { max-width: 92px; margin: 0; }
  .footer-top .logo-widget .text { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .footer-top .logo-widget .text p { font-size: 12px; line-height: 18px; margin: 0; }
  body .footer-top .logo-widget .social-links { grid-column: 2; grid-row: 1; justify-self: end; display: flex; gap: 6px; margin: 0; padding: 0 !important; }
  body .footer-top .logo-widget .social-links li { float: none; margin: 0 !important; }
  .footer-top .logo-widget .social-links li a { width: 32px; height: 32px; line-height: 32px; font-size: 13px; }
  .main-footer .contact-widget .widget-title { display: none; }
  .main-footer .contact-widget .info-list { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .main-footer .contact-widget .info-list li {
    position: relative;
    margin: 0;
    padding: 0 0 0 20px;
    font-size: 12.5px;
    line-height: 22px;
  }
  .main-footer .contact-widget .info-list li i {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    background: none;
    font-size: 11px;
    line-height: 22px !important;
  }
  .footer-bottom { padding: 12px 0 14px; }
  .footer-bottom .footer-nav { margin-top: 6px; }
  .footer-bottom .footer-nav li { float: none; display: inline-block; margin: 0 7px 2px; font-size: 12px; line-height: 20px; }
  .footer-bottom .footer-nav li:before { display: none; }
  .footer-bottom .copyright p { font-size: 12px; line-height: 18px; margin: 0; }

  /* Booking page: only the policy links and the copyright line */
  .page-title-2.spm-book-hero ~ .main-footer .footer-top { display: none; }

  /* ---------- inner page title strip ---------- */
  .page-title { padding: 22px 0 !important; }
  .page-title .content-box .title h1,
  .page-title .content-box h1 { font-size: 22px; line-height: 28px; margin-bottom: 4px; }
  .page-title .content-box .bread-crumb li { font-size: 13px; line-height: 18px; }

  /* ---------- search page ---------- */
  .category-details { padding: 16px 0 28px; }
  .category-sidebar .sidebar-widget { padding: 14px; margin-bottom: 14px; border-radius: 14px; }
  .category-sidebar .filter-panel > .widget-title:first-child { display: none; }
  /* Closed: keyword box and a Filters button share one row; the rest is hidden. */
  #filterForm:not(.spm-open) .filter-panel .search-form > .form-group:not(.spm-keep),
  #filterForm:not(.spm-open) .filter-panel .widget-title.sub-section,
  #filterForm:not(.spm-open) .filter-panel .widget-title.sub-section + .widget-content,
  #filterForm:not(.spm-open) .price-filter.sidebar-widget,
  #filterForm:not(.spm-open) .spm-sheet-head,
  #filterForm:not(.spm-open) .spm-sheet-foot,
  #filterForm:not(.spm-open) .spm-sheet-backdrop { display: none; }
  #filterForm:not(.spm-open) .filter-panel .widget-content > .search-form { display: flex; align-items: center; gap: 8px; }
  #filterForm:not(.spm-open) .filter-panel .search-form > .form-group.spm-keep { flex: 1; min-width: 0; margin: 0; }
  #filterForm .filter-panel .search-form > .form-group.spm-keep input[type='search'] { padding-left: 44px; padding-right: 10px; font-size: 14px; }
  #filterForm .filter-panel .search-form > .form-group.spm-keep i { left: 18px; }
  .spm-filter-toggle {
    flex: none;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 50px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #3cd68e;
    font: 600 14px/1 'Nunito', sans-serif;
    color: #fff;
  }
  .spm-filter-toggle i { line-height: 1 !important; font-size: 13px; }
  .spm-filter-toggle b {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #2dbe6c;
    color: #fff;
    font: 700 11px/18px 'Nunito', sans-serif;
    text-align: center;
  }

  /* Open: the whole filter column becomes a bottom sheet. */
  body.spm-sheet-open { overflow: hidden; }
  body.spm-sheet-open .spm-tabbar,
  body.spm-sheet-open .floating-icons,
  body.spm-sheet-open .scroll-top { display: none !important; }
  .spm-sheet-backdrop { position: fixed; inset: 0; z-index: 1039; background: rgba(13, 25, 39, 0.5); }
  #filterForm.spm-open .category-sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    max-height: 86vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0 16px;
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 40px rgba(13, 25, 39, 0.25);
  }
  #filterForm.spm-open .category-sidebar .sidebar-widget { padding: 0; margin: 0 0 14px; background: none; box-shadow: none; border: 0; border-radius: 0; }
  #filterForm.spm-open .spm-keep { display: none; }
  #filterForm .filter-panel .price-range .row > .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  #filterForm .filter-panel .price-range .row > .col-lg-12 { margin-bottom: 10px; }
  #filterForm .filter-panel .price-range .theme-btn-one { display: block; width: 100%; padding: 10px 20px; }
  #filterForm .filter-panel #saveSearchBtn { position: relative; top: auto; right: auto; background: #3cd68e; color: #fff; }
  #filterForm .price-filter .price-range .row { margin: 0; }
  #filterForm .price-filter .price-range ul li { font-size: 14px; line-height: 30px; }
  .spm-sheet-head {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -16px 12px;
    padding: 14px 16px 12px;
    background: #fff;
    border-bottom: 1px solid #eef0f2;
  }
  .spm-sheet-head strong { font: 800 17px/24px 'Quicksand', sans-serif; color: #0d1927; }
  .spm-sheet-head button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f5f6; color: #0d1927; font-size: 14px; }
  .spm-sheet-foot {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin: 0 -16px;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #eef0f2;
  }
  .spm-sheet-foot button {
    display: block;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #3cd68e;
    color: #fff;
    font: 600 15px/1 'Nunito', sans-serif;
  }
  body .filter-panel .widget-title.sub-section { margin-top: 14px; padding-top: 14px; margin-bottom: 10px; }
  body .category-sidebar .sidebar-widget .widget-title h3 { font-size: 15px; line-height: 20px; margin: 0; }
  #filterForm .select2-search--inline,
  #filterForm .select2-search__field { width: 100% !important; }

  /* Results bar: one plain row, count on the left, sort pill on the right. */
  body .category-details-content .item-shorting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: none;
    box-shadow: none;
    padding: 0 2px;
    margin-bottom: 10px;
  }
  body .category-details-content .item-shorting:before,
  body .category-details-content .item-shorting:after,
  body .category-details-content .item-shorting .right-column:before,
  body .category-details-content .item-shorting .right-column:after { display: none; }
  body .category-details-content .item-shorting .text { float: none !important; flex: 1; min-width: 0; text-align: left; }
  body .category-details-content .item-shorting .text p {
    margin: 0;
    font: 400 13px/36px 'Nunito', sans-serif;
    color: #5b6570;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body .category-details-content .item-shorting .text p span { display: none; }
  body .category-details-content .item-shorting .right-column { float: none !important; flex: none; }
  body .category-details-content .item-shorting .select-box { float: none; margin: 0; }
  body .category-details-content .item-shorting .nice-select {
    float: none;
    width: auto;
    height: 36px;
    line-height: 34px;
    padding: 0 32px 0 14px;
    border: 1px solid #e3e6ea;
    border-radius: 999px;
    background: #fff;
    font: 500 13px/34px 'Nunito', sans-serif;
    color: #0d1927;
  }
  body .category-details-content .item-shorting .nice-select:after { right: 13px; top: 0; height: 34px; line-height: 34px; font-size: 13px; }
  body .category-details-content .item-shorting .nice-select .list { left: auto !important; right: 0 !important; min-width: 180px; margin-top: 6px; border-radius: 12px; transform-origin: 100% 0; }
  /* Search results (list view): compact row card, photo left, details right.
     The whole card opens the listing through the title link's ::after. */
  .browse-add .list-item .feature-block-one { margin-bottom: 12px; }
  body .browse-add .list-item .feature-block-one .inner-box {
    position: relative;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    padding: 0;
    min-height: 136px;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
  }
  body .browse-add .list-item .feature-block-one .inner-box:before { display: none; }
  body .browse-add .list-item .feature-block-one .inner-box .image-box {
    position: relative;
    width: auto;
    height: 100%;
    margin: 0;
  }
  body .browse-add .list-item .feature-block-one .inner-box .image-box .image { position: absolute; inset: 0; height: auto; margin: 0; border-radius: 0; }
  body .browse-add .list-item .feature-block-one .inner-box .image-box .image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
  body .browse-add .list-item .feature-block-one .inner-box .image-box .feature-2 {
    left: 6px;
    top: 6px;
    right: auto;
    padding: 0 7px;
    font: 700 9.5px/18px 'Nunito', sans-serif;
    border-radius: 999px;
    background: #2dbe6c;
    color: #fff;
  }
  body .browse-add .list-item .feature-block-one .inner-box .image-box .feature-2:before { display: none; }
  body .browse-add .list-item .feature-block-one .inner-box .lower-content { position: static; padding: 10px 12px 10px; min-width: 0; }
  body .browse-add .list-item .lower-content .category { margin: 0 0 2px; padding: 0; }
  body .browse-add .list-item .lower-content .category i { display: none; }
  body .browse-add .list-item .lower-content .category p { margin: 0; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body .browse-add .list-item .lower-content .category .main_type {
    background: none;
    border: 0;
    padding: 0;
    margin: 0 6px 0 0;
    font: 400 11px/16px 'Nunito', sans-serif;
    color: #7b8591;
  }
  body .browse-add .list-item .lower-content > a,
  body .browse-add .list-item .lower-content > span { position: relative; z-index: 2; margin-bottom: 3px !important; padding: 0 8px !important; font-size: 9.5px !important; line-height: 17px; }
  body .browse-add .list-item .lower-content h4 {
    position: static;
    font: 700 14.5px/19px 'Quicksand', sans-serif;
    margin: 0 0 5px;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body .browse-add .list-item .lower-content h4 a { display: inline; color: #0d1927; }
  body .browse-add .list-item .lower-content h4 a:after { content: ''; position: absolute; inset: 0; z-index: 1; }
  body .browse-add .list-item .lower-content .rating { display: none; }
  body .browse-add .list-item .lower-content .info { margin: 0 0 6px; padding: 0; }
  body .browse-add .list-item .lower-content .info li {
    display: inline-block;
    float: none;
    margin: 0 10px 0 0;
    padding: 0;
    font: 400 11.5px/17px 'Nunito', sans-serif;
    color: #5b6570;
  }
  body .browse-add .list-item .lower-content .info li:first-child { display: none; }
  body .browse-add .list-item .lower-content .info li i { position: static; transform: none; line-height: 17px !important; font-size: 11px; margin-right: 5px; color: #0d1927; }
  body .browse-add .list-item .lower-content .lower-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  body .browse-add .list-item .lower-content .lower-box:before { display: none; }
  body .browse-add .list-item .lower-content .lower-box h5 { font: 700 15px/22px 'Nunito', sans-serif; color: #0d1927; margin: 0; padding: 0; }
  body .browse-add .list-item .lower-content .lower-box h5 span { font-size: 11px; font-weight: 400; color: #7b8591; margin-right: 2px; }
  body .browse-add .list-item .lower-content .lower-box .react-box { display: block !important; position: relative; z-index: 2; top: auto; right: auto; margin: 0 0 0 auto; }
  body .browse-add .list-item .lower-content .lower-box .react-box li { margin: 0; padding: 0; }
  body .browse-add .list-item .lower-content .lower-box .react-box li:before { display: none; }
  body .browse-add .list-item .lower-content .lower-box .react-box li a { width: 32px; height: 32px; line-height: 32px; font-size: 14px; }
  body .browse-add .list-item .feature-block-one .inner-box .btn-box { display: none; }
  /* List / grid switch, kept small beside the sort pill. */
  body .category-details-content .item-shorting .right-column { display: flex; align-items: center; gap: 8px; }
  body .category-details-content .item-shorting .menu-box { float: none; display: flex; gap: 6px; }
  body .category-details-content .item-shorting .menu-box button {
    width: 36px;
    height: 36px;
    line-height: 34px;
    margin: 0;
    font-size: 14px;
    background: #fff;
  }
  body .category-details-content .item-shorting .menu-box button.on { background: #3cd68e; color: #fff; }

  /* Grid view: two cards per row. */
  body .category-details-content .grid-item .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
  }
  body .category-details-content .grid-item .row:before,
  body .category-details-content .grid-item .row:after { display: none; }
  body .category-details-content .grid-item .feature-block { flex: none; max-width: none; width: auto; padding: 0; }
  body .category-details-content .grid-item .feature-block-one { height: 100%; margin: 0; }
  body .category-details-content .grid-item .feature-block-one .inner-box {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(13, 25, 39, 0.05);
  }
  body .category-details-content .grid-item .inner-box .image-box { position: relative; margin: 0; border-radius: 0; }
  body .category-details-content .grid-item .inner-box .image-box:before,
  body .category-details-content .grid-item .inner-box .image-box .shape,
  body .category-details-content .grid-item .inner-box .image-box .icon { display: none; }
  body .category-details-content .grid-item .inner-box .image-box .image { margin: 0; border-radius: 0; }
  body .category-details-content .grid-item .inner-box .image-box .image img { display: block; width: 100% !important; height: 112px !important; border-radius: 0; transform: none; }
  body .category-details-content .grid-item .inner-box .image-box .feature {
    left: 6px;
    top: 6px;
    right: auto;
    width: auto;
    height: auto;
    padding: 0 7px;
    font: 700 9.5px/18px 'Nunito', sans-serif;
    border-radius: 999px;
    background: #2dbe6c;
    color: #fff;
    text-transform: uppercase;
  }
  body .category-details-content .grid-item .inner-box .image-box .feature:before { display: none; }
  body .category-details-content .grid-item .inner-box .lower-content { position: static; padding: 8px 10px 10px !important; margin: 0; border: 0; }
  body .category-details-content .grid-item .lower-content .category { position: static; margin: 0 0 2px; padding: 0; background: none; }
  body .category-details-content .grid-item .lower-content .category i { display: none; }
  body .category-details-content .grid-item .lower-content .category p {
    margin: 0;
    padding: 0;
    font: 400 11px/16px 'Nunito', sans-serif;
    color: #7b8591;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body .category-details-content .grid-item .lower-content > a,
  body .category-details-content .grid-item .lower-content > span { position: relative; z-index: 2; margin: 0 0 3px !important; padding: 0 7px !important; font-size: 9px !important; line-height: 16px; }
  body .category-details-content .grid-item .lower-content h4 {
    position: static;
    font: 700 13px/17px 'Quicksand', sans-serif;
    margin: 0 0 4px;
    padding: 0;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body .category-details-content .grid-item .lower-content h4 a { display: inline; color: #0d1927; }
  body .category-details-content .grid-item .lower-content h4 a:after { content: ''; position: absolute; inset: 0; z-index: 1; }
  body .category-details-content .grid-item .lower-content .rating { display: none; }
  body .category-details-content .grid-item .lower-content .info { margin: 0 0 4px; padding: 0; border: 0; }
  body .category-details-content .grid-item .lower-content .info li {
    display: block;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    font: 400 11px/16px 'Nunito', sans-serif;
    color: #5b6570;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body .category-details-content .grid-item .lower-content .info li:first-child { display: none; }
  body .category-details-content .grid-item .lower-content .info li i { position: static; transform: none; font-size: 10.5px; line-height: 16px !important; margin-right: 4px; color: #0d1927; }
  body .category-details-content .grid-item .lower-content .lower-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  body .category-details-content .grid-item .lower-content .lower-box:before { display: none; }
  body .category-details-content .grid-item .lower-content .lower-box h5 {
    min-width: 0;
    margin: 0;
    padding: 0;
    font: 700 13px/17px 'Nunito', sans-serif;
    color: #0d1927;
  }
  body .category-details-content .grid-item .lower-content .lower-box .react-box { display: block !important; flex: none; position: relative; z-index: 2; top: auto; right: auto; margin: 0; }
  body .category-details-content .grid-item .lower-content .lower-box .react-box li { margin: 0; padding: 0; }
  body .category-details-content .grid-item .lower-content .lower-box .react-box li:before { display: none; }
  body .category-details-content .grid-item .lower-content .lower-box .react-box li a { width: 28px; height: 28px; line-height: 28px; font-size: 13px; }
}

/* ---------- navigation drawer (shown wherever the hamburger is: <= 1200px) ----------
   The theme slid a full-width green slab in over 0.9s, spun the close icon
   and snapped shut with no animation. Now: the page dims, a panel slides in
   from the right in about a quarter of a second, and closing mirrors it. */
@media only screen and (max-width: 1200px) {
  .mobile-menu {
    left: 0;
    width: 100%;
    padding: 0;
    opacity: 1;
    visibility: hidden;
    transition: visibility 0s linear 0.28s;
  }
  .mobile-menu-visible .mobile-menu { visibility: visible; transition-delay: 0s; }

  .mobile-menu .menu-backdrop,
  .mobile-menu-visible .mobile-menu .menu-backdrop {
    background: #0d1927;
    transform: none;
    visibility: inherit;
    transition: opacity 0.28s ease;
  }
  .mobile-menu .menu-backdrop { opacity: 0; }
  .mobile-menu-visible .mobile-menu .menu-backdrop { opacity: 0.55; }

  .mobile-menu .menu-box,
  .mobile-menu-visible .mobile-menu .menu-box {
    left: auto;
    right: 0;
    width: 84%;
    max-width: 320px;
    background: #3cd68e;
    opacity: 1;
    visibility: inherit;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
  }
  .mobile-menu .menu-box { transform: translateX(100%); }
  .mobile-menu-visible .mobile-menu .menu-box { transform: translateX(0); }

  .mobile-menu .close-btn,
  .mobile-menu-visible .mobile-menu .close-btn {
    right: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 14px;
    transform: none;
    transition: opacity 0.2s ease;
  }
  .mobile-menu .close-btn { opacity: 0; }
  .mobile-menu-visible .mobile-menu .close-btn { opacity: 1; transition-delay: 0.12s; }
  .mobile-menu .close-btn:hover { transform: none; }

  .mobile-menu .nav-logo { padding: 16px 20px 14px; }
  .mobile-menu .nav-logo img { max-width: 96px; height: auto; }
  .mobile-menu .navigation li > a {
    padding: 13px 20px;
    font: 500 15px/22px 'Nunito', sans-serif;
    text-transform: none;
  }
  .mobile-menu .navigation li ul li > a { font-size: 14px; margin-left: 14px; }
  /* Spod's side menu is green (Spaceond's is dark), so the active link is white, not green. */
  .mobile-menu .navigation li > a:before { border-left: 3px solid #fff; }
  .mobile-menu .navigation li.current > a { color: #fff; font-weight: 800; }
  .mobile-menu .navigation li.dropdown .dropdown-btn { top: 8px; right: 12px; border-radius: 50%; }
  .mobile-menu .contact-info { padding: 22px 20px 12px; }
  .mobile-menu .contact-info h4 { font-size: 15px; margin-bottom: 8px; }
  .mobile-menu .contact-info ul li { font-size: 14px; }
  .mobile-menu .social-links { padding: 0 12px 20px; }

  .spm-drawer-post {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 20px 14px;
    border-radius: 999px;
    background: #2dbe6c;
    color: #fff !important;
    font: 700 14px/44px 'Nunito', sans-serif;
  }
  .spm-drawer-post i { font-size: 12px; line-height: 1 !important; }
  .spm-drawer-auth { display: flex; gap: 10px; padding: 18px 20px 0; }
  /* The mint Post button above the list goes to the same page. */
  .mobile-menu .navigation li.spm-drawer-dup { display: none; }
  .spm-drawer-auth a {
    flex: 1;
    text-align: center;
    font: 600 14px/42px 'Nunito', sans-serif;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
  }
  .spm-drawer-auth a.is-primary { background: #2dbe6c; border-color: #2dbe6c; color: #fff; }
}

/* ---------- listing detail page (phones) ---------- */
@media only screen and (max-width: 767px) {

  /* Top of the page: swipeable photos, then a white sheet that overlaps them. */
  body .page-title-2:not(.spm-book-hero) { padding: 0; background-image: none !important; background-color: #fff; }
  body .page-title-2:not(.spm-book-hero):before { display: none; }
  .spm-gallery { position: relative; background: #e9ecef; }
  .spm-gallery__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .spm-gallery__track::-webkit-scrollbar { display: none; }
  .spm-gallery__track img {
    flex: 0 0 100%;
    width: 100%;
    height: 264px;
    object-fit: cover;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .spm-gallery__count {
    position: absolute;
    right: 12px;
    bottom: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(13, 25, 39, 0.65);
    color: #fff;
    font: 500 12px/24px 'Nunito', sans-serif;
  }
  .spm-gallery__count i { margin-right: 6px; font-size: 11px; line-height: 24px !important; }
  .spm-gallery__count b { font-weight: 600; }
  body .page-title-2 > .auto-container {
    position: relative;
    z-index: 2;
    margin-top: -18px;
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding-top: 16px;
  }

  .spm-price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 12px; color: #0d1927; }
  .spm-price small { font: 400 12.5px/20px 'Nunito', sans-serif; color: #7b8591; }
  .spm-price strong { font: 800 22px/28px 'Quicksand', sans-serif; }
  .spm-price span { font: 500 13px/20px 'Nunito', sans-serif; color: #5b6570; }

  .spm-facts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
  .spm-facts > div {
    min-width: 0;
    padding: 9px 8px 8px;
    border-radius: 12px;
    background: #f3f7f5;
    text-align: center;
  }
  .spm-facts i { display: block; font-size: 14px; line-height: 18px !important; color: #2a9d6a; margin-bottom: 3px; }
  .spm-facts small { display: block; font: 400 10.5px/14px 'Nunito', sans-serif; color: #7b8591; }
  .spm-facts b { display: block; font: 600 12px/16px 'Nunito', sans-serif; color: #0d1927; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  body .page-title-2 .content-box { margin-bottom: 14px; }
  body .page-title-2 .content-box h1 {
    font: 800 20px/26px 'Quicksand', sans-serif;
    color: #0d1927;
    margin-bottom: 6px;
  }
  body .page-title-2 .content-box .category {
    display: inline-block;
    margin: 0 6px 4px 0;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: #f3f5f6 !important;
    color: #3d4852 !important;
    font: 500 11.5px/24px 'Nunito', sans-serif !important;
    text-transform: none !important;
  }
  body .page-title-2 .content-box .category i { margin-right: 5px; font-size: 10px; line-height: 24px !important; }
  body .page-title-2 .content-box .category + .category { background: #dcf5ea !important; color: #0d1927 !important; }

  body .page-title-2 .info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 0 14px;
    border-top: 1px solid #eef0f2;
    border-radius: 0;
    box-shadow: none;
  }
  body .page-title-2 .info-box:before,
  body .page-title-2 .info-box:after { display: none; }
  body .page-title-2 .info-box .left-column {
    float: none !important;
    flex: 1;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 0 0 54px;
    text-align: left;
  }
  body .page-title-2 .info-box .left-column .image-box { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: 0; }
  body .page-title-2 .info-box .left-column .image-box img { width: 44px !important; height: 44px !important; }
  body .page-title-2 .info-box .left-column h4 { display: inline-block; font-size: 14.5px; line-height: 20px; margin: 0 8px 2px 0; padding-right: 22px; }
  body .page-title-2 .info-box .left-column h4:before,
  body .page-title-2 .info-box .left-column .rating:before,
  body .page-title-2 .info-box .left-column .spod-premium-badge:before { display: none; }
  body .page-title-2 .info-box .left-column h4 i { top: 2px; }
  body .page-title-2 .info-box .left-column .spod-premium-badge { margin: 0 0 2px !important; padding: 0 8px !important; font-size: 9.5px !important; line-height: 17px; vertical-align: 2px; }
  body .page-title-2 .info-box .left-column .rating { display: block; margin: 0; font-size: 12px; line-height: 18px; }
  body .page-title-2 .info-box .left-column .rating li { font-size: 12px; }
  body .page-title-2 .info-box .left-column h5 { display: none; }
  body .page-title-2 .info-box .left-column h5 span { font-size: 12px; font-weight: 400; color: #7b8591; margin-right: 5px; }
  body .page-title-2 .info-box .right-column { float: none !important; flex: none; margin: 0; padding: 0; }
  body .page-title-2 .info-box .right-column .links-list { margin: 0; }

  /* Content cards */
  body .browse-add-details { padding: 12px 0 0; }
  body .browse-add-details .category-sidebar { margin-bottom: 0; }
  body .browse-add-details.bg-color-2 { background: #f5f6f7; }
  .spm-clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .spm-clamp.is-open { display: block; }
  .spm-more { margin-top: 6px; padding: 0; border: 0; background: none; font: 600 13px/20px 'Nunito', sans-serif; color: #2a9d6a; }

  /* Sticky booking bar, sitting on top of the tab bar */
  .spm-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    z-index: 989;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -6px 18px rgba(13, 25, 39, 0.08);
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .spm-cta.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
  .spm-cta__price { display: flex; align-items: baseline; gap: 5px; min-width: 0; color: #0d1927; }
  .spm-cta__price small { font: 400 11.5px/18px 'Nunito', sans-serif; color: #7b8591; }
  .spm-cta__price strong { font: 800 17px/24px 'Quicksand', sans-serif; white-space: nowrap; }
  .spm-cta__price span { font: 500 12px/18px 'Nunito', sans-serif; color: #5b6570; white-space: nowrap; }
  .spm-cta a,
  .spm-cta button {
    flex: none;
    padding: 0 22px;
    border-radius: 999px;
    background: #3cd68e;
    color: #fff;
    font: 600 14px/42px 'Nunito', sans-serif;
  }
  .spm-cta button { border: 0; }
  .spm-cta button:disabled { opacity: 0.5; }
  .modal-open .spm-cta,
  .mobile-menu-visible .spm-cta { display: none; }
  body.spm-has-cta { padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
  body.spm-has-cta .floating-icons { bottom: calc(134px + env(safe-area-inset-bottom, 0px)); }
  body.spm-has-cta .scroll-top.open { bottom: calc(184px + env(safe-area-inset-bottom, 0px)); }
  /* The column's own 30px bottom margin stacked on the last card's margin,
     leaving a wide gap before the sidebar cards. */
  body .add-details-content { display: flex; flex-direction: column; margin-bottom: 0; }
  body .add-details-content .single-box:last-child { margin-bottom: 12px; }
  .add-details-content .content-two { order: -1; }
  body .add-details-content .single-box,
  body .browse-add-details .category-sidebar .sidebar-widget {
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(13, 25, 39, 0.05);
  }
  body .add-details-content .single-box .text h3,
  body .add-details-content .content-five .text h4,
  body .browse-add-details .category-sidebar .widget-title h3 { font-size: 16px; line-height: 22px; margin: 0 0 8px; }
  body .browse-add-details .category-sidebar .widget-title { margin: 0; padding: 0; border: 0; }
  body .add-details-content .single-box .text p { font-size: 14px; line-height: 22px; margin-bottom: 0; }

  /* Gallery: one photo, thumbnails in a swipeable row */
  body .add-details-content .content-two { padding: 10px; }
  body .add-details-content .single-box .bxslider .product-image { margin-bottom: 8px; }
  body .add-details-content .single-box .bxslider .product-image img { width: 100% !important; height: 220px !important; }
  body .add-details-content .single-box .bxslider .thumb-box {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  body .add-details-content .single-box .bxslider .thumb-box::-webkit-scrollbar { display: none; }
  body .add-details-content .single-box .bxslider .thumb-box:before,
  body .add-details-content .single-box .bxslider .thumb-box:after { display: none; }
  body .add-details-content .single-box .bxslider .thumb-box li { float: none; flex: none; width: auto; margin: 0 !important; }
  body .add-details-content .single-box .bxslider .thumb-box li img { display: block; width: 68px !important; height: 50px !important; }

  /* Features, location, details */
  /* Features: three small tiles per row, icon above the name */
  body .add-details-content .content-three .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
  body .add-details-content .content-three .row > .col-6 {
    flex: none;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0 !important;
    padding: 9px 4px 8px;
    border-radius: 10px;
    background: #f3f7f5;
    text-align: center;
    font: 500 11px/14px 'Nunito', sans-serif;
    color: #0d1927;
  }
  body .add-details-content .content-three .row > .col-6 img { width: 24px; height: 24px; object-fit: contain; margin: 0 0 5px !important; }
  body .add-details-content .content-three .row > .col-6 span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  body .add-details-content .content-four .info-box li {
    float: none;
    width: auto !important;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 7px 0 !important;
    border-top: 1px solid #f1f3f5;
    font-size: 13.5px;
    line-height: 20px;
    text-align: right;
  }
  body .add-details-content .content-four .info-box li:first-child { border-top: 0; }
  body .add-details-content .content-four .info-box li span { flex: none; color: #7b8591; font-weight: 400; text-align: left; }

  /* Long lists stay short until opened */
  .spm-collapsible.content-three:not(.is-open) .row > .col-6:nth-child(n+10),
  .spm-collapsible.spm-details:not(.is-open) .info-box li:nth-child(n+7) { display: none !important; }
  .spm-collapsible .spm-more { display: block; margin-top: 8px; }

  /* Pricing plans: one compact row per plan (name and price, button at the right) */
  body .add-details-content .pricing-section > .auto-container { padding: 0; }
  body .pricing-section .sec-title { margin-bottom: 4px; text-align: left !important; }
  body .pricing-section .sec-title span { display: none; }
  body .pricing-section .sec-title h2 { font-size: 16px; line-height: 22px; }
  body .pricing-section .pricing-block { margin-top: 8px !important; margin-bottom: 0; }
  body .pricing-section .pricing-block-one { margin-bottom: 0; }
  body .add-details-content .pricing-section.single-box { padding-bottom: 14px !important; }
  body .pricing-section .pricing-block-one .pricing-table,
  body .pricing-section .pricing-block-one.active .pricing-table {
    position: relative;
    display: block;
    margin: 0;
    padding: 12px 14px 12px 44px;
    border: 1.5px solid #e3e6ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
  }
  /* radio mark */
  body .pricing-section .pricing-block-one .pricing-table:before {
    content: '';
    position: absolute;
    left: 14px;
    top: 14px;
    width: 18px;
    height: 18px;
    border: 1.5px solid #b8c0c8;
    border-radius: 50%;
    background: #fff;
  }
  body .pricing-section .pricing-block-one.is-selected .pricing-table { border-color: #2a9d6a; background: #f3f9f6; }
  body .pricing-section .pricing-block-one.is-selected .pricing-table:before { border-color: #2a9d6a; box-shadow: inset 0 0 0 4px #fff; background: #2a9d6a; }
  body .pricing-section .pricing-block-one .pricing-table .teble-header,
  body .pricing-section .pricing-block-one.active .pricing-table .teble-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
    border: 0;
  }
  body .pricing-section .pricing-block-one .pricing-table .teble-header:before { display: none; }
  body .pricing-section .pricing-block-one .pricing-table .teble-header p,
  body .pricing-section .pricing-block-one.active .pricing-table .teble-header p { font: 600 12px/22px 'Nunito', sans-serif; letter-spacing: 0.04em; color: #3d4852; margin: 0; }
  body .pricing-section .pricing-block-one .pricing-table .teble-header h2,
  body .pricing-section .pricing-block-one.active .pricing-table .teble-header h2 { font: 800 16px/22px 'Quicksand', sans-serif; color: #0d1927; margin: 0; text-align: right; }
  body .pricing-section .pricing-block-one .pricing-table .teble-header h2 br { display: none; }
  body .pricing-section .pricing-block-one .pricing-table .teble-header h2 span,
  body .pricing-section .pricing-block-one.active .pricing-table .teble-header h2 span { font-size: 12px; font-weight: 500; color: #5b6570; margin-left: 3px; }
  /* one button for the chosen plan replaces the per-plan buttons */
  body .pricing-section .pricing-block-one .pricing-table .table-footer { display: none; }
  /* The plain "1 Hour / For 1 Person" lines repeat the plan name; only a
     slab table adds information, so only that is kept. */
  body .pricing-section .pricing-block-one .pricing-table .table-content { padding: 0; }
  body .pricing-section .pricing-block-one .pricing-table .table-content .list:not(.pricing-slab-table) { display: none; }
  body .pricing-section .pricing-block-one .pricing-table .table-content .pricing-slab-table { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; }
  body .pricing-section .pricing-block-one .pricing-table .table-content .pricing-slab-table li,
  body .pricing-section .pricing-block-one.active .pricing-table .table-content .pricing-slab-table li { font: 400 12px/18px 'Nunito', sans-serif; color: #5b6570; padding: 0; margin: 0; }
  body .pricing-section .pricing-block-one .pricing-table .table-content .pricing-slab-table li:before { display: none; }
  .spm-plan-own { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #f3f5f6; font: 500 13px/19px 'Nunito', sans-serif; color: #3d4852; text-align: center; }
  .spm-plan-own[hidden], .spm-plan-action[hidden] { display: none !important; }
  .spm-plan-action {
    display: block;
    margin-top: 12px;
    border-radius: 999px;
    background: #3cd68e;
    color: #fff !important;
    text-align: center;
    font: 600 15px/46px 'Nunito', sans-serif;
  }

  /* Access Timing: two compact columns */
  .spm-hours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 12px; }
  .spm-hours > div { display: flex; gap: 6px; font: 400 12px/18px 'Nunito', sans-serif; color: #5b6570; min-width: 0; }
  .spm-hours b { flex: none; width: 28px; font-weight: 600; color: #0d1927; }
  .spm-hours span { min-width: 0; }

  /* Availability calendar: one-row header, small legend, tighter grid */
  body .browse-add-details .booking-calendar-card { padding: 0; border: 0; box-shadow: none; }
  body .browse-add-details .booking-calendar-card .calendar-header { gap: 6px 12px !important; align-items: center; }
  body .browse-add-details .booking-calendar-card .calendar-header > div:first-child { flex: 1; min-width: 0; }
  body .browse-add-details .booking-calendar-card .calendar-header > div:last-child { display: contents !important; }
  body .browse-add-details .booking-calendar-card .calendar-header h4 { font-size: 13px; line-height: 20px; margin: 0; color: #5b6570; font-weight: 500; }
  body .browse-add-details .booking-calendar-card .calendar-header p { display: none; }
  body .browse-add-details .booking-calendar-card .calendar-nav { flex: none; gap: 6px; }
  body .browse-add-details .booking-calendar-card .calendar-nav-btn { width: 30px; height: 30px; border-radius: 9px; font-size: 12px; }
  body .browse-add-details .booking-calendar-card .booking-calendar-legend { flex: 0 0 100%; gap: 4px 14px; margin: 0; font-size: 11.5px; }
  body .browse-add-details .booking-calendar-card .legend-dot { width: 8px; height: 8px; margin-right: 5px; }
  body .browse-add-details .booking-calendar-widget { margin-top: 10px; gap: 10px; }
  body .browse-add-details .calendar-month { border-radius: 12px; }
  body .browse-add-details .calendar-month .month-title { padding: 7px 12px; font-size: 13px; }
  body .browse-add-details .calendar-grid { gap: 4px; padding: 8px 10px 10px; }
  body .browse-add-details .calendar-weekday { font-size: 10.5px; line-height: 16px; }
  body .browse-add-details .calendar-cell { min-height: 30px; border-radius: 8px; font-size: 12.5px; }
  body .browse-add-details .booking-calendar-summary { margin-top: 10px; padding: 10px 12px; font-size: 13px; }

  /* Related listings */
  body .related-ads { padding: 10px 0 24px; background: #f5f6f7; }
  body .related-ads .sec-title span { display: none; }
  body .related-ads .sec-title { margin-bottom: 12px; }
  body .related-ads .sec-title h2 { font-size: 18px; line-height: 24px; margin: 0; }
}

/* ---------- booking / checkout page (phones) ----------
   Layout only. The shared spod-payment-ui.css is left untouched (it is kept
   byte-identical with the Portal), so every rule here is scoped to
   .spod-checkout-wrapper or to this page's own hooks. */
@media only screen and (max-width: 767px) {

  /* Header: the listing's cover photo with the title over it. The host and
     the price are in the Reservation Summary, so the seller row is not
     repeated here. */
  body .page-title-2.spm-book-hero {
    padding: 92px 0 0;
    background-size: cover;
    background-position: center;
    background-color: #3cd68e;
  }
  body .page-title-2.spm-book-hero:before {
    display: block;
    height: 100%;
    opacity: 1;
    background: linear-gradient(180deg, rgba(13, 25, 39, 0.1) 0%, rgba(13, 25, 39, 0.82) 100%);
  }
  body .page-title-2.spm-book-hero > .auto-container {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 14px;
    border-radius: 0;
    background: none;
  }
  body .page-title-2.spm-book-hero .content-box { margin-bottom: 0; }
  body .page-title-2.spm-book-hero .content-box h1 { font-size: 20px; line-height: 26px; color: #fff; margin-bottom: 6px; }
  body .page-title-2.spm-book-hero .content-box .category { background: rgba(255, 255, 255, 0.18) !important; color: #fff !important; margin-bottom: 0; }
  body .page-title-2.spm-book-hero .info-box { display: none; }

  /* Reservation Summary: first on the page, collapsed to listing + total */
  body .spod-checkout-wrapper .spm-summary-col { order: -1; margin-bottom: 12px; }
  body .spod-checkout-wrapper .spod-summary-card:not(.is-open) .spod-summary-hr,
  body .spod-checkout-wrapper .spod-summary-card:not(.is-open) .spod-summary-host,
  body .spod-checkout-wrapper .spod-summary-card:not(.is-open) .spod-summary-details,
  body .spod-checkout-wrapper .spod-summary-card:not(.is-open) .spod-summary-pricing > .spod-summary-row,
  body .spod-checkout-wrapper .spod-summary-card:not(.is-open) .spod-summary-guarantee { display: none !important; }
  body .spod-checkout-wrapper .spod-summary-card:not(.is-open) .spod-summary-total-row { margin-top: 12px !important; padding-top: 12px !important; }
  body .spod-checkout-wrapper .spod-summary-guarantee { margin-top: 14px !important; }
  body .spod-checkout-wrapper .spod-summary-grand-total { font-size: 22px; line-height: 28px; }
  .spm-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 4px 0 -8px;
    padding: 0;
    border: 0;
    background: none;
    font: 600 13px/44px 'Nunito', sans-serif;
    color: #2a9d6a;
  }
  .spm-summary-toggle i { font-size: 10px; line-height: 1 !important; transition: transform 0.2s ease; }
  .spod-summary-card.is-open .spm-summary-toggle i { transform: rotate(180deg); }

  body .login-section.signup-section:has(.spod-checkout-wrapper),
  body .spm-book-hero + .login-section { padding: 12px 0 24px !important; }
  body .spod-checkout-wrapper { margin-top: 0; }
  body .spod-checkout-wrapper .spod-verify-warning-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 12px; font-size: 13px; }

  body .spod-checkout-wrapper .spod-form-card,
  body .spod-checkout-wrapper .spod-summary-card { padding: 16px 14px; border-radius: 14px; }
  body .spod-checkout-wrapper .spod-form-card.mb-4,
  body .spod-checkout-wrapper .spod-checkout-actions.mb-4 { margin-bottom: 12px !important; }
  body .spod-checkout-wrapper .spod-card-header { align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  body .spod-checkout-wrapper .spod-step-badge { width: 26px; height: 26px; font-size: 12.5px; box-shadow: none; }
  body .spod-checkout-wrapper .spod-card-title { font-size: 16px; line-height: 22px; }
  body .spod-checkout-wrapper .spod-card-subtitle { font-size: 12px; line-height: 17px; margin-top: 1px; }

  /* Guest line and renumbered steps (only when the guest card has nothing to fill in) */
  body .spod-checkout-wrapper .spm-guest-compact { padding: 11px 14px; }
  body .spod-checkout-wrapper .spm-guest-compact > .spod-card-header,
  body .spod-checkout-wrapper .spm-guest-compact > .row { display: none; }
  .spm-guest-line { margin: 0; font: 400 13px/20px 'Nunito', sans-serif; color: #3d4852; overflow-wrap: anywhere; }
  .spm-guest-line i { margin-right: 8px; color: #2a9d6a; font-size: 13px; line-height: 20px !important; }
  .spm-guest-line b { color: #0d1927; font-weight: 600; }
  body .spod-checkout-wrapper .spm-guest-compact ~ .spod-form-card { counter-increment: spmstep; }
  body .spod-checkout-wrapper .spm-guest-compact ~ .spod-form-card .spod-step-badge { font-size: 0; }
  body .spod-checkout-wrapper .spm-guest-compact ~ .spod-form-card .spod-step-badge:before { content: counter(spmstep); font-size: 12.5px; }

  /* Values the buyer cannot change read as text, not as input boxes */
  body .spod-checkout-wrapper .spod-input-readonly,
  .spm-ro-text {
    display: block;
    height: 24px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    font: 600 14px/24px 'Nunito', sans-serif !important;
    color: #0d1927 !important;
  }
  body .spod-checkout-wrapper .spm-schedule .spod-input-readonly { padding-left: 0 !important; padding-right: 0 !important; }
  .spm-hours-line { display: block; font: 500 13px/20px 'Nunito', sans-serif; color: #0d1927; }

  /* Nothing floats over the form on this page */
  .page-title-2.spm-book-hero ~ .main-footer .floating-icons,
  .page-title-2.spm-book-hero ~ .scroll-top { display: none !important; }

  body .spod-checkout-wrapper .form-group.mb-3 { margin-bottom: 12px !important; }
  body .spod-checkout-wrapper .spod-label { font-size: 12.5px; margin-bottom: 4px; }
  body .spod-checkout-wrapper .spod-input { height: 44px !important; }

  /* Schedule card: fields two per row, weekly hours in two columns */
  body .spod-checkout-wrapper .spm-schedule .row { margin-left: -5px; margin-right: -5px; }
  body .spod-checkout-wrapper .spm-schedule .row > [class*="col-"] { padding-left: 5px; padding-right: 5px; }
  body .spod-checkout-wrapper .spm-schedule .row > .col-md-3,
  body .spod-checkout-wrapper .spm-schedule .row > .col-md-4,
  body .spod-checkout-wrapper .spm-schedule .row > .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  body .spod-checkout-wrapper .spm-schedule .spod-input { padding-left: 12px !important; padding-right: 12px !important; font-size: 13.5px !important; }
  body .spod-checkout-wrapper .spm-schedule .booking-start-wrapper .flatpickr-input,
  body .spod-checkout-wrapper .spm-schedule .time-input-wrapper .spod-input { padding-right: 32px !important; }
  body .spod-checkout-wrapper .spod-hint-msg,
  body .spod-checkout-wrapper .spod-field-error { font-size: 11.5px; line-height: 16px; }
  body .spod-checkout-wrapper .spod-hours-bar { padding: 10px 12px; }
  body .spod-checkout-wrapper .spod-hours-title { display: block; font-size: 12.5px; margin-bottom: 6px; }
  body .spod-checkout-wrapper .spod-hours-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  body .spod-checkout-wrapper .spod-chip { padding: 3px 8px; font-size: 11px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Payment methods: one compact card per row */
  body .spod-checkout-wrapper .spod-payment-grid { grid-template-columns: 1fr; gap: 8px; }
  body .spod-checkout-wrapper .spod-pay-card { padding: 12px 14px; border-radius: 12px; }
  body .spod-checkout-wrapper .spod-pay-card-title { font-size: 14.5px; line-height: 20px; }
  body .spod-checkout-wrapper .spod-pay-card-desc { font-size: 11.5px; margin-top: 2px; }
  body .spod-checkout-wrapper #deposit_class,
  body .spod-checkout-wrapper #wallet_class,
  body .spod-checkout-wrapper #card_notice_class { margin-top: 12px !important; }

  /* Bank details */
  body .spod-checkout-wrapper .spod-bank-card { padding: 14px; margin-bottom: 14px !important; }
  body .spod-checkout-wrapper .spod-bank-card > .d-flex:first-child { flex-wrap: wrap; gap: 8px; margin-bottom: 10px !important; }
  body .spod-checkout-wrapper .spod-bank-card > .d-flex:first-child > .d-flex { align-items: flex-start !important; }
  body .spod-checkout-wrapper .spod-bank-card h5 { font-size: 14.5px !important; line-height: 20px; }
  body .spod-checkout-wrapper .spod-bank-icon-box { margin-right: 10px !important; }
  body .spod-checkout-wrapper .spod-bank-fields { padding: 10px 12px; }
  body .spod-checkout-wrapper .spod-bank-row { font-size: 13px; gap: 2px 10px; padding: 6px 0; }
  body .spod-checkout-wrapper .spod-bank-row .spod-bank-val { text-align: right; overflow-wrap: anywhere; }
  body .spod-checkout-wrapper .spod-bank-row > .d-flex { flex: 1 1 100%; justify-content: space-between; gap: 8px; }
  body .spod-checkout-wrapper #iban-text { font-size: 12.5px; text-align: left; margin: 0 !important; }
  body .spod-checkout-wrapper .spod-btn-copy { flex: none; }
  body .spod-checkout-wrapper .spod-bank-notice { font-size: 12px; line-height: 17px; padding: 10px 12px; }
  body .spod-checkout-wrapper .spod-dropzone-wrap .dropify-wrapper { height: 130px; }
  /* On touch screens dropify pins Remove to the bottom while the page pins it
     to the top, which stretched it into a tall box. */
  body .spod-checkout-wrapper .dropify-wrapper .dropify-clear { bottom: auto !important; height: auto !important; border-radius: 999px; }
  body .spod-checkout-wrapper .spod-wallet-summary-card,
  body .spod-checkout-wrapper .spod-card-notice-card { padding: 14px; }

  /* Confirm button and summary */
  body .spod-checkout-wrapper .spod-submit-btn { padding: 14px 16px; font-size: 15px; }
  body .spod-checkout-wrapper .spod-trust-pills { gap: 4px 12px; margin-top: 10px !important; }
  body .spod-checkout-wrapper .spod-trust-pill { font-size: 11.5px; }
  body .spod-checkout-wrapper .spod-order-summary-sticky { margin-top: 0; }
  body .spod-checkout-wrapper .spod-summary-title { font-size: 16px; margin-bottom: 12px; padding-bottom: 10px; }
  body .spod-checkout-wrapper .spod-summary-thumb { width: 64px; height: 64px; }
  body .spod-checkout-wrapper .spod-summary-row { font-size: 13px; }
}

/* ---------- Find Me a Space form (phones): a bottom sheet ----------
   Same fields and submit as before. The sheet slides up from the bottom,
   its header and buttons stay in place and only the fields scroll. */
@media only screen and (max-width: 767px) {
  body #lookingModal { padding: 0 !important; overflow: hidden; }
  body #lookingModal .modal-dialog {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  body #lookingModal .modal-dialog:before { display: none; }
  body #lookingModal.show .modal-dialog { transform: translateY(0); }
  body #lookingModal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 40px rgba(13, 25, 39, 0.25);
  }
  body #lookingModal .modal-header { flex: none; align-items: center; padding: 14px 16px 12px; border-radius: 18px 18px 0 0; }
  body #lookingModal .modal-title { font: 800 17px/24px 'Quicksand', sans-serif; color: #0d1927; }
  body #lookingModal .close {
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 50%;
    background: #f3f5f6;
    color: #0d1927;
    font-size: 20px;
    line-height: 34px;
    text-shadow: none;
  }
  body #lookingModal form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  body #lookingModal .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 16px 6px; }
  body #lookingModal .modal-body > p.text-muted { font-size: 13px; line-height: 19px; margin-bottom: 12px !important; margin-top: 0 !important; }
  body #lookingModal .sp-nudge { padding: 10px 12px; margin-bottom: 12px; font-size: 12.5px; }
  body #lookingModal .row { margin-left: -5px; margin-right: -5px; }
  body #lookingModal .row > [class*="col-"] { padding-left: 5px; padding-right: 5px; }
  body #lookingModal .row > .spm-half { flex: 0 0 50%; max-width: 50%; }
  body #lookingModal .form-group { margin-bottom: 12px; }
  body #lookingModal .form-group label { font-size: 12.5px; line-height: 18px; margin-bottom: 4px; }
  body #lookingModal .form-group input[type="text"],
  body #lookingModal .form-group input[type="email"],
  body #lookingModal .form-group input[type="number"],
  body #lookingModal .form-group input[type="tel"],
  body #lookingModal .nice-select { height: 44px !important; font-size: 14px !important; }
  body #lookingModal .form-group input[type="number"] { padding-left: 12px !important; padding-right: 8px !important; }
  body #lookingModal .select2-container .select2-selection--single { height: 44px !important; }
  body #lookingModal .select2-container .select2-selection__rendered { line-height: 42px !important; font-size: 14px; }
  body #lookingModal .select2-container .select2-selection__arrow { height: 42px !important; }
  body #lookingModal .form-group textarea { height: 84px !important; font-size: 14px !important; }
  body #lookingModal .form-text { font-size: 11.5px; line-height: 16px; }
  body #lookingModal .custom-checkbox { margin-top: 0; }
  body #lookingModal .custom-checkbox label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 19px; }
  body #lookingModal .custom-checkbox input[type="checkbox"] { flex: none; margin: 1px 0 0; }
  body #lookingModal .modal-footer {
    flex: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    background: #fff;
  }
  body #lookingModal .modal-footer > * { margin: 0; }
  body #lookingModal .spod-btn-cancel { flex: none; height: 46px; padding: 0 18px; border-radius: 999px; font-size: 14px; }
  body #lookingModal .theme-btn-one { flex: 1; display: block !important; height: 46px; padding: 0 18px !important; border-radius: 999px !important; font-size: 15px !important; line-height: 46px !important; }
}

/* ---------- Post a Space wizard (phones) ----------
   The steps column becomes a swipeable row of chips above the form and the
   form takes the full width. Fields and step logic are unchanged. */
@media only screen and (max-width: 767px) {
  body .spm-wizard { padding: 0 0 20px; }
  body .spm-wizard > .auto-container > .row { margin: 0; }
  body .spm-wizard > .auto-container > .row > .sidebar-side,
  body .spm-wizard > .auto-container > .row > .content-side { flex: 0 0 100%; max-width: 100%; padding: 0; }

  /* steps */
  body .spm-wizard .category-sidebar { margin: 0 -16px 12px; }
  body .spm-wizard .sidebar-category.sidebar-widget {
    height: auto !important;
    margin: 0;
    padding: 10px 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 1px 0 #eef0f2;
  }
  body .spm-wizard .sidebar-category .widget-title { display: none; }
  body .spm-wizard .sidebar-category .category-list {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    counter-reset: spmwiz;
  }
  body .spm-wizard .sidebar-category .category-list::-webkit-scrollbar { display: none; }
  body .spm-wizard .sidebar-category .category-list li { flex: none; margin: 0; padding: 0; border: 0; counter-increment: spmwiz; }
  body .spm-wizard .sidebar-category .category-list li:before { display: none; }
  body .spm-wizard .sidebar-category .category-list li a.wizard-step-link {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px 0 6px;
    border: 1px solid #e3e6ea;
    border-radius: 999px;
    background: #fff;
    font: 500 13px/1 'Nunito', sans-serif !important;
    color: #5b6570;
    white-space: nowrap;
    text-decoration: none !important;
  }
  body .spm-wizard .sidebar-category .category-list li a.wizard-step-link:before {
    position: static;
    flex: none;
    content: counter(spmwiz);
    width: 22px !important;
    height: 22px !important;
    left: auto !important;
    top: auto;
    border: 0;
    border-radius: 50%;
    background: #eef0f2;
    color: #5b6570;
    font: 600 11px/22px 'Nunito', sans-serif !important;
    text-align: center;
  }
  /* reached */
  body .spm-wizard .sidebar-category .category-list li a.wizard-step-link.current { border-color: #cfe9dc; background: #f1faf6; color: #0d1927; }
  body .spm-wizard .sidebar-category .category-list li a.wizard-step-link.current:before { content: '\2713'; background: #2dbe6c; color: #fff; }
  /* on screen now */
  /* The page's own hover rule turns a reached step's text dark green, and on a
     phone the tapped chip stays in the hover state, so the colours are forced. */
  body .spm-wizard .sidebar-category .category-list li a.wizard-step-link.current:hover { color: #0d1927 !important; text-decoration: none !important; }
  body .spm-wizard .sidebar-category .category-list li a.wizard-step-link.spm-active,
  body .spm-wizard .sidebar-category .category-list li a.wizard-step-link.spm-active:hover { border-color: #3cd68e; background: #3cd68e; color: #fff !important; }
  body .spm-wizard .sidebar-category .category-list li a.wizard-step-link.spm-active:before { content: counter(spmwiz); background: #fff; color: #0d1927; }

  /* form */
  body .spm-wizard .login-section { padding: 0; background: none; }
  body .spm-wizard .login-section > .auto-container { padding: 0; }
  body .spm-wizard .login-section .inner-container .inner-box {
    padding: 16px 14px 18px;
    margin: 0 0 12px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(13, 25, 39, 0.05);
  }
  body .spm-wizard .login-section .inner-container .inner-box h2 { font-size: 20px; line-height: 26px; margin-bottom: 12px; }
  body .spm-wizard .login-section .inner-container .inner-box h3 { font-size: 16px; line-height: 22px; }
  body .spm-wizard .login-section .inner-container .inner-box h5 { font-size: 13px; line-height: 20px; }
  body .spm-wizard .login-section .inner-container .inner-box > div[style*="float: right"] { float: none !important; margin-bottom: 10px; }
  body .spm-wizard .login-section .inner-container .inner-box p { font-size: 13.5px; line-height: 20px; }
  body .spm-wizard .login-section .inner-container .inner-box form .form-group,
  body .spm-wizard .login-section .inner-container .inner-box .form-group { margin-bottom: 14px; }
  body .spm-wizard .login-section .inner-container .inner-box .form-group[style*="margin-bottom"] { margin-bottom: 14px !important; }
  body .spm-wizard .verify-seller-banner { padding: 12px; gap: 10px; margin-bottom: 14px; }
  body .spm-wizard .verify-seller-banner p { font-size: 13px; line-height: 19px; margin-bottom: 8px; }
  body .spm-wizard .verify-seller-banner .theme-btn-one { display: inline-block !important; padding: 8px 16px; font-size: 13px; }
  /* Back / Next / Publish: one row, Back small, the main action wide.
     Which of them shows is still decided by the wizard's own classes. */
  body .spm-wizard .message-btn.row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
  body .spm-wizard .message-btn.row #general_error { flex: 0 0 100%; }
  body .spm-wizard .message-btn.row .theme-btn-one {
    max-width: none;
    height: 48px;
    margin: 0;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 48px;
    float: none;
  }
  body .spm-wizard .message-btn.row .theme-btn-one.back-button { display: block; flex: 0 0 auto; width: auto; }
  body .spm-wizard .message-btn.row .theme-btn-one.next-button,
  body .spm-wizard .message-btn.row .theme-btn-one.next-button-default { display: block; flex: 1 1 0; width: auto; }
  body .spm-wizard .message-btn.row .theme-btn-one.back-button-default { display: none !important; }

  /* Availability: the hours and the closed-dates calendar use the full width */
  body .spm-wizard .mx-5 { margin-left: 0 !important; margin-right: 0 !important; }
  body .spm-wizard .px-5 { padding-left: 0 !important; padding-right: 0 !important; }
  body .spm-wizard form.form_div_5 .row { margin-left: -5px; margin-right: -5px; margin-bottom: 6px !important; }
  body .spm-wizard form.form_div_5 .row > [class*="col-"] { padding-left: 5px; padding-right: 5px; }
  body .spm-wizard form.form_div_5 .row > .col-sm-2 { flex: 0 0 100%; max-width: 100%; margin-top: 4px !important; }
  body .spm-wizard form.form_div_5 .row > .col-sm-2 h5 { font-size: 13.5px; font-weight: 600; margin: 0 0 4px; }
  body .spm-wizard form.form_div_5 .row > .col-sm-4 { flex: 0 0 50%; max-width: 50%; }
  body .spm-wizard form.form_div_5 .form-group[style] { margin-bottom: 8px !important; }
  body .spm-wizard #closed_dates_calendar .theme-btn { padding: 4px 12px; font-size: 12.5px; }
  body .spm-wizard #closed_dates_calendar > div:first-child { gap: 8px; }
  body .spm-wizard .photo-slots-grid { gap: 10px; }

  /* Space Type: two columns of tappable tiles (the whole tile selects) */
  body .spm-wizard .spm-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 6px 0 14px; }
  body .spm-wizard .spm-type-grid .form-check {
    position: relative;
    flex: none;
    max-width: none;
    min-height: 44px;
    margin: 0;
    padding: 0;
  }
  body .spm-wizard .spm-type-grid .form-check .form-check-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
  }
  body .spm-wizard .spm-type-grid .form-check .form-check-label {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    background: #fff;
    font: 500 13px/17px 'Nunito', sans-serif;
    color: #0d1927;
  }
  body .spm-wizard .spm-type-grid .form-check .form-check-input:checked + .form-check-label { border-color: #3cd68e; background: #3cd68e; color: #fff; }

  /* Amenities: category headings that open, options two per row */
  body .spm-wizard .spm-amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0 !important; }
  body .spm-wizard .spm-amenities > p { display: none; }
  body .spm-wizard .spm-amenities > label {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 4px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f3f5f6;
    font: 600 13px/18px 'Nunito', sans-serif;
    color: #0d1927;
    text-transform: none;
    cursor: pointer;
  }
  body .spm-wizard .spm-amenities > label.is-open { background: #dcf5ea; }
  body .spm-wizard .spm-amenities > label span { flex: none; font: 500 11.5px/18px 'Nunito', sans-serif; color: #7b8591; }
  body .spm-wizard .spm-amenities > label span.has-choice { color: #2a9d6a; font-weight: 600; }
  body .spm-wizard .spm-amenities > label span:after { content: '\25BE'; margin-left: 8px; font-size: 12px; color: #0d1927; }
  body .spm-wizard .spm-amenities > label.is-open span:after { content: '\25B4'; }
  body .spm-wizard .spm-amenities .amenity-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    max-width: none;
    min-height: 46px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  body .spm-wizard .spm-amenities .amenity-check.spm-collapsed { display: none; }
  body .spm-wizard .spm-amenities .amenity-check .form-check-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
  body .spm-wizard .spm-amenities .amenity-check img { flex: none; width: 24px; height: 24px; object-fit: contain; }
  body .spm-wizard .spm-amenities .amenity-check .form-check-label { margin: 0; padding: 0; font: 500 12px/15px 'Nunito', sans-serif; color: #0d1927; }
  body .spm-wizard .spm-amenities .amenity-check .form-check-input:checked ~ .form-check-label { font-weight: 600; }
  body .spm-wizard .spm-amenities .amenity-check:has(.form-check-input:checked) { border-color: #2a9d6a; background: #f1faf6; box-shadow: inset 0 0 0 1px #2a9d6a; }
  body .spm-wizard .spm-amenities .amenity-check .form-check-input:checked ~ .form-check-label:after { content: '\2713'; margin-left: 5px; color: #2a9d6a; font-weight: 700; }

  /* Back / Next / Publish stay on screen, above the tab bar */
  body .spm-wizard .message-btn.row {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    z-index: 989;
    margin: 0;
    padding: 8px 16px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -6px 18px rgba(13, 25, 39, 0.08);
  }
  body .spm-wizard .message-btn.row #general_error:empty { display: none; }
  body .spm-wizard .message-btn.row #general_error { font-size: 12.5px; line-height: 17px; margin: 0 0 4px; }
  body .spm-wizard { padding-bottom: 84px; }
  .modal-open .spm-wizard .message-btn.row,
  .mobile-menu-visible .spm-wizard .message-btn.row { display: none; }

  /* Pricing step: the nested options were indented three times over, which
     pushed the price field past the card's edge on a phone. */
  body .spm-wizard .pricing-model-block { padding: 12px 12px 4px; }
  body .spm-wizard .pricing-model-block .new-pricing-options { margin-left: 0; margin-right: 0; }
  body .spm-wizard .pricing-model-block .pricing-sub-options { margin-left: 0; padding-left: 12px; }
  body .spm-wizard .pricing-model-block .pricing-subitem-indent { flex: 0 0 100%; max-width: 100%; padding-left: 0; padding-right: 0; }
  body .spm-wizard .pricing-model-block [class*="col-sm-"] { flex: 0 0 100%; max-width: 100%; padding-left: 0; padding-right: 0; }
  body .spm-wizard .pricing-model-block .pricing-sub-options [class*="col-sm-3"] { flex: 0 0 50%; max-width: 50%; padding-right: 8px; }
  body .spm-wizard .pricing-model-block .form-check.form-switch { padding-left: 2.6em !important; }

  /* nothing floats over the form */
  .spm-wizard ~ .main-footer .floating-icons,
  .spm-wizard ~ .scroll-top { display: none !important; }
}

/* ---------- provider page, articles, legal and info pages (phones) ---------- */
@media only screen and (max-width: 767px) {

  /* Provider page: two compact listing cards per row */
  body .spod-provider-hero,
  body .spod-provider-hero.portfolio { padding: 26px 0; }
  body .spod-provider-hero-inner { gap: 14px; }
  body .spod-provider-name,
  body .spod-provider-hero.portfolio .spod-provider-name { font-size: 21px; line-height: 27px; }
  body .spod-provider-bio,
  body .spod-provider-hero.portfolio .spod-provider-bio { font-size: 13.5px; line-height: 20px; margin-top: 6px; }
  body .spod-provider-section { padding: 20px 0 26px; }
  body .spod-provider-section h2 { font-size: 17px; line-height: 23px; margin-bottom: 12px; }
  body .spod-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body .spod-provider-card { border-radius: 12px; }
  body .spod-provider-card img { height: 106px; }
  body .spod-provider-card-body { padding: 9px 10px 10px; }
  body .spod-provider-card-title {
    font-size: 13px;
    line-height: 17px;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body .spod-provider-card-meta { font-size: 11px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body .spod-provider-card-price { font-size: 13px; margin-top: 4px; }

  /* Articles and legal pages: readable type, left aligned */
  body .sidebar-page-container { padding: 14px 0 26px; }
  body .blog-details-content .news-block-one .inner-box { border-radius: 14px; box-shadow: 0 2px 8px rgba(13, 25, 39, 0.05); margin-bottom: 14px; }
  body .blog-details-content .news-block-one .inner-box .lower-content { padding: 18px 14px 18px; }
  body .blog-details-content .news-block-one .inner-box .lower-content,
  body .blog-details-content .news-block-one .inner-box .lower-content p,
  body .blog-details-content .news-block-one .inner-box .lower-content li { text-align: left !important; }
  body .blog-details-content .news-block-one .lower-content p,
  body .blog-details-content .news-block-one .lower-content li { font-size: 14.5px; line-height: 23px; }
  body .blog-details-content .news-block-one .lower-content h1 { font-size: 22px !important; line-height: 29px !important; font-weight: 800; margin: 14px 0 8px; }
  body .blog-details-content .news-block-one .lower-content h2 { font-size: 19px !important; line-height: 26px !important; margin: 14px 0 8px; }
  body .blog-details-content .news-block-one .lower-content h3 { font-size: 17px !important; line-height: 24px !important; margin: 12px 0 6px; }
  body .blog-details-content .news-block-one .lower-content h4,
  body .blog-details-content .news-block-one .lower-content h5 { font-size: 15px !important; line-height: 22px !important; margin: 10px 0 6px; }
  body .blog-details-content .news-block-one .lower-content img { max-width: 100%; height: auto; }
  body .blog-details-content .news-block-one .lower-content table { display: block; max-width: 100%; overflow-x: auto; }

  /* About and other admin-written page sections (.place-section > .inner-content
     > .text): left-aligned body text, phone-sized headings, less padding. */
  body .place-section .inner-content.border-bottom { padding: 22px 0 14px; }
  body .place-section .inner-content > .sec-title { margin-bottom: 10px; }
  body .place-section .inner-content > .text,
  body .place-section .inner-content > .text * { text-align: left !important; }
  body .place-section .inner-content > .text { margin-bottom: 14px !important; }
  body .place-section .inner-content > .text h1,
  body .place-section .inner-content > .text h2 { font-size: 19px !important; line-height: 26px !important; margin: 14px 0 6px; }
  body .place-section .inner-content > .text h3,
  body .place-section .inner-content > .text h4 { font-size: 16px !important; line-height: 23px !important; margin: 12px 0 6px; }
  body .place-section .inner-content > .text p,
  body .place-section .inner-content > .text li { font-size: 14.5px; line-height: 23px; }
  body .place-section .inner-content > .text p { margin-bottom: 10px; }

  /* Info pages: headings sized for a phone */
  body .about-section h2,
  body .faq-section h2,
  body .contact-section h2,
  body .process-section h2 { font-size: 22px; line-height: 29px; }
  body .about-section,
  body .faq-section,
  body .contact-section { padding-top: 26px; padding-bottom: 26px; }
  body .login-section { padding-top: 18px; padding-bottom: 26px; }
}

/* ---------- booking confirmation / receipt (phones) ----------
   The receipt's two-column grid needs 320px per column, which pushed the
   card past the right edge of a phone and cut the values off. */
@media only screen and (max-width: 767px) {
  body .spod-receipt-wrapper { margin: 18px auto 26px; padding: 0 16px; }
  body .spod-receipt-banner { margin-bottom: 18px; }
  body .spod-receipt-success-icon { width: 56px; height: 56px; font-size: 24px; margin-bottom: 12px; }
  body .spod-receipt-banner h1 { font-size: 21px; line-height: 27px; }
  body .spod-receipt-banner p { font-size: 13.5px; line-height: 20px; margin-bottom: 12px; }
  body .spod-receipt-card { border-radius: 14px; }
  body .spod-receipt-header { padding: 14px 16px; gap: 8px; }
  body .spod-receipt-header h4 { font-size: 15px; }
  body .spod-receipt-header-total { text-align: left; }
  body .spod-receipt-header-total strong { font-size: 22px; }
  body .spod-receipt-body { padding: 16px; }
  body .spod-receipt-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body .spod-receipt-item { gap: 12px; font-size: 13.5px; margin-bottom: 10px; }
  body .spod-receipt-item .spod-receipt-val { text-align: right; min-width: 0; overflow-wrap: anywhere; }
  body .spod-receipt-footer-actions { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; }
  body .spod-receipt-footer-actions > * { width: 100%; }
  body .spod-receipt-footer-actions > div { display: flex; gap: 8px; margin: 0; }
  body .spod-receipt-footer-actions .spod-btn-print { width: 100%; justify-content: center; }
  body .spod-receipt-footer-actions .spod-btn-ghost { flex: 1 1 0; justify-content: center; text-align: center; padding: 11px 10px; }
}

/* Search list card (phone): the heart sits after the price. An older rule in style.css
   (.browse-add .list-item … .react-box { right: 30px }) has higher specificity and pushed the
   heart 30px left onto the price on 320–360px screens. */
@media only screen and (max-width: 767px) {
  body .browse-add .list-item .lower-content .lower-box .react-box { right: auto !important; top: auto !important; flex: 0 0 auto; }
  body .browse-add .list-item .lower-content .lower-box h5 { flex: 1 1 auto; min-width: 0; }
}
