/**
 * Task 33850 – PP servis visual adjustments.
 * Scope: dev/test instance, frontend-only styling for homepage, product detail and footer badges.
 */

.pp-task33850-topfirma {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pp-task33850-topfirma img {
    display: block;
    width: 138px;
    max-width: 100%;
    height: auto;
}

.pp-task33850-home-topfirma {
    display: none;
}

@media (min-width: 1025px) {
    body.home .pp-task33850-home-topfirma {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 16px auto 8px;
        max-width: 1180px;
    }
}

.pp-task33850-footer-topfirma {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 10px auto 8px;
}

.pp-task33850-footer-topfirma .pp-task33850-topfirma img {
    width: 96px;
}

.pp-task33850-after-bestsellers {
    display: none;
}

.pp-task33850-support {
    box-sizing: border-box;
    width: 100%;
    max-width: 293px;
    margin: 24px auto 18px;
    padding: 25px 22px 22px;
    border: 2px solid #00688d;
    border-radius: 16px;
    background: #fff;
    color: #1d1d1d;
    font-family: "Poppins", sans-serif;
    text-align: center;
}

.pp-task33850-support__title {
    margin: 0 auto 18px;
    color: #1d1d1d;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.pp-task33850-support__title-line {
    display: block;
}

.pp-task33850-support__title-line--spread {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.pp-task33850-support__hours {
    margin: 0 0 22px;
    color: #777;
    font-size: 14px;
    line-height: 1.4;
}

.pp-task33850-support__item {
    margin: 0 0 12px;
}

.pp-task33850-support__item:last-child {
    margin-bottom: 0;
}

.pp-task33850-support__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1d1d1d;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}

.pp-task33850-support__link:hover,
.pp-task33850-support__link:focus {
    color: #00688d;
}

.pp-task33850-support__icon {
    display: inline-flex;
    width: 24px;
    min-width: 24px;
    justify-content: center;
    color: #000;
    font-size: 22px;
    line-height: 1;
}

.pp-task33850-usp-row {
    display: flex;
    width: 100%;
    max-width: 360px;
    margin: 18px auto 8px;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.pp-task33850-usp-item {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #1d1d1d;
    font-family: "Poppins", sans-serif;
    font-size: 9px;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.pp-task33850-usp-item img {
    display: block;
    width: auto;
    max-width: 46px;
    height: 32px;
    object-fit: contain;
    margin: 0 auto 5px;
}

.pp-task33850-usp-title {
    display: block;
    font-weight: 700;
}

.pp-task33850-usp-subtitle {
    display: block;
    font-weight: 500;
}

@media (max-width: 767px) {
    body.single-product .pp-task33850-after-bestsellers {
        display: block;
        width: 100%;
        margin: 18px auto 4px;
    }

    body.single-product .pp-task33850-after-bestsellers .pp-task33850-support {
        max-width: 100%;
    }

    /* Homepage/mobile USP row: keep all four benefits next to each other. */
    body.home .elementor-element-1d7edcd {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }

    body.home .elementor-element-1d7edcd > a {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        gap: 5px !important;
    }

    body.home .elementor-element-1d7edcd .elementor-widget-image img {
        width: auto !important;
        max-width: 44px !important;
        max-height: 31px !important;
        object-fit: contain !important;
    }

    body.home .elementor-element-1d7edcd .elementor-heading-title {
        font-size: 9px !important;
        line-height: 1.15 !important;
        text-align: center !important;
    }

    /* Footer logo groups: use compact rows instead of uneven single-column spacing. */
    .elementor-element-df7744b,
    .elementor-element-a23a919 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px 16px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .elementor-element-df7744b > .elementor-element,
    .elementor-element-a23a919 > .elementor-element {
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .elementor-element-df7744b img,
    .elementor-element-a23a919 img {
        display: block !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .elementor-element-df7744b img {
        max-width: 96px !important;
        max-height: 54px !important;
    }

    .elementor-element-df7744b .elementor-element-d67d180 img {
        max-width: 60px !important;
        max-height: 60px !important;
    }

    .elementor-element-a23a919 img {
        max-width: 104px !important;
        max-height: 48px !important;
    }
}

@media (max-width: 390px) {
    .pp-task33850-support {
        padding: 22px 20px 20px;
    }

    .pp-task33850-support__title {
        font-size: 20px;
    }

    .pp-task33850-usp-row {
        gap: 6px;
    }

    .pp-task33850-usp-item {
        font-size: 8px;
    }
}

.pp-task33850-catalog-mobile-usp {
    display: none;
}

@media (max-width: 767px) {
    .pp-task33850-catalog-mobile-usp {
        display: block;
        width: 100%;
        margin: 14px auto 18px;
        padding: 0 6px;
    }
}
