:root {
    --red: #f71f1f;
    --blue: rgb(15, 107, 226);
    --green: #11b534;
    --dark: #272727;
    --grey: #c3c3c3;
    --light: #f7f7f8;
}

.text-blue {
    color: var(--blue);
}

.text-red {
    color: var(--red);
}

.text-green {
    color: var(--green);
}

.text-dark {
    color: var(--dark);
}

.text-grey {
    color: var(--grey);
}

.text-light {
    color: var(--light);
}

.bg-blue {
    background-color: var(--blue);
}

.bg-red {
    background-color: var(--red);
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    color: var(--dark);
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

.header {
    position: relative;
    z-index: 997;
}

.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.footer {
    background-color: var(--light);
    padding-top: 71px;
    padding-bottom: 85px;
    position: relative;
}

.footer-bottom-wrapper {
    margin-top: 62px;
}

.footer-person-wrapper {
    position: absolute;
    width: 103px;
    border: 4px solid white;
    border-radius: 50%;
    top: -51px;
    left: 50%;
    transform: translateX(-50%);
}

.footer-copyright-text,
.footer-copyright-year {
    font-size: 12px;
    line-height: 26px;
    text-align: center;
}

.header-nav {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header-wrapper {
    position: fixed;
    top: -1px;
    left: 0;
    width: 100%;
}

.nav-link {
    position: relative;
}

.desktop-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -43px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 4px;
    background-color: var(--blue);
}

.desktop-nav .nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: -43px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 4px;
    background-color: rgba(15, 107, 226, 0.2);
}

.mobile-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: -40px;
    top: -15px;
    width: 6px;
    height: 48px;
    background-color: var(--blue);
}

.hero-scroll-wrapper {
    margin-bottom: 50px;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 29px;
}

.hamburger-menu .bar {
    height: 5px;
    background-color: black;
    border-radius: 2px;
    transform-origin: center;
    transition:
        transform 0.3s ease,
        opacity 0.2s ease,
        width 0.3s ease;
}

.hamburger-menu .bar-lg {
    width: 29px;
}
.hamburger-menu .bar-sm {
    width: 15px;
}

.hamburger-menu.active .bar-sm {
    opacity: 0;
    width: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    width: 25px;
    transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    width: 25px;
    transform: translateY(0px) rotate(-45deg);
}

.container-width {
    max-width: 1120px;
}

.mobile-nav {
    transform: translatex(-100%);
    transition: all 1s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 996;
    transition: all 0.3s ease;
    padding-top: 8.5rem;
    padding-bottom: 2rem;
    background-color: white;
}

.lupa-wrapper {
    display: none;
}
.mobile-phone-panel,
.secret-panel {
    transform: translatey(-100%);
    transition: all 1s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
    padding-bottom: 2rem;
    background-color: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.secret-panel .mobile-phone-number {
    text-align: center;
}

.mobile-nav .header-nav-links {
    text-align: left;
}

.agent-info {
    text-align: left;
}

.mobile-nav.active {
    transform: translatex(0);
    transition: all 0.3s ease;
}

.mobile-phone-panel.active,
.secret-panel.active {
    transform: translatey(0);
    transition: all 0.3s ease;
}

.mobile-phone-panel-overlay,
.secret-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: -1;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s ease;
}

.mobile-phone-panel-overlay.active,
.secret-panel-overlay.active {
    visibility: visible;
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 998;
}

.mobile-phone-agent {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    color: var(--blue);
    margin-top: 10px;
}

.mobile-phone-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: auto;
    position: relative;
    left: 5px;
}

.mobile-phone-icon-link {
    position: relative;
    z-index: 10;
}
.mobile-phone-icon-wrapper::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 116px;
    height: 116px;
    background: rgba(247, 31, 31, 1);
    border-radius: 50%;
    top: -11px;
    left: -10px;
    animation: soldPulse 2s ease 0s infinite normal forwards;
}

.mobile-phone-icon {
    width: 100px;
    height: 100px;
}

.mobile-phone-about {
    font-size: 16px;
    line-height: 26px;
    width: 65%;
    margin: auto;
    margin-bottom: 30px;
}

