/*!*************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/css/EstateList.css ***!
  \*************************************************************************************/

.agent-avatar {
    margin-left: -10px;
}

/* Save-search button — match project navy instead of Bootstrap blue */
.estate-list-header .btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.estate-list-header .btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Pagination breakpoint visibility */
.pagination-full,
.pagination-medium,
.pagination-small {
    display: none;
}

@media screen and (max-width: 768px) {
    .pagination-small { display: block; }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .pagination-medium { display: block; margin: 0 auto; }
}

@media screen and (min-width: 992px) {
    .pagination-full { display: block; }
}

/* Pagination design */
.pagination-dark .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination-dark .page-item {
    display: inline-block;
    margin: 0;
}

.pagination-dark .page-item .page-link {
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pagination-dark .page-item .page-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-dark .page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-weight: 700;
    pointer-events: none;
}

.pagination-dark .page-item.next-page .page-link,
.pagination-dark .page-item.previous-page .page-link {
    padding: 0 8px;
}

.pagination-dark .page-item.next-page .page-link:hover,
.pagination-dark .page-item.previous-page .page-link:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.pagination-dark .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

.estate-list-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.estate-back-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 0.35rem;
    opacity: 0.8;
}

.estate-back-link:hover {
    opacity: 1;
    text-decoration: underline;
    color: var(--primary);
}

.estate-list-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.15rem 0;
}

.estate-result-count {
    font-size: 0.875rem;
    color: var(--gray);
}

.agent-name {
    font-size: 1rem;
    line-height: 1.25rem;
    color: var(--dark);
    font-weight: 700;
    margin-left: 5px;
    letter-spacing: -.5px;
}

.agent-info {
    padding-right: 0px;
}

.agent-phone {
    text-decoration: none;
    color: var(--dark);
    font-size: 1rem;
    margin-left: 5px;
    font-weight: 700;
}


.lds-spinner {
    color: var(--primary);
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    background-color: transparent;
    border-radius: 8px;
    padding: 30px;
}

.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: var(--primary);
}

.lds-spinner div:nth-child(1)  { transform: rotate(0deg);   animation-delay: -1.1s; }
.lds-spinner div:nth-child(2)  { transform: rotate(30deg);  animation-delay: -1s; }
.lds-spinner div:nth-child(3)  { transform: rotate(60deg);  animation-delay: -0.9s; }
.lds-spinner div:nth-child(4)  { transform: rotate(90deg);  animation-delay: -0.8s; }
.lds-spinner div:nth-child(5)  { transform: rotate(120deg); animation-delay: -0.7s; }
.lds-spinner div:nth-child(6)  { transform: rotate(150deg); animation-delay: -0.6s; }
.lds-spinner div:nth-child(7)  { transform: rotate(180deg); animation-delay: -0.5s; }
.lds-spinner div:nth-child(8)  { transform: rotate(210deg); animation-delay: -0.4s; }
.lds-spinner div:nth-child(9)  { transform: rotate(240deg); animation-delay: -0.3s; }
.lds-spinner div:nth-child(10) { transform: rotate(270deg); animation-delay: -0.2s; }
.lds-spinner div:nth-child(11) { transform: rotate(300deg); animation-delay: -0.1s; }
.lds-spinner div:nth-child(12) { transform: rotate(330deg); animation-delay: 0s; }

