.goestate-gallery-slider {
    position: relative;
    width: 100%;
}

.goestate-property-overview {
    display: grid;
    gap: 20px;
}

.goestate-property-overview-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    text-align: center;
}

.goestate-property-overview-reference {
    margin: -6px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.goestate-property-overview-reference strong {
    color: #0f172a;
}

.goestate-property-overview-category {
    margin: -6px 0 0;
    text-align: center;
    color: #475569;
    font-size: 16px;
}

.goestate-property-overview-price {
    display: inline-flex;
    flex-wrap: wrap;
    justify-self: center;
    align-items: baseline;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.goestate-property-overview-price strong {
    font-size: 18px;
}

.goestate-property-overview-price span {
    font-size: 24px;
    font-weight: 700;
}

.goestate-property-overview-content {
    color: #334155;
    line-height: 1.75;
}

.goestate-property-overview-content > :first-child {
    margin-top: 0;
}

.goestate-property-overview-content > :last-child {
    margin-bottom: 0;
}

.goestate-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid #dbe2ea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.goestate-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.goestate-features-grid .goestate-feature-chip {
    width: 100%;
    box-sizing: border-box;
}

.goestate-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    flex: 0 0 38px;
}

.goestate-feature-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.goestate-feature-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
}

.goestate-feature-copy strong {
    font-size: 15px;
    color: #0f172a;
}

.goestate-feature-copy small {
    font-size: 12px;
    color: #64748b;
}

.goestate-project-amenities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.goestate-project-amenities li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #dbe2ea;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.goestate-project-amenities img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 24px;
}

.goestate-project-amenities span {
    line-height: 1.2;
}

.goestate-project-models-grid {
    display: grid;
    gap: 24px;
}

.goestate-project-model-card {
    padding: 22px;
    border: 1px solid #dbe2ea;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.goestate-project-model-head {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    text-align: center;
}

.goestate-project-model-title-wrap {
    display: grid;
    gap: 10px;
    min-width: 0;
    justify-items: center;
}

.goestate-project-model-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 26px;
    line-height: 1.1;
}

.goestate-project-model-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.goestate-project-model-price .goestate-feature-icon {
    flex: 0 0 38px;
    background: #ffedd5;
    color: #c2410c;
}

.goestate-project-model-price span {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.goestate-project-model-gallery {
    margin-bottom: 18px;
    background: #fff;
    border-radius: 8px;
}

.goestate-project-model-gallery .goestate-gallery-track {
    background: #fff;
}

.goestate-project-model-gallery .goestate-gallery-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
}

.goestate-project-model-gallery .goestate-gallery-slide img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 296px;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.goestate-project-model-gallery .goestate-gallery-thumb img {
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.goestate-project-model-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    align-items: stretch;
}

.goestate-project-model-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    height: 100%;
    min-height: 76px;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dbe2ea;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.goestate-project-model-stat .goestate-feature-icon {
    flex: 0 0 38px;
}

.goestate-project-model-stat-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    line-height: 1.15;
}

.goestate-project-model-stat strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.goestate-project-model-stat small {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.15;
}

.goestate-project-model-description {
    margin-top: 18px;
    color: #334155;
    line-height: 1.75;
}

.goestate-project-model-description > :first-child {
    margin-top: 0;
}

.goestate-project-model-description > :last-child {
    margin-bottom: 0;
}

.goestate-financing-card {
    display: grid;
    gap: 16px;
}

.goestate-financing-card-box,
.goestate-financing-card-total {
    padding: 18px 20px;
    border: 1px solid #edd8cf;
    border-radius: 16px;
    background: #f6ebe6;
}

.goestate-financing-card-box h3 {
    margin: 0 0 14px;
    color: #ea580c;
    font-size: 24px;
    line-height: 1.2;
}

.goestate-financing-card-rows {
    display: grid;
    gap: 14px;
}

.goestate-financing-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.goestate-financing-card-label {
    font-weight: 700;
    color: #334155;
}

.goestate-financing-card-value {
    color: #334155;
    font-size: 18px;
}

.goestate-financing-card-value small {
    font-size: 15px;
    color: #475569;
}