.mobile-phone-number {
    color: var(--red);
    font-weight: 600;
    font-size: 24px;
    line-height: 26px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.hero-icon {
    width: 71px;
}

.mobile-phone-sub {
    font-size: 14px;
    line-height: 22px;
    color: var(--dark);
    width: 55%;
    margin: auto;
}

.header-nav-links {
    display: flex;
    flex-direction: column;
    padding-left: 11px;
    padding-right: 2rem;
}

.header-nav-links li {
    padding: 0.9rem 1.875rem;
    border-bottom: 1px solid var(--grey);
}

.header-nav-links li:last-child {
    border-bottom: none;
}

.nav-link {
    text-transform: uppercase;
    font-weight: 600;
}

.mobile-nav-row {
    gap: 12px;
    padding: 0 1.375rem;
}

.mobile-nav-status {
    position: absolute;
    top: 0;
    right: 0;
}

.user-agency {
    color: var(--grey);
}

.desktop-nav {
    display: none;
}

.hero-section {
    position: relative;
}

.hero-img {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    max-width: 548px;
    transform: translateY(50px);
    transition: all 1s ease;
}

.hero-contact {
    display: none;
}

.hero-bar {
    display: none;
}

.hero-content {
    padding: 108px 20px 50px 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 65px;
}

.circle-margin-fix {
    margin-left: -7px;
}

.hero-title {
    font-size: 68px;
    font-weight: 800;
    color: white;
    text-shadow: 2px 4px 10px #00000040;
    margin: 155px auto 0.5rem auto;
    line-height: 73px;
    max-width: 330px;
}

.hero-subtitle-container {
    margin: auto;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: white;
    font-size: 1rem;
    letter-spacing: 0.1px;
    font-weight: 600;
    max-width: 310px;
    margin: auto;
}

.hero-subtitle p {
    padding: 8px 20px;
    background-color: var(--blue);
    display: inline-block;
    margin-top: -5px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 50px;
}

.hero-btn {
    border: 2px solid var(--blue);
    border-radius: 10px;
    padding: 12px;
    color: var(--blue);
    background-color: white;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-btn:hover {
    background-color: var(--blue);
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-scroll-icon {
    margin: auto;
}

.section-title {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 15px;
}

.lh-lg {
    line-height: 24px;
}

.timeline-line {
    width: 100%;
    height: 3px;
    background-color: rgba(15, 107, 226, 0.15);
    position: relative; /* <-- add */
    overflow: hidden; /* <-- add */
}

.timeline-line::before {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--fill, 0%);
    background-color: var(--blue);
    transition: width var(--fillDuration, 5000ms) linear;
    transition-duration: var(--fillDur, var(--fillDuration, 5000ms));
}

/* dot becomes “active” (customize how you want) */
.timeline-dot.is-active {
    /* example only */
    background-color: var(--blue);
    box-shadow: 0 0 0 10px rgba(15, 107, 226, 0.1);
}

.timeline-dot.is-active .timeline-text {
    font-weight: 700;
}

.timeline-dot.is-active .timeline-text-one {
    top: -55px;
}

.timeline-dot.is-active .timeline-text-two {
    top: -65px;
}

.timeline-dot.is-active .timeline-text-three {
    top: -66px;
}

.timeline-dot.is-active .timeline-text-four {
    top: -72px;
}

.timeline-emoji.is-done {
    background-color: var(--blue);
}

.timeline-dot {
    width: 11px;
    height: 11px;
    background-color: var(--blue);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-dot:nth-of-type(2) {
    left: 0%;
    transform: translate(0, -50%);
}
.timeline-dot:nth-of-type(3) {
    left: 23%;
}
.timeline-dot:nth-of-type(4) {
    left: 48%;
}
.timeline-dot:nth-of-type(5) {
    left: 73%;
}

.timeline-emoji-wrapper {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9;
    cursor: pointer;
}

.secret-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 20px;
    text-align: center;
}

.secret-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue);
    text-align: center;
}

.secret-code {
    font-size: 20px;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 2px;
    margin-top: 4px;
    text-align: center;
}