@keyframes lds-spinner {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* Estate container */
.estate-container {
  background-color: var(--gray-light);
  border-radius: 8px;
  padding: 20px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (max-width: 991px) {
  .estate-container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 992px) {
  .estate-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* When map panel is expanded the list panel is too narrow for 2 columns */
.estate-container--narrow {
  grid-template-columns: 1fr !important;
}

/* Skeleton loaders */
.estate-item-skeleton {
    animation: pulse 1.5s ease-in-out infinite;
    background: var(--skeleton);
    border-radius: 8px;
    padding: 16px;
    transition: transform 0.2s ease;
    break-inside: avoid;
    margin-bottom: 16px;
}

@media (min-width: 992px) {
    .estate-item-skeleton {
        margin-bottom: 0;
    }
}

.skeleton-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.skeleton-title {
    width: 70%;
    height: 28px;
    background: var(--skeleton-shine);
    border-radius: 4px;
    margin-bottom: 16px;
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--skeleton-shine);
    border-radius: 4px 4px 0 0;
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-text {
    height: 16px;
    background: var(--skeleton-shine);
    border-radius: 4px;
    animation: pulse 1.5s ease-in-out infinite;
    margin: 4px 0;
}

.skeleton-text.short  { width: 60px; }
.skeleton-text.medium { width: 100px; }
.skeleton-text.long   { width: 150px; }

.skeleton-line {
    height: 14px;
    background: var(--skeleton-shine);
    border-radius: 4px;
    margin-bottom: 8px;
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-line.short { width: 80%; }

@keyframes pulse {
    0%   { opacity: 1; }
    50%  { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Pagination wrapper */
.pagination-dark {
  background-color: var(--gray-light);
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
}

/* Container */
.container-dark {
  background-color: var(--gray-light);
  border-radius: 8px;
  padding: 20px;
}

/* Text helpers */
.text-on-dark {
  color: var(--dark) !important;
  padding: 48px 24px;
}

.text-muted-on-dark {
  color: var(--gray) !important;
}

/* Card variants */
.card-dark {
  background-color: var(--white);
  border: 1px solid var(--border);
  color: var(--dark);
}

.card-dark .card-body {
  background-color: var(--white);
  color: var(--dark);
}

/* Zero-results empty state */
.no-results-wrap {
  padding: 40px 20px;
}

.no-results-box {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dde4f0;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(26,58,107,0.07);
}

.no-results-box__title {
  font-size: 0.97rem;
  font-weight: 600;
  color: #1a3a6b;
  margin-bottom: 14px;
}

.no-results-box__tips {
  font-size: 0.88rem;
  color: #555;
  padding-left: 20px;
  margin-bottom: 22px;
  line-height: 1.8;
}

.no-results-box__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.no-results-box__watchdog-btn {
  font-size: 0.88rem;
  font-weight: 600;
  background: #1a3a6b;
  border-color: #1a3a6b;
  padding: 10px 16px;
  border-radius: 8px;
  text-align: center;
}

.no-results-box__watchdog-btn:hover {
  background: #14306a;
  border-color: #14306a;
}

.no-results-box__back-link {
  font-size: 0.84rem;
  color: #888;
  text-decoration: none;
  text-align: center;
}

.no-results-box__back-link:hover {
  color: #1a3a6b;
}

/*!*****************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/react-image-gallery/styles/css/image-gallery.css ***!
  \*****************************************************************************************************************/
.image-gallery-icon{color:#fff;transition:all .3s ease-out;appearance:none;background-color:rgba(0,0,0,0);border:0;cursor:pointer;outline:none;position:absolute;z-index:4;filter:drop-shadow(0 2px 2px rgb(25.5, 25.5, 25.5))}@media(hover: hover)and (pointer: fine){.image-gallery-icon:hover{color:#337ab7}.image-gallery-icon:hover .image-gallery-svg{transform:scale(1.1)}}.image-gallery-icon:focus{outline:2px solid #337ab7}.image-gallery-using-mouse .image-gallery-icon:focus{outline:none}.image-gallery-fullscreen-button,.image-gallery-play-button{bottom:0;padding:20px}.image-gallery-fullscreen-button .image-gallery-svg,.image-gallery-play-button .image-gallery-svg{height:28px;width:28px}@media(max-width: 768px){.image-gallery-fullscreen-button,.image-gallery-play-button{padding:15px}.image-gallery-fullscreen-button .image-gallery-svg,.image-gallery-play-button .image-gallery-svg{height:24px;width:24px}}@media(max-width: 480px){.image-gallery-fullscreen-button,.image-gallery-play-button{padding:10px}.image-gallery-fullscreen-button .image-gallery-svg,.image-gallery-play-button .image-gallery-svg{height:16px;width:16px}}.image-gallery-fullscreen-button{right:0}.image-gallery-play-button{left:0}.image-gallery-top-nav,.image-gallery-bottom-nav{padding:10px 10px;left:50%;transform:translateX(-50%)}.image-gallery-top-nav .image-gallery-svg,.image-gallery-bottom-nav .image-gallery-svg{height:120px;width:90px}@media(max-width: 768px){.image-gallery-top-nav .image-gallery-svg,.image-gallery-bottom-nav .image-gallery-svg{height:72px;width:48px}}@media(max-width: 480px){.image-gallery-top-nav .image-gallery-svg,.image-gallery-bottom-nav .image-gallery-svg{height:48px;width:36px}}.image-gallery-top-nav[disabled],.image-gallery-bottom-nav[disabled]{cursor:disabled;opacity:.6;pointer-events:none}.image-gallery-top-nav{top:0}.image-gallery-bottom-nav{bottom:0}.image-gallery-left-nav,.image-gallery-right-nav{padding:50px 10px;top:50%;transform:translateY(-50%)}.image-gallery-left-nav .image-gallery-svg,.image-gallery-right-nav .image-gallery-svg{height:120px;width:60px}@media(max-width: 768px){.image-gallery-left-nav .image-gallery-svg,.image-gallery-right-nav .image-gallery-svg{height:72px;width:36px}}@media(max-width: 480px){.image-gallery-left-nav .image-gallery-svg,.image-gallery-right-nav .image-gallery-svg{height:48px;width:24px}}.image-gallery-left-nav[disabled],.image-gallery-right-nav[disabled]{cursor:disabled;opacity:.6;pointer-events:none}.image-gallery-left-nav{left:0}.image-gallery-right-nav{right:0}.image-gallery{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.image-gallery.fullscreen-modal{background:#000;bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%;z-index:5}.image-gallery.fullscreen-modal .image-gallery-content{top:50%;transform:translateY(-50%)}.image-gallery-content{position:relative;line-height:0;top:0}.image-gallery-content.fullscreen{background:#000}.image-gallery-content .image-gallery-slide .image-gallery-image{max-height:calc(100vh - 80px)}.image-gallery-content.image-gallery-thumbnails-left .image-gallery-slide .image-gallery-image,.image-gallery-content.image-gallery-thumbnails-right .image-gallery-slide .image-gallery-image{max-height:100vh}.image-gallery-slide-wrapper{position:relative}.image-gallery-slide-wrapper.image-gallery-thumbnails-left,.image-gallery-slide-wrapper.image-gallery-thumbnails-right{display:inline-block;width:calc(100% - 110px)}@media(max-width: 768px){.image-gallery-slide-wrapper.image-gallery-thumbnails-left,.image-gallery-slide-wrapper.image-gallery-thumbnails-right{width:calc(100% - 87px)}}.image-gallery-slide-wrapper.image-gallery-rtl{direction:rtl}.image-gallery-slides{line-height:0;overflow:hidden;position:relative;white-space:nowrap;text-align:center;touch-action:none}.image-gallery-slide{left:0;position:absolute;top:0;width:100%}.image-gallery-slide.image-gallery-center{position:relative}.image-gallery-slide .image-gallery-image{width:100%;object-fit:contain}.image-gallery-slide .image-gallery-description{background:rgba(0,0,0,.4);bottom:70px;color:#fff;left:0;line-height:1;padding:10px 20px;position:absolute;white-space:normal}@media(max-width: 768px){.image-gallery-slide .image-gallery-description{bottom:45px;font-size:.8em;padding:8px 15px}}.image-gallery-bullets{bottom:20px;left:0;margin:0 auto;position:absolute;right:0;width:80%;z-index:4}.image-gallery-bullets .image-gallery-bullets-container{margin:0;padding:0;text-align:center}.image-gallery-bullets .image-gallery-bullet{appearance:none;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:50%;box-shadow:0 2px 2px hsl(0,0%,10%);cursor:pointer;display:inline-block;margin:0 5px;outline:none;padding:5px;transition:all .2s ease-out}@media(max-width: 768px){.image-gallery-bullets .image-gallery-bullet{margin:0 3px;padding:3px}}@media(max-width: 480px){.image-gallery-bullets .image-gallery-bullet{padding:2.7px}}.image-gallery-bullets .image-gallery-bullet:focus{transform:scale(1.2);background:#337ab7;border:1px solid #337ab7}.image-gallery-bullets .image-gallery-bullet.active{transform:scale(1.2);border:1px solid #fff;background:#fff}@media(hover: hover)and (pointer: fine){.image-gallery-bullets .image-gallery-bullet:hover{background:#337ab7;border:1px solid #337ab7}.image-gallery-bullets .image-gallery-bullet.active:hover{background:#337ab7}}.image-gallery-bullets.image-gallery-bullets-vertical{left:20px;right:auto;bottom:auto;width:auto;top:50%;transform:translateY(-50%)}.image-gallery-bullets.image-gallery-bullets-vertical .image-gallery-bullet{display:block;margin:12px 0}@media(max-width: 768px){.image-gallery-bullets.image-gallery-bullets-vertical .image-gallery-bullet{margin:6px 0px;padding:3px}}@media(max-width: 480px){.image-gallery-bullets.image-gallery-bullets-vertical .image-gallery-bullet{padding:2.7px}}.image-gallery-thumbnails-wrapper{position:relative}.image-gallery-thumbnails-wrapper.thumbnails-swipe-horizontal{touch-action:pan-y}.image-gallery-thumbnails-wrapper.thumbnails-swipe-vertical{touch-action:pan-x}.image-gallery-thumbnails-wrapper.thumbnails-wrapper-rtl{direction:rtl}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{display:inline-block;vertical-align:top;width:100px}@media(max-width: 768px){.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{width:81px}}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left .image-gallery-thumbnails,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right .image-gallery-thumbnails{height:100%;width:100%;left:0;padding:0;position:absolute;top:0}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left .image-gallery-thumbnails .image-gallery-thumbnail,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right .image-gallery-thumbnails .image-gallery-thumbnail{display:block;margin-right:0;padding:0}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left .image-gallery-thumbnails .image-gallery-thumbnail+.image-gallery-thumbnail,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right .image-gallery-thumbnails .image-gallery-thumbnail+.image-gallery-thumbnail{margin-left:0;margin-top:2px}.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{margin:0 5px}@media(max-width: 768px){.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-left,.image-gallery-thumbnails-wrapper.image-gallery-thumbnails-right{margin:0 3px}}.image-gallery-thumbnails{overflow:hidden;padding:5px 0}@media(max-width: 768px){.image-gallery-thumbnails{padding:3px 0}}.image-gallery-thumbnails .image-gallery-thumbnails-container{cursor:pointer;text-align:center;white-space:nowrap}.image-gallery-thumbnail{display:inline-block;border:4px solid rgba(0,0,0,0);transition:border .3s ease-out;width:100px;background:rgba(0,0,0,0);padding:0}@media(max-width: 768px){.image-gallery-thumbnail{border:3px solid rgba(0,0,0,0);width:81px}}.image-gallery-thumbnail+.image-gallery-thumbnail{margin-left:2px}.image-gallery-thumbnail .image-gallery-thumbnail-inner{display:block;position:relative}.image-gallery-thumbnail .image-gallery-thumbnail-image{vertical-align:middle;width:100%;line-height:0}.image-gallery-thumbnail.active,.image-gallery-thumbnail:focus{outline:none;border:4px solid #337ab7}@media(max-width: 768px){.image-gallery-thumbnail.active,.image-gallery-thumbnail:focus{border:3px solid #337ab7}}@media(hover: hover)and (pointer: fine){.image-gallery-thumbnail:hover{outline:none;border:4px solid #337ab7}}@media(hover: hover)and (pointer: fine)and (max-width: 768px){.image-gallery-thumbnail:hover{border:3px solid #337ab7}}.image-gallery-thumbnail-label{box-sizing:border-box;color:#fff;font-size:1em;left:0;line-height:1em;padding:5%;position:absolute;top:50%;text-shadow:0 2px 2px hsl(0,0%,10%);transform:translateY(-50%);white-space:normal;width:100%}@media(max-width: 768px){.image-gallery-thumbnail-label{font-size:.8em;line-height:.8em}}.image-gallery-index{background:rgba(0,0,0,.4);color:#fff;line-height:1;padding:10px 20px;position:absolute;right:0;top:0;z-index:4}@media(max-width: 768px){.image-gallery-index{font-size:.8em;padding:5px 10px}}

/*!*********************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/css/Footer.css ***!
  \*********************************************************************************/
.footer-root {
    background-color: var(--white);
    color: var(--primary);
    margin-top: 56px;
    padding: 40px 0 0;
    font-size: 0.875rem;
    border-top: 1px solid rgba(26, 58, 107, 0.1);
}

/* Main row: brand left, links+contact right */
.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(26, 58, 107, 0.08);
}

@media (max-width: 960px) {
    .footer-main {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }
}

/* Brand */
.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

@media (max-width: 900px) {
    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand-info {
        align-items: center;
    }
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo {
    height: 40px;
    width: auto;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.75;
}

.footer-tagline {
    margin: 0;
    font-size: 0.78rem;
    color: var(--gray);
    letter-spacing: 0.01em;
}

.footer-flags {
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-flags img {
    border-radius: 2px;
    opacity: 0.85;
    border: 1px solid rgba(0,0,0,0.15);
}

.footer-bilingual {
    font-size: 0.68rem;
    color: var(--gray);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Centre: SEO category links */
.footer-search-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #767676;
}

@media (max-width: 900px) {
    .footer-search-links {
        align-items: center;
        text-align: center;
    }
}

/* Right side */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

@media (max-width: 900px) {
    .footer-right {
        align-items: center;
    }
}

/* Nav links — 3-column on wide screens, 2-column default */
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 32px;
    justify-items: start;
}

@media (min-width: 1400px) {
    .footer-search-links .footer-links {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px 24px;
    }
}

@media (max-width: 960px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 10px 0;
    }
}

@media (max-width: 900px) {
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 10px 24px;
        justify-items: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .footer-links {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Contact items */
.footer-contact {
    display: flex;
    gap: 12px 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .footer-contact {
        justify-content: center;
    }
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.footer-contact-item:hover {
    color: var(--primary);
}

/* Facebook link */
.footer-fb-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #1877F2;
    color: #fff;
    text-decoration: none;
    transition: filter 0.18s, transform 0.15s;
}

.footer-fb-link:hover {
    filter: brightness(0.88);
    transform: translateY(-1px);
    color: #fff;
}

/* Bottom copyright bar */
.footer-bottom {
    padding: 14px 0;
    font-size: 0.75rem;
    color: var(--primary);
    text-align: center;
}

/*!*********************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/css/Header.css ***!
  \*********************************************************************************/
/* Light navbar with logo-matched palette */
.navbar.navbar-light.bg-white {
    background-color: var(--white) !important;
    border-bottom: 1px solid rgba(26, 58, 107, 0.1);
    box-shadow: 0 1px 8px rgba(15, 37, 71, 0.07);
    padding-top: 0;
    padding-bottom: 0;
}

/* Lang flag switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
}

.lang-flag-btn {
    display: flex;
    align-items: center;
    background: none;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
    opacity: 0.35;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.lang-flag-btn:hover {
    opacity: 0.7;
}

.lang-flag-btn.lang-flag-active {
    opacity: 1;
    border-color: var(--primary);
    cursor: default;
}

.lang-flag-btn img {
    display: block;
    border-radius: 2px;
}

.lang-flag-btn[title="Česky"] img {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

/* ── Favorites icon in nav ───────────────────────────── */

.pn-favorites-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.pn-favorites-btn:hover {
    color: var(--accent);
    background: rgba(192, 57, 43, 0.07);
    text-decoration: none;
}

.pn-favorites-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}

/* Nav links */
.navbar-nav .dropdown-menu {
    position: absolute;
}

/* ── pn-user-* dropdown (shared with _topbar.html) ── */
.pn-user-menu { position: relative; }
.pn-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3a6b 0%, #2d5a9e 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(26,58,107,0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pn-user-avatar:hover {
    transform: scale(1.07);
    box-shadow: 0 4px 14px rgba(26,58,107,0.38);
    background: linear-gradient(135deg, #1a3a6b 0%, #2d5a9e 100%);
}
.pn-user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(15,37,71,0.13), 0 2px 8px rgba(15,37,71,0.06);
    border: 1px solid rgba(26,58,107,0.09);
    padding: 8px;
    min-width: 240px;
    z-index: 999;
}
.pn-user-dropdown.open { display: block; }
.pn-user-dropdown__info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px 12px;
    pointer-events: none;
}
.pn-user-dropdown__abbr {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a3a6b 0%, #2d5a9e 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(26,58,107,0.22);
}
.pn-user-dropdown__name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f2547;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pn-user-dropdown__email {
    font-size: 0.76rem;
    font-weight: 400;
    color: #64748b;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pn-user-dropdown__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a3a6b;
    text-decoration: none;
    background: none;
    border: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}
.pn-user-dropdown__item:hover {
    background: #f0f5fb;
    color: #0f2547;
}
.pn-user-dropdown__item--logout { color: #dc2626; }
.pn-user-dropdown__item--logout:hover {
    background: #fff5f5;
    color: #dc2626;
}
.pn-user-dropdown hr,
.pn-user-dropdown__divider {
    height: 0;
    margin: 4px 0;
    overflow: hidden;
    border: 0;
    border-top: 1px solid rgba(26,58,107,0.15);
    opacity: 1;
}

/* ── User avatar button ── */
.login-abbreviation .dropdown-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3a6b 0%, #2d5a9e 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    border: none;
    box-shadow: 0 2px 8px rgba(26,58,107,0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.login-abbreviation .dropdown-toggle:hover,
.login-abbreviation.show .dropdown-toggle {
    transform: scale(1.07);
    box-shadow: 0 4px 14px rgba(26,58,107,0.38);
    background: linear-gradient(135deg, #1a3a6b 0%, #2d5a9e 100%);
    color: #fff;
}
.login-abbreviation .dropdown-toggle::after { display: none; }

/* ── Dropdown panel ── */
.login-abbreviation .dropdown-menu {
    position: absolute !important;
    right: 0;
    left: auto;
    min-width: 240px;
    padding: 8px;
    border: 1px solid rgba(26,58,107,0.09);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(15,37,71,0.13), 0 2px 8px rgba(15,37,71,0.06);
    margin-top: 6px !important;
}

/* ── Info row ── */
.user-dropdown-info {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 8px 12px;
    pointer-events: none;
}

.user-dropdown-text {
    min-width: 0;
    overflow: hidden;
}

.user-dropdown-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f2547;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-email {
    font-weight: 400;
    font-size: 0.76rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

/* ── avatar-sub inside dropdown ── */
.avatar-sub {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3a6b 0%, #2d5a9e 100%) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(26,58,107,0.22);
    margin-right: 0 !important;
}

/* ── Dropdown items ── */
.login-abbreviation .dropdown-item {
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a3a6b;
    padding: 9px 12px;
    border-left: 3px solid transparent;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.login-abbreviation .dropdown-item:hover,
.login-abbreviation .dropdown-item:focus {
    background: #f0f5fb;
    border-left-color: #2d5a9e;
    color: #0f2547;
}
.login-abbreviation .dropdown-item:last-child {
    color: #dc2626;
}
.login-abbreviation .dropdown-item:last-child:hover {
    background: #fff5f5;
    border-left-color: #dc2626;
}

/* ── Dividers ── */
.login-abbreviation .dropdown-divider {
    border-color: rgba(26,58,107,0.08);
    margin: 4px 0;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-dark);
}

.navbar-light .navbar-nav .nav-link i {
    color: var(--primary);
}

@media screen and (min-width: 1024px) {
    .navbar-light .navbar-nav {
        text-align: right;
        flex-direction: row;
    }
}

.header-actions {
    gap: 4px;
    flex-shrink: 0;
}


.brand img {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand:hover img {
    opacity: 0.82;
    transform: scale(1.04);
}

@media (max-width: 575px) {
    .brand img {
        height: 36px;
    }
}

/* Login link */
.login-link i {
    margin-right: 8px;
}

/* ── "Služby" dropdown — blends with login link ────────────────────── */
.header-services-dropdown > .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary, #1a3a6b) !important;
    padding: 4px 8px !important;
    transition: color 0.15s ease;
}

.header-services-dropdown > .nav-link:hover,
.header-services-dropdown.show > .nav-link {
    color: var(--primary-dark, #0f2547) !important;
}

.header-services-dropdown .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(15, 37, 71, 0.12);
    padding: 6px;
    min-width: 210px;
    margin-top: 4px !important;
}

.header-services-dropdown .dropdown-item {
    border-radius: 7px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a3a6b;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: background 0.12s ease;
}

.header-services-dropdown .dropdown-item:hover {
    background: #f0f5fb;
    color: #1a3a6b;
}


/*!***************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/css/EstateDetail.css ***!
  \***************************************************************************************/

.ig-layout {
    display: flex;
    flex-direction: row;
    gap: 16px;
}
@media (max-width: 900px) {
    .ig-layout {
        flex-direction: column;
    }
}

.email {
    transition: all .2s;
    color: var(--primary-light);
}

.agent-column img {
    max-width: 120px;
    border-radius: 50%;
    border: 3px solid var(--border);
}

.agent-info {
    margin-bottom: 12px;
}

.agent-info p {
    font-size: 0.875rem;
}

.agent-info a {
    color: var(--primary);
    font-size: 0.875rem;
}

.email-container,
.phone-container {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-bottom: 0;
  align-items: baseline;
}

.agent-email {
  word-break: break-all;
  overflow-wrap: anywhere;
  min-width: 0;
}

.agent-phone {
  word-break: break-all;
  overflow-wrap: break-word;
}

.reveal-contact-btn {
  background: none;
  border: 1px solid #c9a227;
  color: #c9a227;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
  line-height: 1.6;
}

.reveal-contact-btn:hover:not(:disabled) {
  background: #c9a227;
  color: #fff;
}

.reveal-contact-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

label {
    color: var(--dark);
    margin-bottom: 21px;
    width: 100%;
    position: relative;
    display: block;
    z-index: 0;
}

#message-form label {
    margin-bottom: 4px;
}

#message-form {
}

label .placeholder {
    color: var(--border);
    position: absolute;
    top: 3px;
    left: 15px;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    font-size: 1rem;
    line-height: 2rem;
    cursor: auto;
    z-index: -1;
}

label.active .placeholder,
input:not(:focus):valid ~ .placeholder, textarea:not(:focus):valid ~ .placeholder {
    color: var(--primary-light);
    top: -13px;
    font-size: .8rem;
    line-height: .8rem;
}

p {
    margin-bottom: 20px;
    line-height: 1.6em;
    font-size: 1.25rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-family: "Be Vietnam Pro", sans-serif;
}

.estate-details-content .estate-description {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #475569;
}


.mapouter {
    position:relative;
    text-align:right;
    margin: 0 auto;
}

.company-label, .company-name {
    font-size: 0.875rem;
    font-weight: 600;
}

.company-web {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.videoOr3DTour {
    padding: 20px 0 20px 0;
}


.gmap_canvas {
    overflow:hidden;
    background:none!important;
}

.estate-addition-infos table {
    width: 100%;
}

.estate-addition-infos table tr td {
    padding: 20px 15px;
    vertical-align: middle;
    font-size: .875rem;
    line-height: 1.25rem;
}

.estate-addition-infos table tr {
    border-bottom: 1px solid var(--border);
}

.estate-addition-infos table tr td:first-child {
    color: var(--gray);
}

.estate-details-content {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(15, 37, 71, 0.05);
    border-radius: 10px;
    color: var(--dark);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

/* ── Detail page layout ─────────────────────────────── */

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
  margin-bottom: 2rem;
}

.detail-main {
  min-width: 0;
}

.detail-sidebar {
  min-width: 0;
}

@media (min-width: 992px) {
  .detail-sidebar {
    position: sticky;
    top: 16px;
  }
}

@media (max-width: 991px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}


/* ── Mortgage Calculator ────────────────────────────── */

.mortgage-calc__result {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #0f2547) 100%);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.mortgage-calc__amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.mortgage-calc__currency {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
}

.mortgage-calc__eur {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

.mortgage-calc__sublabel {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.mortgage-calc__inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mortgage-calc__row {}

.mortgage-calc__row-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.mortgage-calc__row-label {
  font-size: 0.8rem;
  color: var(--text-muted, #6c757d);
}

.mortgage-calc__row-value {
  font-size: 0.875rem;
  color: var(--dark, #1a1a1a);
}

.mortgage-calc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border, #e2e8f0);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  accent-color: var(--primary);
}

.mortgage-calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.mortgage-calc__slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.mortgage-calc__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted, #9ca3af);
  margin-top: 2px;
}

.mortgage-calc__disclaimer {
  font-size: 0.7rem !important;
  color: var(--text-muted, #9ca3af) !important;
  margin-bottom: 0 !important;
}


/* ── Unified card ───────────────────────────────────── */

.detail-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 37, 71, 0.05);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  min-width: 0;
  overflow: hidden;
}

/* Tighten all p tags inside cards to match EstateItem's typographic scale */
.detail-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.detail-card__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}

/* ── Agent card ─────────────────────────────────────── */

.agent-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--border);
}

.agent-company {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.company-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.company-name-row .company-name {
  margin-bottom: 0;
}

/* ── Parameters grid ────────────────────────────────── */

.params-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

@media (max-width: 767px) {
  .params-grid {
    grid-template-columns: 1fr;
  }
}

.param-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  gap: 4px 8px;
}

.param-label {
  color: var(--gray);
  font-size: 0.8rem;
  flex: 1 1 0;
  min-width: 0;
  word-break: break-word;
}

.param-value {
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: right;
  flex: 1 1 0;
  min-width: 0;
  word-break: break-word;
}

/* Legacy aliases — kept for ContactForm & skeleton */
.contact-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.description-card,
.agent-card,
.parameters-card,
.map-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.estate-details-content > .col-12 {
  padding: 0 15px;
}

/* ── Basic info section ─────────────────────────────── */

.basic-info-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.estate-info-block {
  flex: 1;
  min-width: 0;
}

.estate-id-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 0.6rem;
}

.estate-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin: 0 0 0.75rem 0;
}

.estate-address {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.estate-address svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.estate-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.estate-price--note {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0;
}

.estate-price__czk {
  display: block;
}

.estate-price__eur {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0;
  margin-top: 2px;
}

.estate-note-price {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 0.35rem;
  margin-bottom: 0;
}

/* ── Status & energy badges ─────────────────────────── */

.estate-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
}

.estate-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 3px 9px;
  white-space: nowrap;
}

.estate-badge--reserved {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}

/* Energy class badge — letter only, colored square pill */
.estate-badge--energy {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 9px;
  color: #fff;
  border: none;
  text-transform: none;
  letter-spacing: 0.02em;
}

.estate-badge--energy strong {
  font-weight: 800;
}

.energy-tooltip-panel {
  width: 300px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.energy-tooltip-desc {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 9px;
  white-space: normal;
  word-break: break-word;
}

/* Wrapper positions the ⓘ button at the top-right corner of the badge */
.estate-badge-energy-wrap {
  position: relative;
  display: inline-block;
}

.estate-badge-energy-wrap .disp-tooltip-wrap {
  position: absolute;
  top: -7px;
  right: -7px;
  margin: 0;
}

.estate-badge-energy-wrap .disp-tooltip-btn {
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  color: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.estate-badge-energy-wrap .disp-tooltip-btn:hover {
  background: #fff;
  color: rgba(0, 0, 0, 0.85);
}

/* Anchor panel to LEFT of the icon to avoid viewport clipping on right */
.estate-badge-energy-wrap .disp-tooltip-panel {
  left: 0;
  right: auto;
  transform: none;
}

.estate-badge-energy-wrap .disp-tooltip-panel::after {
  left: 6px;
  right: auto;
  transform: none;
}

/* D and E badges have dark text — adjust tooltip icon accordingly */
.estate-badge--energy-D .disp-tooltip-btn,
.estate-badge--energy-E .disp-tooltip-btn {
  color: rgba(0, 0, 0, 0.5);
}

.estate-badge--energy-D .disp-tooltip-btn:hover,
.estate-badge--energy-E .disp-tooltip-btn:hover {
  color: rgba(0, 0, 0, 0.8);
}

.estate-badge--energy-A { background: #1a7340; }
.estate-badge--energy-B { background: #3d9e50; }
.estate-badge--energy-C { background: #82bc3c; }
.estate-badge--energy-D { background: #f5d000; color: #333; }
.estate-badge--energy-E { background: #f5a800; color: #333; }
.estate-badge--energy-F { background: #e8600a; }
.estate-badge--energy-G { background: #d32f2f; }

/* ── Actions panel ──────────────────────────────────── */

.estate-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
}

.estate-actions__col {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}

.estate-actions__col:first-child {
  padding-left: 0;
}

.estate-actions__label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 5px;
}

.share-btns {
  display: flex;
  gap: 6px;
  align-items: center;
}

.share-btns__divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  flex-shrink: 0;
}

.share-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.share-btn:hover { text-decoration: none; filter: brightness(0.85); transform: translateY(-1px); }

.share-btn--facebook  { background: #1877F2; border: 1px solid #1877F2; color: #fff; }
.share-btn--instagram { background: linear-gradient(45deg, #405DE6, #833AB4, #E1306C, #FD1D1D); border: 1px solid transparent; color: #fff; }
.share-btn--x         { background: #000; border: 1px solid #000; color: #fff; }
.share-btn--pdf       { background: var(--primary); border: 1px solid var(--primary); color: #fff; }
.share-btn--copy      { background: #f1f5f9; border: 1px solid #cbd5e1; color: #475569; }
.share-btn--copied    { background: #dcfce7; border-color: #86efac; color: #166534; }
.share-btn--copy:hover:not(.share-btn--copied) { background: #e2e8f0; filter: none; transform: translateY(-1px); }

@media (max-width: 767px) {
  .basic-info-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .estate-actions {
    width: 100%;
    flex-direction: row;
    gap: 20px;
  }
  .estate-title {
    font-size: 1.2rem;
  }
  .estate-price {
    font-size: 1.35rem;
  }
}


.back-to-list-btn {
    width: fit-content;
    z-index: 1;
}

.back-to-list-btn__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: var(--white);
    font-weight: 500;
    font-size: 0.75rem;
    text-decoration: none;
    transition: opacity 0.15s;
}

.back-to-list-btn__link:hover {
    opacity: 0.85;
    color: var(--white);
}

.estate-navigation-mobile {
    gap: 8px;
}

.estate-navigation-mobile a {
    text-decoration: none;
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
}

.estate-navigation-mobile a:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.map-card .mapouter {
  border-radius: 8px;
  overflow: hidden;
}

/* Contact Form Styles */
.contact-form-section {
  height: 100%;
}

.contact-form-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.contact-form-subtitle {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

.contact-form {
  margin-bottom: 1rem;
}

.form-group-custom {
  margin-bottom: 1.5rem;
}

.form-label-custom {
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  display: block;
}

.form-label-custom.active {
  color: var(--primary-light);
}

.form-control.form-control-custom {
  border: 2px solid var(--primary-light);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: var(--white);
  color: var(--dark);
}

.form-control.form-control-custom::placeholder {
  color: var(--gray);
  opacity: 0.55;
}

.form-control.form-control-custom:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 158, 0.25);
  outline: none;
}

.textarea-custom {
  resize: vertical;
  min-height: 120px;
}

.error-feedback {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Message-field tooltip */
.msg-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 1px;
}

.msg-tooltip-panel {
  width: 300px;
  white-space: normal;
  word-break: break-word;
}

.msg-tooltip-text {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

@media (max-width: 400px) {
  .msg-tooltip-panel {
    width: 240px;
  }
}

/* Submit Button */
.btn-primary.submit-button-custom {
  background: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-primary.submit-button-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 37, 71, 0.2);
  opacity: 1;
}

.submit-button-custom:active {
  transform: translateY(0);
}

.button-text,
.button-icon {
  color: var(--white);
  font-weight: bold;
}

.btn-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Form Messages */
.form-messages {
  margin-top: 1rem;
}

.success-message {
  color: var(--success);
  font-size: 0.9rem;
  margin: 0;
  padding: 0.5rem;
  background: var(--success-bg);
  border-radius: 4px;
  border: 1px solid var(--success-border);
}

.error-message {
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0;
  padding: 0.5rem;
  background: var(--error-bg);
  border-radius: 4px;
  border: 1px solid var(--error-border);
}

@media (max-width: 768px) {
  .form-control-custom {
    padding: 0.6rem 0.8rem;
  }

  .submit-button-custom {
    padding: 0.8rem 1.2rem;
  }
}

.form-messages:empty { display: none; }
.success-message:empty, .error-message:empty { display: none; }

/* Pulse skeleton animation */
@keyframes pulse {
    0%   { background-color: var(--skeleton); }
    50%  { background-color: var(--skeleton-shine); }
    100% { background-color: var(--skeleton); }
}

/* Gallery shimmer skeleton */
@keyframes ig-shimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}
.ig-skeleton-tile {
    background: linear-gradient(90deg, var(--skeleton) 25%, var(--skeleton-shine) 50%, var(--skeleton) 75%);
    background-size: 400% 100%;
    animation: ig-shimmer 1.6s ease-in-out infinite;
    border-radius: 8px;
}
.ig-skeleton-tile--sm { border-radius: 4px; }
.ig-gallery-wrap { position: relative; }
.ig-skeleton-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 280ms ease;
}
.ig-gallery-content {
    transition: opacity 280ms ease;
}


/* Breadcrumb */
.breadcrumb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estate-navigation {
    display: flex;
    gap: 0.5rem;
}

.estate-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border: none;
    border-radius: 6px;
    color: var(--white);
    font-weight: 500;
    font-size: 0.75rem;
    text-decoration: none;
    transition: opacity 0.15s, background 0.15s;
    background: var(--primary);
}

.estate-navigation a:hover {
    opacity: 0.85;
    background: var(--primary);
    color: var(--white);
}

.custom-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.8rem;
}

.custom-breadcrumb a {
    color: var(--primary);
    font-weight: 400;
    text-decoration: none;
}

.custom-breadcrumb a.active {
    color: var(--gray);
    font-weight: 500;
}

.custom-breadcrumb a:hover {
    opacity: 0.6;
    text-decoration: none;
}

.custom-breadcrumb .separator {
    color: var(--gray);
    margin: 0 0.5rem;
    display: inline-flex;
    align-items: center;
}

/* Breadcrumb mobile (Swiper) */
.breadcrumb-mobile-wrap {
    padding: 6px 16px 4px;
    border-bottom: 1px solid #eef0f3;
}

.breadcrumb-mobile-swiper {
    width: 100%;
    overflow: hidden;
}

.breadcrumb-mobile-swiper .swiper-wrapper {
    align-items: center;
}

.breadcrumb-mobile-crumb {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    padding: 6px 0;
    font-weight: 400;
}

.breadcrumb-mobile-crumb.active {
    color: var(--gray);
    font-weight: 500;
}

.breadcrumb-mobile-crumb:hover {
    opacity: 0.65;
    text-decoration: none;
}

.breadcrumb-mobile-sep {
    display: inline-flex;
    align-items: center;
    color: var(--gray);
    padding: 0 6px;
    opacity: 0.5;
}


/* ── Documents section ────────────────────────────────────────────────────── */

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.document-card:hover {
    border-color: #c53030;
    box-shadow: 0 2px 8px rgba(197, 48, 48, 0.1);
    background: #fff5f5;
}

.document-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.document-card__icon svg {
    width: 40px;
    height: 40px;
}

.document-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.document-card__name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a202c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-card__action {
    font-size: 0.75rem;
    color: #c53030;
    font-weight: 500;
}

/* PDF viewer modal */

.doc-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.doc-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.doc-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid #e8ecf0;
    gap: 1rem;
    flex-shrink: 0;
}

.doc-modal__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a202c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-modal__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.doc-modal__btn {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s;
}

.doc-modal__btn--open {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.doc-modal__btn--open:hover {
    background: #fed7d7;
    color: #c53030;
    text-decoration: none;
}

.doc-modal__btn--close {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0.35rem 0.7rem;
}

.doc-modal__btn--close:hover {
    background: #edf2f7;
}

.doc-modal__iframe {
    flex: 1;
    width: 100%;
    border: none;
}

@media (max-width: 640px) {
    .doc-modal {
        height: 90vh;
        border-radius: 8px;
    }
    .doc-modal__header {
        flex-wrap: wrap;
    }
}

.estate-meta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(0,0,0,.07);
}

.estate-meta-stat {
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.estate-meta-stat dt {
  font-size: 0.78rem;
  color: #888;
  font-weight: 400;
  white-space: nowrap;
}

.estate-meta-stat dd {
  font-size: 0.78rem;
  color: #555;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

/* ── MunicipalityPriceChart ────────────────────────────────────────────────── */
.mpc-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px 16px;
  margin-top: 20px;
  margin-bottom: 1.5rem;
}

.mpc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mpc-headline {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.mpc-subline {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 3px;
  line-height: 1.4;
}

.mpc-pop-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
}

.mpc-pop-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.mpc-pop-label {
  font-size: 0.68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mpc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mpc-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px 5px 8px;
}

.mpc-chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mpc-chip-label {
  font-size: 0.75rem;
  color: var(--gray);
  white-space: nowrap;
}

.mpc-chip-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.mpc-chip-eur {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  white-space: nowrap;
}

.mpc-chip-pct {
  font-size: 0.71rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}
.mpc-chip-pct.pos { background: #dcfce7; color: #166534; }
.mpc-chip-pct.neg { background: #fee2e2; color: #991b1b; }

.mpc-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}

.mpc-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray);
}

.mpc-legend-line {
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  flex-shrink: 0;
}

.mpc-chart-area {
  height: 200px;
  position: relative;
}

.mpc-source {
  font-size: 0.68rem;
  color: var(--gray);
  margin-top: 10px;
  text-align: left;
}

@media (max-width: 640px) {
  .mpc-wrap { padding: 16px 14px 12px; }
  .mpc-chart-area { height: 170px; }
  .mpc-chips { gap: 6px; }
  .mpc-chip { padding: 4px 9px 4px 7px; }
}

/* ── Rental Price Chart (rpc-*) ─────────────────────────────────────────── */

.rpc-wrap { margin-top: 0; }

.rpc-vk-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.rpc-vk-label {
  font-size: 0.72rem;
  color: var(--gray);
  margin-right: 2px;
  white-space: nowrap;
}

.rpc-vk-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 7px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--gray);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.rpc-vk-pill:hover { border-color: #94a3b8; color: var(--dark); }
.rpc-vk-pill--on { font-weight: 600; }

.rpc-vk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.15s;
}

.rpc-new-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--gray);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}
.rpc-new-toggle:hover { border-color: #94a3b8; }
.rpc-new-toggle--on {
  border-color: #64748b;
  color: var(--dark);
  background: rgba(100,116,139,0.07);
}

.rpc-new-dash {
  display: inline-block;
  width: 16px;
  height: 0;
  border-top: 2px dashed currentColor;
  flex-shrink: 0;
}

.rpc-legend-dash {
  background: transparent !important;
  border-top: 2px dashed #64748b;
  height: 0 !important;
}

@media (max-width: 640px) {
  .rpc-vk-bar { gap: 4px; }
  .rpc-vk-pill { font-size: 0.68rem; padding: 2px 8px 2px 5px; }
  .rpc-vk-label { display: none; }
  .rpc-new-toggle { font-size: 0.68rem; padding: 3px 8px; }
}

/*!*************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/css/EstateItem.css ***!
  \*************************************************************************************/
/* ── Estate Card ─────────────────────────────────────── */

.estate-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.estate-card:hover {
    text-decoration: none;
    color: inherit;
}

/* ── Image side ──────────────────────────────────────── */

.estate-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gray-light);
    flex-shrink: 0;
}

.estate-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}


.estate-card__img-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--skeleton) 25%, var(--skeleton-shine) 50%, var(--skeleton) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.estate-card__img-error {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    background: var(--gray-light);
}

.estate-card__price-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 5px 11px;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(15, 37, 71, 0.25);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.estate-card__price-eur {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.82;
}

.estate-card__media-badges {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    pointer-events: none;
    z-index: 1;
}

.estate-card__media-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 4px;
}

.estate-card__media-badge svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.estate-card__reserved-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #d97706;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 1;
}

/* ── Favorite button ─────────────────────────────────── */

.estate-card__favorite {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.estate-card:hover .estate-card__favorite,
.estate-card__favorite--active {
    opacity: 1;
}

/* ── Content side ────────────────────────────────────── */

.estate-card__body {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.estate-card__title {
    font-size: 0.975rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.estate-card:hover .estate-card__title {
    color: var(--primary-light);
}

/* ── Meta chips ──────────────────────────────────────── */

.estate-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 2px;
}

.estate-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
}

.estate-card__meta-item--area {
    background: rgba(26, 58, 107, 0.07);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.estate-card__meta-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.75;
}

/* ── Description ─────────────────────────────────────── */

.estate-card__description {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #475569;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* ── CTA row ─────────────────────────────────────────── */

.estate-card__footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
}

.estate-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.18s ease;
}

.estate-card__cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.18s ease;
}

.estate-card:hover .estate-card__cta {
    gap: 8px;
}

.estate-card:hover .estate-card__cta svg {
    transform: translateX(3px);
}

/* ── Skeleton shimmer ────────────────────────────────── */

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

/* ── Gallery arrows ──────────────────────────────────── */

.estate-card__gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    transition: background 0.15s, transform 0.15s;
    padding: 0;
}

