.mlsidx-search {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(700px, 100%);
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #d0d7df;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.mlsidx-search label {
    display: grid;
    gap: 7px;
    color: #253142;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mlsidx-search select {
    width: 100%;
    min-height: 36px;
    border: 1px solid #c2cbd6;
    border-radius: 4px;
    padding: 7px 12px;
    background: #fff;
    color: #1f2937;
    font-size: 15px;
    text-transform: none;
}

.mlsidx-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: end;
}

.mlsidx-price-row {
    grid-template-columns: 1fr auto 1fr;
}

.mlsidx-price-row > span {
    align-self: end;
    padding-bottom: 8px;
    color: #394353;
    font-weight: 700;
}

.mlsidx-search button {
    width: 100%;
    min-height: 41px;
    border: 0;
    border-radius: 4px;
    background: #59b958;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.mlsidx-search button:hover,
.mlsidx-search button:focus {
    background: #41a840;
}

.mlsidx-property-types {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    border: 0;
}

.mlsidx-property-types legend {
    width: 100%;
    margin-bottom: 2px;
    color: #253142;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mlsidx-property-types label {
    display: inline-flex;
    grid-template-columns: none;
    gap: 7px;
    align-items: center;
    color: #2f3744;
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
}

.mlsidx-property-types input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.mlsidx-results-head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 760px;
    margin: 18px 0 26px;
}

.mlsidx-results-head p {
    margin: 0;
    color: #303846;
    font-size: 16px;
}

.mlsidx-sort label {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: #111827;
    font-size: 14px;
}

.mlsidx-sort select {
    min-width: 150px;
    height: 27px;
    border: 1px solid #bfc7d1;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

.mlsidx-grid {
    max-width: 760px;
    width: 100%;
}

.sra-listing-grid .sra-listing-row,
.sra-listing-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}

.sra-listing-row:last-child {
    border-bottom: none;
}

.sra-listing-photo {
    position: relative;
    flex: 0 0 180px !important;
    width: 180px !important;
}

.sra-listing-photo a,
.sra-listing-address a {
    color: inherit;
    text-decoration: none;
}

.mlsidx-card-image {
    width: 180px;
    height: 135px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.mlsidx-image-fallback {
    background: #eef2f6;
    object-fit: cover;
}

.mlsidx-card-body {
    flex: 1 !important;
    min-width: 0;
}

.sra-listing-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.sra-listing-address {
    flex: 1;
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.sra-listing-address a {
    color: #2271b1;
}

.sra-listing-address a:hover {
    color: #135e96;
    text-decoration: underline;
}

.sra-listing-side {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.mlsidx-card-favorite {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
}

.mlsidx-card-favorite:hover,
.mlsidx-card-favorite:focus {
    border-color: #aeb6c0;
    color: #374151;
    outline: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.mlsidx-card-favorite svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mlsidx-favorite-active {
    border-color: #d92d20;
    color: #d92d20;
}

.mlsidx-favorite-active svg {
    fill: currentColor;
}

.sra-listing-excerpt {
    margin: 8px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
}

.mlsidx-card-price {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-end;
    color: #000;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
}

.mlsidx-price-trend {
    display: inline-block;
    width: 0;
    height: 0;
    flex: 0 0 auto;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

.mlsidx-price-trend-down {
    border-top: 13px solid #e11919;
}

.mlsidx-price-trend-up {
    border-bottom: 13px solid #159947;
}

.mlsidx-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
}

.mlsidx-fact-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    min-width: 48px;
    padding: 3px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background: #fafafa;
    text-align: center;
}

.sra-stat-value {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.sra-stat-label {
    color: #777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.2;
    text-transform: uppercase;
}

.sra-listing-attribution {
    margin: 6px 0 0;
    color: #888;
    font-size: 13px;
    line-height: 1.35;
}

.mlsidx-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    max-width: 760px;
    margin: 22px 0 10px;
}

.mlsidx-page-link,
.mlsidx-page-ellipsis {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccd3dc;
    border-radius: 4px;
    padding: 6px 10px;
    background: #fff;
    color: #126db5;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.mlsidx-page-link:hover {
    border-color: #126db5;
    background: #f3f8fc;
    color: #0d5d9e;
}

.mlsidx-page-current {
    border-color: #126db5;
    background: #126db5;
    color: #fff;
    font-weight: 700;
}

.mlsidx-page-prev,
.mlsidx-page-next {
    min-width: 82px;
}

.mlsidx-page-ellipsis {
    border-color: transparent;
    background: transparent;
    color: #667085;
}

.mlsidx-load-more-wrap {
    max-width: 760px;
    margin: 24px 0 12px;
    text-align: center;
}

.mlsidx-load-more {
    display: inline-flex;
    min-height: 42px;
    min-width: 150px;
    align-items: center;
    justify-content: center;
    border: 1px solid #126db5;
    border-radius: 4px;
    padding: 10px 18px;
    background: #126db5;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.mlsidx-load-more:hover:not(:disabled) {
    background: #0d5d9e;
}

.mlsidx-load-more:disabled {
    cursor: wait;
    opacity: 0.72;
}

.mlsidx-load-more-loading::after {
    content: "...";
}

.mlsidx-load-more-message {
    margin: 8px 0 0;
    color: #667085;
    font-size: 13px;
}

.mlsidx-load-more-error {
    color: #b42318;
}

.mlsidx-favorites-message {
    max-width: 760px;
    margin: 18px 0;
    color: #667085;
    font-size: 15px;
}

.mlsidx-favorites-error {
    color: #b42318;
}

.mlsidx-detail {
    max-width: 980px;
    margin: 0 auto;
    color: #1f2933;
}

.mlsidx-property-hero {
    padding: 8px 0 18px;
    border-bottom: 1px solid #e0e0e0;
}

.mlsidx-back {
    display: inline-block;
    margin-bottom: 10px;
    color: #5b6673;
    font-size: 13px;
    text-decoration: none;
}

.mlsidx-back::before {
    content: "< ";
}

.mlsidx-property-hero h1 {
    margin: 0 0 14px;
    color: #222;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.22;
}

.mlsidx-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: end;
    margin-bottom: 14px;
}

.mlsidx-hero-stats > strong {
    margin-right: 12px;
    color: #111;
    font-size: 30px;
    line-height: 1;
}

.mlsidx-hero-stats span {
    display: grid;
    min-width: 54px;
    text-align: center;
}

.mlsidx-hero-stats span strong {
    color: #111;
    font-size: 25px;
    line-height: 1;
}

.mlsidx-hero-stats span small {
    color: #5e6a76;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
}

.mlsidx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mlsidx-actions a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid #ccd3dc;
    border-radius: 3px;
    padding: 7px 12px;
    background: #f8fafc;
    color: #32465a;
    font-size: 13px;
    text-decoration: none;
}

.mlsidx-detail-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin: 18px 0 8px;
}

