/**
 * SRE Search Results — Jaguar 1.0
 * NOTE: /lavallette-nj-summer-vacation-rentals/ and other town-specific search result pages use the "Custom Property Results" template
 * NOTE: Multi-image carousel is ACTIVE - displays images 1-5 per property (see item-image-carousel.php for rollback instructions)
 * 
 * Version: 1.0.59 | Date: 2026-05-04 – Mobile card: price row then structure+meta row (iPad mini <768); sre-custom-tight header; tablet list-view amenity vertical center.
 * Version: 1.0.58 | Date: 2026-05-04 – Phone: tighter Results/Sort vertical spacing (half gaps). Tablet/iPad: price full-width under title; structure+beds+baths+sleeps one row below; separator line full width.
 * Version: 1.0.57 | Date: 2026-05-04 – Parser fix: close stray @media (max-width:1024px) before Lavallette blocks (was swallowing following rules in some engines).
 * Version: 1.0.56 | Date: 2026-05-03 – Mobile: equal side padding on results tools + centered sort; tablet/iPad: image column +33% width, gap + body padding so price row clears thumbnail.
 * Version: 1.0.55 | Date: 2026-05-03 – Mobile: sort pill uses flex column + full width (inline-flex only ≥1024px) to fix clipped “Sort By”.
 * Version: 1.0.54 | Date: 2026-05-03 – Mobile: custom sort dropdown menu width/anchor (left 0, full width) under stacked sort control.
 * Version: 1.0.53 | Date: 2026-05-03 – Mobile/tablet: Jaguar sort full-width column (no 260px min); desktop keeps min-width sort block.
 * Version: 1.0.52 | Date: 2026-03-08 – Breakpoint align: mobile max-width 1023px, desktop min-width 1024px (avoids 1024px viewport off-by-one).
 *
 * Version: 1.0.51 | Date: 2026-02-12 – Mobile: Increased spacing around separator line (pills: padding-bottom 25px; title: padding-top 25px = 51px total gap between pills and title)
 * Version: 1.0.50 | Date: 2026-02-12 – Mobile: Added separator line between pill tags and title; increased spacing (pills: padding-bottom 22px + border-bottom; title: padding-top 16px)
 * Version: 1.0.49 | Date: 2026-02-12 – Mobile: Increased pill-tag margin-bottom from 12px to 18px; added clear:both to .sre-mobile-card-text; added flex-wrap:wrap to .labels-wrap to prevent overlap when pills wrap to multiple lines
 * Version: 1.0.47 | Date: 2026-02-04 – Mobile: Icon sizes 24x24px (Beds, Baths, Sleeps); Structure icon added (20x20 structure.webp); .sre-mobile-type uses flex for icon + text alignment
 * Version: 1.0.46 | Date: 2026-02-04 – Mobile: Selectively hide duplicate content inside desktop body (badges, title, details, calendar) while keeping timestamp + buttons visible; eliminates whitespace
 * Version: 1.0.45 | Date: 2026-02-04 – Mobile NUCLEAR FIX: Triple selector specificity + height:0 + visibility:hidden + opacity:0 to guarantee desktop body is hidden; item-footer also hidden; inline <style> block in template as fallback
 * Version: 1.0.43 | Date: 2026-02-04 – Mobile: Fixed duplicate content (desktop body now fully hidden); improved spacing (tags 10px, title 8px, price 10px, beds 12px, calendar label 10px, availability 12px); mobile card padding-top 12px
 * Version: 1.0.42 | Date: 2026-02-04 – Mobile critical fix: Show .sre-mobile-card-below (was hidden); hide desktop body; price alignment fixed (padding-left 12px on price, not container); calendar whitespace removed (margin-bottom 0); info icon visibility improved
 * Version: 1.0.41 | Date: 2026-02-04 – Mobile: Info icon moved next to "Rental Availability 2026" heading; calendar months centered with 12px padding to prevent SEP cutoff; info icon 18px size
 * Version: 1.0.40 | Date: 2026-02-04 – Calendar info icon: Added (i) icon after SEP calendar pill; desktop/tablet shows tooltip on hover; mobile shows swipeable lightbox on tap with X close button
 * Version: 1.0.39 | Date: 2026-02-04 – Multi-image carousel NOW ACTIVE on all Jaguar search pages (not just Lavallette test); displays 5 images per property with lazy loading; rollback instructions added in code comments.
 * Version: 1.0.38 | Date: 2026-02-04 – Removed black filter overlay from structure icon (sre-icon-structure) - now displays in natural color from structure.webp.
 * Version: 1.0.37 | Date: 2026-02-04 – Desktop: Half-width separator line above "Rental Availability 2026" now left-aligned (left: 0) instead of centered (was left: 25%).
 * Version: 1.0.36 | Date: 2026-02-04 – Custom Property Results: Moved timestamp and buttons up 10px (reduced margin-top on rental-calender, timestamp, and action-row); card height now auto to match image height (bottom border aligns with image bottom).
 * Version: 1.0.35 | Date: 2026-02-04 – Custom Property Results: Removed bottom line separator from action row (below buttons) for cleaner card appearance.
 * Version: 1.0.34 | Date: 2026-02-04 – Custom Property Results template: Removed line separator below rental calendar (border-bottom) for cleaner card appearance on town-specific pages.
 * Version: 1.0.33 | Date: 2026-02-04 – Custom Town Results: Added specific pill styling override to match other search results pages exactly (font-size, padding, border-radius, colors).
 * Version: 1.0.32 | Date: 2026-02-04 – Updated bed and bath icon paths to use .jpg files (Beds.jpg, Bath.jpg) instead of .webp on both search results and property details pages.
 * Version: 1.0.31 | Date: 2026-02-04 – Replaced structure/type icon-house font icon with /wp-content/uploads/2026/02/structure.webp image; applied black color filter (brightness 0, saturation 0%).
 * Version: 1.0.30 | Date: 2026-02-04 – Removed reddish-brown filter from icons (now display natural colors); removed border-top separator line above footer buttons; changed card min-height from 440px to auto so bottom border aligns with image bottom.
 * Version: 1.0.29 | Date: 2026-02-04 – Mobile: price range padding (12px left/right), single line (nowrap), same row as Structure; calendar icons centered with 8px padding preventing cutoff; all icon paths updated to use .webp files from /wp-content/uploads/2026/02/ (bedroom.webp, bathroom.webp, Sleeps.webp) with reddish-brown filter matching brand color. Desktop: all templates consolidated to use item-v1_cstm + sre-search-style-jaguar for consistent Jaguar layout.
 * Version: 1.0.28 | Date: 2026-02-07 – Mobile only: calendar 100% width, 10px padding left/right; icons one line; fix MAY cut off.
 * Version: 1.0.27 | Date: 2026-02-07 – Custom Town Results (and all Jaguar): buttons reordered – View Rental on top; then 2 cols Favorite|Compare, Share|Email.
 * Version: 1.0.26 | Date: 2026-02-07 – Calendar icons: left/right padding so MAY and SEP not cut off on default search and custom town results.
 * Version: 1.0.25 | Date: 2026-02-07 – Mobile: price one line + centered; remove left line on Beds; nudge Beds/Baths line left; calendar more right padding.
 * Version: 1.0.24 | Date: 2026-02-07 – Mobile: price range on one line (white-space: nowrap); extra right padding on calendar row so SEP isn’t covered by scroll-to-top.
 * Version: 1.0.23 | Date: 2026-02-07 – Mobile only: Price + Structure on one line (2 cols, 15px gap); Beds/Baths/Sleeps on next line (3 cols, 15px gap); both sections center-aligned.
 * Version: 1.0.22 | Date: 2026-02-07 – Sort By dropdown (bootstrap-select): hover = dark grey background (#3d3d3d) + beige text (#d2b48c).
 * Version: 1.0.21 | Date: 2026-02-07 – Default Search: Results/Sort By moved up with 20px padding from top of boxed white area (.container .row:first-of-type padding-top: 20px); results header padding adjusted.
 * Version: 1.0.20 | Date: 2026-02-07 – Mobile only: center "Rental Availability 2026"; enlarge calendar icons; View Rental 100% width; 4 buttons 2×2; Details → "View Rental".
 * Version: 1.0.19 | Date: 2026-02-07 – Mobile only: price left / structure (HOUSE) right on same line; calendar icons one line, center-aligned.
 * Version: 1.0.18 | Date: 2026-02-07 – Mobile phone only: remove duplicate block (hide .sre-mobile-card-below); show only desktop body so one set of content (title, details, price, calendar, Updated, buttons).
 * Version: 1.0.17 | Date: 2026-02-07 – Default Search mobile: hide agent row below image.
 * Version: 1.0.16 | Date: 2026-02-07 – Tablet/iPad/mini: one column of cards (all templates). Mobile: Price and Structure on same line in 2 columns (grid 1fr 1fr); Beds/Baths/Sleeps directly below.
 * Version: 1.0.15 | Date: 2026-02-07 – Default Search mobile/tablet: mobile (≤767px) one column, image capped 220px, all details visible; tablet (768–991px) one column of cards, each card row layout with image 180×240px.
 * Version: 1.0.14 | Date: 2026-02-07 – Details row separator: changed to ::after pseudo-element at 50% width (centered, 25% left offset) instead of full-width border-bottom.
 * Version: 1.0.13 | Date: 2026-02-07 – CRITICAL FIX: Added !important flags to override global span.item-price (font-size: 20px !important) from style.css line 3646; added explicit span.item-price override rule.
 * Version: 1.0.12 | Date: 2026-02-07 – Price alignment fix: inner .item-price now uses same font-size (1rem) and line-height (1.25) as wrapper; added display:flex and align-items:flex-end to .item-price-wrap; removed oversized 1.125rem font that was pushing price down to line.
 * Version: 1.0.11 | Date: 2026-02-07 – Price baseline alignment: reduced padding-bottom from 10px to 8px on details-row; price and amenity values both use padding-bottom: 2px for perfect alignment on same line.
 * Version: 1.0.10 | Date: 2026-02-07 – Price position refined: margin-bottom 0, padding-bottom 1px to align exactly with "Beds/Baths/Sleeps" text baseline.
 * Version: 1.0.9 | Date: 2026-02-07 – All pages use item-v1_cstm; price position fixed (margin-bottom: 1px above line); legacy calendar images hidden; mobile calendar uses text pills (MAY JUN etc.); badge colors forced with !important.
 * Version: 1.0.8 | Date: 2026-02-06 – Card-2 mockup: badges full-width pills (white bg → colored bg, white text, 10 specific colors); body flex layout; details row (amenities left, price right above line); company/timestamp hidden; 5 action buttons (Favorite, Compare, Share, Email, Details) uniform height, light grey borders; Preview commented out; icons reddish-brown #a52a2a; card radius 8px; horizontal dividers below details row and availability section.
 * Version: 1.0.7 | Date: 2026-02-05 – Desktop image height doubled (440px); mobile card padding 2/3 less, image top corners rounded; company+timestamp below image (item-author, rounded-circle, houzez-icon, item-date) mobile+desktop.
 * Version: 1.0.6 | Date: 2026-02-05 – Card image: 4 rounded corners; no overlay; no price/tools/labels on image; company+timestamp+3 buttons one row on white below image.
 * Version: 1.0.5 | Date: 2026-02-05 – Lavallette: Sort By smaller; Results +10px; accordion inside header top left; mobile single accordion.
 * Version: 1.0.4 | Date: 2026-02-05 – Results/Sort header: top right, half font, maroon Sort By; mobile center; accordion mobile + desktop top left.
 * Version: 1.0.3 | Date: 2026-02-05
 * Fix: (1) Card full width with container padding (2) Image rounded left corners (3) Tags smaller height + mockup colors olive/gold/burgundy (4) Title serif bold 1.35rem (5) Type: house icon above param (6) Beds/Baths/Sleeps: icon above, "Beds: #" below.
 * Version: 1.0.2 | Date: 2026-02-05 – Property images not displaying fix.
 * Version: 1.0.1 | Date: 2026-02-05 – tags one row, agent below image, calendar, readable buttons.
 * Version: 1.0.0 | Date: 2026-02-04 – full-width cards; reduced height; tags left / price right.
 */

