:root {
    --color-bg-btn-see-listing: #2B3A55;
    --color-border-btn-see-listing: transparent;
    --color-text-btn-see-listing: #fff;

    --color-bg-btn-free-valuation: #F4C542;
    --color-border-btn-free-valuation: transparent;
    --color-text-btn-free-valuation: #fff;

    --color-graph-circle-stroke: #101956;
    --color-graph-circle-fill: #eef1ff;
    --color-graph-line: #333333;
    --color-graph-walker: #101956;

    --color-border-button-prev: #0002;
    --color-bg-view-all-listing: #fff;
    --color-view-all-listing: #101956;

    --color-border-success: #0001;
    --color-bg-success-complete: #22C55E;
    --color-text-success-complete: #fff;
    --color-static-background: #F0FDF4;
    --color-static-green: #27AA57;
    --color-month-background: #EFF6FF;
    --color-month-blue: #2C3B55;
    --color-faq-switch: black;

    --color-bg-alert: #EFF6FF;
    --color-bg-alert-error: #FEF2F2;
    --color-border-alert: #E5E7EB;

    --color-bg-quick-wrapper-item: #F3F4F6;
    --color-text-quick-wrapper-item: black;
    --color-hover-quick-wrapper-item: #DBEAFE;
    --color-svg-quick-wrapper-item: #374151;
    --color-border-btn-wrapper-btn: transparent;
    --color-text-btn-wrapper-btn: #fff;

}

:root[data-theme="dark"] {
    --color-bg-btn-see-listing: transparent;
    --color-border-btn-see-listing: #515f79;
    --color-text-btn-see-listing: #515f79;

    --color-bg-btn-free-valuation: none;
    --color-border-btn-free-valuation: #F4C542;
    --color-text-btn-free-valuation: #F4C542;

    --color-graph-circle-stroke: #1d4ed8;
    --color-graph-circle-fill: #eef1ff;
    --color-graph-line: #585858;
    --color-graph-walker: #1d4ed8;

    --color-border-button-prev: #b1b1b122;
    --color-bg-view-all-listing: transparent;
    --color-view-all-listing: #9b9b9b;

    --color-border-success: #b1b1b122;
    --color-bg-success-complete: #303030;
    --color-text-success-complete: #22C55E;
    --color-static-background: #d5e1d8;
    --color-static-green: #27AA57;
    --color-month-background: #cdd3db;
    --color-month-blue: #2C3B55;
    --color-faq-switch: #6e6e6e;

    --color-bg-alert: none;
    --color-bg-alert-error: none;
    --color-border-alert: #ffffff5a;

    --color-bg-quick-wrapper-item: transparent;
    --color-text-quick-wrapper-item: #9b9b9b;
    --color-hover-quick-wrapper-item: #1D4ED8;
    --color-svg-quick-wrapper-item: #9b9b9b;
    --color-border-btn-wrapper-btn: #1D4ED8;
    --color-text-btn-wrapper-btn: #1D4ED8;
}

main {
    padding: 0 !important;
    max-width: 100% !important;
    padding-bottom: var(--padding-main) !important;
}

h2 {
    font-size: var(--text-heading2);
    font-weight: 600;
    text-align: center;
    color: var(--color-heading-black);
}

.slide-section {
    position: relative;
    width: 100%;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider img {
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    object-fit: cover;
    aspect-ratio: 15 / 6;
    /* mobile default */
    opacity: .8;
    filter: brightness(50%);
    transition: filter .4s ease;
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    color: white;
    padding: 0 16px;
}

.overlay h1,
.overlay h2 {
    font-size: var(--text-heading1);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.overlay p {
    font-weight: 300;
    color: white;
    opacity: .85;
}

.btn-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--box-radius);
    padding: var(--padding-button);
    border: 1px solid;
    background-color: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .02em;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
    text-decoration: none;
}

.btn--listing {
    border-color: var(--color-border-btn-see-listing);
    background-color: var(--color-bg-btn-see-listing);
    color: var(--white);
}

.btn--listing svg path {
    fill: var(--color-text-btn-see-listing);
}

.btn--listing:hover {
    background-color: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .6);
}

.btn--valuation {
    border-color: var(--color-border-btn-free-valuation);
    background-color: var(--color-bg-btn-free-valuation);
    color: var(--white);
}

.btn--valuation svg path {
    fill: var(--color-text-btn-free-valuation);
}

.btn--valuation:hover {
    background-color: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .6);
}

/* ─── Trust badges ───────────────────────────────────────── */
.trust-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-item p {
    color: var(--white);
    opacity: .75;
    font-size: .85rem;
}

/* ─── Auto-play dots ─────────────────────────────────────── */
.dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    border: none;
    cursor: pointer;
    transition: background .3s, transform .3s;
    padding: 0;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.listing-card-skeleton {
    width: 220px;
    /* match your real card width */
    height: 280px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(90deg,
            var(--color-background-secondary) 25%,
            var(--color-background-tertiary) 50%,
            var(--color-background-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media only screen and (max-width:800px) {
    .slider img {
        aspect-ratio: 1 / 1;
    }

    .overlay {
        gap: 6px;
    }

    .trust-row {
        display: none;
    }
}