.mlsidx-detail-gallery button {
    display: block;
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.mlsidx-detail-gallery img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 2px;
}

.mlsidx-gallery-links {
    display: flex;
    gap: 16px;
    margin: 8px 0 18px;
}

.mlsidx-gallery-links a {
    color: #126db5;
    font-size: 14px;
    text-decoration: none;
}

.mlsidx-quickfacts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #dbe1e8;
    border-left: 1px solid #dbe1e8;
    margin: 12px 0 16px;
}

.mlsidx-quickfacts div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    min-height: 62px;
    border-right: 1px solid #dbe1e8;
    border-bottom: 1px solid #dbe1e8;
    padding: 10px 12px;
}

.mlsidx-quickfacts dt {
    color: #566473;
    font-size: 13px;
}

.mlsidx-quickfacts dd {
    margin: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.mlsidx-actions-secondary {
    margin: 8px 0 20px;
}


.mlsidx-detail-section {
    padding: 22px 0;
    border-top: 1px solid #e5e7eb;
}

.mlsidx-detail-section h2 {
    margin: 0 0 14px;
    color: #30343b;
    font-size: 20px;
    line-height: 1.25;
}

.mlsidx-detail-section p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.68;
}

.mlsidx-listed-by,
.mlsidx-source {
    margin: 12px 0 0;
    color: #667085;
    font-size: 14px;
}

.mlsidx-source {
    margin-bottom: 10px;
}

.mlsidx-map-embed {
    height: 310px;
    overflow: hidden;
    border: 1px solid #d8dee7;
    border-radius: 4px;
    background: #e8f2ee;
}

.mlsidx-map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.mlsidx-map-link {
    display: inline-block;
    margin-top: 8px;
    color: #126db5;
    font-size: 14px;
}

.mlsidx-feature-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 34px;
}

.mlsidx-feature-groups h3 {
    margin: 0 0 10px;
    color: #334155;
    font-size: 18px;
}

.mlsidx-feature-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.mlsidx-feature-list div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid #edf1f5;
}

.mlsidx-feature-list dt {
    font-weight: 700;
    color: #374151;
}

.mlsidx-feature-list dd {
    margin: 0;
    color: #4b5563;
}

.mlsidx-listing-price strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 26px;
}