.estate-card__gallery-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.estate-card__gallery-arrow svg {
    width: 16px;
    height: 16px;
    color: #0a1e3d;
}

.estate-card__gallery-arrow--prev { left: 8px; }
.estate-card__gallery-arrow--next { right: 8px; }

/* ── Gallery dots ────────────────────────────────────── */

.estate-card__gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.estate-card__gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.estate-card__gallery-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ── Mobile: adjust padding ──────────────────────────── */

@media (max-width: 640px) {
    .estate-card__body {
        padding: 14px 16px;
    }
}

/* ── Favorites page — remove button overlay ──────────── */

.fav-card-wrap {
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fav-card-wrap--removing {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

.fav-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    transition: background 0.15s, transform 0.15s, color 0.15s;
    padding: 0;
}

.fav-remove-btn:hover {
    background: #fff;
    color: #1a3a6b;
    transform: scale(1.12);
}

/*!*********************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/css/Search.css ***!
  \*********************************************************************************/
.estate-count {
    width: 60px;
    display: inline-block;
}

.portal-stat-bar {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.45em;
    margin: 0.75rem 0 1.25rem;
    padding: 0.55rem 1.5rem;
    border-left: 3px solid var(--primary);
    background: linear-gradient(90deg, rgba(26,58,107,0.06) 0%, transparent 100%);
    border-radius: 0 6px 6px 0;
}

.portal-stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.portal-stat-label {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: lowercase;
}

.region {
  fill: var(--primary);
  stroke: var(--gray-light);
  stroke-width: 2px;
  cursor: pointer;
}

.map-disabled .region {
    fill: var(--gray);
}

.map-enabled .region {
    fill: var(--primary);
}

/* ── Category icon cards ──────────────────────────────────────────────────── */
.cat-cards-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    background: var(--white);
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
    color: var(--dark);
}

