/* Shared listing cards remain below the sticky navigation, including their title links. */
article.nice-office-listing-card { isolation: isolate; }
article.nice-office-listing-card .nice-office-listing-info { margin-top: 14px; gap: 8px; }
article.nice-office-listing-card .nice-office-listing-info p { font-size: 12px; line-height: 1.5; gap: 5px; }
article.nice-office-listing-card .nice-office-listing-info img,
article.nice-office-listing-card .nice-office-listing-info svg,
article.nice-office-listing-card .nice-office-listing-info .commercial-lease-attribute-icon { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; }
article.nice-office-listing-card p.nice-office-listing-price { padding-top: 16px; margin-top: auto; }
.nice-office-listing-info span { overflow-wrap: anywhere; }
.nice-office-mobile-gallery, .nice-office-mobile-price-bar { display: none; }
.price-card .price-card__row { justify-content: space-between; }
.price-card .price-card__label { font-size: 14px; }
.price-card .price-card__value--rent { color: #0c8973; }
.price-card .price-card__value--fee, .price-card .price-card__value--vat { font-size: 16px; font-weight: 400; }
.nice-office-spec-row { min-width: 0; }
.nice-office-spec-row dd { overflow-wrap: anywhere; }
@media (min-width: 768px) {
    article.nice-office-listing-card .nice-office-listing-info p { font-size: 14px; }
}
@media (max-width: 767px) {
    .nice-office-detail-gallery { display: block; min-width: 0; }
    .nice-office-desktop-gallery-tile { display: none; }
    .nice-office-mobile-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
    .nice-office-mobile-gallery-slide { position: relative; flex: 0 0 87%; height: 245px; overflow: hidden; border-radius: 16px; scroll-snap-align: start; }
    .nice-office-mobile-gallery-slide:only-child { flex-basis: 100%; }
    .nice-office-mobile-gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
    .nice-office-gallery-counter { position: absolute; bottom: 10px; right: 10px; padding: 3px 8px; border-radius: 20px; color: white; background: rgb(0 0 0 / 55%); font-size: 12px; }
    .commercial-lease-listing-detail { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
    .commercial-lease-listing-detail .price-card { display: none; }
    .nice-office-mobile-price-bar { position: fixed; inset: auto 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #ddd; background: white; box-shadow: 0 -3px 14px rgb(0 0 0 / 8%); }
    .nice-office-mobile-price-bar-value { min-width: 0; font-size: 12px; line-height: 1.4; }
    .nice-office-mobile-price-bar-value strong { font-size: 17px; color: #0c8973; }
    .nice-office-mobile-price-bar-value small { display: block; font-size: 10px; color: #666; }
    .nice-office-mobile-price-bar form { flex-shrink: 0; }
    .nice-office-mobile-price-bar button { border-radius: 8px; background: #f57401; padding: 12px 14px; color: white; font-size: 12px; font-weight: 700; }
}

@media (max-width: 767px) {
    .nice-office-mobile-call { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #19ba9d; border-radius: 8px; color: #0c8973; }
    body:has(.nice-office-mobile-price-bar) .nice-office-sticky-contact { bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* Detail hero follows the reference: large photo, narrow thumbnails, aligned price panel. */
.nice-office-detail-media { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
.nice-office-detail-media > * { min-width: 0; }
.nice-office-detail-hero .price-card { display: flex; flex-direction: column; align-self: stretch; padding: 28px; border: 1px solid #e4e4e4; border-radius: 20px; box-shadow: 0 0 6px rgb(0 0 0 / 12%); }
.nice-office-detail-hero .price-card__rows { display: flex; flex-direction: column; gap: 24px; }
.nice-office-detail-hero .price-card__row { margin: 0; gap: 12px; }
.nice-office-detail-hero .price-card__row--rent { padding-bottom: 24px; border-bottom: 1px solid #d7d7d7; }
.nice-office-detail-hero .price-card__label { font-size: 17px; font-weight: 700; color: #141414; }
.nice-office-detail-hero .price-card__value--rent { font-size: 32px; line-height: 1.25; color: #549e91; }
.nice-office-detail-hero .price-card__unit { font-size: 17px; font-weight: 400; }
.nice-office-detail-hero .price-card__value--fee, .nice-office-detail-hero .price-card__value--vat { font-size: 18px; color: #141414; }
.nice-office-detail-hero .price-card__actions { display: grid; gap: 26px; margin-top: 24px; padding-top: 30px; border-top: 1px solid #f0f0f0; }
.nice-office-detail-hero .price-card__actions > * { margin: 0; }
.nice-office-detail-hero .price-card__cta { position: relative; min-height: 64px; gap: 12px; padding: 10px 12px; font-size: 18px; }
.nice-office-detail-hero .price-card__cta--quote { background: linear-gradient(180deg, #f79129, #f36528); }
.price-card__action-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 25%); font-size: 28px; }
.nice-office-detail-hero .price-card__cta--call { color: #549e91; border: 2px solid #549e91; }
.nice-office-detail-hero .price-card__cta--call:hover { background: #edf8f5; }
.price-card__cta--call .price-card__action-icon { color: white; background: #549e91; box-shadow: 0 0 0 5px #c5e6dc; }
.price-card__phone { font-size: 21px; line-height: 1.25; text-align: center; }
.price-card__phone small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: #141414; }
.nice-office-detail-hero .price-card__consultant { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding-top: 28px; font-size: 14px; }
.price-card__consultant .material-symbols-outlined { color: #39876b; font-size: 23px; }
@media (min-width: 768px) {
    .nice-office-detail-gallery { height: 470px; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .nice-office-detail-gallery[data-image-count="1"] { grid-template-columns: minmax(0, 1fr); }
    .nice-office-desktop-gallery-tile { min-height: 0; border-radius: 16px; }
    .nice-office-desktop-gallery-tile > span.absolute.inset-0 { gap: 8px; }
    .nice-office-detail-discount { left: 10px; top: 14px; border-radius: 8px; padding: 6px 10px; }
}
@media (min-width: 1024px) {
    .nice-office-detail-media { grid-template-columns: minmax(0, 2.38fr) minmax(320px, 1fr); gap: 24px; align-items: stretch; }
    .nice-office-detail-gallery { height: 100%; min-height: 470px; }
    .nice-office-detail-hero h1 { font-size: 36px; }
    .nice-office-detail-hero > p { margin-top: 20px; font-size: 17px; color: #141414; }
}
@media (max-width: 767px) {
    .nice-office-detail-hero .price-card { display: none; }
    .nice-office-detail-media { margin-top: 18px; }
}

@media (min-width: 1024px) {
    .nice-office-empty-gallery { height: 100%; min-height: 470px; }
}