/* Force full width of content area and cards (override Bootstrap/theme column and card-deck) */
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .row > [class*="col-"]:first-child {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
}

body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view.card-deck {
    max-width: none !important;
    width: 100% !important;
}

body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view .item-listing-wrap.card {
    width: 100% !important;
    max-width: none !important;
}

/* Jaguar-only section: no width constraint so cards can fill boxed content (legacy has no .sre-search-style-jaguar) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    --jaguar-burgundy: #8a0516;
    --jaguar-royal-burgundy: #6b1a1a;
    --jaguar-burgundy-soft: rgba(138, 5, 22, 0.08);
    --jaguar-gold: #b8860b;
    --jaguar-text: #1a1a1a;
    --jaguar-text-secondary: #5c5c5c;
    --jaguar-border: #e8e6e4;
    --jaguar-card-bg: #ffffff;
    --jaguar-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    --jaguar-shadow-hover: 0 8px 24px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.05);
    --jaguar-radius: 8px;
    --jaguar-radius-sm: 8px;
    --jaguar-pill-radius: 20px;
    --jaguar-avail-green: #228b22;
    --jaguar-avail-red: #b71c1c;
}

/* Full width of boxed area: card fills content area with padding (beat #houzez-main-wrapper .container, main .container) */
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view.card-deck {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px;
    max-width: none !important;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .row .listing-view.list-view.card-deck,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar [class*="col-"] .listing-view.list-view.card-deck {
    max-width: none !important;
    width: 100% !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view .item-listing-wrap.card {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    box-sizing: border-box;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap.item-wrap-v1,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap .cstm_proplisting_outer {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

/* Card container – Card-2 mockup: 8px radius, subtle shadow, light border */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card {
    background: var(--jaguar-card-bg);
    border-radius: var(--jaguar-radius);
    box-shadow: var(--jaguar-shadow);
    border: 1px solid var(--jaguar-border);
    overflow: hidden;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 440px;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

/* Custom Property Results - card height matches image height */
.custom-list-property-custom.sre-search-style-jaguar .item-listing-wrap.card {
    min-height: auto !important;
}
.custom-list-property-custom.sre-search-style-jaguar .item-wrap .cstm_proplisting_outer {
    min-height: auto !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card .item-wrap {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card .item-wrap .cstm_proplisting_outer {
    flex: 1 !important;
    min-height: 0;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap.item-wrap-v1 {
    padding: 0;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap .cstm_proplisting_outer {
    display: flex !important;
    align-items: stretch !important;
    min-height: auto;
    grid-template-columns: none !important;
    gap: 0 !important;
}

/* Header: image fills top/left/bottom of card – stretch to card height so borders align */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header {
    flex: 0 0 42%;
    min-width: 280px;
    max-width: 45%;
    position: relative;
    min-height: 440px;
    height: 100% !important;
    width: auto !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: var(--jaguar-radius) 0 0 var(--jaguar-radius);
    align-self: stretch;
}

/* No price, tools, compare/favorite/preview over image */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .item-price-wrap,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .item-tools {
    display: none !important;
}

/* Labels (FOR RENT, etc.) not over image – show in body only */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap .cstm_labels_proplisting {
    display: none !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-image-wrap,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--jaguar-radius) 0 0 var(--jaguar-radius);
    overflow: hidden;
}

/* Image: rounded top-left and bottom-left only so it fills card edge on left/top/bottom */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb img,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-image-wrap img {
    border-radius: var(--jaguar-radius) 0 0 var(--jaguar-radius);
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-image-wrap {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    min-height: 0;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb a,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Remove any dark overlay on image – only small hover effect remains */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb::after,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-image-wrap::after {
    display: none !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb a.hover-effect::before {
    background: transparent !important;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb a.hover-effect:hover::before {
    background: rgba(0, 0, 0, 0.08) !important;
    opacity: 1;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-footer.clearfix {
    display: none !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-image-wrap img,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .item-price-wrap.hide-on-list {
    display: none;
}

/* Company + timestamp below image on white; Email/Preview/Details on same row and height */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-body .right_info_row.cstm_snd_email.sre-jaguar-agent-buttons-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin: 0 0 12px 0 !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--jaguar-border);
    background: transparent;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .item-author,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .item-date {
    display: block !important;
    margin: 0;
    font-size: 0.8125rem;
    color: var(--jaguar-text-secondary);
    line-height: 1.3;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .item-author a {
    color: var(--jaguar-text);
    text-decoration: none;
    font-weight: 500;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .item-date {
    color: var(--jaguar-text-secondary);
    font-size: 0.75rem;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .btn-item,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .btn {
    margin: 0;
    align-self: center;
}
/* Push Email/Preview/Details to the right, same row height as timestamp */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .btn_email {
    margin-left: auto;
}
/* Message/tooltip divs in row: don't affect flex layout when shown */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .add_email_msg,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .remove_email_msg,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .tooltipsss {
    flex: 0 0 100%;
    width: 100%;
    order: 99;
}

/* Body – mockup: badges top, title, then details row (amenities left + price right), then availability, footer */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_proplisting_outer .item-body.flex-grow-1 {
    flex: 1;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-content: start;
    gap: 0;
    min-height: 0 !important;
    height: auto !important;
    position: relative !important;
}

/* Agent row hidden (buttons moved to footer) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_proplisting_outer .item-body.flex-grow-1 > .sre-jaguar-agent-buttons-row {
    display: none !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_proplisting_outer .item-body.flex-grow-1 .labels-wrap.labels-right,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_proplisting_outer .item-body.flex-grow-1 .labels-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
    box-sizing: border-box;
}

/* Badges: very top of content, full width, wrap into two lines, pill style */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-body .labels-wrap,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_proplisting_outer .item-body .labels-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    row-gap: 8px !important;
    margin-bottom: 10px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 0;
}

/* Force each tag/label to stay inline (override theme block/float) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap a,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap .label,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap .label-status,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap .hz-label,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > * {
    display: inline-flex !important;
    flex-shrink: 0 !important;
    float: none !important;
}

/* Details row: amenities (left) + price (right) – content at top, line 10px below */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row {
    display: flex !important;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    gap: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: none;
    margin-top: 0;
    position: relative;
}

/* Half-width separator line under details row */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 1px;
    background: var(--jaguar-border);
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-amenities-wrap {
    display: flex;
    align-items: flex-end;
    flex: 1;
    min-width: 0;
    gap: 0;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-amenities-wrap .cstm_type_blk {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-amenities-wrap .item-amenities {
    margin: 0;
    padding: 0;
    list-style: none;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row > .item-price-wrap {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    list-style: none;
    padding: 0 0 2px 0;
    margin-bottom: 0;
    border: none;
    text-align: right !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row > .item-price-wrap.hide-on-list {
    margin-left: auto !important;
    margin-bottom: 0;
    padding-bottom: 2px;
    text-align: right !important;
}
/* Price – same plane as Beds/Baths/Sleeps text, above the line */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row > .item-price-wrap {
    font-size: 1rem !important;
    font-weight: 600;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: var(--jaguar-text);
    line-height: 1.25 !important;
    align-self: flex-end;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-body .item-price-wrap.hide-on-list .item-price {
    font-size: 1rem !important;
    font-weight: 600;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    color: var(--jaguar-text);
    line-height: 1.25 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block;
    vertical-align: baseline;
}

/* Override any global span.item-price rules */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row span.item-price {
    font-size: 1rem !important;
    line-height: 1.25 !important;
}

/* Badges – fully rounded pills, colored bg, white text, no links (mockup) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap .label,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap .hz-label,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap .label-status,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap a {
    font-size: 10px !important;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 4px 12px !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    border: none;
    align-items: center;
    text-transform: uppercase;
    color: #fff !important;
    pointer-events: none;
    cursor: default;
}

/* Badge background colors – colored pills, white text (exact hex per spec) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap .label-status,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:first-child {
    background: #909869 !important;
    color: #fff !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(2) {
    background: #b8974a !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(3) {
    background: #8e505f !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(4) {
    background: #51508e !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(5) {
    background: #74508e !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(6) {
    background: #5b4c4c !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(7) {
    background: #49696a !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(8) {
    background: #395238 !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(9) {
    background: #7f550b !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(10) {
    background: #62122c !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap > *:nth-child(n+11) {
    background: #5a5a5a !important;
    color: #fff !important;
}

/* Ensure no background color override on labels-wrap container */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .labels-wrap,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-body .labels-wrap,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_proplisting_outer .item-body .labels-wrap {
    background: transparent !important;
}

/* Custom Town Results - ensure pills match other pages */
.custom-list-property-custom.sre-search-style-jaguar .labels-wrap a,
.custom-list-property-custom.sre-search-style-jaguar .labels-wrap .label,
.custom-list-property-custom.sre-search-style-jaguar .labels-wrap .label-status,
.custom-list-property-custom.sre-search-style-jaguar .labels-wrap .hz-label,
.custom-list-property-custom.sre-search-style-jaguar .labels-wrap > * {
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 12px !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    border: none !important;
    align-items: center;
    text-transform: uppercase;
    color: #fff !important;
    pointer-events: none;
    cursor: default;
    display: inline-flex !important;
    flex-shrink: 0 !important;
    float: none !important;
}

/* Title – more vertical padding between title and icons below (mockup) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-body .item-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    margin: 0 0 14px !important;
    line-height: 1.32 !important;
    padding-left: 0 !important;
    max-width: none !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-body .item-title a {
    color: var(--jaguar-text);
    text-decoration: none;
    transition: color 0.2s;
    margin-top: 0 !important;
    display: inline !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-body .item-title a:hover {
    color: var(--jaguar-burgundy);
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-body .item-price-wrap {
    position: relative !important;
    margin: 0;
}

/* Icon row – Structure | Beds | Baths | Sleeps: padding and vertical grey divider between sections */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    color: var(--jaguar-text-secondary);
    align-items: flex-end;
    grid-template-columns: none !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
    border-left: 1px solid var(--jaguar-border);
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li:first-child {
    padding-left: 0;
    border-left: none;
}

/* Icons – reddish-brown brand color (mockup) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities .houzez-icon,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities .icon-hotel-double-bed-1,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities .icon-bathroom-shower-1,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities .icon-house {
    color: #a52a2a;
    opacity: 1;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view ul.item-amenities li.h-type {
    position: static !important;
    margin-top: 0 !important;
}

/* 5. Type of structure: house icon above, parameter below (mockup) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-type.sre-jaguar-type {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-type.sre-jaguar-type .sre-jaguar-type-icon {
    font-size: 1.25rem;
    color: #a52a2a;
    opacity: 1;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-type.sre-jaguar-type img.sre-icon-structure {
    width: 20px;
    height: auto;
    max-height: 24px;
    object-fit: contain;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-type.sre-jaguar-type .sre-jaguar-type-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--jaguar-text-secondary);
    line-height: 1.25;
}

/* 6. Beds, Baths, Sleeps: icon above, text below – align to bottom for price baseline match */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-beds,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-baths,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-sleeps {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    align-self: flex-end;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-beds .houzez-icon,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-beds .icon-hotel-double-bed-1,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-beds img,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-baths .houzez-icon,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-baths .icon-bathroom-shower-1,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-baths img,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-sleeps .cstm_sleepsicon,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-sleeps img {
    order: -1;
    flex-shrink: 0;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-beds .houzez-icon,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-beds .icon-hotel-double-bed-1,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-baths .houzez-icon,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-baths .icon-bathroom-shower-1 {
    font-size: 1.25rem;
    color: #a52a2a;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-sleeps img.cstm_sleepsicon,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-beds img.sre-icon-bedroom,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-baths img.sre-icon-bathroom {
    width: 20px;
    height: auto;
    max-height: 24px;
    object-fit: contain;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities .sre-jaguar-amenity-value {
    font-size: 12px;
    color: var(--jaguar-text-secondary);
    text-align: center;
    line-height: 1.25;
    padding-bottom: 2px;
    margin-bottom: 0;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities .item-amenities-text {
    display: inline !important;
}

/* Rental calendar – horizontal divider below availability section (mockup) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026 {
    margin-top: 0px;
    padding-top: 0;
    padding-bottom: 10px;
    border-top: none;
    border-bottom: 1px solid var(--jaguar-border);
}

/* Custom Property Results (Lavallette & other town pages) - remove bottom border */
.custom-list-property-custom.sre-search-style-jaguar .rental-calender-2026 {
    border-bottom: none !important;
    margin-top: 0px !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026 .heading {
    font-size: 19px;
    font-weight: 600;
    color: var(--jaguar-text-secondary);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    display: block;
}

/* Mockup: month pills directly below heading, no line under pills; timestamp below pills; then separator; then buttons */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026 .cstm_date_icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-left: 16px;
    padding-right: 16px;
    border-bottom: none;
    box-sizing: border-box;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_date_icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 28px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    background: var(--jaguar-avail-red);
    color: #fff;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_date_icons a.avail {
    background: #1a6b1a;
    color: #fff;
}

/* Footer – Card.jpg: button row spacing */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .d-flex.align-items-center.h-100.cstm_proplisting_outer .item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 0 0 !important;
    border-top: none !important;
    border-bottom: none !important;
    background: transparent !important;
    width: auto !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    grid-column: auto !important;
    line-height: 1.4 !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-footer .item-author,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-footer .item-date {
    color: var(--jaguar-text-secondary) !important;
    font-size: 0.8rem;
    white-space: normal;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-footer .item-author a {
    color: var(--jaguar-text) !important;
    text-decoration: none;
    font-weight: 500;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .right_info_row.cstm_snd_email {
    display: flex !important;
    align-items: center;
    gap: 10px;
    position: relative !important;
    background: transparent !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    grid-template-columns: none !important;
}

/* Buttons – Card.jpg: Email/Preview outline (white, dark border), Details filled */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_snd_email .btn-item,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_snd_email .btn,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_snd_email a.btn-item {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 20px !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid #2c2c2c;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    min-height: 40px;
    line-height: 1.25;
    background: #fff !important;
    color: #2c2c2c !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_snd_email .btn-item {
    visibility: visible !important;
    opacity: 1 !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-footer .btn-primary.cstmdetails {
    background: var(--jaguar-burgundy) !important;
    color: #fff !important;
    border-color: var(--jaguar-burgundy) !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-footer .btn-primary.cstmdetails:hover {
    background: var(--jaguar-royal-burgundy);
    box-shadow: 0 2px 8px rgba(138,5,22,0.35);
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-footer .cstm_previw_btn {
    background: #fff !important;
    color: #2c2c2c !important;
    border: 1.5px solid #2c2c2c !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-footer .cstm_previw_btn:hover {
    background: var(--jaguar-burgundy-soft);
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .send_email .btn_email,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_snd_email .btn_email,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_snd_email a.btn-item.btn_email {
    background: #fff !important;
    color: #2c2c2c !important;
    border: 1.5px solid #2c2c2c !important;
    padding: 10px 20px !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    text-decoration: none !important;
    min-height: 40px;
    border-radius: 8px;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .send_email .btn_email:hover,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_snd_email .btn_email:hover,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_snd_email a.btn-item.btn_email:hover {
    border-color: var(--jaguar-burgundy) !important;
    color: var(--jaguar-burgundy) !important;
}

/* Desktop calendar: show and style like mockup (MAY JUN JUL AUG SEP pills) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026.sre-desktop-calendar {
    display: block !important;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026.sre-desktop-calendar .cstm_date_icons a {
    min-width: 38px;
    height: 28px;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 8px;
}

/* Hide legacy calendar images (red circles) – Jaguar uses text pills only */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_date_icons img,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .right_info_row.cstm_date_icons img {
    display: none !important;
}

/* Mobile calendar icons: also hide legacy images */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-calendar-icons-row img.sre-cal-icon {
    display: none !important;
}

/* Mobile calendar: text pills like desktop */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-calendar-icons-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-calendar-icons-row .sre-mobile-cal-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 28px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    background: var(--jaguar-avail-red);
    color: #fff;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-calendar-icons-row .sre-mobile-cal-pill.avail {
    background: #1a6b1a;
    color: #fff;
}

/* Responsive: tablet / sub-desktop – keep list row; image column ~+33% vs former 260px (347px); extend past 1199 for iPad mini landscape */
@media (max-width: 1366px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap .cstm_proplisting_outer {
        min-height: 400px;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header {
        flex: 0 0 347px;
        min-height: 400px;
        height: 400px;
        max-width: 347px;
    }
}

/* Responsive: mobile (phones) – one column; stack image (capped height) then full content; show all details */
@media (max-width: 767px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap .cstm_proplisting_outer {
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card {
        margin-left: 0;
        margin-right: 0;
        min-height: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card .item-wrap .cstm_proplisting_outer {
        min-height: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    /* Cap image height so content below is visible; image fills width */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 180px !important;
        max-height: 220px !important;
        height: 220px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-image-wrap,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb {
        position: absolute !important;
        top: 0; left: 0; right: 0; bottom: 0;
        border-radius: var(--jaguar-radius) var(--jaguar-radius) 0 0 !important;
        height: 100% !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb img,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-image-wrap img {
        border-radius: var(--jaguar-radius) var(--jaguar-radius) 0 0 !important;
        object-fit: cover !important;
    }
    /* Mobile phone only: hide DUPLICATE elements inside desktop body, keep timestamp + buttons */
    /* Do NOT hide .sre-mobile-card-desktop-body entirely – it contains timestamp + action buttons we need */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-desktop-body .sre-jaguar-agent-buttons-row,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-desktop-body .labels-wrap,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-desktop-body h2.item-title,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-desktop-body .sre-jaguar-details-row,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-desktop-body .rental-calender-2026,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-desktop-body .sre-desktop-calendar {
        display: none !important;
    }
    /* Desktop body: remove padding on mobile so timestamp + buttons sit tight below mobile card */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-desktop-body {
        padding: 0 12px !important;
    }
    /* Show mobile card on phones */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-below {
        display: block !important;
        padding-top: 12px !important;
    }
    /* Pill tags: normal flow below slider, separator line, clear space above title */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-tags .labels-wrap {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 0 !important;
        flex-wrap: wrap !important;
    }
    /* Mobile: hide agent row and item-footer (duplicate of desktop body content) */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap {
        display: none !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-footer {
        display: none !important;
    }
    /* Mobile only: Row 1 = Price (left) | Structure (right) 2 cols, 15px gap; Row 2 = Beds | Baths | Sleeps 3 cols, 15px gap; both sections center-aligned */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto auto;
        gap: 15px !important;
        justify-items: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row::after {
        display: none !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row > .item-price-wrap {
        grid-column: 1 / span 3 !important;
        grid-row: 1 !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        justify-self: center !important;
        text-align: center !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row > .item-price-wrap .item-price {
        text-align: center !important;
        white-space: nowrap !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row > .item-price-wrap {
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        list-style: none !important;
        padding-left: 0 !important;
        margin-bottom: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row > .item-price-wrap li {
        white-space: nowrap !important;
    }
    /* Mobile: nudge vertical line between Beds and Baths to the left */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row .sre-jaguar-amenities-wrap .item-amenities li.h-baths {
        margin-left: -8px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row .sre-jaguar-amenities-wrap {
        display: contents !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row .sre-jaguar-amenities-wrap .item-amenities {
        display: contents !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row .sre-jaguar-amenities-wrap .item-amenities li.h-type {
        grid-column: 4 / span 3 !important;
        grid-row: 1 !important;
        justify-self: center !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row .sre-jaguar-amenities-wrap .item-amenities li.h-beds {
        grid-column: 1 / span 2 !important;
        grid-row: 2 !important;
        justify-self: center !important;
        border-left: none !important;
        padding-left: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row .sre-jaguar-amenities-wrap .item-amenities li.h-baths {
        grid-column: 3 / span 2 !important;
        grid-row: 2 !important;
        justify-self: center !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row .sre-jaguar-amenities-wrap .item-amenities li.h-sleeps {
        grid-column: 5 / span 2 !important;
        grid-row: 2 !important;
        justify-self: center !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row .sre-jaguar-amenities-wrap .cstm_type_blk {
        display: none !important;
    }
    /* Hide any other amenity li on mobile so only type, beds, baths, sleeps show in the grid */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row .sre-jaguar-amenities-wrap .item-amenities li:not(.h-type):not(.h-beds):not(.h-baths):not(.h-sleeps) {
        display: none !important;
    }
    /* Mobile only: center "Rental Availability 2026" heading */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026 .heading {
        text-align: center !important;
    }
    /* Mobile only: calendar section 100% width, 10px padding left/right; icons one line so MAY not cut off */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026 {
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026 .right_info_row.cstm_date_icons,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026 .cstm_date_icons {
        width: 100% !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 10px;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .rental-calender-2026 .cstm_date_icons a {
        flex-shrink: 0 !important;
        min-width: 44px !important;
        height: 36px !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    /* Mobile only: re-align buttons – View Rental 100% width on top; then 4 buttons in 2 columns, same size */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons {
        flex-direction: column !important;
        align-items: stretch;
        gap: 10px;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-btn {
        order: -1;
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-bottom: 0;
        box-sizing: border-box;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-btn .sre-jaguar-details-btn-text {
        display: none !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-btn .sre-jaguar-details-btn-mobile-text {
        display: inline !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons-inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        order: 0;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons-inner .sre-jaguar-action-btn {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons-inner .sre-jaguar-share-wrap {
        width: 100%;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons-inner .sre-jaguar-share-wrap .sre-jaguar-action-btn {
        width: 100% !important;
    }
    /* (Mobile card sections - pills with separator line below, title with padding above) */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-tags {
        position: relative !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 12px 25px 12px !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
    
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-text {
        margin-top: 0 !important;
        margin-bottom: 8px;
        padding: 25px 12px 0 12px !important;
        clear: both !important;
    }
    
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-row-title {
        margin-bottom: 8px;
        padding: 0 12px;
    }
    
    /* Mobile / narrow iPad: price on its own row; structure + beds + baths + sleeps one row, icons aligned */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-row-price-only {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 6px;
        margin-top: 0;
        width: 100%;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-row-price-only .sre-mobile-price {
        font-size: 1rem !important;
        font-weight: 600;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-row-structure-meta {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px;
        margin-top: 0;
        margin-bottom: 8px;
        width: 100%;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-row-structure-meta .sre-mobile-meta-item,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-row-structure-meta .sre-mobile-type {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1 !important;
        white-space: nowrap;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-row-structure-meta img {
        width: 24px !important;
        height: 24px !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        display: block !important;
    }
    
    /* Mobile calendar: center icons with padding, NO bottom whitespace */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-calendar-icons-row {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 0 !important;
        margin-top: 8px;
        margin-bottom: 0 !important;
        overflow: visible !important;
        flex-wrap: nowrap !important;
    }
    
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-availability {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0 !important; /* NO bottom margin = no whitespace */
        padding-bottom: 0 !important;
    }
    
    /* Mobile availability label with info icon */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-availability-label-row {
        display: flex;
        align-items: center;
        gap: 6px;
        justify-content: center;
        margin-bottom: 8px;
        padding: 0 12px;
    }
    
    /* Mobile info icon next to heading */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-info-icon {
        margin-left: 0;
        display: inline-flex;
        vertical-align: middle;
    }
    
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-info-icon svg {
        width: 18px;
        height: 18px;
    }
    
    /* Mobile: timestamp and buttons – remove extra whitespace */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-desktop-body .sre-jaguar-timestamp-below {
        margin-top: 8px !important;
        margin-bottom: 4px !important;
        padding: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-desktop-body .sre-jaguar-action-row {
        margin-top: 0 !important;
        padding-top: 8px !important;
    }
}

/* Responsive: tablet / iPad / mini – one column of cards; each card = image left + body right (image +33% vs 180px → 240px). Max 1024 includes iPad mini landscape. */
@media (min-width: 768px) and (max-width: 1024px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view.card-deck {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view.card-deck .item-listing-wrap.card {
        width: 100% !important;
        max-width: none !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap .cstm_proplisting_outer {
        flex-direction: row !important;
        height: auto !important;
        min-height: 0 !important;
        gap: 14px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card {
        min-height: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card .item-wrap .cstm_proplisting_outer {
        min-height: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    /* Tablet image column: 180px × 4/3 = 240px wide; height scaled to keep proportion */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header {
        flex: 0 0 240px !important;
        width: 240px !important;
        max-width: 240px !important;
        min-height: 0 !important;
        height: 320px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-image-wrap,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb {
        border-radius: var(--jaguar-radius) 0 0 var(--jaguar-radius) !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-thumb img,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-header .listing-image-wrap img {
        border-radius: var(--jaguar-radius) 0 0 var(--jaguar-radius) !important;
    }
    /* Tablet: show desktop body (labels, title, calendar, buttons); hide mobile-only blocks */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-body.sre-mobile-card-desktop-body {
        display: block !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-below {
        display: none !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap {
        display: none !important;
    }

    /* Keep price / amenities row off the image seam */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_proplisting_outer .item-body.flex-grow-1 {
        padding-left: 22px !important;
    }
    /* iPad / tablet: price directly under title; structure + beds + baths + sleeps on one row below */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 6px 0 !important;
        margin-bottom: 6px !important;
        padding-bottom: 6px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-amenities-wrap {
        order: 2 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-amenities-wrap .item-amenities {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px 10px !important;
        width: 100% !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-amenities-wrap .item-amenities > li {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row > .item-price-wrap {
        order: 1 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        align-self: flex-start !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        border-top: none !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row::after {
        display: block !important;
        width: 100% !important;
    }
}

/* Tablet + iPad incl. mini landscape (~1133 CSS px): was 992–1199 only; wider iPads missed price/amenities stack */
@media (min-width: 992px) and (max-width: 1366px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap .cstm_proplisting_outer {
        gap: 16px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_proplisting_outer .item-body.flex-grow-1 {
        padding-left: 22px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 6px 0 !important;
        margin-bottom: 6px !important;
        padding-bottom: 6px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-amenities-wrap {
        order: 2 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-amenities-wrap .item-amenities {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px 10px !important;
        width: 100% !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-amenities-wrap .item-amenities > li {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row > .item-price-wrap {
        order: 1 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        align-self: flex-start !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        border-top: none !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-row::after {
        display: block !important;
        width: 100% !important;
    }
}

/* Tablet / iPad: list-view amenity columns share one vertical center (structure was sitting high vs beds/baths/sleeps) */
@media (min-width: 768px) and (max-width: 1366px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities {
        align-items: center !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-beds,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-baths,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-sleeps {
        align-self: center !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .list-view .item-amenities li.h-type.sre-jaguar-type {
        align-self: center !important;
    }
}

/* Below 992px: card margin and (for mobile only) container padding; tablet 768–991 uses 12px from tablet block */
@media (max-width: 991px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (max-width: 767px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Desktop: hide mobile-only agent row (shown below image on mobile only) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap {
    display: none;
}

/* Desktop (992px+): hide duplicate mobile card block so it never shows below the button row when resizing */
@media (min-width: 992px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-mobile-card-below {
        display: none !important;
    }
}

/* Timestamp – below availability section divider, above action buttons (mockup) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-timestamp-below {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-timestamp-below .item-date {
    display: inline-flex !important;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    color: var(--jaguar-text-secondary);
    line-height: 1.4;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-timestamp-below .item-date .houzez-icon {
    display: none !important;
}

/* Action row: no top border (timestamp provides spacing); bottom border only */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-action-row {
    border-top: none;
    border-bottom: 1px solid var(--jaguar-border);
    padding: 10px 0;
    margin: 0;
    margin-top: 2px;
}

/* Custom Property Results - remove bottom border from action row */
.custom-list-property-custom.sre-search-style-jaguar .sre-jaguar-action-row {
    border-bottom: none !important;
}
/* Button order: View Rental on one line above; then two columns – Favorite | Compare, below that Share | Email */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons {
    display: flex;
    flex-direction: column !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
    order: 1;
}
/* Details button (View Rental) – full width on top, darker border */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-btn {
    order: -1 !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    flex-shrink: 0;
    padding: 8px 20px;
    border: 1.5px solid #2c2c2c !important;
    font-weight: 600;
    box-sizing: border-box;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-details-btn .sre-jaguar-details-btn-mobile-text {
    display: none;
}
/* Five action buttons – uniform: white bg, thin light grey border, dark grey text (mockup) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons-inner .sre-jaguar-action-btn {
    border: 1px solid #d5d5d5;
    color: #4a4a4a;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons-inner .sre-jaguar-share-wrap {
    min-width: 0;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-five-buttons-inner .sre-jaguar-share-wrap .sre-jaguar-action-btn {
    width: 100%;
    box-sizing: border-box;
}
/* All action buttons – same height, uniform (mockup) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
    color: #2c2c2c;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    min-height: 36px;
    height: 36px;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-action-btn:hover {
    background: var(--jaguar-burgundy-soft);
    border-color: var(--jaguar-burgundy);
    color: var(--jaguar-burgundy);
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-action-btn .sre-jaguar-btn-icon {
    font-size: 0.875rem;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-action-btn .sre-jaguar-btn-icon.text-danger {
    color: var(--jaguar-burgundy);
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-share-wrap.dropdown .dropdown-toggle::after {
    margin-left: 4px;
}

/* Mobile: below-image wrap – timestamp only, hide author/buttons */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap .item-author {
    display: none !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap .sre-jaguar-below-calendar-buttons {
    display: none !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap .item-author .rounded-circle,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap .item-author img {
    display: none !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap .item-date {
    display: inline-flex !important;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    color: var(--jaguar-text-secondary);
    line-height: 1.4;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap .item-date .houzez-icon {
    display: none !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-below-image-wrap .item-author a {
    color: var(--jaguar-text);
    text-decoration: none;
    font-weight: 500;
}

/* Hide company/date/Preview/Details in top row (Jaguar uses action row + timestamp below) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .item-author,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .item-date,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .cstm_previw_btn,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-agent-buttons-row .cstmdetails {
    display: none !important;
}

/* Beat theme #houzez-main-wrapper .container, main .container (style.css): Jaguar .container must not constrain width; padding stays internal. */
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* Jaguar Layout: list format + full width in boxed content (Card.jpg fills area) */

/* Container: full width of boxed area, padding inside */
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Card deck: list format = one card per row, full width, vertical stack */
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view.card-deck {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 18px;
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Each card: full width, list layout (image left, details right) preserved inside */
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view .item-listing-wrap.card {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    box-sizing: border-box;
}

body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap.item-wrap-v1,
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap .cstm_proplisting_outer {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

/* Force card full width — last in file so it wins cascade */
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container {
    max-width: none !important;
    width: 100% !important;
}
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .row > [class*="col-"]:first-child {
    max-width: none !important;
    width: 100% !important;
    flex: 0 0 100% !important;
}
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view.card-deck {
    max-width: none !important;
    width: 100% !important;
}
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .listing-view.list-view .item-listing-wrap.card,
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-listing-wrap.card {
    max-width: none !important;
    width: 100% !important;
    min-width: 0 !important;
}
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .item-wrap,
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .cstm_proplisting_outer {
    max-width: none !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* Full-width page: hide sidebar so results column is 100% */
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .bt-sidebar-wrap,
body .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container-sidebar {
    display: none !important;
}
/* Sidebar is often a sibling of content (e.g. Lavallette via page template): hide when row or page contains Jaguar */
.row:has(.sre-search-style-jaguar) .bt-sidebar-wrap,
.row:has(.sre-search-style-jaguar) .col-lg-4.bt-sidebar-wrap,
.page-wrap:has(.sre-search-style-jaguar) .bt-sidebar-wrap,
.page-wrap:has(.sre-search-style-jaguar) .col-lg-4.bt-sidebar-wrap {
    display: none !important;
}

/* Lavallette / full-width: make the content column (the one containing Jaguar) fill 100% of the row so cards fill boxed area */
.row:has(.sre-search-style-jaguar) > [class*="col-"]:has(.sre-search-style-jaguar),
.page-wrap:has(.sre-search-style-jaguar) .row > [class*="col-"]:first-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Jaguar: remove sidebar-container width constraint so .card-deck fills boxed content */
.sre-search-style-jaguar .sidebar-container {
    display: none !important;
}
/* Ensure container gives full width to listing (no flex-basis/max-width on wrapper) */
.sre-search-style-jaguar .container > .listing-view.list-view.card-deck {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
}

/* =========================================
   Jaguar: Results header – accordion top left, Results + Sort top right
   ========================================= */
/* Results header: 20px from top of boxed white area (Default Search) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container .row:first-of-type {
    padding-top: 20px;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 0 16px;
    margin: 0 0 8px 0;
    width: 100%;
    box-sizing: border-box;
}
/* Desktop: accordion top left, Results + Sort top right of body boxed area */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: flex-start;
    gap: 8px;
}
/* Results: # – top right, +10px from base (e.g. 24px), not bold; Sort By just below */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .sre-jaguar-count,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .count_results {
    font-size: calc(0.875rem + 10px) !important; /* ~24px */
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 0 4px 0 !important;
    line-height: 1.3;
}
/* Sort By – smaller maroon button, top right just below Results; pointer cursor over entire control */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap {
    margin: 0;
    padding: 0;
    cursor: pointer;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sort-by,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-by-wrap,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sort-by-title,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-by-inner,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap select,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .form-control {
    cursor: pointer !important;
}
/* Base: block-level bar on small screens (inline-flex here caused clipped label + offset bar on phones) */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sort-by,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-by-wrap {
    background: var(--jaguar-burgundy, #8a0516) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    padding: 6px 10px !important;
    min-width: 0;
    min-height: 36px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 0.8125rem;
}

.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sort-by-title,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-by-inner {
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap select,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .form-control {
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer;
    font-weight: 600;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap select option {
    background: var(--jaguar-burgundy, #8a0516);
    color: #fff;
}
/* Sort By dropdown: desktop pill = inline row + min width (phones use stacked flex column above) */
@media (min-width: 1024px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sort-by,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-by-wrap {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 260px;
        box-sizing: border-box;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select {
        min-width: 260px;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select .dropdown-menu {
        background: var(--jaguar-burgundy, #8a0516) !important;
        border-color: var(--jaguar-burgundy, #8a0516);
        min-width: 260px !important;
        width: 260px !important;
        box-sizing: border-box;
        cursor: pointer;
    }
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select .dropdown-menu li a,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select .dropdown-menu .dropdown-item {
    color: #fff !important;
    cursor: pointer !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select .dropdown-menu li a:hover,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select .dropdown-menu li a:focus,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select .dropdown-menu .dropdown-item:hover,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select .dropdown-menu .dropdown-item:focus {
    background: rgba(0, 0, 0, 0.2) !important;
    color: #fff !important;
    cursor: pointer !important;
}
/* Custom sort dropdown (replaces native select): pointer on button and submenu options */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom-btn,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom-menu,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom-option {
    cursor: pointer !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom-btn {
    background: var(--jaguar-burgundy, #8a0516) !important;
    color: #fff !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom-menu {
    background: var(--jaguar-burgundy, #8a0516) !important;
    border-color: var(--jaguar-burgundy, #8a0516);
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom-option:hover,
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom-option:focus {
    background: rgba(0, 0, 0, 0.2) !important;
    cursor: pointer !important;
}

/* Hide duplicate Results/Sort when Jaguar header is used */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .page-title-wrap .listing-tools-wrap {
    display: none !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .row [class*="col-"] > .listing-tools-wrap:not(.sre-jaguar-sort-wrap) {
    display: none !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .row [class*="col-"] > h1.count_results:not(.sre-jaguar-count) {
    display: none !important;
}

/* Mobile: center Results and Sort By; full-width stacked Sort (fixes clipped label + off-screen button) */
@media (max-width: 1023px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-header {
        justify-content: center;
        text-align: center;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools {
        align-items: stretch;
        width: 100%;
        box-sizing: border-box;
    }

    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sort-by,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-by-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-by-inner,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-by-inner.d-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
    }

    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sort-by-title {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* Full-width submenu aligned to control (avoids clipped / off-screen menu on narrow viewports) */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom {
        position: relative !important;
    }

    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-custom-menu {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .bootstrap-select .dropdown-menu {
        background: var(--jaguar-burgundy, #8a0516) !important;
        border-color: var(--jaguar-burgundy, #8a0516);
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        cursor: pointer;
    }
}

/* Phones: equal horizontal inset so Sort bar is centered in the content area (not flush to one edge) */
@media (max-width: 767px) {
    /* Tighter vertical rhythm: half the default space above Results / between Results & Sort */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .container > .row:first-of-type {
        padding-top: 10px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-header {
        gap: 8px !important;
        margin-bottom: 4px !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools {
        gap: 4px !important;
        padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .sre-jaguar-count,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .count_results {
        padding: 0 0 2px 0 !important;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap {
        margin-top: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* Inset burgundy pill: equal side margins, label + control stacked and centered */
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sort-by,
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap .sre-sort-by-wrap {
        width: calc(100% - 24px) !important;
        max-width: min(100%, 440px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        align-items: center !important;
        text-align: center !important;
    }
}

/* =========================================
   Search Options accordion – copy from legacy; mobile + desktop in Jaguar
   ========================================= */
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-accordion {
    width: 100%;
    box-sizing: border-box;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-accordion-btn {
    width: 100%;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 14px;
    text-align: left;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-panel {
    padding: 12px 0 0;
    border: none;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-panel[hidden] {
    display: none !important;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-intro {
    font-weight: normal;
    font-size: 11px;
    line-height: 1.35;
    margin: 0 0 8px 0;
    color: #333;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-close-btn {
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    background: #e0e0e0;
    border: 1px solid #999;
    border-radius: 4px;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-table-wrap {
    font-size: 11px;
    line-height: 1.35;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 11px;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-table td {
    padding: 4px 6px;
    vertical-align: top;
    word-break: break-word;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-table .sre-search-options-col1 {
    width: 33.33%;
    font-weight: 600;
}
.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-table .sre-search-options-col2 {
    width: 66.67%;
}

/* Mobile: one accordion only – show mobile-only, hide desktop copy */
@media (max-width: 1023px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-mobile-only {
        display: block !important;
        width: 100%;
        margin-bottom: 12px;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-desktop-accordion {
        display: none !important;
    }
}
/* Desktop: accordion top left in Jaguar */
@media (min-width: 1024px) {
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-desktop-accordion {
        display: block !important;
        max-width: 320px;
    }
    .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-search-options-mobile-only {
        display: none !important;
    }
}

/* ========================================================================
   Calendar Info Icon & Tooltip/Lightbox
   ======================================================================== */

/* Info Icon - positioned after SEP calendar pill */
.sre-calendar-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
    vertical-align: middle;
}

.sre-calendar-info-icon:hover {
    color: #8a0516;
}

.sre-calendar-info-icon svg {
    width: 20px;
    height: 20px;
}

/* Desktop/Tablet - Tooltip on hover */
@media (min-width: 768px) {
    .sre-calendar-info-icon[data-info-trigger="desktop"] {
        position: relative;
    }
    
    .sre-calendar-info-tooltip {
        display: none;
        position: absolute;
        bottom: calc(100% + 10px);
        right: -10px;
        min-width: 280px;
        max-width: 320px;
        padding: 12px 14px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        font-size: 13px;
        line-height: 1.5;
        color: #333;
        z-index: 1000;
        white-space: normal;
    }
    
    .sre-calendar-info-tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        right: 20px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #fff;
    }
    
    .sre-calendar-info-tooltip::before {
        content: '';
        position: absolute;
        top: 100%;
        right: 19px;
        width: 0;
        height: 0;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-top: 9px solid #ddd;
    }
    
    .sre-calendar-info-icon[data-info-trigger="desktop"]:hover .sre-calendar-info-tooltip {
        display: block;
    }
}

/* Mobile - Lightbox on tap */
@media (max-width: 767px) {
    .sre-calendar-info-icon[data-info-trigger="mobile"] {
        position: relative;
    }
    
    /* Lightbox overlay */
    .sre-calendar-info-lightbox-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999999;
        animation: sre-fade-in 0.2s ease;
    }
    
    .sre-calendar-info-lightbox-overlay.active {
        display: block;
    }
    
    /* Lightbox content */
    .sre-calendar-info-lightbox {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        max-width: 340px;
        background: #fff;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        z-index: 1000000;
        animation: sre-slide-up 0.3s ease;
    }
    
    .sre-calendar-info-lightbox.active {
        display: block;
    }
    
    /* Close button */
    .sre-calendar-info-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    
    .sre-calendar-info-close:hover {
        background: #e0e0e0;
    }
    
    .sre-calendar-info-close svg {
        width: 18px;
        height: 18px;
        stroke: #333;
    }
    
    /* Lightbox content text */
    .sre-calendar-info-content {
        font-size: 14px;
        line-height: 1.6;
        color: #333;
        padding-right: 20px;
    }
    
    .sre-calendar-info-content strong {
        display: block;
        margin-bottom: 8px;
        font-size: 16px;
        color: #8a0516;
    }
    
    /* Animations */
    @keyframes sre-fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes sre-slide-up {
        from {
            opacity: 0;
            transform: translate(-50%, -40%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }
}

/* Lavallette SEO page: desktop only, Results + Sort same line, Results centered, Sort right */
@media (min-width: 1025px) {
    body.sre-page-lavallette-seo .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-header {
        justify-content: center;
        width: 100%;
    }
    body.sre-page-lavallette-seo .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools {
        flex-direction: row !important;
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        align-self: stretch;
    }
    body.sre-page-lavallette-seo .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .sre-jaguar-count,
    body.sre-page-lavallette-seo .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .count_results {
        flex: 1;
        text-align: left;
    }
    body.sre-page-lavallette-seo .listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .sre-jaguar-sort-wrap {
        margin-left: auto;
        flex-shrink: 0;
    }
}

/* Custom Property Results template: desktop only, Results left, Sort same line */
@media (min-width: 1025px) {
    .custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools {
        flex-direction: column !important;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .sre-jaguar-count,
    .custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .count_results {
        text-align: left !important;
        flex: 0 1 auto;
        margin: 0 !important;
    }
    .custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools .sre-jaguar-sort-wrap {
        flex-shrink: 0;
        margin-left: auto;
    }
}










/* FINAL MOBILE OVERRIDE - EXACT MATCH FIX */
@media (max-width: 1024px) {

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools {
    flex-direction: column !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-count,
.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .count_results {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
}

}

/* ABSOLUTE FINAL MOBILE FIX - LAST LINE WINS */
@media (max-width: 1024px) {

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools {
    flex-direction: column !important;
    display: flex !important;
}

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-count,
.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .count_results {
    width: 100% !important;
    text-align: center !important;
}

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap {
    width: 100% !important;
    text-align: center !important;
}

}

/* TRUE FINAL FIX - PARENT CONTEXT OVERRIDE */
@media (max-width: 1024px) {

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar {
    display: block !important;
}

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

}

/* HARD LAYOUT RESET - FORCE VERTICAL FLOW */
@media (max-width: 1024px) {

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools {
    display: block !important;
}

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-results-tools > * {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    text-align: center !important;
}

.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-jaguar-sort-wrap,
.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-sort-by-inner,
.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-sort-custom,
.custom-list-property-custom.listing-wrap.sre-search-results-listing.sre-search-style-jaguar .sre-sort-custom-btn {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

}
/* jaguar fix sortby menu, call icon and results number vacation search page */
@media (max-width: 1024px) {

    .sre-results-top,
    .sre-results-bottom {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .sre-results-bottom {
        margin-top: 10px;
    }
}

/* FIX: Reduce hero height on Lavallette mobile so results appear immediately */
@media (max-width: 767px) {

    body.sre-page-lavallette-seo .banner-inner,
    body.sre-page-lavallette-seo .banner-parallax {
        min-height: 180px !important;
        height: auto !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    body.sre-page-lavallette-seo .banner-title {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }
    
    body.sre-page-lavallette-seo .banner-caption {
        font-size: 14px !important;
    }
    
    }

    /* FIX: Pull results header up under search bar */
@media (max-width: 767px) {

    body.sre-page-lavallette-seo 
    .sre-jaguar-results-header {
        margin-top: 10px !important;
        padding-top: 0 !important;
    }
    
    }

    /* FIX: Ensure Results + Sort always visible */
@media (max-width: 767px) {

    body.sre-page-lavallette-seo 
    .sre-jaguar-results-tools {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 10px 0 15px 0 !important;
    }
    
    body.sre-page-lavallette-seo 
    .sre-jaguar-sort-wrap {
        display: block !important;
        width: 100% !important;
    }
    
    }

    /* FIX: Prevent results header from expanding full page height */
@media (max-width: 767px) {

    body.sre-page-lavallette-seo 
    .sre-jaguar-results-header {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    }

    /* FIX: Keep Results + Sort independent of broken flex parent */
@media (max-width: 767px) {

    body.sre-page-lavallette-seo 
    .sre-jaguar-results-tools {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        position: relative !important;
    }
    
    }