.mod-messahaspaces {
    --bg: #ffffff;
    --bg-soft: #f5f5f5;
    --surface: #ffffff;
    --surface-2: #fafafa;
    --ink: #111111;
    --ink-soft: #3a3a3a;
    --muted: #6e6e6e;
    --muted-2: #9a9a9a;
    --green: #33c759;
    --green-deep: #33c759;
    --green-soft: #c8e8c2;
    --green-mint: #e6f3df;
    --line: rgba(0, 0, 0, 0.08);
    --line-strong: rgba(0, 0, 0, 0.16);
    color: var(--ink);
    line-height: 1.55;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mod-messahaspaces a {
    color: inherit;
    text-decoration: none;
}

.mod-messahaspaces .shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mod-messahaspaces section {
    position: relative;
}

.mod-messahaspaces .spaces {
    padding: 2rem 0 5rem;
}

.mod-messahaspaces .sec-head {
    margin-bottom: 2.5rem;
}

.mod-messahaspaces .sec-head .eyebrow {
    display: inline-block;
    background: var(--green-mint);
    color: var(--green-deep);
    border-radius: 100px;
    padding: 5px 13px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mod-messahaspaces .sec-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0 0 0.85rem;
}

.mod-messahaspaces .sec-head h2 .green,
.mod-messahaspaces .green {
    color: var(--green-deep);
}

.mod-messahaspaces .sec-head p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.7;
    margin: 0;
}

.mod-messahaspaces .messaha-spaces-empty {
    color: var(--muted);
    font-size: 1rem;
}

.mod-messahaspaces .spaces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mod-messahaspaces .space-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mod-messahaspaces .space-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
}

.mod-messahaspaces .space-photo {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: var(--green-mint);
    position: relative;
}

.mod-messahaspaces .space-photo .price-badge {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    border-radius: 100px;
    padding: 6px 13px;
    font-size: 0.82rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mod-messahaspaces .space-photo .price-badge .currency-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.mod-messahaspaces .space-photo .price-badge .currency_icon {
    display: block;
}

.mod-messahaspaces .space-photo .price-badge .from {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.72rem;
}

.mod-messahaspaces .space-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mod-messahaspaces .space-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    margin: 0 0 0.5rem;
}

.mod-messahaspaces .space-body > p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.mod-messahaspaces .space-body ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
}

.mod-messahaspaces .space-body ul li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    color: var(--ink-soft);
}

.mod-messahaspaces .space-body ul li::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-mint);
    flex-shrink: 0;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233aa845' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
}

.mod-messahaspaces .space-body .space-cta {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--green-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s;
}

.mod-messahaspaces .space-card:hover .space-cta {
    gap: 0.7rem;
}

.mod-messahaspaces .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.mod-messahaspaces .reveal.in {
    opacity: 1;
    transform: translateY(0);
}

html[dir="rtl"] .mod-messahaspaces .space-photo .price-badge {
    left: auto;
    right: 0.85rem;
}

@media (max-width: 980px) {
    .mod-messahaspaces .shell {
        padding: 0 1.25rem;
    }

    .mod-messahaspaces .spaces-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .mod-messahaspaces .spaces-grid {
        grid-template-columns: 1fr;
    }
}