.cat-card--equal {
    flex: 1 1 0;
    min-width: 0;
}

.cat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(26, 58, 107, 0.12);
}

.cat-card--active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 58, 107, 0.18);
}

.cat-card__icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-card__icon svg {
    width: 100%;
    height: 100%;
}

.cat-card__label {
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.cat-cards-swiper .cat-card {
    width: 90px;
}

body .btn.show:focus-visible {
    box-shadow: none;
}

/* ── Price currency toggle ───────────────────────────────────────────────── */
.price-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.price-label-row h5 {
    margin: 0;
}

.price-currency-toggle {
    display: flex;
    gap: 4px;
}

.currency-btn {
    padding: 3px 10px;
    border: 1.5px solid var(--primary-light);
    border-radius: 4px;
    background: var(--white);
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    line-height: 1.4;
}

.currency-btn:hover {
    border-color: var(--primary);
}

.currency-btn--active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.price-currency-tooltip {
    color: var(--primary-light);
    cursor: help;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s;
}

.price-currency-tooltip:hover {
    color: var(--primary);
}

.region:hover {
  fill: var(--primary-light);
  stroke: var(--dark);
  stroke-width: 2px;
}

.region.selected {
  fill: #3b82f6;
  stroke: #1d4ed8;
  stroke-width: 3px;
  filter: drop-shadow(0 2px 4px rgba(192, 57, 43, 0.3));
}

.map-tooltip {
    background: var(--dark);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--dark);
}