.secret-description {
    font-size: 16px;
    font-weight: 400;
    margin-top: 12px;
    margin-bottom: 20px;
    padding: 0 12px;
    text-align: center;
    line-height: 21px;
}

.secret-phone-agent,
.secret-phone-about {
    font-size: 16px;
    line-height: 22px;
    color: var(--blue);
    text-align: center;
}
.secret-phone-agent {
    font-weight: 700;
    margin-top: -10px;
    text-align: center;
}

.secret-phone-about {
    padding: 0 35px;
    text-align: center;
}

.secret-green-box {
    background-color: rgba(233, 255, 237, 1);
    border: 1px dashed rgba(40, 229, 81, 1);
    border-radius: 10px;
    padding: 10px 0;
}

.secret-content {
    padding: 10px 20px 0 20px;
}

.timeline-emoji {
    width: 49px;
    height: 49px;
    background-color: #dbe9fb;
    border-radius: 50%;
    position: relative;
}

.timeline-emoji-eye {
    position: absolute;
    height: 7px;
    width: 7px;
    background-color: white;
    top: 16px;
    border-radius: 50%;
}

.absolute-center-x {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-wrapper {
    margin-top: 115px;
    margin-bottom: 45px;
}

.timeline-text {
    display: inline-block;
    transform: rotate(307deg);
    position: absolute;
    left: -10px;
    color: var(--blue);
    white-space: nowrap;
}

.timeline-text-one {
    top: -55px;
}

.timeline-text-two {
    top: -63px;
}

.timeline-text-three {
    top: -64px;
}

.timeline-text-four {
    top: -70px;
}

.btn {
    border-radius: 10px;
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn {
    background-color: var(--blue);
    color: white;
    padding: 18px 0;
    font-weight: 500;
}

.contact-btn:hover,
.info-btn:hover,
.write-btn:hover {
    background-color: rgba(24, 124, 255, 1);
}

.sold-btn {
    border-radius: 10px;
    border: 1px solid var(--blue);
    color: var(--dark);
    padding: 10px 20px;
    transition: all 0.3s ease;
    background-color: white;
}

.sold-btn:hover {
    background-color: var(--blue);
    color: white;
    border-color: var(--blue);
}

.info-btn,
.write-btn {
    background-color: var(--blue);
    color: white;
    padding: 15px 41px;
    font-weight: 500;
}

.write-btn {
    padding: 15px 0;
}

.form-btn {
    background-color: var(--green);
    color: white;
    padding: 18px 0 19px 0;
    font-weight: 500;
    line-height: 24px;
    border: none;
    width: 100%;
}

.form-btn:hover {
    background-color: rgba(34, 204, 74, 1);
}

.contact-btn-icon {
    position: absolute;
    top: 50%;
    right: 21px;
    transform: translateY(-50%);
    color: white;
}

.timeline-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 20px 0px 20px 20px;
}

.timeline-list li {
    list-style-image: url("/img/tick.svg");
    padding-left: 0px;
}

.timeline-list-wrapper {
    padding: 5px 13px 5px 25px;
    border: 1px solid rgba(195, 195, 195, 0.24);
    border-radius: 10px;
    margin-bottom: 25px;
}

.timeline-circle {
    width: 49px;
    height: 49px;
    background-color: white;
    border-radius: 50%;
    color: white;
    border: none;
    outline: none;
}

.timeline-circle svg {
    fill: var(--blue);
}

.info-section {
    margin: 0 24px;
    position: relative;
}

.footer-social-links {
    gap: 21px;
    margin-bottom: 12px;
    justify-content: center;
    align-items: center;
}

.facebook-footer-logo,
.youtube-footer-logo {
    width: 30px;
    height: 30px;
}

.instagram-footer-logo {
    width: 27px;
    height: 27px;
}

.youtube-footer-logo {
    position: relative;
    top: 3px;
}

.timeline-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 250ms ease;
}

/* keď je wrapper otvorený */
.timeline-list-wrapper.is-open .timeline-content {
    max-height: 1000px; /* stačí "dosť veľké" číslo */
}

/* “tlačidlo” */
.timeline-circle {
    cursor: pointer;
    user-select: none;
}