.goestate-financing-card-total {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.goestate-financing-card-total span,
.goestate-financing-card-total strong {
    color: #ea580c;
    font-size: 24px;
    line-height: 1.2;
}

.goestate-catalog {
    display: grid;
    gap: 28px;
}

.goestate-catalog-filters {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.goestate-catalog-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.goestate-catalog-filter {
    display: grid;
    gap: 5px;
}

.goestate-catalog-filter span {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.01em;
}

.goestate-catalog-filter input,
.goestate-catalog-filter select {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.goestate-catalog-filter input:focus,
.goestate-catalog-filter select:focus {
    border-color: #93c5fd;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.goestate-catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 0;
}

.goestate-catalog-submit,
.goestate-catalog-reset,
.goestate-catalog-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.goestate-catalog-submit,
.goestate-catalog-card-link {
    border: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
    cursor: pointer;
}

.goestate-catalog-reset {
    border: 1px solid #dbe2ea;
    background: #f8fafc;
    color: #334155;
}

.goestate-catalog-submit:hover,
.goestate-catalog-submit:focus-visible,
.goestate-catalog-reset:hover,
.goestate-catalog-reset:focus-visible,
.goestate-catalog-card-link:hover,
.goestate-catalog-card-link:focus-visible {
    transform: translateY(-1px);
}

.goestate-catalog-submit:focus-visible,
.goestate-catalog-reset:focus-visible,
.goestate-catalog-card-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.12);
}

.goestate-catalog-summary {
    color: #64748b;
    font-size: 15px;
}

.goestate-catalog-summary strong {
    color: #0f172a;
}

.goestate-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.goestate-catalog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.goestate-catalog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(30, 41, 59, 0.18);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.11);
}

.goestate-catalog-card-media {
    display: block;
    background: #f8fafc;
    overflow: hidden;
}

.goestate-catalog-card-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.goestate-catalog-card:hover .goestate-catalog-card-media img {
    transform: scale(1.04);
}

.goestate-catalog-card-body {
    display: grid;
    grid-template-rows: minmax(26px, auto) minmax(38px, auto) minmax(32px, auto) minmax(58px, auto) minmax(34px, auto);
    gap: 6px;
    padding: 14px 14px 0;
    height: 100%;
    align-content: start;
}

.goestate-catalog-card-body > * {
    align-self: start;
}

.goestate-catalog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: stretch;
    min-height: 26px;
}

.goestate-catalog-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-height: 26px;
    height: 26px;
    padding: 3px 10px;
    border-radius: 14px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.goestate-catalog-tag-accent {
    background: #fef3c7;
    color: #92400e;
}

.goestate-catalog-tag-sale {
    background: #d35400;
    color: #fff;
}

.goestate-catalog-card-title {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.2;
    min-height: 24px;
    text-align: center;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.goestate-catalog-card-title a {
    color: inherit;
    text-decoration: none;
}

.goestate-catalog-card-title a:hover,
.goestate-catalog-card-title a:focus-visible {
    color: #334155;
    outline: none;
}

.goestate-catalog-card-reference {
    margin-top: -2px;
    text-align: center;
    color: #64748b;
    font-size: 11px;
    line-height: 1.25;
    letter-spacing: 0.03em;
}

.goestate-catalog-card-reference strong {
    color: #334155;
    font-weight: 700;
}

.goestate-catalog-card-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-top: -6px;
    margin-bottom: -4px;
    padding: 5px 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff1e7 100%);
    border: 1px solid #fed7aa;
    color: #9a3412;
    min-height: 32px;
    box-sizing: border-box;
}

.goestate-catalog-card-price.is-empty {
    visibility: hidden;
}

.goestate-catalog-card-price .goestate-feature-icon {
    background: rgba(255, 255, 255, 0.55);
    color: #c2410c;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.goestate-catalog-card-price span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.goestate-catalog-card-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    align-items: stretch;
    align-content: start;
    min-height: 58px;
}

.goestate-catalog-card-features.is-empty {
    visibility: hidden;
}

.goestate-catalog-card-features .goestate-feature-chip {
    width: 100%;
    min-height: 0;
    padding: 4px 8px;
    gap: 5px;
    border-radius: 10px;
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: none;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    box-sizing: border-box;
    align-items: center;
}

.goestate-catalog-card-features .goestate-feature-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 999px;
}

.goestate-catalog-card-features .goestate-feature-icon svg {
    width: 10px;
    height: 10px;
}

.goestate-catalog-card-features .goestate-feature-copy {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    line-height: 1.1;
    min-width: 0;
    flex-wrap: wrap;
}

.goestate-catalog-card-features .goestate-feature-copy strong {
    font-size: 13px;
    line-height: 1.15;
    overflow-wrap: anywhere;
    min-width: 0;
}