/* Input groups (price & area) */
.input-group .form-control {
  border: 2px solid var(--primary-light);
  border-right: none;
  border-radius: 4px 0 0 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-group .form-control:focus {
  border-color: var(--primary);
  border-right: none;
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 158, 0.25);
  z-index: 3;
}

.input-group-text {
  border: 2px solid var(--primary-light);
  border-left: none;
  border-radius: 0 4px 4px 0;
  background-color: var(--gray-light);
  color: var(--dark);
  font-weight: 500;
}

.input-group input[name^="price_"]:not(:placeholder-shown):not(:focus),
.input-group input[name^="area_"]:not(:placeholder-shown):not(:focus)
{
  background-color: rgba(45, 90, 158, 0.06);
  color: var(--dark);
}

/* Floor inputs (no addon, full border) */
.form-control[name^="floor_"] {
  border: 2px solid var(--primary-light);
  border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control[name^="floor_"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 158, 0.25);
  outline: none;
}

/* Autocomplete info tooltip — floats inside top-right of the input */
.autocomplete-info-tooltip {
  position: absolute;
  top: 0px;
  right: -4px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
}

.autocomplete-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--primary-light);
  cursor: help;
  user-select: none;
  line-height: 1;
  transition: color 0.15s;
}

.autocomplete-info-tooltip:hover .autocomplete-info-icon {
  color: var(--primary);
}