.header-nav-scrolled,
.shadowSet {
    background-color: white;
    box-shadow: 0px 4px 12px 0px #0000001a;
}

.prop-desc {
    margin-bottom: 30px;
}

.timeline-contact-btn {
    margin-top: 15px;
}

.timeline-express-sale {
    position: relative;
    background: #e9ffed;
    border: 1px dashed #28e551;
    padding: 12px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.timeline-express-sale-dt {
    display: none;
}
.clear-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.bubble-tail {
    position: absolute;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 29px;
    height: 19px;
    pointer-events: none;
    z-index: 2;
}

.tail-fill {
    fill: #e9ffed;
}

.tail-dash {
    stroke: #28e551;
    stroke-width: 2;
    stroke-dasharray: 5 5;
    stroke-linecap: butt;
}

.timeline-trigger-collapse,
.btn {
    cursor: pointer;
}

.current-section {
    margin: 100px 24px 0 24px;
}

.current-section-detail {
    display: none;
}

.current-cards-wrapper {
    margin-top: 30px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: stretch;
    gap: 30px;
}

.current-img-tag,
.detail-img-tag {
    color: white;
    display: inline-block;
    padding: 4px 10px;
}

.show-more-btn {
    border: none;
    padding-top: 18px;
    padding-bottom: 19px;
    border-radius: 10px;
    background-color: var(--blue);
}

.show-more-text {
    color: white;
    font-weight: 500;
    line-height: 24px;
}

.show-more-btn:hover {
    background-color: rgba(24, 124, 255, 1);
    cursor: pointer;
}

.card-image-logo {
    top: 8px;
    left: 8px;
}

.current-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.current-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-image {
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 10;
}

.current-card-content > .flex:last-child {
    margin-top: auto;
}

.grecaptcha-badge {
    position: absolute !important;
}

.buy-property {
    margin-top: 100px;
}

.current-card {
    box-shadow: 2px 4px 12px 0px #0000001a;
    border-radius: 10px;
    overflow: hidden;
    max-width: 390px;
    width: 100%;
    justify-self: stretch;
    margin: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.current-price {
    font-size: 24px;
    line-height: 26px;
}

.current-description {
    font-size: 18px;
    margin-bottom: 14px;
    line-height: 26px;
}

.current-size-one,
.detail-size-one {
    font-size: 12px;
}

.current-size-two,
.detail-size-two {
    font-size: 14px;
}

.current-title {
    margin-bottom: 8px;
}

.current-img-tag,
.detail-img-tag {
    font-size: 14px;
}

.current-info-wrapper,
.detail-info-wrapper {
    align-items: center;
    gap: 10px;
}

.flex-info-container {
    justify-content: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 10px;
}

.detail-info-container {
    gap: 20px;
}

.sold-section {
    margin: 100px 24px 0 24px;
}

.detail-contact-container {
    padding: 0 20px;
    margin: auto;
    max-width: 548px;
}

.contact-avatar {
    width: 87px;
    height: 87px;
    margin: auto;
    margin-bottom: 15px;
}

.contact-title-mb {
    display: block;
}

.contact-avatar-mb {
    display: none;
}

.contact-title-dt {
    display: none;
}

.contact-section {
    margin-top: 103px;
    margin-bottom: 100px;
}

.landing-contact-section {
    margin-top: 103px;
    margin-bottom: 139px;
}

.contact-section-detail {
    margin-top: 23px;
    margin-bottom: 100px;
}

.contact-section-detail .contact-avatar {
    display: none;
}

.contact-title {
    margin-bottom: 30px;
}

.tabs {
    width: 100%;
}

.tabs-header {
    display: flex;
    gap: 15px;
    padding: 0;
    position: relative;
    border-bottom: 1px solid rgba(15, 107, 226, 0.3);
}

.tabs-header-wrapper {
    padding: 0 20px;
    margin: auto;
    max-width: 548px;
}

.tab-btn {
    padding: 14px 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    color: #2563eb;
    position: relative;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--blue);
}

.tab-btn-span {
    display: block;
    text-align: left;
    white-space: nowrap;
}

.tab-btn-span-height {
    min-height: 18px;
    font-size: 14px;
    font-weight: 400;
}

.tab-panel {
    display: none;
    padding: 0;
}

.tab-panel.active {
    display: block;
}

.tabs-content {
    padding: 40px 20px 0 20px;
    max-width: 548px;
    margin: auto;
}

.agent-details p {
    text-align: center;
}

.agent-details-wrapper {
    margin-bottom: 53px;
}

.agent-name {
    color: var(--dark);
    font-weight: 700;
    font-size: 24px;
}

.agent-role {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 30px;
    margin-top: 4px;
}

.agent-address {
    line-height: 26px;
    font-size: 16px;
}

.agent-phone,
.agent-email {
    font-size: 16px;
    line-height: 26px;
    color: var(--blue);
    font-weight: 600;
}

.contact-input {
    outline: 1px solid var(--blue);
    border: none;
    color: var(--blue);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    padding: 14px 19px;
    width: 100%;
}

.contact-input:focus {
    outline: 2px solid var(--blue);
}

.input-wrapper {
    margin-bottom: 20px;
    margin-top: 6px;
}

.form-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    display: block;
    padding-left: 20px;
}

