/* =========================================================
   TUZEXOVKY FOOTER
   ========================================================= */

#footer {
    --footer-primary: #fa7d9d;
    --footer-secondary: #99d9d9;
    --footer-secondary-dark: #55bfc4;
    --footer-tile: #f5f6f8;
    --footer-rating: #e4e9f8;
    --footer-text: #292929;
    --footer-muted: #777b90;
}

#footer .site-name a img,
#footer .footer-links-icons,
#footer #signature {
    display: none !important;
}

#footer.is-white .footer-bottom-bg::before {
    background-color: #fff;
}


/* =========================================================
   NEWSLETTER + HODNOCENÍ
   ========================================================= */

#footer .footer-item.footer-item-newsletter {
    box-sizing: border-box;
}

#footer .footer-two-banners {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    align-items: stretch;
    justify-content: flex-end;
    gap: 16px;
    width: 100%;
    min-width: 0;
    margin: 15px 0 0;
    padding: 0;
}

#footer .footer-two-banners__item {
    position: relative !important;
    inset: auto !important;
    box-sizing: border-box;
    display: block;
    float: none !important;
    width: 100% !important;
    min-width: 0;
    max-width: 320px !important;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

#footer .footer-two-banners__item > .banner,
#footer .footer-two-banners__item .banner-wrapper,
#footer .footer-two-banners__item .banner-wrapper > span {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#footer .footer-two-banners__item > .banner {
    min-height: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}


/* =========================================================
   HODNOTICÍ KARTY
   ========================================================= */

#footer .footer-rating-card {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    min-height: 300px;
    margin: 0;
    padding: 24px;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 255, 255, .78) 0,
            rgba(255, 255, 255, 0) 45%
        ),
        var(--footer-rating);
    color: var(--footer-text);
    text-align: left;
}

#footer .footer-rating-card__decoration {
    position: absolute;
    z-index: 0;
    right: -15px;
    bottom: -23px;
    color: rgba(255, 255, 255, .48) !important;
    font-size: 112px !important;
    line-height: 1 !important;
    transform: rotate(-12deg);
    pointer-events: none;
}

#footer .footer-rating-card__header {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0 0 21px;
}

#footer .footer-rating-card__logo-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 34px;
}

#footer .footer-rating-card__logo {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: left center;
}

#footer .footer-rating-card__logo--heureka {
    max-width: 148px;
    max-height: 31px;
}

#footer .footer-rating-card__logo--zbozi {
    max-width: 138px;
    max-height: 27px;
}

#footer .footer-rating-card__title {
    color: #686b75;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

#footer .footer-rating-card__score {
    position: relative;
    z-index: 2;
    margin: 0 0 11px;
    color: var(--footer-text);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    white-space: nowrap;
}

#footer .footer-rating-card__stars {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 21px;
    margin: 0 0 17px;
    padding: 0;
    color: var(--footer-secondary-dark) !important;
    font-size: 19px;
    line-height: 1;
}

#footer .footer-rating-card__stars .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    color: inherit !important;
    font-family: "bootstrap-icons" !important;
    font-style: normal !important;
    line-height: 1;
}

#footer .footer-rating-card__count {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    color: #686b75;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

#footer .footer-rating-card__button.btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0;
    min-height: 48px;
    margin: auto 0 0 !important;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}


/* =========================================================
   SPOLEČNÉ NADPISY
   ========================================================= */

#footer .footer-contact-card__heading,
#footer .footer-shopping-card__heading,
#footer .footer-categories-tags__heading,
#footer .footer-services-card__heading {
    display: block !important;
    margin: 0 0 18px;
    color: #80caca;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}


/* =========================================================
   KONTAKT
   ========================================================= */

#footer .footer-contact-card {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--footer-text);
}

#footer .footer-contact-card * {
    box-sizing: border-box;
}

#footer .footer-contact-card__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px;
    width: 100%;
}

#footer .footer-contact-card__item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 13px !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 13px;
    color: var(--footer-text) !important;
    text-decoration: none !important;
    transition:
        background-color .2s ease,
        transform .2s ease;
}

#footer .footer-contact-card__item:hover {
    background: var(--footer-tile);
    color: var(--footer-text) !important;
    text-decoration: none !important;
    transform: translateX(3px);
}

#footer .footer-contact-card__icon {
    display: flex !important;
    flex: 0 0 42px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    border-radius: 13px;
    background: var(--footer-tile);
    color: var(--footer-primary);
    font-size: 20px;
    line-height: 1;
}

#footer .footer-contact-card__icon .bi {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: 1 !important;
}

#footer .footer-contact-card__text {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0;
    gap: 2px;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

#footer .footer-contact-card__title {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    color: var(--footer-text) !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left !important;
}

