/**
 * Flavor Rental Listings - Frontend Styles
 * Scoped with .flavor- prefix to avoid theme conflicts.
 */

/* ===== Reset / Container ===== */
.flavor-rentals-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.5;
}

.flavor-rentals-wrap *,
.flavor-rentals-wrap *::before,
.flavor-rentals-wrap *::after {
    box-sizing: border-box;
}

/* ===== Filter Bar ===== */
.flavor-rentals-filters {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.flavor-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.flavor-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flavor-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bedroom toggle buttons */
.flavor-bedroom-buttons {
    display: flex;
    gap: 0;
}

.flavor-bed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border: 2px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    outline: none;
    box-sizing: border-box;
}

.flavor-bed-btn:first-child {
    border-radius: 6px 0 0 6px;
}

.flavor-bed-btn:last-child {
    border-radius: 0 6px 6px 0;
}

.flavor-bed-btn:not(:first-child) {
    border-left: none;
}

.flavor-bed-btn:hover {
    background: #f0f0f0;
}

.flavor-bed-btn.active {
    background: var(--flavor-primary, #1a73e8);
    border-color: var(--flavor-primary, #1a73e8);
    color: #fff;
}

.flavor-bed-btn.active + .flavor-bed-btn {
    border-left-color: var(--flavor-primary, #1a73e8);
}

/* Move-in date select — matches bed-button height */
.flavor-movein-date,
select.flavor-movein-date {
    padding: 10px 18px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    color: #000;
    min-width: 180px;
    max-width: 220px;
    width: auto;
    height: 42px;
    line-height: normal;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.flavor-movein-date:focus,
select.flavor-movein-date:focus {
    border-color: var(--flavor-primary, #1a73e8);
}

/* Pet toggle buttons */
.flavor-pet-buttons {
    display: flex;
    gap: 0;
}

.flavor-pet-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 18px;
    border: 2px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    outline: none;
    box-sizing: border-box;
}

.flavor-pet-btn:first-child {
    border-radius: 6px 0 0 6px;
}

.flavor-pet-btn:last-child {
    border-radius: 0 6px 6px 0;
}

.flavor-pet-btn:not(:first-child) {
    border-left: none;
}

.flavor-pet-btn:hover {
    background: #f0f0f0;
}

.flavor-pet-btn.active {
    background: var(--flavor-primary, #1a73e8);
    border-color: var(--flavor-primary, #1a73e8);
    color: #fff;
}

.flavor-pet-btn.active + .flavor-pet-btn {
    border-left-color: var(--flavor-primary, #1a73e8);
}

.flavor-pet-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Search button */
.flavor-go-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 32px;
    background: var(--flavor-primary, #1a73e8);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    outline: none;
    box-sizing: border-box;
}

.flavor-go-btn:hover {
    background: var(--flavor-primary-hover, #1557b0);
}

/* ===== Results info ===== */
.flavor-results-info {
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

.flavor-result-count {
    font-weight: 700;
    color: #333;
}

/* ===== Community Grid ===== */
.flavor-communities-grid {
    display: grid;
    gap: 24px;
}

.flavor-cols-1 { grid-template-columns: 1fr; }
.flavor-cols-2 { grid-template-columns: repeat(2, 1fr); }
.flavor-cols-3 { grid-template-columns: repeat(3, 1fr); }
.flavor-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Community Card ===== */
.flavor-community-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.flavor-community-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* When expanded: two-column grid (photo left, header+units right) */
.flavor-card-expanded {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-template-rows: auto 1fr;
    flex-direction: unset;
}

.flavor-card-expanded .flavor-community-image {
    grid-column: 1;
    grid-row: 1 / 3;
    height: auto;
    min-height: 200px;
}

.flavor-card-expanded .flavor-community-body {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.flavor-card-expanded .flavor-card-collapsed-info {
    display: none;
}

.flavor-card-expanded .flavor-card-expanded-header {
    display: flex;
}

.flavor-card-expanded .flavor-community-units {
    grid-column: 2;
    grid-row: 2;
    border-top: none;
    display: block;
}

.flavor-community-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    position: relative;
}

/* Collapsed info wrapper — flex column so button pushes to bottom */
.flavor-card-collapsed-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Expanded header bar (hidden when collapsed) */
.flavor-card-expanded-header {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    border-bottom: 1px solid #e8e8e8;
    background: #f5f5f5;
    flex-wrap: wrap;
}

.flavor-expanded-name {
    font-size: 34px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
}

.flavor-expanded-addr {
    font-size: 13px;
    color: #888;
    flex: 1;
    min-width: 0;
}

.flavor-expanded-street {
    display: block;
}

.flavor-expanded-citystate {
    display: block;
}

.flavor-btn-community {
    background: #fff;
    border-color: var(--flavor-primary, #1a73e8);
    color: var(--flavor-primary, #1a73e8);
    white-space: nowrap;
    flex-shrink: 0;
}

.flavor-btn-community:hover {
    background: var(--flavor-primary-tint, #f0f4ff);
}

.flavor-avail-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.flavor-avail-now {
    background: #2e7d32;
}

.flavor-avail-future {
    background: #e65100;
}

.flavor-community-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flavor-community-name {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.flavor-community-address {
    display: block;
    margin: 0 0 12px;
    font-size: 13px;
    color: #888;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease;
}

.flavor-community-address:hover {
    color: var(--flavor-primary, #1a73e8);
}

.flavor-address-street {
    display: block;
    font-size: 14px;
    color: #666;
}

.flavor-address-citystate {
    display: block;
    font-size: 13px;
    color: #999;
}

.flavor-community-address:hover .flavor-address-street,
.flavor-community-address:hover .flavor-address-citystate {
    color: var(--flavor-primary, #1a73e8);
}

/* Unit type pills - shows bed types + starting price */
.flavor-community-unit-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.flavor-unit-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--flavor-primary-tint, #f0f4ff);
    border: 1px solid var(--flavor-primary-border-light, #d0daf0);
    border-radius: 20px;
    font-size: 13px;
}

.flavor-ut-beds {
    font-weight: 600;
    color: var(--flavor-primary, #1a73e8);
}

.flavor-ut-price {
    color: #555;
}

/* ===== Expand Button ===== */
.flavor-btn-expand {
    width: 100%;
    padding: 10px;
    background: var(--flavor-primary, #1a73e8);
    border: 2px solid var(--flavor-primary, #1a73e8);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: auto;
}

.flavor-btn-expand:hover {
    background: var(--flavor-primary-hover, #1557b0);
    border-color: var(--flavor-primary-hover, #1557b0);
    color: #fff;
}

/* ===== Collapse Bar (Hide Units) ===== */
.flavor-collapse-bar {
    text-align: center;
    padding: 8px 0;
    border-top: 1px solid #eee;
}

.flavor-btn-collapse {
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 16px;
    transition: color 0.15s ease;
}

.flavor-btn-collapse:hover {
    color: #555;
}

/* ===== Unit Rows (Accordion) ===== */
.flavor-community-units {
    border-top: 1px solid #e0e0e0;
    padding: 0;
}

.flavor-unit-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s ease;
}

.flavor-unit-row:last-child {
    border-bottom: none;
}

.flavor-unit-row:hover {
    background: #fafbfc;
}

.flavor-unit-type {
    font-weight: 700;
    font-size: 19px;
    color: #333;
    white-space: nowrap;
}

.flavor-floor-indicator {
    font-size: 11px;
    color: #888;
    margin-left: 4px;
}

.flavor-unit-spacer {
    flex: 1;
}

/* Pet + sqft grouped together */
.flavor-unit-mid {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.flavor-unit-pets {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}

.flavor-pet-icon-cat,
.flavor-pet-icon-dog {
    display: inline-block;
    width: 18px;
    height: 18px;
    opacity: 0.18;
    color: #888;
}

.flavor-pet-icon-cat.active,
.flavor-pet-icon-dog.active {
    opacity: 1;
}

.flavor-unit-sqft {
    font-size: 14px;
    color: #888;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 70px;
    text-align: right;
}

/* Price + availability stacked block */
.flavor-unit-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    min-width: 100px;
    margin-left: 24px;
}

.flavor-unit-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--flavor-primary, #1a73e8);
    white-space: nowrap;
}

.flavor-price-period {
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

.flavor-unit-avail {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #444 !important;
    white-space: nowrap;
}

.flavor-unit-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ===== Shared Buttons ===== */
.flavor-btn {
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.3;
}

.flavor-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.flavor-btn-md {
    padding: 8px 18px;
    font-size: 14px;
}

.flavor-btn-details {
    background: #fff;
    border-color: var(--flavor-primary, #1a73e8);
    color: var(--flavor-primary, #1a73e8);
}

.flavor-btn-details:hover {
    background: var(--flavor-primary, #1a73e8);
    color: #fff;
}

.flavor-btn-showing {
    background: var(--flavor-showing, #1a73e8);
    border-color: var(--flavor-showing, #1a73e8);
    color: #fff;
}

.flavor-btn-showing:hover {
    filter: brightness(1.12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.flavor-btn-apply {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

.flavor-btn-apply:hover {
    filter: brightness(1.12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.flavor-btn-lg {
    padding: 12px 24px;
    font-size: 15px;
}

.flavor-btn-block {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

/* ===== Community Landing Page units list (no hero image) ===== */
.flavor-community-units-list {
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

/* ===== Expanded Community View (shortcode community="slug") ===== */
.flavor-community-expanded-card {
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 260px 1fr;
}

.flavor-community-hero-banner {
    width: 100%;
    height: auto;
    min-height: 200px;
    grid-row: 1 / -1;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    background-color: #eee;
}

.flavor-expanded-right {
    display: flex;
    flex-direction: column;
}

.flavor-expanded-right .flavor-card-expanded-header {
    display: flex;
}

.flavor-expanded-units {
    border-top: none;
}

/* When community shortcode renders units without hero banner, span full width */
.flavor-community-expanded-card > .flavor-expanded-units:only-child {
    grid-column: 1 / -1;
}

/* Unit info block (community expanded shortcode view) — fixed width for column alignment */
.flavor-unit-info {
    min-width: 180px;
    flex-shrink: 0;
}

.flavor-unit-info .flavor-unit-type {
    display: block;
}

.flavor-unit-info .flavor-unit-number,
.flavor-unit-info .flavor-unit-sqft {
    display: inline;
}

.flavor-unit-number {
    font-size: 15px;
    font-weight: 400;
    color: #666;
}

.flavor-unit-slug-code {
    font-size: 12px;
    color: var(--flavor-primary, #1a73e8);
    margin-left: 4px;
}

.flavor-avail-now-text {
    color: #2e7d32;
    font-weight: 600;
}

.flavor-avail-future-text {
    color: #e65100;
    font-weight: 500;
}

/* ===== Loading / Empty States ===== */
.flavor-loading,
.flavor-units-loading {
    text-align: center;
    padding: 30px 0;
    color: #888;
}

.flavor-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--flavor-primary, #1a73e8);
    border-radius: 50%;
    animation: flavor-spin 0.7s linear infinite;
    margin-bottom: 8px;
}

@keyframes flavor-spin {
    to { transform: rotate(360deg); }
}

.flavor-no-results,
.flavor-no-units {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 15px;
}

/* =========================================
   DETAIL PAGE STYLES
   ========================================= */

.flavor-detail-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.flavor-detail-wrap *,
.flavor-detail-wrap *::before,
.flavor-detail-wrap *::after {
    box-sizing: border-box;
}

/* ===== Unified Breadcrumb ===== */
.flavor-breadcrumb {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.4;
}

.flavor-breadcrumb-link {
    color: var(--flavor-primary, #1a73e8);
    text-decoration: none;
    font-weight: 500;
}

.flavor-breadcrumb-link:hover {
    text-decoration: underline;
}

.flavor-breadcrumb-sep {
    color: #999;
    font-size: 16px;
}

.flavor-breadcrumb-current {
    color: #333;
    font-weight: 600;
}

/* Gallery */
.flavor-detail-gallery {
    margin-bottom: 30px;
}

.flavor-gallery-main {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #eee;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Gallery prev/next arrows */
.flavor-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 90px;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    z-index: 2;
    padding: 0;
    line-height: 1;
}
.flavor-gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
}
.flavor-gallery-prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}
.flavor-gallery-next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.flavor-gallery-main img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    background: #eee;
    cursor: zoom-in;
}

.flavor-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.flavor-gallery-thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    outline: none;
    transition: border-color 0.15s ease;
}

.flavor-gallery-thumb.active {
    border-color: var(--flavor-primary, #1a73e8);
}

.flavor-gallery-thumb:hover {
    border-color: #999;
}

.flavor-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox overlay */
.flavor-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.flavor-lightbox.active {
    display: flex;
}

.flavor-lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
    -webkit-user-select: none;
}

.flavor-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    z-index: 2;
    padding: 8px;
}

.flavor-lightbox-close:hover {
    opacity: 1;
}

.flavor-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 16px 14px;
    border-radius: 4px;
    opacity: 0.8;
    z-index: 2;
}

.flavor-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.flavor-lightbox-prev {
    left: 16px;
}

.flavor-lightbox-next {
    right: 16px;
}

.flavor-lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Detail content layout */
.flavor-detail-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

.flavor-detail-header {
    margin-bottom: 20px;
}

.flavor-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #222;
}

.flavor-detail-address {
    font-size: 15px;
    color: #888;
    margin: 0;
}

/* Highlights */
.flavor-detail-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.flavor-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

.flavor-highlight-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--flavor-primary, #1a73e8);
}

.flavor-highlight-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flavor-avail-value {
    font-size: 22px;
    color: #2e7d32;
}

.flavor-detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: flex-end;
}

/* Detail sections */
.flavor-detail-section {
    margin-bottom: 28px;
}

.flavor-detail-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
}

.flavor-detail-description p {
    margin: 0 0 12px;
    color: #555;
}

.flavor-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.flavor-detail-list li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: #555;
    font-size: 14px;
}

.flavor-detail-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: 700;
}

.flavor-fees-table {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
}

.flavor-fees-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.flavor-fees-table td:last-child {
    text-align: right;
    font-weight: 600;
}

/* Sidebar */
.flavor-detail-sidebar {
    position: sticky;
    top: 30px;
}

.flavor-sidebar-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}

.flavor-sidebar-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.flavor-sidebar-card p {
    margin: 0 0 16px;
    font-size: 14px;
    color: #666;
}

/* Cross-property recommendations */
.flavor-cross-properties {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.flavor-cross-property-item {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    border: 1px solid var(--flavor-primary-border-light, #e0e0e0);
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    background: var(--flavor-primary-tint, #f8f9fa);
    transition: border-color 0.15s, background 0.15s;
}
.flavor-cross-property-item:hover {
    border-color: var(--flavor-primary, #5a4f38);
    background: var(--flavor-primary-border-light, #f0f4ff);
}
.flavor-cp-line1 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}
.flavor-cp-line2 {
    font-size: 14px;
    color: #555;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.flavor-cp-avail {
    font-size: 13px;
    color: #00a32a;
    font-weight: 500;
}

/* 3D Tour button */
.flavor-btn-tour {
    background: #6b21a8;
    border-color: #6b21a8;
    color: #fff;
}

.flavor-btn-tour:hover {
    filter: brightness(1.12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Other Available Units - inline section above actions */
.flavor-other-units-inline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 8px;
}
.flavor-other-units-label {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 0;
}

/* Other Available Units pills */
.flavor-other-units {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.flavor-other-unit-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--flavor-primary-tint, #f0f4ff);
    border: 1px solid var(--flavor-primary-border-light, #d0daf0);
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    transition: all 0.15s ease;
}

.flavor-other-unit-pill:hover {
    background: var(--flavor-primary, #1a73e8);
    border-color: var(--flavor-primary, #1a73e8);
    color: #fff;
}

.flavor-ou-type {
    font-weight: 600;
    color: var(--flavor-primary, #1a73e8);
}

.flavor-other-unit-pill:hover .flavor-ou-type {
    color: #fff;
}

.flavor-ou-unit {
    color: #666;
    font-size: 14px;
}

.flavor-other-unit-pill:hover .flavor-ou-unit {
    color: rgba(255,255,255,0.85);
}

.flavor-ou-date {
    color: #555;
    font-size: 13px;
}

.flavor-other-unit-pill:hover .flavor-ou-date {
    color: rgba(255,255,255,0.85);
}

/* Detail page map */
.flavor-detail-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .flavor-cols-4 { grid-template-columns: repeat(3, 1fr); }

    .flavor-detail-content {
        grid-template-columns: 1fr;
    }

    .flavor-detail-sidebar {
        position: static;
    }

    /* Two-column expanded card collapses to single column */
    .flavor-card-expanded {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .flavor-card-expanded .flavor-community-image {
        grid-column: 1;
        grid-row: 1;
        height: 200px;
    }

    .flavor-card-expanded .flavor-community-body {
        grid-column: 1;
        grid-row: 2;
    }

    .flavor-card-expanded .flavor-community-units {
        grid-column: 1;
        grid-row: 3;
    }

    .flavor-community-expanded-card {
        grid-template-columns: 1fr;
    }

    .flavor-community-hero-banner {
        height: 180px;
        grid-row: auto;
    }

    .flavor-expanded-name {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .flavor-rentals-wrap {
        padding: 0 6px;
    }

    .flavor-rentals-filters {
        padding: 16px 12px;
    }

    .flavor-cols-3,
    .flavor-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .flavor-communities-grid {
        gap: 16px;
    }

    .flavor-filters-row {
        flex-direction: column;
        gap: 12px;
    }

    .flavor-bedroom-buttons {
        width: 100%;
    }

    .flavor-bed-btn {
        flex: 1;
        padding: 10px 8px;
        font-size: 13px;
    }

    .flavor-pet-buttons {
        width: 100%;
    }

    .flavor-pet-btn {
        flex: 1;
        padding: 10px 8px;
        font-size: 13px;
        justify-content: center;
    }

    .flavor-date-group {
        width: 100%;
    }

    .flavor-movein-date,
    select.flavor-movein-date {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .flavor-go-btn {
        width: 100%;
    }

    /* Unit rows: stack on mobile */
    .flavor-unit-row {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 14px;
    }

    .flavor-unit-type {
        font-size: 17px;
    }

    .flavor-unit-spacer {
        display: none;
    }

    .flavor-unit-mid {
        gap: 16px;
    }

    .flavor-unit-info {
        min-width: 0;
    }

    .flavor-unit-price-block {
        margin-left: 16px;
        min-width: auto;
    }

    .flavor-unit-actions {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }

    .flavor-unit-actions .flavor-btn {
        flex: 1;
        text-align: center;
    }

    /* Expanded card header stacks */
    .flavor-card-expanded-header {
        flex-direction: column;
        gap: 8px;
        padding: 10px 14px;
    }

    .flavor-expanded-name {
        font-size: 22px;
    }

    .flavor-detail-highlights {
        gap: 12px;
    }

    .flavor-highlight {
        min-width: 70px;
    }

    .flavor-detail-actions {
        flex-direction: column;
    }

    .flavor-detail-list {
        grid-template-columns: 1fr;
    }

    .flavor-detail-wrap {
        padding: 12px 8px !important;
    }
}

@media (max-width: 480px) {
    .flavor-rentals-wrap {
        padding: 0 4px;
    }

    .flavor-detail-wrap {
        padding: 8px 4px !important;
    }

    .flavor-rentals-filters {
        padding: 12px 10px;
    }

    .flavor-cols-2,
    .flavor-cols-3,
    .flavor-cols-4 {
        grid-template-columns: 1fr;
    }

    .flavor-communities-grid {
        gap: 12px;
    }

    .flavor-community-image {
        height: 160px;
    }

    .flavor-community-body {
        padding: 12px;
    }

    .flavor-detail-title {
        font-size: 22px;
    }

    .flavor-highlight-value {
        font-size: 18px;
    }

    .flavor-unit-row {
        padding: 10px 12px;
    }

    .flavor-expanded-name {
        font-size: 20px;
    }

    .flavor-unit-mid {
        gap: 12px;
    }

    .flavor-unit-price-block {
        margin-left: 12px;
    }
}

/* ── Map View ─────────────────────────────────────────────────── */

.flavor-map-wrap {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Google Maps InfoWindow overrides */
.flavor-map-wrap .gm-style-iw {
    padding: 0 !important;
    max-width: 280px !important;
}

.flavor-map-wrap .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.flavor-map-wrap .gm-style-iw-chr {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 3 !important;
    height: auto !important;
    overflow: visible !important;
}

.flavor-map-wrap .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
}

.flavor-map-wrap .gm-style-iw-d::-webkit-scrollbar {
    display: none;
}

.flavor-map-wrap .gm-ui-hover-effect {
    top: 6px !important;
    right: 6px !important;
    z-index: 3 !important;
    background: rgba(0, 0, 0, 0.65) !important;
    border-radius: 6px !important;
    width: 26px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flavor-map-wrap .gm-ui-hover-effect > span {
    background-color: #fff !important;
    margin: 0 !important;
    width: 12px !important;
    height: 12px !important;
}

.flavor-map-popup-hero {
    position: relative;
}

.flavor-map-popup-photo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.flavor-map-popup-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 12px;
    background: rgba(50, 50, 50, 0.45);
}

.flavor-map-popup-overlay .flavor-map-popup-title {
    color: #fff;
    font-weight: 700;
}

.flavor-map-popup-address {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
}

.flavor-map-popup-body {
    padding: 6px 12px 8px;
}

.flavor-map-popup-body-title {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 2px;
    color: #1d2327;
    padding: 10px 12px 0;
}

.flavor-map-popup-title {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 2px;
    color: #1d2327;
}

.flavor-map-popup-meta {
    color: #666;
    font-size: 12px;
    font-weight: 600;
    margin: 2px 0;
}

.flavor-map-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

.flavor-map-popup-footer-left {
    flex: 1;
    min-width: 0;
}

.flavor-map-popup-rent {
    font-weight: 700;
    color: var(--flavor-primary, #1a73e8);
    font-size: 16px;
    margin: 0;
    line-height: 1.2;
}

.flavor-map-popup-footer .flavor-map-popup-meta {
    margin: 1px 0 0;
}

.flavor-map-popup-btn {
    display: inline-block;
    font-size: 13px !important;
    padding: 8px 14px !important;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
}

/* Cluster markers are styled via JS SVG renderer (no CSS needed). */

/* ── FAQ Section ─────────────────────────────────────────────── */

.flavor-faq-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 24px;
}

.flavor-faq-list {
    display: flex;
    flex-direction: column;
}

.flavor-faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.flavor-faq-item:first-child {
    padding-top: 0;
}

.flavor-faq-item:last-child {
    border-bottom: none;
}

.flavor-faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 12px;
    line-height: 1.4;
}

.flavor-faq-answer {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

.flavor-faq-answer p {
    margin: 0 0 12px;
}

.flavor-faq-unit-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.flavor-faq-unit-list li {
    padding: 8px 0 8px 16px;
    border-left: 3px solid var(--flavor-primary, #1a73e8);
    margin-bottom: 6px;
}

.flavor-faq-unit-list li a {
    color: var(--flavor-primary, #1a73e8);
    text-decoration: none;
    font-weight: 500;
}

.flavor-faq-unit-list li a:hover {
    text-decoration: underline;
    color: var(--flavor-primary-hover, #1557b0);
}

.flavor-faq-avail {
    font-size: 12px;
    color: #2e7d32;
    font-weight: 600;
    margin-left: 8px;
}

.flavor-faq-avail-date {
    font-size: 12px;
    color: #666;
    margin-left: 8px;
}

.flavor-faq-more {
    margin-top: 8px;
}

.flavor-faq-more a {
    color: var(--flavor-primary, #1a73e8);
    font-weight: 600;
    text-decoration: none;
}

.flavor-faq-more a:hover {
    text-decoration: underline;
}

.flavor-faq-empty {
    color: #888;
    font-style: italic;
    padding: 8px 0;
}

@media (max-width: 768px) {
    .flavor-faq-title { font-size: 22px; }
    .flavor-faq-question { font-size: 16px; }
    .flavor-faq-answer { font-size: 14px; }
}

@media (max-width: 480px) {
    .flavor-faq-title { font-size: 20px; }
    .flavor-faq-question { font-size: 15px; }
    .flavor-faq-unit-list li { padding-left: 12px; }
}

/* ──────────────────────────────────────────────────────────────────
 * COMMUNITY LANDING PAGE
 * ────────────────────────────────────────────────────────────────── */

.flavor-community-landing-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* (Breadcrumb styles moved to unified .flavor-breadcrumb above) */

/* Hero Section */
.flavor-community-hero-section {
    margin-bottom: 32px;
}
.flavor-community-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    max-height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
}
.flavor-community-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}
.flavor-community-hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.flavor-community-hero-no-image .flavor-community-hero-title {
    color: #1a1a1a;
    text-shadow: none;
}
.flavor-community-hero-address {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin: 0;
}
.flavor-community-hero-no-image .flavor-community-hero-address {
    color: #666;
}
.flavor-community-hero-no-image {
    padding: 32px 0 16px;
}
.flavor-community-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}
.flavor-hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f4f6f8;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    color: #333;
}
.flavor-hero-stat strong {
    font-weight: 700;
}
.flavor-hero-stat-avail {
    background: #e8f5e9;
    border-color: #a5d6a7;
    color: #2e7d32;
}
.flavor-hero-stat-pets {
    background: #fff3e0;
    border-color: #ffcc80;
    color: #e65100;
}

/* Section Titles */
.flavor-community-section {
    margin-bottom: 40px;
}
.flavor-community-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--flavor-primary, #1a73e8);
}

/* FAQ Links Grid */
.flavor-faq-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.flavor-faq-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f8f9fa;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
}
.flavor-faq-link-card:hover {
    background: var(--flavor-primary-tint, #e8f0fe);
    border-color: var(--flavor-primary, #1a73e8);
    color: var(--flavor-primary, #1a73e8);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.flavor-faq-link-arrow {
    font-size: 16px;
    opacity: 0.5;
}
.flavor-faq-link-card:hover .flavor-faq-link-arrow {
    opacity: 1;
}

/* Back link */
.flavor-community-back-link {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e0e4e8;
}
.flavor-community-back-link a {
    color: var(--flavor-primary, #1a73e8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.flavor-community-back-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .flavor-community-landing-wrap { padding: 0 16px 32px; }
    .flavor-community-hero-title { font-size: 22px; }
    .flavor-community-hero-overlay { padding: 16px 20px; }
    .flavor-community-section-title { font-size: 20px; }
    .flavor-faq-links-grid { grid-template-columns: repeat(2, 1fr); }
    .flavor-hero-stat { font-size: 13px; padding: 6px 10px; }
}
@media (max-width: 480px) {
    .flavor-community-hero-title { font-size: 20px; }
    .flavor-faq-links-grid { grid-template-columns: 1fr; }
    .flavor-breadcrumb { font-size: 13px; }
}

/* ── Google Reviews Section ── */
.flavor-reviews-section {
    margin: 32px 0;
    padding: 0;
}
.flavor-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}
.flavor-review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}
.flavor-review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.flavor-review-stars {
    display: flex;
    gap: 2px;
}
.flavor-star {
    font-size: 18px;
    color: #d4d4d4;
    line-height: 1;
}
.flavor-star-filled {
    color: #fbbc05;
}
.flavor-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin: 0;
    flex-grow: 1;
}
.flavor-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.flavor-review-author-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.flavor-review-author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--flavor-primary, #1a73e8);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}
.flavor-review-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.flavor-review-author-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}
.flavor-review-time {
    font-size: 12px;
    color: #9ca3af;
}
.flavor-review-attribution {
    margin-top: 16px;
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* FAQ section on unit detail pages */
.flavor-detail-faq-section {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 20px;
}
.flavor-detail-faq-section .flavor-community-section-title {
    color: #333;
}
/* Detail page FAQ card grid: 5 columns */
.flavor-faq-links-grid-detail {
    grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1024px) {
    .flavor-faq-links-grid-detail {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .flavor-faq-links-grid-detail {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .flavor-faq-links-grid-detail {
        grid-template-columns: 1fr;
    }
}

/* Section title color (prevent theme bleed-through) */
.flavor-community-section-title {
    color: #333;
}

/* ── FAQ Search (Community Page) ── */
.flavor-faq-search-wrap {
    margin-top: 16px;
    margin-bottom: 12px;
}
.flavor-faq-search {
    width: 100%;
    max-width: 400px;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fff;
}
.flavor-faq-search:focus {
    border-color: var(--flavor-primary, #1a73e8);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}
.flavor-faq-search::placeholder {
    color: #9ca3af;
}
.flavor-faq-no-results {
    color: #6b7280;
    font-size: 14px;
    font-style: italic;
    padding: 12px 0;
}

/* ── FAQ Accordion Grid (Community Page) ── */
.flavor-faq-accordion-grid {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    align-items: flex-start;
}
.flavor-faq-accordion-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.flavor-faq-accordion-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.flavor-faq-accordion-item[open] {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.flavor-faq-accordion-item[open] .flavor-faq-accordion-q {
    border-bottom: 1px solid #e5e7eb;
    color: var(--flavor-primary, #1a73e8);
}
.flavor-faq-accordion-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    list-style: none;
    transition: color 0.15s;
}
.flavor-faq-accordion-q::-webkit-details-marker { display: none; }
.flavor-faq-accordion-q::after {
    content: "+";
    font-size: 18px;
    font-weight: 400;
    color: #9ca3af;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s;
}
.flavor-faq-accordion-item[open] .flavor-faq-accordion-q::after {
    content: "\2212";
    color: var(--flavor-primary, #1a73e8);
}
.flavor-faq-accordion-a {
    padding: 14px 18px 18px;
    font-size: 13px;
    line-height: 1.7;
    color: #4b5563;
}
.flavor-faq-accordion-a p { margin: 0 0 8px; }
.flavor-faq-accordion-a p:last-child { margin-bottom: 0; }
.flavor-faq-accordion-a ul { margin: 4px 0 8px 16px; padding: 0; }
.flavor-faq-accordion-a li { margin: 0 0 4px; }

/* FAQ disclaimer */
.flavor-faq-disclaimer {
    margin-top: 16px;
    font-size: 12px;
    color: #999;
    font-style: italic;
    text-align: center;
}

/* Cross-sell block in FAQ answers */
.flavor-faq-cross-sell {
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--flavor-primary-tint, #f0f4ff);
    border-left: 3px solid var(--flavor-primary, #1a73e8);
    border-radius: 6px;
}
.flavor-faq-cross-sell-heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--flavor-primary, #1a73e8);
    margin: 0 0 8px;
}

@media (max-width: 768px) {
    .flavor-reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .flavor-review-card {
        padding: 16px;
    }
    .flavor-faq-accordion-grid {
        flex-direction: column;
    }
    .flavor-faq-accordion-q {
        font-size: 13px;
        padding: 12px 14px;
    }
    .flavor-faq-accordion-a {
        padding: 12px 14px 16px;
    }
}
@media (max-width: 480px) {
    .flavor-review-card {
        padding: 14px;
    }
    .flavor-review-text {
        font-size: 13px;
    }
}

/* ── Floor Plan Grouping: "Also available" date pills ───────────────────── */
.flavor-also-available {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 4px 16px 12px;
}

.flavor-also-label {
    font-size: 13px;
    color: #888;
    font-style: italic;
    white-space: nowrap;
}

.flavor-date-pill {
    display: inline-block;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 500;
    background: #e8f0fe;
    color: var(--flavor-primary, #1a73e8);
    border: 1px solid #c2d9f7;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.flavor-date-pill:hover {
    background: var(--flavor-primary, #1a73e8);
    color: #fff;
    text-decoration: none;
}

.flavor-date-pill-now {
    background: #e6f9e6;
    color: #2e7d32;
    border-color: #b2dfb2;
}

.flavor-date-pill-now:hover {
    background: #2e7d32;
    color: #fff;
}

@media (max-width: 600px) {
    .flavor-also-available {
        padding: 4px 12px 10px;
        gap: 6px;
    }
}