.form-button-wrapper {
    margin-top: 20px;
}

.radio-group {
    display: flex;
    gap: 9px;
    margin-bottom: 30px;
}

/* hide real radios but keep them accessible */
.radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* base button look */
.radio-group label {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid var(--blue);
    color: var(--blue);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    font-weight: 500;
    background: white;
    font-size: 14px;
    font-weight: 700;
    line-height: 26px;
}

/* hover */
.radio-group label:hover {
    border-color: var(--blue);
}

/* checked state */
.radio-group input[type="radio"]:checked + label {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

/* keyboard focus */
.radio-group input[type="radio"]:focus-visible + label {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 2px;
}

.email-decorator {
    top: 0;
    right: 0;
    display: flex;
    gap: 8px;
}

.email-decorator span {
    color: var(--blue);
    font-weight: 500;
    line-height: 20px;
    font-size: 16px;
}

.email-decorator-at,
.email-decorator-domain {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(15, 107, 226, 0.09);
}

.email-decorator-domain {
    border-radius: 17.5px;
    padding: 0 12px;
    cursor: pointer;
}
.email-decorator-at {
    width: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 50%;
}

.email-decorator-at span,
.email-decorator-domain span {
    padding-bottom: 4px;
}

.leaflet-control-attribution {
    display: none !important;
}

.drag-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* important: we scroll horizontally */
    overflow-y: hidden;
    padding: 14px 0px;

    /* hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge legacy */
    cursor: grab;

    /* mobile feel */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x; /* allow horizontal panning */
}

.drag-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.drag-slider.is-dragging {
    cursor: grabbing;
}

.drag-slider,
.drag-slider * {
    -webkit-user-drag: none;
}

.custom-scrollbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;

    height: 6px;
    background: rgba(15, 107, 226, 0.15); /* track */
    border-radius: 0px;
    overflow: hidden;

    /* allow pointer interactions */
    pointer-events: auto;
}

.custom-scrollbar__thumb {
    height: 100%;
    width: 40px; /* will be overridden by JS */
    background: rgba(15, 107, 226, 1);
    border-radius: 999px;
    transform: translateX(0);
    will-change: transform, width;
}

.sold-gradient-overlay {
    height: 100%;
    width: 100px;
    position: absolute;
    top: 0;
    right: -5px;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    display: none;
}

.slide {
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 4px 12px 0px #0000001a;
    max-width: 262px;
    position: relative;
}

.slide-img {
    width: 273px;
    aspect-ratio: 16/10;
    height: auto;
    object-fit: cover;
    display: block;
}

.drag-slider.is-dragging,
.drag-slider.is-dragging * {
    user-select: none;
    -webkit-user-drag: none; /* Safari/Chrome */
}

.sold-badge-wrapper {
    background-color: var(--green);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    top: 22px;
    left: 17px;
}