#footer .footer-contact-card__subtitle {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    overflow: hidden;
    color: var(--footer-muted) !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#footer .footer-contact-card__status {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 2px 0 0 !important;
    color: var(--footer-muted) !important;
    font-size: 12px;
    line-height: 1.35;
    cursor: help;
}

#footer .footer-contact-card__dot {
    display: block !important;
    flex: 0 0 9px !important;
    width: 9px !important;
    height: 9px !important;
    margin: 0 !important;
    border-radius: 50%;
    background: #e05263;
    box-shadow: 0 0 0 4px rgba(224, 82, 99, .12);
}

#footer .footer-contact-card__status.is-online .footer-contact-card__dot {
    background: #218162;
    box-shadow: 0 0 0 4px rgba(33, 129, 98, .13);
}

#footer .footer-contact-card__tooltip {
    position: absolute;
    z-index: 20;
    left: 0;
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: 220px;
    padding: 7px 10px;
    border-radius: 9px;
    background: #292929;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;
}

#footer .footer-contact-card__tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 12px;
    border: 5px solid transparent;
    border-top-color: #292929;
}

#footer .footer-contact-card__status:hover .footer-contact-card__tooltip,
#footer .footer-contact-card__status:focus .footer-contact-card__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   VŠE O NÁKUPU
   ========================================================= */

#footer .footer-shopping-card {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    background: transparent;
    color: var(--footer-text);
}

#footer .footer-shopping-card * {
    box-sizing: border-box;
}

#footer .footer-shopping-card__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px;
    width: 100%;
}

#footer .footer-shopping-card__item {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 13px;
    color: var(--footer-text) !important;
    text-decoration: none !important;
    transition:
        background-color .2s ease,
        transform .2s ease;
}

#footer .footer-shopping-card__item:hover {
    background: var(--footer-tile);
    color: var(--footer-text) !important;
    text-decoration: none !important;
    transform: translateX(3px);
}

#footer .footer-shopping-card__icon {
    display: flex !important;
    flex: 0 0 42px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    border-radius: 13px;
    background: var(--footer-tile);
    color: var(--footer-primary);
    font-size: 20px;
    line-height: 1;
}

#footer .footer-shopping-card__icon .bi {
    display: inline-flex !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: 1 !important;
}

#footer .footer-shopping-card__text {
    display: block !important;
    min-width: 0;
    margin: 0 !important;
    color: var(--footer-text) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left !important;
}


/* =========================================================
   OBLÍBENÉ KATEGORIE
   ========================================================= */

#footer .footer-categories-tags {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    background: transparent;
    color: var(--footer-text);
}

#footer .footer-categories-tags * {
    box-sizing: border-box;
}

#footer .footer-categories-tags__list {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
}

#footer .footer-categories-tags__item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100%;
    min-height: 42px;
    margin: 0 !important;
    padding: 10px 16px !important;
    border: 0;
    border-radius: 999px;
    background: var(--footer-tile);
    color: var(--footer-text) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 5px 12px rgba(41, 41, 41, .06);
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

#footer .footer-categories-tags__item:hover {
    background: linear-gradient(135deg, #fa7d9d, #ff91ad);
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 9px 18px rgba(250, 125, 157, .24);
}


/* =========================================================
   DOPRAVA A PLATBY
   ========================================================= */

#footer .footer-services-card {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    background: transparent;
    color: var(--footer-text);
}

#footer .footer-services-card * {
    box-sizing: border-box;
}

#footer .footer-services-card__section +
.footer-services-card__section {
    margin-top: 24px;
}

#footer .footer-services-card__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
}

#footer .footer-services-card__item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0;
    height: 68px;
    margin: 0 !important;
    padding: 9px !important;
    border-radius: 15px;
    background: #fff;
    color: var(--footer-text) !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(41, 41, 41, .06);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

#footer .footer-services-card__item:hover {
    color: var(--footer-text) !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(41, 41, 41, .1);
}

#footer .footer-services-card__item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 32px;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

#footer .footer-services-card__item--alzabox img {
    max-height: 31px;
}

#footer .footer-services-card__item--zasilkovna img {
    max-height: 27px;
}

#footer .footer-services-card__item--ppl img {
    max-height: 26px;
}

#footer .footer-services-card__item--gls img {
    max-height: 33px;
}

#footer .footer-services-card__item--balikovna img {
    max-height: 28px;
}

#footer .footer-services-card__item--comgate img {
    max-height: 27px;
}

#footer .footer-services-card__item--cards img {
    max-height: 26px;
}

#footer .footer-services-card__item--pay img {
    max-height: 25px;
}

#footer .footer-services-card__item--payments img {
    max-height: 35px;
}


/* =========================================================
   SPODNÍ ŘÁDEK
   ========================================================= */

#footer .footer-bottom {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    text-align: left;
    padding-bottom: 15px;
}

#footer .footer-bottom .copyright,
#footer .footer-bottom .footer-powered {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #80caca !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: normal !important;
}