.mlsidx-mortgage .mlsidx-calculator {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.mlsidx-calculator label {
    display: grid;
    gap: 5px;
    color: #566473;
    font-size: 13px;
}

.mlsidx-calculator input {
    width: 100%;
    min-height: 34px;
    border: 1px solid #cbd5df;
    padding: 6px 8px;
}

.mlsidx-calculator button {
    min-height: 34px;
    border: 0;
    border-radius: 3px;
    background: #126db5;
    color: #fff;
    font-weight: 700;
}

.sra-single-wrapper {
    max-width: 960px;
}

.sra-back-link {
    margin: 0 0 16px;
    font-size: 14px;
}

.sra-back-link a {
    color: #2271b1;
    text-decoration: none;
}

.sra-back-link a:hover {
    text-decoration: underline;
}

.sra-single-gallery {
    position: relative;
    margin-bottom: 24px;
}

.sra-gallery-main {
    position: relative;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 6px;
    background: #000;
}

.sra-main-photo {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    cursor: pointer;
}

.sra-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    width: 40px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.sra-gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
}

.sra-gallery-prev {
    left: 8px;
}

.sra-gallery-next {
    right: 8px;
}

.sra-gallery-counter {
    position: absolute;
    right: 12px;
    bottom: 8px;
    border-radius: 12px;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
}

.sra-fullscreen-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.sra-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.sra-gallery-thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.sra-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 3px;
    object-fit: cover;
    opacity: 0.7;
    cursor: pointer;
}

.sra-thumb:hover,
.sra-thumb-active {
    opacity: 1;
}

.sra-thumb-active {
    border-color: #2271b1;
}

.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-single-gallery {
    overflow: hidden;
    border-radius: 6px;
}

.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-single-gallery img,
.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-gallery-main,
.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-main-photo {
    filter: blur(9px) !important;
    pointer-events: none !important;
    user-select: none !important;
}

.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-gallery-arrow,
.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-fullscreen-btn,
.mlsidx-ghl-locked:not(.mlsidx-ghl-unlocked) .sra-gallery-thumbs {
    pointer-events: none;
}

.mlsidx-view-account-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    border: 1px solid #d9e7f3;
    border-radius: 6px;
    padding: 14px 16px;
    background: #f8fbff;
}

.mlsidx-view-account-panel strong {
    display: block;
    margin: 0 0 4px;
    color: #111827;
    font-size: 16px;
}

.mlsidx-view-account-panel p {
    margin: 0;
    color: #526071;
    font-size: 14px;
    line-height: 1.45;
}

.mlsidx-ghl-unlocked .mlsidx-view-account-panel {
    display: none;
}

.sra-gallery-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.sra-gallery-signin-btn {
    padding: 10px 20px;
    border: 1px solid #1a5f7a;
    border-radius: 4px;
    background: #1a5f7a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sra-gallery-signin-btn:hover {
    background: #14505a;
}

.sra-gallery-account-btn {
    padding: 10px 20px;
    border: 1px solid #1a5f7a;
    border-radius: 4px;
    background: #fff;
    color: #1a5f7a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sra-gallery-account-btn:hover {
    background: #1a5f7a;
    color: #fff;
}

.mlsidx-ghl-modal[hidden] {
    display: none;
}

.mlsidx-ghl-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.58);
}

.mlsidx-ghl-modal-panel {
    position: relative;
    width: min(100%, 430px);
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
}

.mlsidx-ghl-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.mlsidx-account-control {
    display: inline-grid;
    gap: 4px;
}

.mlsidx-account-button {
    min-height: 38px;
    border: 1px solid #126db5;
    border-radius: 4px;
    padding: 8px 14px;
    background: #126db5;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mlsidx-account-button:hover,
.mlsidx-account-button:focus {
    background: #0d5d9e;
}

.mlsidx-account-signed-in .mlsidx-account-button {
    border-color: #d0d5dd;
    background: #fff;
    color: #344054;
}

.mlsidx-account-status {
    color: #667085;
    font-size: 12px;
}

.mlsidx-ghl-modal-panel h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
}

.mlsidx-ghl-modal-panel p {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.mlsidx-ghl-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 16px;
    border-radius: 6px;
    padding: 4px;
    background: #eef2f6;
}

.mlsidx-ghl-tab {
    min-height: 36px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #526071;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mlsidx-ghl-tab-active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.mlsidx-ghl-form {
    display: grid;
    gap: 12px;
}

.mlsidx-ghl-form label[hidden] {
    display: none;
}

.mlsidx-ghl-form label {
    display: grid;
    gap: 5px;
    color: #243244;
    font-size: 13px;
    font-weight: 700;
}

.mlsidx-ghl-form input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #cbd5df;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 15px;
    box-sizing: border-box;
}

.mlsidx-ghl-form button {
    min-height: 42px;
    border: 0;
    border-radius: 4px;
    background: #126db5;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.mlsidx-ghl-form button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.mlsidx-ghl-message {
    min-height: 18px;
    margin: 0;
    color: #166534;
    font-size: 13px;
}

.mlsidx-ghl-message-error {
    color: #b42318;
}