.sold-badge-wrapper::after {
    content: "";
    position: absolute;
    width: 48px;
    height: 48px;
    background-color: rgba(17, 181, 52, 1);
    border-radius: 50%;
    animation: soldPulse 2s ease 0s infinite normal forwards;
}

@keyframes soldPulse {
    0% {
        opacity: 0.8;
        transform: scale(0.2);
    }

    80% {
        opacity: 0;
        transform: scale(1.2);
    }

    100% {
        opacity: 0;
        transform: scale(2.2);
    }
}

@keyframes youtubePulse {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.2);
    }

    80% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.2);
    }
}

.sold-badge {
    width: 19px;
    height: 12px;
    position: relative;
    z-index: 99;
}

.sold-text {
    font-size: 14px;
    line-height: 20px;
}

.sold-description {
    padding: 15px;
    background: white;
    flex: 1;
}

.container-sold-width,
.container-reviews-width {
    max-width: 1420px;
}

#map,
#map-detail-two,
#map-detail-one {
    height: 355px;
}

#map-detail-two,
#map-detail-one {
    border-radius: 10px;
    width: 100%;
}

.about-text-bold {
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

.about-text-normal {
    text-align: left;
}

.about-text-normal-margin {
    margin-top: 10px;
}

.about-wrappe {
    flex-direction: column;
    gap: 24px;
}

.about-wrapper-img {
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto;
    aspect-ratio: 1;
    max-width: 548px;
    width: 100%;
    height: auto;
}

.reviews-section {
    margin: 35px 24px 0px 24px;
}

.review-slide {
    width: 100%;
    box-shadow: none;
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
    max-width: 548px;
    position: relative;
}

.bubble-tail-review {
    position: absolute;
    bottom: -11px;
    left: 12px;
    transform: rotate(180deg);
    width: 15px;
    height: 12px;
    pointer-events: none;
    z-index: 2;
}

.tail-dash-solid {
    stroke: rgba(255, 237, 202, 1);
    stroke-width: 4;
    stroke-linecap: butt;
}
.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}
.review-text {
    font-size: 14px;
    font-weight: 300;
    text-align: left;
    line-height: 18px;
}

.review-author {
    font-size: 18px;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 2px;
    text-align: left;
}

.review-role {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 11px;
    text-align: left;
}

.review-slide-top {
    padding: 20px 30px;
    border: 1px dashed rgba(255, 237, 202, 1);
    background: rgba(255, 253, 241, 1);
    border-radius: 10px;
    height: 100%;
}

.about-wrapper {
    flex-direction: column;
}

.about-image-logo {
    display: none;
}

.youtube-outer {
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 132px;
    height: 132px;
    border-radius: 50%;
}

.youtube-outer::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    background-color: rgba(247, 31, 31, 1);
    border-radius: 50%;
    animation: youtubePulse 2s ease 0s infinite normal forwards;
}

.youtube-inner {
    position: absolute;
    z-index: 11;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--red);
    cursor: pointer;
}

.youtube-play-button {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.about-section {
    margin: 100px 24px 0px 24px;
}

/* Firefox */
.about-scroll-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #2563eb transparent;
}

/* Chrome / Edge / Safari */
.about-scroll-wrapper::-webkit-scrollbar {
    width: 6px;
}

.about-scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.about-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: #2563eb;
    border-radius: 6px;
}

.about-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #1e4fd6;
}

.detail-top-section {
    margin-top: 93px;
    padding-top: 30px;
}

.detail-wrapper {
    flex-direction: column;
    gap: 30px;
}

.gallery-img {
    width: 127px;
}

.gallery-wrapper {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    margin-left: 20px;
    margin-right: 10px;
    margin-top: 19px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: thin;
    scrollbar-color: #2563eb transparent;
}

.detail-content-wrapper-one {
    margin: 0 20px;
}