#footer .footer-bottom .footer-powered {
    margin-left: 6px !important;
}

#footer .footer-bottom .footer-powered::before {
    content: "・";
    margin-right: 6px;
    color: var(--footer-secondary);
}

#footer .footer-bottom .footer-powered a {
    color: var(--footer-secondary) !important;
    font-weight: 600;
    text-decoration: none;
}

#footer .footer-bottom .footer-powered a:hover {
    color: var(--footer-secondary-dark) !important;
}

#footer .footer-bottom-bg {
    z-index: 0 !important;
    pointer-events: none;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {
    #footer .footer-item.footer-item-newsletter {
        width: 60%;
    }

    #footer .footer-two-banners {
        width: 40%;
        margin-top: -110px;
        padding-left: 15px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 769px) and (max-width: 991px) {
    #footer .footer-item.footer-item-newsletter {
        width: 100%;
    }

    #footer .footer-two-banners {
        grid-template-columns: repeat(2, minmax(0, 320px));
        justify-content: center;
        width: 100%;
        margin-top: 18px;
        padding: 0 15px;
    }

    #footer .footer-rating-card {
        min-height: 270px;
    }
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 768px) {
    #footer .footer-item.footer-item-newsletter {
        width: 100% !important;
        max-width: 100% !important;
    }

    #footer .footer-two-banners {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
        justify-content: stretch !important;
        gap: 14px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 16px 0 0 !important;
        padding: 0 15px !important;
    }

    #footer .footer-two-banners__item {
        display: block !important;
        grid-column: auto !important;
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #footer .footer-two-banners__item > .banner,
    #footer .footer-two-banners__item .banner-wrapper,
    #footer .footer-two-banners__item .banner-wrapper > span {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    #footer .footer-rating-card {
        width: 100%;
        min-height: 245px;
        padding: 21px 20px;
        border-radius: 18px;
    }

    #footer .footer-rating-card__header {
        gap: 9px;
        margin-bottom: 18px;
    }

    #footer .footer-rating-card__logo-box {
        height: 31px;
    }

    #footer .footer-rating-card__logo--heureka {
        max-width: 140px;
        max-height: 29px;
    }

    #footer .footer-rating-card__logo--zbozi {
        max-width: 132px;
        max-height: 25px;
    }

    #footer .footer-rating-card__score {
        margin-bottom: 10px;
        font-size: 34px;
    }

    #footer .footer-rating-card__stars {
        gap: 4px;
        margin-bottom: 15px;
        font-size: 18px;
    }

    #footer .footer-rating-card__count {
        margin-bottom: 16px;
    }

    #footer .footer-rating-card__button.btn {
        min-height: 45px;
    }

    #footer .footer-rating-card__decoration {
        right: -10px;
        bottom: -18px;
        font-size: 96px !important;
    }

    #footer .footer-contact-card,
    #footer .footer-shopping-card,
    #footer .footer-categories-tags,
    #footer .footer-services-card {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    #footer .footer-contact-card__heading,
    #footer .footer-shopping-card__heading,
    #footer .footer-categories-tags__heading,
    #footer .footer-services-card__heading {
        margin: 18px 0px;
        font-size: 16px;
    }

    #footer .footer-contact-card__item,
    #footer .footer-shopping-card__item {
        padding: 7px !important;
    }

    #footer .footer-contact-card__icon,
    #footer .footer-shopping-card__icon {
        flex-basis: 40px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 19px;
    }

    #footer .footer-categories-tags__list {
        gap: 8px;
    }

    #footer .footer-categories-tags__item {
        min-height: 39px;
        padding: 9px 14px !important;
        font-size: 13px;
    }

    #footer .footer-services-card__section +
    .footer-services-card__section {
        margin-top: 20px;
    }

    #footer .footer-services-card__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    #footer .footer-services-card__item {
        height: 64px;
        padding: 8px !important;
        border-radius: 13px;
    }

    #footer .footer-services-card__item img {
        max-height: 28px;
    }

    #footer .footer-services-card__item--payments img {
        max-height: 32px;
    }

    #footer .copyright,
    #footer .footer-powered {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    #footer .footer-two-banners {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    #footer .footer-rating-card {
        min-height: 230px;
        padding: 19px 17px;
    }

    #footer .footer-rating-card__score {
        font-size: 32px;
    }
}


@media (max-width: 768px) {
    #footer .footer-bottom {
        justify-content: center !important;
        text-align: center !important;
    }

    #footer .footer-bottom .copyright,
    #footer .footer-bottom .footer-powered {
        color: #4cbdbd !important;
        font-size: 12px !important;
    }

    #footer .footer-bottom .footer-powered a,
    #footer .footer-bottom .footer-powered::before {
        color: #4cbdbd !important;
    }
}

@media (max-width: 390px) {
    #footer .footer-services-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width:768px){

    .custom-footer{
        padding-top:0 !important;
    }

}
