.watermarked-image {
    position: relative;
    display: inline-block;
}

.watermarked-image .watermark-image {
    position: absolute;
    bottom: 4%;
    right: 4%;
    max-width: 25%;
    opacity: 0.6;
    /* Opcjonalnie: delikatne przezroczystość */
}

.watermarked-image .watermark-image-modal {
    position: absolute;
    bottom: 4%;
    right: 5%;
    max-width: 25%;
    opacity: 0.6;
    pointer-events: none;
}

.watermarked-image-slider {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

.watermarked-image-slider img.img-fluid {
    width: 100%;
    height: auto;
    display: block;
}

.watermarked-image-slider .watermark-image-slider {
    position: absolute;
    bottom: -35%;
    right: 38%;
    max-width: 25%;
    /* Mniejszy niż poprzednio, bo obraz większy */
    opacity: 0.5;
    pointer-events: none;
    /* Żeby nie dało się kliknąć watermarka */
}

.watermarked-image-api-single {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

.watermarked-image-api-single img.img-fluid {
    width: 100%;
    height: auto;
    display: block;
}

.watermarked-image-api-single .watermark-image-api-single {
    position: absolute;
    bottom: 0;
    right: 0;
    /* Dodaj zamiast right i px albo procenty to translateX i podobnie zró dla sliderów */
    transform: translateX(-30%) translateY(30%);
    max-width: 25%;
    opacity: 0.5;
    pointer-events: none;
}

@media (min-width: 1700px) {
    .watermarked-image-api-single .watermark-image-api-single {
        right: 10px;
        transform: translateX(-35%) translateY(40%);
    }
}



.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #000;
    border: 2px solid white;
    border-radius: 50%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
}

.scroll-icon {
    fill: #fff;
    width: 24px;
    height: 24px;
}

.scroll-to-top:hover {
    background-color: #343a40;
}

.image-color-change {
    width: 180px;
    heigt: auto;
    max-height: 100%;
    filter: invert(100%) sepia(0%) saturate(100%) hue-rotate(0deg) brightness(0%);
    /* Kolor zmieniony na niebieski - dostosuj wartości według potrzeb */
}



/* .nav.active li a{
    color:red;
} */


.header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-area.header-sticky {
    transition: all 0.3s ease-in-out;
}

.thumb {
    position: relative;
    overflow: hidden;
}

.thumb img {
    border-radius: 5px;
}

.thumb img.grayscale {
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease, transform 0.3s ease;
    transform: scale(1);
}

.thumb:hover img.grayscale {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.thumb .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.thumbProducts {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
}

/* fallback, gdyby ktoś miał bardzo stary browser */
@supports not (aspect-ratio:1 / 1) {
    .thumbProducts::before {
        content: '';
        display: block;
        padding-top: 100%;
        /* wysokość = szerokość */
    }

    .thumbProducts>.watermarked-image {
        position: absolute;
        inset: 0;
        /* wypełnia pseudo-kwadrat */
    }
}

.thumbProducts img {
    border-radius: 5px;
}

.thumbProducts img.img-cover {
    /* dodamy tę klasę w Blade */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* wypełnia całe pudełko */
    object-position: top;
    /* zakotwiczenie u góry – utnie dół */
    transition: filter .3s ease, transform .3s ease;
}

.thumbProducts img.grayscale {
    transition: filter 0.3s ease, transform 0.3s ease;
    transform: scale(1);
}

.thumbProducts:hover img.grayscale {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.thumbProducts .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    text-align: center;
}

.overlay h4 {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.3rem;
    margin: 0;
    padding: 10px 0;
    color: var(--bs-body-color-hover);
}

.category-list {
    list-style-type: none;
    padding-left: 0;
}

.category-list>li {
    margin-bottom: 10px;
}

.category-list ul {
    list-style-type: none;
    padding-left: 20px;
    margin-top: 5px;
}

.menu-line {
    margin-bottom: 5px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    padding: 5px 10px;
    display: block;
    background-color: #343a40;
    border-radius: 4px;
}

.nav-link:hover {
    background-color: #495057;
    color: #f8f9fa;
}

.nav-link.my-menu-title-2 {
    font-weight: bold;
}

.category-list ul li {
    margin-bottom: 5px;
}

.category-list ul ul {
    padding-left: 20px;
}

.pathStyling a {
    color: var(--bs-body-color);
}

.pathStyling a:hover {
    color: var(--bs-body-color-darker);
}

.newsItemBackground {
    background-color: var(--bs-item-bg);
    border-radius: 5px;
    filter: drop-shadow(rgba(0, 0, 0, 0.3) 5px 5px 5px);
}

.userCardItemBackground {
    background-color: #f8fafc;
    border-radius: 5px;
    filter: drop-shadow(rgba(0, 0, 0, 0.3) 3px 3px 3px);
}

@media (max-width: 575px) {
    .translate-y-small {
        transform: translateY(-10px);
    }
}

.rounded-3xl {
    border-radius: 1.5rem !important;
}

@media (min-width: 1400px) {
    .bigger-max-width {
        max-width: 1500px !important;
    }
}

@media (min-width: 1200px) {
    .bigger-xl-max-width {
        max-width: 1300px !important;
    }
}

@media (min-width: 1400px) {
    .px-xxl-3 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

.pt-custom-1 {
    padding-top: 1rem;
}

@media (min-width: 1200px) {
    .pt-xl-custom-2-5 {
        padding-top: 2.5rem !important;
    }
}

.section-heading h2 {
    font-size: 34px;
}

@media (max-width: 991px) {
    .section-heading h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    #iframeMap {
        aspect-ratio: 1 / 1;
        /* Ustawia proporcje szerokości do wysokości na 1:1 */
        height: auto;
    }
}

.border-bottom-custom {
    border-bottom: 3px dotted var(--bs-body-color);
}

.border-top-custom {
    border-top: 3px dotted #ffffff;
}

.mb-\[2\.5\] {
    margin-bottom: 2.5rem !important;
}

@media (min-width: 768px) {
    .w-100-desktop {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .w-90-mobile {
        width: 90%;
    }
}

@media (max-width: 575px) {
    .smaller-font {
        font-size: 0.75rem;
    }

    .h5 {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    .smaller-font {
        font-size: 0.8rem;
    }

    .h5 {
        font-size: 0.9rem !important;
    }
}

@media (min-width: 768px) {
    .smaller-font {
        font-size: 0.9rem;
    }
}

.mobile-card-info {
    font-weight: 500;
}

@media (min-width: 992px) {
    .transform-little-top {
        transform: translateY(-19px);
    }

    .adjust-footer-height {
        min-height: 3rem;
    }
}

@media (min-width: 1200px) {
    .transform-little-top {
        transform: translateY(4px);
    }
}




.wrap-anywhere {
    white-space: normal;
    /* pozwala na zawijanie przy spacjach */
    overflow-wrap: break-word;
    /* łamie linie przy spacjach lub myślnikach */
    word-wrap: break-word;
    /* dla starszych przeglądarek */
    word-break: break-word;
    /* łamie słowa tylko jeśli trzeba */
}