.gallery-img-link {
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.detail-img-main-wrapper {
    margin: 0 20px;
    border-radius: 10px;
    overflow: hidden;
}

.detail-title {
    font-weight: 700;
    color: var(--dark);
    font-size: 20px;
    line-height: 29px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.detail-person-wrapper {
    width: 96px;
    position: absolute;
    top: -50px;
    left: 12px;
}

.printer-wrapper {
    display: none;
}

.timeline-how-it-works {
    color: var(--blue);
}

.current-section-detail {
    margin-bottom: 50px;
}

.detail-person-wrapper img {
    border: 6px solid white;
    border-radius: 50%;
}
.tabs-header-wrapper-detail .tabs-header {
    margin: 0 20px;
}

.detail-content-wrapper-two {
    margin-top: 25px;
    background: var(--light);
    padding: 56px 20px 28px 20px;
    position: relative;
}

.contact-price-wrapper-mb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 31px 20px 60px 20px;
}

.detail-write-btn-link {
    min-width: 173px;
}

.detail-price {
    color: var(--blue);
    font-size: 24px;
    line-height: 26px;
    font-weight: 700;
    white-space: nowrap;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.detail-price-mb {
    color: var(--blue);
    font-size: 24px;
    line-height: 26px;
    font-weight: 700;
    white-space: nowrap;
}
.detail-agent-name {
    color: var(--blue);
    font-size: 18px;
    line-height: 23px;
    font-weight: 600;
}

.detail-agent-role {
    font-size: 14px;
    margin-top: 2px;
}

.detail-content-row {
    margin-bottom: 6px;
}

.detail-contact-icon {
    width: 50px;
    display: none;
}

.detail-contact-wrapper {
    margin-top: 21px;
}

.detail-contact {
    font-size: 16px;
    line-height: 26px;
    padding-left: 5px;
}

.contact-price-wrapper-dt {
    display: none;
}

.detail-icon {
    width: 18px;
}

.detail-tabs-section {
    margin-top: 30px;
}

.detail-description {
    text-align: left;
    line-height: 24px;
    margin-bottom: 15px;
}

.tabs-content-detail {
    padding: 34px 20px;
    margin: auto;
}

.tab-panel-detail {
    padding: 0;
}

.detail-tabs-title {
    display: none;
}

.tab-table-row {
    padding: 10px 0;
    border-bottom: 1px solid rgba(195, 195, 195, 0.4);
}

.tab-table-row:last-child {
    border-bottom: none;
}

.detail-tab-title {
    font-weight: 700;
    margin: 0;
    text-align: left;
    font-size: 16px;
    line-height: 22px;
}

#map-detail {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
}

.map-address-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
}

.map-address-location {
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    margin-top: 4px;
}

.map-location-icon {
    width: 15px;
    padding-top: 4px;
}

.map-wrapper-detail-one {
    margin-top: 29px;
}

.map-wrapper-detail-two {
    margin-top: 70px;
}

.map-wrapper-detail {
    gap: 8px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.input-remove-wrapper {
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    background-color: var(--light);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: none;
}

.input-remove-wrapper:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.footer-big-logo {
    display: none;
}

.cross-bar {
    height: 2px;
    width: 13px;
    background-color: var(--grey);
    border-radius: 1px;
}

.cross-bar:first-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.cross-bar:last-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.video-fallback {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 10px;
    z-index: 9999;
}
.video-fallback a {
    color: #fff;
    text-decoration: underline;
}

.timeline-wrapper-two {
    display: none;
}

#property-sell,
#property-buy,
#contact-detail {
    scroll-margin-top: 120px;
}

/* cokies */
/* Konkrétne ten jeden checkbox v cookie lište */
#cookie-analytics {
    accent-color: var(--blue);
}

.footer-cookies-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 400;
}

