/* Publiczna wizytówka: galerie, kontakt, pokoje, lokalizacja i informacje. */
.aw-property-icon { display: inline-block; width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; }
/* Kolor „Zadzwoń” nadpisuje globalny wariant przycisku tylko na tej karcie. */
@media (min-width: 768px) {
    body.tpl-schema-company .aw-property-aside a.aw-property-call.btn.btn-primary {
        background: #ff6000 !important; border-color: #ff6000 !important; color: #fff !important;
    }
}
@media screen and (min-width: 768px) {
    .aw-property-layout { display: grid; grid-template-columns: minmax(0,1fr) clamp(240px,25.5%,315px); align-items: start; gap: clamp(16px,2.1vw,28px); }
    .aw-property-main { min-width: 0; }
    .aw-property-main > .single-section { padding: 0; background: transparent; }
    .aw-property-main > .single-section > .container { max-width: none; width: 100%; padding-inline: 0; }
    .aw-property-main > #additional_info.company-additional-info { margin: 0; padding: 9px 0 12px; z-index: auto; }
    .aw-property-main > #logo_details { padding: 10px 0 0; }
    .aw-property-main > #pricing, .aw-property-main > #map { margin-top: 26px; padding-bottom: 0; }
    .aw-property-main .aw-property-description-col { width: 100%; }
    .aw-property-main #logo_details > .container > .row { --bs-gutter-x: 0; }
    .aw-property-pills { flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
    .aw-property-pills .nav-link { background: #f8f8fa; color: #273044; border: 1px solid #eceef2; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 650; }
    .aw-property-pills .nav-link:hover, .aw-property-pills .nav-link:focus-visible { color: #b44200; border-color: #ff6000; background: #fff5ed; }
    .aw-property-layout .aw-property-price { text-align: left !important; padding: 10px 15px; border: 1px solid #ffdfca; border-radius: 14px; background: #fff6ef; }
    .aw-property-layout > .aw-property-aside { position: sticky; top: var(--aw-property-sticky-top,96px); width: 100%; min-width: 0; }
    .aw-property-layout > .aw-property-aside > .sidebar-outer { position: static; }
    .aw-property-layout .side-contact-box { border: 1px solid #ebebeb; border-radius: 18px; box-shadow: 0 5px 18px #1821360b; }
    .aw-property-layout .side-contact-box .btn { white-space: normal; min-height: 46px; }
    .aw-property-aside .aw-property-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
    .aw-property-aside .aw-property-call svg { width: 19px; height: 19px; flex: none; }
    .aw-property-aside > .aw-property-identity { padding: 0 0 12px; background: transparent; }
    .aw-property-aside > .aw-property-identity > .container { width: 100%; max-width: none; padding-inline: 0; }
    /* Przydatne informacje i odległości pozostają w lewej kolumnie. */
    .aw-property-main > :is(#useful_information,.useful-information,.company-neighborhood) { padding: 26px 0 0; }
    .aw-property-main .aw-property-map { aspect-ratio: 16 / 10; }
    .aw-property-flow > .aw-property-layout + .single-section { padding-top: var(--standard-padding-y, 32px); }
}

/* Udogodnienia i linki społecznościowe obiektu. */
.aw-property-facilities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 0; }
.aw-property-facilities > li { display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 9px 11px; border: 1px solid #ebebeb; border-radius: 12px; color: #252a37; font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.aw-property-facility-block { margin-block: 0 24px; }
.aw-property-facilities .aw-property-icon, .aw-property-info-grid .aw-property-icon { color: #ff6000; width: 25px; height: 25px; }
.aw-property-mobile-price-slot:empty { display: none; }
/* Nazwa i adres przy cenie, z zachowaniem jednej wersji nagłówka. */
.aw-property-name { margin: 0 0 7px; font: 800 clamp(21px,2.1vw,28px)/1.15 Inter,system-ui,sans-serif; color: #232a36; overflow-wrap: anywhere; }
.aw-property-identity .verified { margin-bottom: 7px; }
.aw-property-address { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #4a5260; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.aw-property-address-pin { width: 15px; height: 20px; display: inline-block; vertical-align: -.2em; flex: none; }
.aw-property-mobile-price-slot .aw-property-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin-bottom: 5px !important; text-align: left !important; }
@media (max-width: 767.98px) {
    #heading.aw-property-identity { padding-block: 12px 14px; }
    .aw-property-mobile-price-slot .aw-property-price { font-size: 14px; }
}
.aw-property-price > .text-tertiary { color: #bd4500 !important; }
.aw-property-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.aw-property-social { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 50px; font-size: 13px; font-weight: 700; text-decoration: none; }
.aw-property-social svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.aw-property-social--fb-page { background: #1877f2; }
.aw-property-social--ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.aw-property-social, .aw-property-social:hover, .aw-property-social:focus { color: #fff; }
.aw-property-social:hover { box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* Wiersze pokoi: zachowują ceny i istniejące okno szczegółów. */
.object-pricing-box.aw-property-pricing { padding: 0; box-shadow: none; }
.aw-property-rooms { display: grid; gap: 8px; margin: 0; }
.aw-property-rooms > li + li { margin-top: 0; }
.aw-property-rooms > li.aw-property-room {
    display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 11px; align-items: center;
    padding: 9px 10px 9px 14px; background: #fdfdfd; border: 1px solid #ebebeb; border-radius: 14px;
}
.aw-property-rooms > li.aw-property-room--photo { grid-template-columns: minmax(0,1fr) auto 112px; }
.aw-property-room-title { border: 0; background: none; padding: 0; color: #252a37; text-align: left; font-size: 15px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.aw-property-room-title:hover { color: #b74300; }
.aw-property-room-price { text-align: right; font-size: 13px; }
.aw-property-room-price .price .text-tertiary { color: #ff6000 !important; font-size: 20px !important; white-space: nowrap; }
.aw-property-room-price .price .text-tertiary small { font-size: .72em !important; }
.aw-property-room-thumb { width: 112px; height: 78px; border: 0; padding: 0; overflow: hidden; border-radius: 10px; background: #f2f2f2; }
.aw-property-room-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Mapa 4:3 tylko na karcie obiektu; bez wpływu na stronę Mapa noclegów. */
.aw-property-map { position: relative; aspect-ratio: 4 / 3; border-radius: 15px; overflow: hidden; background: #f5f5f5; }
.aw-property-map .map-outer.full-width-map-outer { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
.aw-property-map-switch { display: none; }

/* Informacje na pełną szerokość i neutralne karty jak na głównej. */
.aw-property-info-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 9px; }
.aw-property-info-grid > .useful-information-item {
    display: grid; grid-template-columns: 28px minmax(0,1fr); align-content: start; gap: 4px 9px;
    margin: 0 !important; padding: 12px; border: 1px solid #ebebeb; border-radius: 13px; background: #fdfdfd;
}
.aw-property-info-grid > .useful-information-item > div { width: auto; max-width: none; margin: 0; padding: 0; overflow-wrap: anywhere; }
.aw-property-info-grid > .useful-information-item > :last-child { grid-column: 2; font-weight: 650; }
.aw-property-info-grid .hours-group { display: block; }
.aw-property-info-grid .hours-group button { white-space: normal; }
.aw-property-info-grid .company-fields { grid-column: 1 / -1; margin: 0 !important; }
.aw-property-info-grid .company-fields > .row { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 9px; margin: 0; }
.aw-property-info-grid .view-single-meta { width: auto; max-width: none; margin: 0; padding: 12px; border: 1px solid #ebebeb; border-radius: 13px; background: #fdfdfd; overflow-wrap: anywhere; }
.aw-property-info-grid .view-single-meta:has(ul) { grid-column: 1 / -1; }
.aw-property-info-grid .view-single-meta > strong { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.aw-property-info-tags { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,170px),1fr)); gap: 7px; margin: 10px 0 0; }
.aw-property-info-tags li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid #eceef1; border-radius: 10px; }
.aw-property-info-tags .aw-property-icon { width: 23px; height: 23px; }

/* Okno pokoju: bez zmiany ceny, opisu, galerii i akcji w środku. */
.aw-property-room-modal .modal-dialog { width: auto; max-width: 820px; }
/* Bez osobnego przewijania opisu. Skrajnie długa treść przewija całe okno,
   bez drugiego widocznego paska i bez ucinania opisu. */
.aw-property-room-modal { scrollbar-width: none; overscroll-behavior-y: contain; }
.aw-property-room-modal::-webkit-scrollbar { display: none; }
html.aw-room-open { scrollbar-gutter: stable; }
.aw-room-open [data-aw-room-gutter] { padding-right: var(--aw-room-padding-right) !important; margin-right: var(--aw-room-margin-right) !important; }
.aw-property-room-modal .modal-content { border: 1px solid #ebedf0; border-radius: 20px; background: #fff; box-shadow: 0 20px 70px #17203435; }
.aw-property-room-modal .modal-header { padding: 15px clamp(14px,3vw,25px); border-bottom: 1px solid #eceef1; }
.aw-property-room-modal .modal-title { font: 800 clamp(17px,2.2vw,25px)/1.25 Inter,system-ui,sans-serif; color: #242a37; overflow-wrap: anywhere; }
.aw-property-room-modal .modal-body { padding: clamp(14px,3vw,25px); }
.aw-property-room-modal .modal-body > .row:first-child { margin: 0; padding: 8px 3px; background: #fff6ef; border: 1px solid #ffdfca; border-radius: 12px; row-gap: 4px; }
.aw-property-room-modal .announcement-gallery { border-radius: 14px; overflow: hidden; }
.aw-property-room-modal .aw-room-preview { --bs-aspect-ratio: clamp(190px, 43dvh, 385px); }
.aw-property-room-modal .aw-room-preview .single-photo { object-fit: cover; background: #f7f8fa; -webkit-user-drag: none; }
/* Pokój: szybkie kliknięcia strzałek nie zaznaczają slajdu ani jego kontrolek. */
.aw-property-room-modal :is([data-aw-room-gallery], [data-detail-lightbox]) {
    -webkit-user-select: none;
    user-select: none;
}
.aw-property-room-modal :is([data-aw-room-gallery], [data-detail-lightbox]) *::selection { background: transparent; }
.aw-property-room-modal [data-aw-room-open] { cursor: zoom-in; }
@media (max-width: 767.98px) {
    .aw-property-room-modal .aw-room-preview { --bs-aspect-ratio: min(68%, 34dvh); }
}
.aw-property-reviews { background: #fafafa; }
.aw-property-reviews .under-opinions { border-color: #ebebeb !important; }
.aw-property-reviews .opinion-card, .aw-property-reviews .under-opinions > .alert-warning {
    border: 1px solid #ebebeb; border-radius: 15px; background: #fdfdfd; color: #252a37; box-shadow: 0 4px 14px #17203408;
}
.aw-property-reviews .under-opinions > .alert-warning { display: flex; align-items: center; gap: 11px; margin-bottom: 0; padding: 12px 14px; }
.aw-property-reviews .under-opinions > .alert-warning::before {
    content: ''; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px;
    background: #fff2e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-8.5 8.5 9 9 0 0 1-3.6-.8L3 21l1.8-5.9a9 9 0 0 1-.8-3.6 8.5 8.5 0 0 1 17 0zM8 11h8m-8 4h5'/%3E%3C/svg%3E") center / 19px no-repeat;
}

/* Formularz: kalendarz nad istniejącymi polami dat, bez zmiany wysyłki. */
#modalAccommodationForm .aw-date-enhanced > .input-group-text { display: none; }
#modalAccommodationForm .aw-date-value { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; padding: 0 !important; border: 0; }
#modalAccommodationForm .aw-date-trigger { color: #2d3a6b; width: 100%; min-height: 52px; display: flex; align-items: center; gap: 8px; text-align: left; padding: 10px 12px; border: 1px solid #dce1eb; border-radius: 12px; background: #f7f8fb; font-size: 14px; }
#modalAccommodationForm .aw-date-trigger svg { width: 19px; height: 19px; color: #ff6000; flex: none; }
#modalAccommodationForm .was-validated .aw-date-value:invalid + .aw-date-trigger { border-color: #bb2637; }
#modalAccommodationForm .aw-date-panel { width: min(100%,350px); padding: 10px; margin-top: 6px; border: 1px solid #ebebeb; border-radius: 13px; background: #fdfdfd; }
#modalAccommodationForm [data-aw-property-date-panel][hidden] { display: none; }
.aw-date-month { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; text-align: center; margin: 0 0 7px; font-size: 14px; }
.aw-date-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 2px; text-align: center; }
.aw-date-days > span { font-size: 11px; align-self: center; }
.aw-date-month button, .aw-date-days button { padding: 3px 0; min-height: 34px; border: 0; border-radius: 8px; color: #272c3b; background: transparent; font-size: 13px; }
.aw-date-month button { font-size: 22px; }
.aw-date-days button:hover:not(:disabled), .aw-date-days button[aria-pressed="true"] { background: #fff0e4; color: #a74000; }
.aw-date-days button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #ff6000; }
.aw-date-days button:disabled { color: #747474; opacity: .7; }
#contactCalendarOuter .datepicker { border-radius: 13px; }
#contactCalendarOuter .datepicker .active { background: #bf4700; color: #fff; }

@media (max-width: 991.98px) {
    .company-desc.long-company-desc .company-desc-text.company-desc-change-class { transition: none; }
    .company-desc.long-company-desc .company-desc-text.company-desc-change-class.company-desc-text-hidden { min-height: 0; max-height: 12.4em; max-height: 8lh; line-height: 1.55; overflow: hidden; }
    .company-desc.long-company-desc .company-desc-change-class::after { display: none; }
    .company-desc .company-desc-text + .aw-property-desc-more { margin: 8px 0 0; }
    .aw-property-desc-more .toggler { width: fit-content; min-height: 38px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #2d3a6b; color: #252e4e; font-size: 13px; }
}
@media (max-width: 767.98px) {
    .aw-property-facilities, .aw-property-info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
    .aw-property-info-grid .company-fields > .row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
    .aw-property-info-grid .hours-outer { grid-column: 1 / -1; }
    .aw-property-info-grid > .useful-information-item, .aw-property-info-grid .view-single-meta { padding: 9px; font-size: 13px; }
    .aw-property-facilities > li { padding: 7px; min-height: 43px; font-size: 13px; }
    .aw-property-social { min-width: 135px; }
    .aw-property-rooms > li.aw-property-room { grid-template-columns: minmax(0,1fr); gap: 4px 10px; padding: 8px; }
    .aw-property-rooms > li.aw-property-room--photo { grid-template-columns: 76px minmax(0,1fr); }
    .aw-property-room--photo .aw-property-room-thumb { grid-area: 1 / 1 / span 2; width: 76px; height: 64px; }
    .aw-property-room-title { font-size: 14px; }
    .aw-property-room-price { text-align: left; }
    .aw-property-map { touch-action: pan-y; }
    .aw-property-map:not(.is-active) .map-outer { pointer-events: none; }
    .aw-property-map.is-ready .aw-property-map-switch {
        display: inline-flex; align-items: center; gap: 7px; position: absolute; z-index: 2; right: 8px; top: 8px;
        min-height: 40px; padding: 7px 13px; border: 1px solid #2d3a6b; border-radius: 999px;
        background: #fff; color: #252e4e; font-size: 13px; font-weight: 650; touch-action: manipulation;
    }
    .aw-property-map.is-active .aw-property-map-switch { background: #252e4e; color: #fff; }
    .aw-property-reviews .under-opinions > .alert-warning { font-size: 13px; }
}


/* Galeria i pełnoekranowe okno: proporcje i kontrolki jak w aleFurze. */
.aw-photo-gallery__stage {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #edf0f3;
    isolation: isolate;
    touch-action: pan-y pinch-zoom;
}

.aw-photo-gallery__open {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.aw-photo-gallery__open > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: max(200px, calc(100svh - 303px));
    object-fit: cover;
}

.aw-photo-gallery__expand {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 10px 13px;
    border-radius: 10px;
    background: rgb(255 255 255 / 94%);
    color: #25303d;
    font-size: .75rem;
    font-weight: 600;
}

.aw-photo-gallery__expand svg {
    width: 18px;
    height: 18px;
    color: #ff6000;
}

/* Strzałki zdjęć: pomarańczowe koła w stylu aleFury. */
.aw-photo-gallery__arrow,
#photos #galleryCarousel > :is(.carousel-control-prev, .carousel-control-next) {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ff6000;
    color: white;
    box-shadow: 0 3px 12px rgb(0 0 0 / 12%);
    transform: translateY(-50%);
    cursor: pointer;
    transition: background .16s ease, opacity .16s ease;
}

.aw-photo-gallery__arrow svg {
    width: 22px;
    height: 22px;
}

.aw-photo-gallery__arrow--prev {
    left: 12px;
}

.aw-photo-gallery__arrow--next {
    right: 12px;
}

.aw-photo-gallery__arrow:hover {
    background: #e95600;
}

.aw-photo-gallery__stage > .aw-photo-gallery__arrow {
    display: none;
}

.aw-photo-gallery__count {
    position: absolute;
    bottom: 13px;
    right: 13px;
    padding: 6px 11px;
    border-radius: 20px;
    background: rgb(255 255 255 / 94%);
    color: #26313d;
    font-size: .85rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Licznik po lewej, przycisk powiększenia po prawej. */
.aw-photo-gallery__stage > .aw-photo-gallery__count {
    left: 13px;
    right: auto;
    pointer-events: none;
}

.aw-photo-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.aw-photo-gallery__thumbs > a {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #edf0f3;
    cursor: pointer;
}

.aw-photo-gallery__thumbs img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.7;
    max-height: clamp(92px, 19svh, 160px);
    object-fit: cover;
}

.aw-photo-gallery__more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    inset: 0;
    padding: 8px;
    background: rgb(16 23 32 / 65%);
    color: white;
}

.aw-photo-gallery__more strong {
    font-size: 1.9rem;
}

.aw-photo-gallery__more > span {
    font-size: .7rem;
}

.aw-photo-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #f3f5f7;
    color: #202a36;
    overflow: hidden;
}

.aw-photo-lightbox[open] {
    display: flex;
    flex-direction: column;
}

.aw-photo-lightbox::backdrop {
    background: rgb(14 22 31 / 85%);
}

.aw-photo-lightbox__header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    min-height: 73px;
    padding: 12px 24px;
    background: white;
    border-bottom: 1px solid #e4e8ed;
}

.aw-photo-lightbox__header > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.aw-photo-lightbox__header strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .95rem;
}

.aw-photo-lightbox__header span {
    color: #ff6000;
    font-size: .9rem;
    font-weight: 700;
}

.aw-photo-lightbox__close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    padding: 0;
    background: white;
    border: 1px solid #e4e8ed;
    border-radius: 10px;
    color: #202a36;
    cursor: pointer;
}

.aw-photo-lightbox__stage {
    /* Szybkie klikanie strzałek nie zaznacza zdjęcia ani licznika. */
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    touch-action: pan-y pinch-zoom;
}

.aw-photo-lightbox__stage > img {
    -webkit-user-drag: none;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.aw-photo-lightbox__stage[aria-busy='true']::after {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 12px;
    border-radius: 20px;
    background: rgb(255 255 255 / 94%);
    content: 'Wczytywanie…';
    font-size: .75rem;
}

.aw-photo-lightbox__thumbs {
    display: flex;
    justify-content: safe center;
    gap: 10px;
    flex-shrink: 0;
    padding: 14px 22px;
    overflow-x: auto;
    background: white;
}

.aw-photo-lightbox__thumbs button {
    flex: 0 0 100px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 9px;
    overflow: hidden;
    background: #f3f5f7;
    cursor: pointer;
}

.aw-photo-lightbox__thumbs button[aria-pressed='true'] {
    border-color: #ff6000;
}

.aw-photo-lightbox__thumbs img {
    display: block;
    width: 100%;
    height: 65px;
    object-fit: cover;
}

.aw-photo-lightbox__contact {
    display: none;
}

.aw-photo-lightbox__error {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 30px);
    margin: 0;
    padding: 12px;
    border-radius: 10px;
    background: white;
    font-size: .8rem;
}

.aw-photo-lightbox__error button {
    padding: 5px;
    color: #d64c00;
    background: transparent;
    border: 0;
    text-decoration: underline;
    cursor: pointer;
}

html.aw-photo-gallery-open, html.aw-photo-gallery-open body {
    overflow: hidden;
}

.aw-photo-gallery :is(a,button):focus-visible, .aw-photo-lightbox button:focus-visible {
    outline: 3px solid #ff8c45;
    outline-offset: 3px;
}

/* Strzałki dużego zdjęcia tylko podczas hovera zdjęcia, nie całego ogłoszenia. */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .aw-photo-gallery__stage > .aw-photo-gallery__arrow {
        display: grid;
        opacity: 0;
            pointer-events: none;
    }

    .aw-photo-gallery__stage:is(:hover,:focus-within) > .aw-photo-gallery__arrow {
        opacity: 1;
            pointer-events: auto;
    }
}
@media (max-width: 767.98px) {
    .aw-photo-lightbox__header {
        min-height: 66px;
        padding: 10px 12px;
        gap: 10px;
    }

    .aw-photo-lightbox__header strong {
        font-size: .78rem;
    }

    .aw-photo-lightbox__header span {
        font-size: .8rem;
    }

    .aw-photo-lightbox__thumbs {
        display: none;
    }

    .aw-photo-lightbox__contact {
        display: flex;
        flex-shrink: 0;
        gap: 10px;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
        background: white;
        border-top: 1px solid #e4e8ed;
    }

    .aw-photo-lightbox__contact > button {
        flex: 1;
        min-width: 0;
    }

    .aw-photo-lightbox__stage .aw-photo-gallery__count {
        bottom: 18px;
        right: 50%;
        transform: translateX(50%);
    }

}


.aw-photo-gallery__stage > .aw-photo-gallery__arrow { display: grid; }
.aw-photo-gallery__stage .featured, .aw-photo-gallery__stage .badge-type { z-index: 1; pointer-events: none; }
/* Wstęga wyróżnienia tylko na zdjęciach wizytówki (desktop i mobile). */
#photos :is(.aw-photo-gallery__stage, .announcement-gallery) > .featured {
    background: #ff6000;
    color: #fff;
}
.aw-photo-gallery__thumbs { grid-template-columns: repeat(auto-fit,minmax(0,1fr)); }
.aw-photo-gallery__more { text-align: center; }
.aw-photo-lightbox__close svg { width: 22px; height: 22px; }
.aw-photo-lightbox__contact > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 7px 10px; border: 1px solid #ff6000; border-radius: 999px; font-weight: 700; background: #fff; color: #a94000; }
.aw-photo-lightbox__contact > [data-aw-gallery-contact="call"] { background: #ff6000; color: #fff; }
.aw-photo-lightbox__contact svg { width: 19px; height: 19px; }
@media (max-width: 767.98px) {
    .aw-photo-lightbox .aw-photo-gallery__arrow { width: 36px; height: 36px; }
    .aw-photo-lightbox .aw-photo-gallery__arrow--prev { left: 8px; }
    .aw-photo-lightbox .aw-photo-gallery__arrow--next { right: 8px; }

    /* Główna galeria mobilna: te same kontrolki, bez zmian gestów. */
    #photos #galleryCarousel > :is(.carousel-control-prev, .carousel-control-next) {
        bottom: auto;
        width: 36px;
        height: 36px;
        opacity: 1;
        background: #ff6000;
    }
    #photos #galleryCarousel > .carousel-control-prev { left: 9px; }
    #photos #galleryCarousel > .carousel-control-next { right: 9px; }
    #photos #galleryCarousel > :is(.carousel-control-prev, .carousel-control-next):hover { background: #e95600; }
    #photos #galleryCarousel > :is(.carousel-control-prev, .carousel-control-next):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
    #photos #galleryCarousel :is(.carousel-control-prev-icon, .carousel-control-next-icon) {
        display: grid;
        place-items: center;
        width: 22px;
        height: 22px;
        background: none;
        color: #fff;
        font-size: 15px;
    }
    /* Licznik jak w aleFurze: jasna pastylka w prawym dolnym rogu. */
    /* Bez animowanej podpowiedzi gestu na zdjęciu; przesuwanie nadal działa. */
    #photos .announcement-gallery::after { content: none; }
    #photos .announcement-gallery > .gallery-photo-counter {
        left: auto;
        right: 13px;
        bottom: 13px;
        padding: 6px 11px;
        border-radius: 20px;
        background: rgb(255 255 255 / 94%);
        color: #26313d;
        font-size: .85rem;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        line-height: 1.2;
        pointer-events: none;
    }
    #photos .gallery-photo-counter > i { display: none; }
}
@media print { .aw-photo-gallery__arrow, .aw-photo-gallery__expand, .aw-property-pills { display: none !important; } }

/* Na telefonie zwykle sześć ofert w układzie 3 × 2, bez ściskania ikon. */
@media (max-width: 767.98px) {
    .aw-property-season-tags { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
    .aw-property-season-tags:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0,1fr); }
    .aw-property-season-tags:has(> :nth-child(2)):not(:has(> :nth-child(5))) { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .aw-property-season-tags li { flex-direction: column; justify-content: center; gap: 4px; min-height: 56px; padding: 5px 3px; line-height: 1.22; text-align: center; font-size: 12px; }
    .aw-property-season-tags .aw-property-icon { width: 19px; height: 19px; }
}