.sra-single-header {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.sra-single-price {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.sra-single-address-block {
    flex: 1;
    min-width: 0;
}

.sra-single-address {
    margin: 0 0 10px;
    color: #222;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.sra-single-badges,
.sra-feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sra-badge {
    border: 1px solid #d0dae4;
    border-radius: 4px;
    padding: 4px 12px;
    background: #f0f4f8;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.sra-single-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sra-icon-action {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 2px solid #d7d7d7;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sra-icon-action:hover,
.sra-icon-action:focus,
.sra-share-copied {
    border-color: #aeb6c0;
    color: #374151;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    outline: none;
}

.sra-icon-action svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sra-favorite-btn svg {
    fill: none;
}

.sra-icon-action.mlsidx-favorite-active {
    border-color: #d92d20;
    color: #d92d20;
}

.mlsidx-card-favorite.mlsidx-favorite-active svg,
.sra-icon-action.mlsidx-favorite-active svg {
    fill: currentColor;
}

.sra-feature-badges {
    margin-bottom: 24px;
}

.sra-feature-badge {
    border: 1px solid #c3e0c3;
    border-radius: 4px;
    padding: 4px 12px;
    background: #eaf4ea;
    color: #2d6a2d;
    font-size: 13px;
}

.sra-description-section,
.sra-map-section,
.sra-facts-section,
.sra-price-section {
    margin-bottom: 28px;
}

.sra-description-section h2,
.sra-map-section h2,
.sra-facts-section h2,
.sra-price-section h2 {
    margin: 0 0 10px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.sra-description-text {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

.sra-key-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 16px 20px;
    background: #f8f9fa;
}

.sra-key-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.sra-key-stat-value {
    color: #222;
    font-size: 16px;
    font-weight: 700;
}

.sra-key-stat-label {
    color: #777;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sra-listed-by {
    margin: 0 0 8px;
    color: #999;
    font-size: 12px;
}

.sra-listed-by strong {
    color: inherit;
    font-weight: 400;
}

.sra-source-attribution {
    margin: 0 0 16px;
    color: #999;
    font-size: 12px;
}

.sra-map-wrapper {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.sra-map-wrapper .mlsidx-map-embed {
    border: 0;
    border-radius: 0;
}

.sra-map-wrapper .mlsidx-map-link {
    margin: 8px 12px 12px;
}

.sra-facts-section h2 {
    margin-bottom: 16px;
    border-bottom: 2px solid #e8e8e8;
    padding-bottom: 8px;
}

.sra-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sra-facts-group {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 16px;
    background: #f9fafb;
}

.sra-facts-group h3 {
    margin: 0 0 12px;
    color: #555;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sra-facts-list {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 6px;
    margin: 0;
}

.sra-facts-list dt,
.sra-facts-list dd {
    font-size: 14px;
}

.sra-facts-list dt {
    color: #555;
    font-weight: 600;
}

.sra-facts-list dd {
    margin: 0;
    color: #333;
}

.sra-price-display {
    margin: 0 0 4px;
    color: #1a1a1a;
    font-size: 29px;
    font-weight: 700;
}

.sra-modification-date {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.mlsidx-notice {
    margin-top: 28px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    color: #475569;
    font-size: 13px;
}

.mlsidx-error {
    border: 1px solid #f3a3a3;
    background: #fff1f1;
    padding: 12px;
    color: #8a1616;
}

@media (max-width: 900px) {
    .mlsidx-quickfacts,
    .mlsidx-feature-groups,
    .mlsidx-feature-list,
    .mlsidx-mortgage .mlsidx-calculator,
    .sra-facts-grid {
        grid-template-columns: 1fr;
    }

    .sra-single-header {
        flex-direction: column;
        gap: 8px;
    }

    .sra-single-price {
        font-size: 26px;
    }

    .sra-thumb {
        width: 60px;
        height: 45px;
    }

    .mlsidx-search {
        padding: 18px;
    }

    .mlsidx-search-row,
    .mlsidx-price-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mlsidx-price-row > span {
        display: none;
    }

    .sra-listing-grid .sra-listing-row,
    .sra-listing-row {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .sra-listing-photo {
        flex: unset !important;
        width: 100% !important;
    }

    .mlsidx-card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .mlsidx-card-price {
        min-width: 0;
        justify-content: flex-start;
        text-align: left;
    }

    .sra-listing-header {
        flex-direction: column;
        gap: 6px;
    }

    .mlsidx-card-side {
        justify-items: start;
    }

    .mlsidx-card-facts {
        justify-content: flex-start;
        max-width: none;
    }

    .mlsidx-fact-badge {
        min-width: 78px;
    }

    .mlsidx-pagination {
        max-width: none;
    }

    .mlsidx-detail-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
    }
}