.footer-cookies-link:hover {
    text-decoration: none;
    color: var(--blue);
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none; /* zobrazí sa cez .show */
    backdrop-filter: blur(4px);
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto 15px auto;
    background: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.cookie-text {
    flex: 1 1 260px;
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
}

.cookie-text a {
    color: var(--blue);
    text-decoration: underline;
}

.cookie-text a:hover {
    text-decoration: none;
}

.cookie-small {
    font-size: 13px;
    color: #666;
}

.cookie-controls {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-toggle-row label {
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.cookie-toggle-row input {
    margin-right: 6px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

/* základ pre všetky cookie tlačidlá */
.mr-cookie-btn,
.mr-cookie-link {
    border-radius: 999px;
    font-size: 13px;
    padding: 8px 14px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

/* Přijmout vše = primárne tlačidlo */
.mr-cookie-btn.mr-accept {
    background: var(--blue);
    color: #fff;
}

.mr-cookie-btn.mr-accept:hover {
    opacity: 0.9;
}

/* Uložit nastavení = outline */
.mr-cookie-btn.mr-save {
    background: transparent;
    border: 1px solid var(--blue);
    color: var(--blue);
}

.mr-cookie-btn.mr-save:hover {
    background: rgba(241, 145, 61, 0.08);
}

/* Odmítnout = textové */
.mr-cookie-link.mr-reject {
    background: transparent;
    color: var(--blue);
    padding-left: 0;
    padding-right: 0;
    border: none;
}

.mr-cookie-link.mr-reject:hover {
    color: #333;
}

/* Tlačidlo Nastavení cookies */
.cookie-settings-btn {
    position: absolute;
    left: 16px;
    bottom: 10px;
    z-index: 99990;
    border-radius: 999px;
    border: 1px solid var(--Primary);
    background: var(--blue);
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.cookie-settings-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        margin: 0 8px 10px 8px;
        padding: 14px 12px;
    }
    .cookie-controls {
        flex: 1 1 100%;
    }
    .cookie-buttons {
        justify-content: flex-start;
    }
}

/* ===========================
   KH MODAL (Success modal)
   =========================== */

.kh-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none; /* otvorí sa cez .is-open */
}

.kh-modal.is-open {
    display: block;
}

/* overlay */
.kh-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* dialog wrapper */
.kh-modal__dialog {
    position: relative;
    z-index: 1;

    /* bezpečné centrovanie na všetkých zariadeniach */
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);

    margin: 16px auto;
    background: #fff;

    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);

    overflow: auto; /* aby sa na tablete neprelievalo */
    -webkit-overflow-scrolling: touch;

    padding: 22px 18px;
}

/* close X */
.kh-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    cursor: pointer;

    font-size: 22px;
    line-height: 38px;
}

.kh-modal__close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* header */
.kh-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.kh-modal__icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
    background: rgba(61, 156, 215, 0.15);
    color: #0b5d8a;
}

.kh-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #111;
}

.kh-modal__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* actions */
.kh-modal__actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

/* drobné zlepšenie pre tvoje buttony */
.kh-modal .btn.form-btn {
    min-width: 180px;
}

.drag-slider-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 180ms ease;
    z-index: 9998;
}

.drag-slider-overlay.is-open {
    opacity: 1;
}

.drag-slider-zoom {
    position: fixed;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    transition:
        transform 180ms ease,
        opacity 180ms ease;
    z-index: 9999;

    /* optional “modal” feel */
    max-width: min(900px, 92vw);
    max-height: min(80vh, 720px);
    overflow: auto;
    border-radius: 14px;
}

.drag-slider-zoom.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
}

/* Optional: make sure the cloned card behaves nicely */
.drag-slider-zoom > * {
    transform: none !important; /* prevent nested transforms from your card styles fighting */
}

.popuptext {
    display: none;
    margin-top: 14px;
}

.drag-slider-zoom .popuptext {
    display: block;
}

.drag-slider-zoom .sold-btn-wrapper {
    display: none;
}
/* ===========================
   TABLET
   =========================== */
@media (min-width: 768px) {
    .kh-modal__dialog {
        width: min(760px, calc(100vw - 64px));
        max-height: calc(100vh - 64px);
        margin: 32px auto;
        padding: 28px 26px;
        border-radius: 22px;
    }

    .kh-modal__title {
        font-size: 20px;
    }

    .kh-modal__text {
        font-size: 15px;
    }
}

/* ===========================
   DESKTOP
   =========================== */
@media (min-width: 1024px) {
    .kh-modal__dialog {
        width: min(820px, calc(100vw - 80px));
        max-height: calc(100vh - 80px);
        margin: 40px auto;
        padding: 34px 34px;
        border-radius: 26px;
    }
}

body.modal-open {
    overflow: hidden;
}