.autocomplete-tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  left: auto;
  transform: none;
  background: #0f2547;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
  width: 260px;
  white-space: normal;
  text-align: left;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 1100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.autocomplete-tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 4px;
  left: auto;
  transform: none;
  border: 6px solid transparent;
  border-top-color: #0f2547;
}

.autocomplete-info-tooltip:hover .autocomplete-tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Autocomplete input */
#autocomplete-input {
  border: 2px solid var(--primary-light);
  border-radius: 4px;
  padding: 8px 12px;
  width: 100%;
  background-color: var(--white);
  color: var(--dark);
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#autocomplete-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 158, 0.25);
  outline: none;
}

/* Autocomplete dropdown list */
.autocomplete-menu {
  list-style: none;
  background-color: var(--white);
  border: 2px solid var(--primary-light);
  border-top: none;
  border-radius: 0 0 4px 4px;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(15, 37, 71, 0.1);
}

.autocomplete-item {
  padding: 8px 12px;
  cursor: pointer;
  color: var(--dark);
  border-bottom: 1px solid rgba(26, 58, 107, 0.07);
  transition: background-color 0.15s ease;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
  background-color: var(--primary);
  color: var(--white);
}

/* Checkboxes */
.form-check-input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  border: 2px solid var(--primary-light);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-check-input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input[type="checkbox"]:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 158, 0.25);
}

.form-check-label {
  cursor: pointer;
}

/* Text input groups (price, area, autocomplete) get extra bottom spacing */
.search-input-group {
    margin-bottom: 45px !important;
}

/* Normalize checkbox group spacing — let mb-4 on Form.Group control gaps */
.form-check {
  margin-bottom: 0.25rem;
}

.row > [class*="col"] > .form-check:last-child {
  margin-bottom: 0;
}

/* ─── Disposition tooltip ─────────────────────────────────────── */
.disp-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
}

.disp-tooltip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  color: var(--primary-light);
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.15s;
  line-height: 1;
}

.disp-tooltip-btn:hover,
.disp-tooltip-btn:focus-visible {
  color: var(--primary);
  outline: none;
}

.disp-tooltip-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  width: 300px;
  background: var(--dark, #0f2547);
  color: #fff;
  border-radius: 8px;
  padding: 12px 14px 10px;
  box-shadow: 0 6px 24px rgba(15, 37, 71, 0.35);
  pointer-events: none;
}

/* Arrow */
.disp-tooltip-panel::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--dark, #0f2547);
}

.disp-tooltip-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.disp-tooltip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  line-height: 1.5;
}

.disp-tooltip-table td {
  padding: 2px 0;
}

.disp-tooltip-table td:first-child {
  width: 56px;
  padding-right: 10px;
}

.disp-tooltip-table code {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
}

.disp-tooltip-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 7px;
}

/* On small screens: pin to left so it doesn't bleed off screen */
@media (max-width: 640px) {
  .disp-tooltip-panel {
    left: 0;
    transform: none;
    width: 280px;
  }
  .disp-tooltip-panel::after {
    left: 22px;
    transform: none;
  }
}

/* Zero-results watchdog callout */
.zero-results-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 16px 0;
  padding: 12px 16px;
  background: #eef3fb;
  border: 1px solid #c5d6f0;
  border-radius: 8px;
  text-align: left;
  animation: fadeInCallout 0.3s ease;
}

@keyframes fadeInCallout {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.zero-results-callout__text {
  flex: 1;
  font-size: 0.84rem;
  color: #1a3a6b;
  line-height: 1.45;
}

.zero-results-callout__btn {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  border-color: #1a3a6b;
  color: #1a3a6b;
}

.zero-results-callout__btn:hover {
  background: #1a3a6b;
  color: #fff;
}

@media (max-width: 640px) {
  .zero-results-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  .zero-results-callout__btn {
    width: 100%;
  }
}

/* ── Search submit bar ─────────────────────────────────────────────────────── */

/* Sticky wrapper — holds zero-results callout + submit bar together */
.search-bottom-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(26, 58, 107, 0.12);
  box-shadow: 0 -4px 24px rgba(26, 58, 107, 0.10);
}

.search-submit-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
}

.search-submit-btn {
  width: 100%;
  max-width: 480px;
  padding: 12px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.search-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 58, 107, 0.30);
}

/* Push form content up so the sticky bar doesn't cover the last item */
/* Extra room when zero-results callout is visible (~70px taller) */
.search-main-form {
  padding-bottom: 160px;
}

/*!****************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/css/ConstructionProjectDetail.css ***!
  \****************************************************************************************************/
/* Be Vietnam Pro loaded globally via index.html */

/* ─── Variables ─────────────────────────────────────────────────────────────── */
.cpd-root {
  --cpd-gold:       #b89a5a;
  --cpd-gold-light: #d4b87a;
  --cpd-navy:       #0f2547;
  --cpd-navy-mid:   #1a3a6b;
  --cpd-cream:      #faf8f4;
  --cpd-warm-gray:  #8a8680;
  --cpd-text:       #2c2a27;
  --cpd-border:     #e4ddd3;
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--cpd-text);
  background: #fff;
}

/* ─── Breadcrumb ─────────────────────────────────────────────────────────────── */
.cpd-breadcrumb {
  padding: 0.75rem 2rem;
  background: var(--cpd-cream);
  border-bottom: 1px solid var(--cpd-border);
}
.cpd-breadcrumb__link {
  font-size: 0.85rem;
  color: var(--cpd-warm-gray);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.cpd-breadcrumb__link:hover {
  color: var(--cpd-gold);
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.cpd-hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  max-height: 680px;
  overflow: hidden;
  background: var(--cpd-navy);
}

.cpd-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 8s ease;
}

.cpd-hero:hover .cpd-hero__img {
  transform: scale(1.03);
}

.cpd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 40, 0.88) 0%,
    rgba(10, 20, 40, 0.35) 55%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 3rem 4rem;
}

.cpd-hero__text {
  max-width: 800px;
}

.cpd-hero__label {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cpd-gold);
  margin-bottom: 0.75rem;
}

.cpd-hero__name {
  font-family: 'Be Vietnam Pro', sans-serif; font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.01em;
}

.cpd-hero__annotation {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin: 0;
  max-width: 560px;
  line-height: 1.6;
}