.goestate-catalog-card-features .goestate-feature-copy small {
    display: inline;
    font-size: 13px;
    color: #2b2e31;
    white-space: normal;
    overflow-wrap: anywhere;
}

.goestate-catalog-card-footer {
    margin-top: auto;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.goestate-catalog-card-link {
    width: 100%;
    min-height: 28px;
    font-size: 14px;
    letter-spacing: 0.01em;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #334155;
    box-shadow: none;
}

.goestate-catalog-card-link:hover,
.goestate-catalog-card-link:focus-visible {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

.goestate-catalog-empty {
    padding: 28px;
    border: 1px solid #dbe2ea;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: #475569;
    text-align: center;
}

.goestate-catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.goestate-catalog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.goestate-catalog-pagination .page-numbers:hover,
.goestate-catalog-pagination .page-numbers:focus-visible {
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
    outline: none;
}

.goestate-catalog-pagination .page-numbers.current {
    border-color: #0f172a;
    background: #0f172a;
    color: #fff;
}

.goestate-projects-grid-section {
    display: grid;
    gap: 16px;
}

.goestate-projects-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.goestate-projects-grid-title {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.1;
    color: #0f172a;
}

.goestate-projects-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.goestate-projects-home-grid .goestate-catalog-card {
    height: 100%;
}

.goestate-projects-slider {
    --goestate-projects-visible: 3;
    --goestate-projects-gap: 20px;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.goestate-projects-slider-viewport {
    overflow: hidden;
}

.goestate-projects-slider-track {
    display: flex;
    gap: var(--goestate-projects-gap);
    will-change: transform;
}

.goestate-projects-slider-slide {
    flex: 0 0 calc((100% - ((var(--goestate-projects-visible) - 1) * var(--goestate-projects-gap))) / var(--goestate-projects-visible));
    min-width: 0;
}

.goestate-projects-slider-slide .goestate-catalog-card {
    height: 100%;
}

.goestate-projects-slider-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.goestate-projects-slider-nav:hover,
.goestate-projects-slider-nav:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(15, 23, 42, 0.22);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    outline: none;
}

.goestate-projects-slider-nav[hidden] {
    opacity: 0;
    pointer-events: none;
}

.goestate-projects-slider-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.goestate-projects-slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.goestate-projects-slider-dot:hover,
.goestate-projects-slider-dot:focus-visible {
    transform: scale(1.08);
    opacity: 0.9;
    outline: none;
}

.goestate-projects-slider-dot.is-active {
    background: #d35400;
    transform: scale(1.18);
}

.goestate-gallery-track {
    display: grid;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
}

.goestate-gallery-slide {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.goestate-gallery-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.goestate-gallery-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.goestate-gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.goestate-gallery-thumb {
    flex: 0 0 84px;
    width: 84px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 0.18s ease, opacity 0.18s ease;
    opacity: 0.72;
}

.goestate-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goestate-gallery-thumb:hover,
.goestate-gallery-thumb:focus-visible {
    opacity: 1;
    outline: none;
}

.goestate-gallery-thumb.is-active {
    opacity: 1;
    border-color: #2563eb;
}

@media (max-width: 640px) {
    .goestate-projects-slider {
        --goestate-projects-visible: 1;
        --goestate-projects-gap: 14px;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .goestate-projects-slider-nav {
        display: none;
    }

    .goestate-features-grid {
        grid-template-columns: 1fr;
    }

    .goestate-project-model-card {
        padding: 18px;
    }

    .goestate-project-model-head h3 {
        font-size: 22px;
    }

    .goestate-project-model-price span {
        font-size: 18px;
    }

    .goestate-project-model-meta {
        grid-template-columns: 1fr;
    }

    .goestate-catalog-filters,
    .goestate-catalog-card-body {
        padding: 18px;
    }

    .goestate-catalog-card-title {
        font-size: 16px;
    }

    .goestate-catalog-card-features,
    .goestate-catalog-filters-grid,
    .goestate-catalog-grid {
        grid-template-columns: 1fr;
    }

    .goestate-gallery-thumb {
        flex-basis: 72px;
        width: 72px;
        height: 56px;
    }
}

@media (max-width: 1100px) {
    .goestate-projects-slider {
        --goestate-projects-visible: 2;
        --goestate-projects-gap: 16px;
    }

    .goestate-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