.cpd-hero__no-img {
  height: 18rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 3rem 4rem;
  background: linear-gradient(135deg, var(--cpd-navy) 0%, var(--cpd-navy-mid) 100%);
}

/* ─── Stats bar ──────────────────────────────────────────────────────────────── */
.cpd-stats {
  background: var(--cpd-navy);
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.cpd-stats::-webkit-scrollbar { display: none; }

.cpd-stat {
  flex: 1;
  min-width: 120px;
  padding: 1.1rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cpd-stat:last-child { border-right: none; }

.cpd-stat__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cpd-gold);
}

.cpd-stat__value {
  font-family: 'Be Vietnam Pro', sans-serif; font-weight: 600;
  font-size: 1.45rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}

.cpd-stat__value--date {
  font-size: 0.82rem;
  font-weight: 600;
}

.cpd-stat__sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}

/* ─── Body layout ────────────────────────────────────────────────────────────── */
.cpd-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

/* ─── Section heading ────────────────────────────────────────────────────────── */
.cpd-section-title {
  font-family: 'Be Vietnam Pro', sans-serif; font-weight: 600;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--cpd-navy);
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cpd-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cpd-border);
}

/* ─── Main / Sidebar grid ────────────────────────────────────────────────────── */
.cpd-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .cpd-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── Description ────────────────────────────────────────────────────────────── */
.cpd-description {
  font-size: 0.975rem;
  line-height: 1.85;
  color: #3d3a36;
  white-space: pre-line;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 300;
}

/* ─── Locality block ──────────────────────────────────────────────────────────── */
.cpd-locality {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--cpd-cream);
  border-left: 3px solid var(--cpd-gold);
}

.cpd-locality__address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--cpd-navy);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.cpd-locality__desc {
  font-size: 0.9rem;
  color: var(--cpd-warm-gray);
  line-height: 1.7;
  margin: 0;
}

/* ─── Sidebar ────────────────────────────────────────────────────────────────── */
.cpd-sidebar {
  position: sticky;
  top: 80px; /* below the sticky topbar */
  align-self: start;
}

/* ─── Sidebar card ────────────────────────────────────────────────────────────── */
.cpd-sidebar-card {
  background: var(--cpd-cream);
  padding: 2rem;
  border-top: 3px solid var(--cpd-gold);
  margin-bottom: 1.25rem;
}

.cpd-sidebar-card__title {
  font-family: 'Be Vietnam Pro', sans-serif; font-weight: 600;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cpd-navy);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  letter-spacing: 0.15em;
}

/* Agent */
.cpd-agent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.cpd-agent__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cpd-border);
  margin-bottom: 0.5rem;
}

.cpd-agent__name {
  font-family: 'Be Vietnam Pro', sans-serif; font-weight: 600;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cpd-navy);
  margin: 0;
}

.cpd-agent__contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
  width: 100%;
}

.cpd-agent__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--cpd-navy-mid);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  background: #fff;
  border: 1px solid var(--cpd-border);
  transition: border-color 0.2s, color 0.2s;
  word-break: break-all;
}

.cpd-agent__link:hover {
  border-color: var(--cpd-gold);
  color: var(--cpd-navy);
}

/* Company */
.cpd-company {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cpd-company__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 1px solid var(--cpd-border);
  padding: 4px;
  background: #fff;
  flex-shrink: 0;
}

.cpd-company__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cpd-navy);
  margin: 0 0 0.2rem 0;
}

.cpd-company__address {
  font-size: 0.78rem;
  color: var(--cpd-warm-gray);
  margin: 0;
}

/* External link button */
.cpd-ext-link {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  background: var(--cpd-navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.2s;
}

.cpd-ext-link:hover {
  background: var(--cpd-gold);
  color: var(--cpd-navy);
}

/* ─── Gallery ─────────────────────────────────────────────────────────────────── */
.cpd-gallery {
  margin: 3rem 0;
}

/* ── Featured gallery (Airbnb-style: big left + 2 stacked right) ── */
.cpd-gallery-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr;
  gap: 4px;
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
}

.cpd-gallery-featured__main {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.cpd-gallery-featured__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cpd-gallery-featured__main:hover img {
  transform: scale(1.04);
}

.cpd-gallery-featured__right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cpd-gallery-featured__side {
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.cpd-gallery-featured__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cpd-gallery-featured__side:hover img {
  transform: scale(1.05);
}

.cpd-gallery-featured__more {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 2px;
  pointer-events: none;
}

.cpd-gallery-featured__more span {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.cpd-gallery-featured__more small {
  font-size: 0.8rem;
  opacity: 0.85;
  font-weight: 400;
}

/* Single image fallback */
.cpd-gallery-single {
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.cpd-gallery-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cpd-gallery-single:hover img {
  transform: scale(1.03);
}

/* "Show all" button */
.cpd-gallery-show-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 18px;
  background: #fff;
  border: 1.5px solid #d4c9a8;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cpd-charcoal, #2c2825);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cpd-gallery-show-all:hover {
  background: var(--cpd-cream, #f7f4ee);
  border-color: #b8aa88;
}

/* Mobile */
@media (max-width: 640px) {
  .cpd-gallery-featured {
    grid-template-columns: 1fr;
    height: auto;
    border-radius: 8px;
  }

  .cpd-gallery-featured__main {
    height: 55vw;
    min-height: 220px;
  }

  .cpd-gallery-featured__right {
    display: none;
  }
}

/* ─── Lightbox ────────────────────────────────────────────────────────────────── */
.cpd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 16, 32, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cpd-lb-in 0.2s ease;
}

@keyframes cpd-lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cpd-lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.cpd-lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}

.cpd-lightbox__close:hover { color: #fff; }

.cpd-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
}

.cpd-lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.cpd-lightbox__nav--prev { left: 1rem; }
.cpd-lightbox__nav--next { right: 1rem; }

.cpd-lightbox__counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ─── Video section ───────────────────────────────────────────────────────────── */
.cpd-videos {
  margin-top: 3rem;
}

.cpd-video-block {
  margin-bottom: 2.5rem;
}

.cpd-video-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: var(--cpd-navy);
  overflow: hidden;
}

.cpd-video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.cpd-video-meta {
  padding: 0.9rem 1.25rem;
  background: var(--cpd-cream);
  border-left: 3px solid var(--cpd-gold);
}

.cpd-video-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cpd-navy);
  margin: 0 0 0.25rem 0;
}

.cpd-video-desc {
  font-size: 0.82rem;
  color: var(--cpd-warm-gray);
  margin: 0;
  line-height: 1.6;
}

/* ─── Estates section ─────────────────────────────────────────────────────────── */
.cpd-estates {
  margin-top: 4rem;
}

.cpd-estates__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cpd-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-left: 0.75rem;
  vertical-align: middle;
}

.cpd-no-estates {
  padding: 3rem;
  background: var(--cpd-cream);
  text-align: center;
  color: var(--cpd-warm-gray);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* ─── Loading / Error ─────────────────────────────────────────────────────────── */
.cpd-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  flex-direction: column;
  gap: 1rem;
}

.cpd-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--cpd-border);
  border-top-color: var(--cpd-gold);
  border-radius: 50%;
  animation: cpd-spin 0.8s linear infinite;
}

@keyframes cpd-spin {
  to { transform: rotate(360deg); }
}

.cpd-contact-section {
  margin-top: 3rem;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

/* ─── Mobile adjustments ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .cpd-hero__overlay,
  .cpd-hero__no-img { padding: 1.5rem 1.25rem; }
  .cpd-hero { height: auto; min-height: 320px; }
  .cpd-hero__name { font-size: 1.4rem; line-height: 1.25; }
  .cpd-hero__annotation { display: none; }
  .cpd-body { padding: 2rem 1rem 4rem; }
  .cpd-stats { flex-wrap: wrap; }
  .cpd-stat { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .cpd-lightbox__nav { display: none; }
}

/*!******************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/components/css/App.css ***!
  \******************************************************************************/
html {
    overflow-x: clip;
}

body {
    font-size: 1em;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 100vw;
    overflow-x: clip;
}

p {
    font-size: inherit;
}

.header {
    margin-bottom: 0;
    width: 100%;
    max-width: 100vw;
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Prevent Bootstrap modal from adding padding-right to body (scrollbar compensation),
   which causes the sticky header to shift right when a modal opens. */
body.modal-open {
    overflow-y: scroll;
    padding-right: 0 !important;
}

/* ── Hamburger button (mobile only) ── */
.header-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-left: 4px;
    border-radius: 6px;
    transition: background .15s;
}
.header-hamburger:hover { background: rgba(26,58,107,.07); }
.header-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a3a6b;
    border-radius: 2px;
    transition: opacity .15s;
}

/* ── Mobile drawer ── */
.header-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1029;
    background: rgba(0,0,0,.25);
}
.header-drawer {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid rgba(26,58,107,.1);
    box-shadow: 0 6px 24px rgba(15,37,71,.12);
    padding: 8px 0 12px;
}
.header-drawer__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6c757d;
    padding: 8px 20px 4px;
}
.header-drawer__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #1a3a6b;
    text-decoration: none;
    transition: background .12s;
}
.header-drawer__item:hover { background: #f0f5fb; color: #1a3a6b; }
.header-drawer__icon { font-size: 18px; width: 24px; text-align: center; }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.form-control {
    border-radius: unset;
}

.form-container {
    width: 50%;
}

.header-container {
    width: 100%;
    max-width: 100%;
}

ol {
  margin:0 0 1.5em;
  padding:0;
  counter-reset:item;
}

ol>li {
  margin:0;
  padding:0 0 0 2em;
  text-indent:-2em;
  list-style-type:none;
  counter-increment:item;
}

ol>li:before {
  display:inline-block;
  width:1.5em;
  padding-right:0.5em;
  font-weight:bold;
  text-align:right;
  content:counter(item) ".";
}

.text-bold {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: var(--dark);
}

.no-border-table {
    border-collapse: collapse;
    border-bottom-width: 0px;
    border-bottom-color: var(--border-light);
}

.static-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.form-control:focus {
    border-color: var(--primary-light);
    outline-offset: -2px;
    box-shadow: unset;
}

.submit-button-custom.charcoal {
    background: var(--primary);
    border-bottom: 2px solid var(--primary-dark);
}

.submit-button-custom.charcoal:hover {
    background: var(--primary-dark);
    border-bottom: 2px solid var(--dark);
}

.placeholder {
    background-color: unset;
    opacity: unset;
}

.list-container {
    display: flex;
    font-size: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.item-container {
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 20px 10px 0px 10px;
    margin-right: 20px;
}

.algn-right {
    text-align: right;
}

.required {
    color: var(--accent);
}

.czech-map {
    display: block;
    margin-bottom: 8px;
}

.region-list {
    display: none;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: transparent;
}

@media (max-width: 600px) {
    .czech-map {
        display: none;
    }

    .region-list {
        display: block;
    }
}

input[type=text], input[type=email], input[type=password], .password-btn, textarea.form-control {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    line-height: 1.25rem;
    padding: 10px 15px;
    outline: 0;
    color: var(--dark);
    font-weight: 500;
    background: transparent;
    display: block;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    cursor: auto;
}

.password-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    border: none !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 0;
    box-shadow: none !important;
}

.password-show {
    color: var(--gray);
    z-index: 1;
}

.password-hide {
    color: var(--gray);
    z-index: 1;
}

.password-hide:hover, .password-show:hover {
    color: var(--accent);
    z-index: 1;
}

.password-control {
    border-right: unset;
}

/* ── Landing page hero ─────────────────────────────────────────────────────── */
.landing-page {
    display: flex;
    flex-direction: column;
}

.landing-hero {
    width: 100%;
    min-height: 480px;
    background-position: center 60%;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,37,71,0.0) 40%, rgba(15,37,71,0.45) 100%);
    z-index: 0;
}

.landing-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 24px 100px;
    max-width: 680px;
    width: 100%;
    animation: heroFadeUp 0.7s ease both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.landing-hero-eyebrow {
    display: block;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 1px 8px rgba(10,25,60,0.7);
}

.landing-hero-title {
    color: #fff;
    font-size: clamp(1.75rem, 5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 26px;
    text-shadow: 0 2px 24px rgba(10,25,60,0.5);
}

.landing-hero-stat {
    display: inline-block;
    background: rgba(15,37,71,0.82);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    border-radius: 999px;
    padding: 10px 26px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(10,25,60,0.35);
}

.landing-hero-stat strong {
    font-weight: 700;
    color: #ffd77a;
}

.landing-hero-stat-skeleton {
    min-width: 200px;
    color: transparent;
    border-color: rgba(255,255,255,0.1) !important;
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 75%) !important;
    background-size: 400% 100% !important;
    animation: skeleton-shimmer 1.4s ease infinite;
}

@keyframes skeleton-shimmer {
    0%   { background-position: 100% 50%; }
    100% { background-position:   0% 50%; }
}

/* ── Landing category cards ────────────────────────────────────────────────── */
.landing-categories {
    background: #fff;
    padding: 32px 20px 52px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.landing-cat-grid {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.landing-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 12px 22px;
    background: #fff;
    border: 1px solid #e4eaf4;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(15,37,71,0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    user-select: none;
}

.landing-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(15,37,71,0.13);
    border-color: var(--primary-light);
}

.landing-cat-card:active {
    transform: translateY(-1px);
}

.landing-cat-card img {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
}

.landing-cat-card span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    line-height: 1.3;
}


@media (max-width: 640px) {
    .landing-hero {
        min-height: 360px;
    }
    .landing-hero-inner {
        padding-bottom: 80px;
    }
    .landing-categories {
        margin-top: 0;
        padding: 28px 14px 40px;
    }
    .landing-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .landing-cat-card {
        padding: 22px 10px 18px;
    }
    .landing-cat-card img {
        width: 48px;
        height: 48px;
    }
}

.required, .error-message {
    color: var(--accent);
}

.lang-image {
    display: flex;
}

/* Auth forms (Login / Register) */
.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.social-btn-google {
    background-color: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    transition: box-shadow 0.15s, background-color 0.15s;
}

.social-btn-google:hover {
    background-color: #f7f8f8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.14);
}

.social-btn-seznam {
    background-color: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    transition: box-shadow 0.15s, background-color 0.15s;
}

.social-btn-seznam:hover {
    background-color: #f7f8f8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.14);
}

.social-btn-facebook {
    background-color: #1877F2;
    color: #fff;
}

.social-btn-apple {
    background-color: #000;
    color: #fff;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

.auth-divider hr {
    flex: 1;
    margin: 0;
}

.auth-divider span {
    padding: 0 12px;
    color: #6c757d;
    font-size: 14px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-control-custom {
    padding-right: 44px;
}

.auth-footer-text {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 8px;
    margin-bottom: 4px;
}

.auth-footer-text a {
    color: var(--primary-light);
    text-decoration: underline;
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

/* Segmented email-notification toggle */
.email-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 600;
}

.email-toggle-seg {
    padding: 3px 9px;
    border: none;
    background: #f4f6f9;
    color: #adb5bd;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
}

.email-toggle-seg:first-child {
    border-right: 1px solid var(--border);
}

.email-toggle-seg:hover:not(.active-on):not(.active-off) {
    background: #e9ecef;
    color: #6c757d;
}

.email-toggle-seg.active-on {
    background: var(--primary);
    color: #fff;
    cursor: default;
}

.email-toggle-seg.active-off {
    background: #e9ecef;
    color: #6c757d;
    cursor: default;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}

.sm-brand {
    display: none;
}

@media screen and (min-width: 768px){
    .lang-image span {
        display: block;
    }
}

@media screen and (max-width: 767px){
    .lang-image {
        padding-right: 15px;
    }

    .dropdown-menu {
        min-width: 4rem;
    }

    .sm-brand {
        display: block;
    }

    .form-container {
        width: 100%;
    }
}

.lang-dropdown {
    padding-left: 0;

    .dropdown-menu {
        left: 0;
        right: unset;
    }

    @media screen and (min-width: 1024px) {
        padding-left: 8px;

        .dropdown-menu {
            right: 0;
            left: unset;
        }
    }
}

.login-abbreviation {
    vertical-align: middle;
}

.login-abbreviation .dropdown-menu, .lang-dropdown .dropdown-menu {
    top: 100%;
    margin-top: 0.25rem;
    position: absolute;
}


.navbar-expand-lg .lang-dropdown .nav-link {
    padding-right: 1rem;
}

.small-table, .small-list {
    display: none;
}

.extended-table {
    display: block;
}

@media screen and (max-width: 767px){
    .small-table {
        display: block;
        margin-bottom: 20px;
    }

    .small-list {
        display: block;
    }

    .extended-table {
        display: none;
    }

    .tariff label {
        font-size: 14px;
    }
}

@media screen and (max-width: 575px){
    .pie-chart, .bar-chart {
        max-width: 350px;
    }

    .tariff label {
        font-size: 14px;
    }
}

.toggle-content {
    text-decoration: unset;
    color: var(--accent);
}

.tariff label {
    margin-bottom: unset;
}

.tariff-table th, .tariff-table td {
    white-space: nowrap;
    padding: 10px;
}

.success-message {
    color: var(--success);
}

/* ── Contact page ── */
.contact-page { padding: 2rem 0 4rem; }
.contact-page .breadcrumb-trail { color: var(--gray); font-size: 0.9rem; margin-bottom: 2rem; }
.contact-page .breadcrumb-trail a { color: var(--primary-dark); text-decoration: none; }
.contact-heading { font-size: 1.75rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.5rem; }
.contact-intro { color: var(--gray); margin-bottom: 2rem; line-height: 1.6; }
.contact-form .form-label { font-weight: 600; font-size: 0.875rem; color: var(--dark); }
.contact-form .form-control,
.contact-form .form-select { border-color: #d1d5db; border-radius: 6px; font-size: 0.95rem; }
.contact-form .form-control:focus,
.contact-form .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(44,181,142,0.15); }
.contact-submit-btn { background: var(--primary-dark); border: none; border-radius: 6px; padding: 0.6rem 2rem; font-weight: 600; font-size: 0.95rem; }
.contact-submit-btn:hover:not(:disabled) { background: var(--primary-light); }
.contact-submit-btn:disabled { opacity: 0.7; }
.contact-error { color: #dc2626; font-size: 0.875rem; margin-bottom: 1rem; }
.contact-success { text-align: center; padding: 3rem 1rem; border: 1px solid #d1fae5; background: #f0fdf4; border-radius: 8px; }
.contact-success__icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 0.75rem; }
.contact-success h4 { color: var(--primary-dark); font-weight: 700; }
.contact-success p { color: var(--gray); }
.contact-email-fallback { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #e5e7eb; font-size: 0.9rem; color: var(--gray); display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.contact-email-fallback a { color: var(--primary-dark); font-weight: 600; text-decoration: none; }
.contact-email-fallback a:hover { color: var(--accent); }
.contact-address { margin-top: 0.75rem; font-size: 0.85rem; color: var(--gray); }

