.benefitBanner__title {
    font-size: 20px;
}

.benefitBanner__picture {
    width: 72px;
    max-width: 72px;
    height: 72px;
}

.navigation-in {
    font-size: 16px;
}

.navigation-in ul li a {
    padding: 20px 30px;
}

.navigation-in ul li a b {
    font-weight: 500;
}

.tessa-product-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1024px;
    margin: 5px auto 60px;
}

.tessa-product-desc__image {
    flex: 0 0 33%;
    max-width: 33%;
}

.tessa-product-desc__image img,.tessa-sale-hero__image img {
    display: block;
    width: 100%;
    height: auto;
}

.tessa-product-desc__image img {
    border-radius: 18px;
}

.tessa-product-desc__text {
    flex: 1;
    max-width: 700px;
    font-size: 17px;
    line-height: 1.75;
}

.tessa-product-desc__text h2 {
    margin: 0 0 22px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
}

.tessa-product-desc__text p {
    margin: 0 0 18px;
}

.tessa-product-desc,.tessa-product-desc__text,.tessa-product-desc__text h2,.tessa-product-desc__text p,.tessa-sale-page,.tessa-sale-hero__content,.tessa-sale-hero h1,.tessa-sale-hero p,.tessa-sale-day,.tessa-sale-day h3,.tessa-sale-note,.tessa-sale-note h2,.tessa-sale-note p {
    text-align: left !important;
}

@media (max-width:555px) {
    .banner-custom-main>div h2 {
        font-size: 30px;
    }

    .banner-custom>div {
        width: 100%;
    }
}

.btn.add-to-cart-button:before,.btn.btn-cart,.btn.btn-cart:before,a.btn.add-to-cart-button,a.btn.add-to-cart-button:before,a.btn.btn-cart,a.btn.btn-cart:before {
    margin-top: 15px;
}

:where(body.ums_homepage_cart_checkout_headings--on) .welcome .h1,:where(body.ums_homepage_cart_checkout_headings--on) .welcome div {
    max-width: 1024px;
}

.benefitBanner.position--benefitHomepage {
    padding-bottom: 5px;
}

.tessa-sale-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 15px 60px;
}

.tessa-sale-page * {
    box-sizing: border-box;
}

.tessa-sale-hero {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 45px;
    align-items: center;
    margin-bottom: 55px;
}

.tessa-sale-kicker {
    display: inline-block;
    margin: 0 0 14px;
    color: #f37a3d;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 14px;
}

.tessa-sale-hero h1 {
    margin: 0 0 22px;
    font-size: 44px;
    line-height: 1.12;
    font-weight: 800;
}

.tessa-sale-hero p {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.7;
}

.tessa-sale-hero__image img {
    border-radius: 24px;
}

.tessa-sale-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.tessa-sale-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .2s ease;
}

.tessa-sale-btn--primary {
    background: #f37a3d;
    color: #fff !important;
}

.tessa-sale-btn--primary:hover {
    background: #e7652f;
    color: #fff !important;
}

.tessa-sale-btn--secondary {
    background: #f7eee9;
    color: #111 !important;
}

.tessa-sale-btn--secondary:hover {
    background: #f1ded4;
    color: #111 !important;
}

.tessa-sale-section {
    margin-top: 45px;
}

.tessa-sale-section__head,.tessa-sale-map__head {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.tessa-sale-section__head {
    margin-bottom: 32px;
}

.tessa-sale-map__head {
    margin-bottom: 24px;
}

.tessa-sale-section__head h2,.tessa-sale-map__head h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
}

.tessa-sale-section__head p,.tessa-sale-map__head p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.tessa-sale-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.tessa-sale-day {
    background: #fff;
    border: 1px solid #f0e2dc;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 28px #0000000a;
}

.tessa-sale-day h3 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 800;
}

.tessa-sale-day ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tessa-sale-day li {
    padding: 10px 0;
    border-bottom: 1px solid #f2e8e4;
    font-size: 16px;
    line-height: 1.5;
}

.tessa-sale-day li:last-child {
    border: 0;
}

.tessa-sale-place {
    font-weight: 700;
}

.tessa-sale-time {
    color: #666;
}

.tessa-sale-map {
    margin-top: 55px;
}

.tessa-sale-map__frame {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 28px #0000000f;
    background: #f7eee9;
}

.tessa-sale-map__frame--cropped {
    --map-header-cut: 118px;
    height: 480px;
    position: relative;
}

.tessa-sale-map__frame--cropped iframe {
    display: block;
    width: 100%;
    height: calc(480px + var(--map-header-cut));
    border: 0;
    transform: translateY(calc(var(--map-header-cut)*-1));
}

.tessa-sale-note {
    margin-top: 45px;
    padding: 28px 32px;
    border-radius: 22px;
    background: #f7eee9;
}

.tessa-sale-note h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 800;
}

.tessa-sale-note p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.product .p .image img {
    transform: scale(1.99);
}

.product .p .image {
    overflow: hidden;
}

.btn.btn-primary,a.btn.btn-primary {
    margin-top: 10px;
}

.products-block .product {
    display: flex;
}

.products-block .product .p {
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-direction: column !important;
}

.products-block .product .p-in {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column !important;
}

.products-block .product .p>.image,.products-block .product .p-in-in {
    flex: 0 0 auto;
}

.products-block .product .p-bottom {
    margin-top: auto !important;
}

.products-block.products .p .price {
    margin-bottom: 8px;
}

.tessa-sale-subhero__image {
    border-radius: 24px;
    overflow: hidden;
}

.carousel-inner .item img {
    object-position: 80% 50%;
}

#predajne-miesta>.tessa-sale-section__head:nth-child(2) {
    max-width: none;
    padding: 28px;
    border-top: 6px solid #f37a3d;
    border-radius: 22px;
    background: #fff7f2;
}

#predajne-miesta>h3 {
    margin: 32px 0 18px;
    font-size: 24px;
}

#predajne-miesta>h3:first-of-type {
    color: #547443;
}

#predajne-miesta>h3:nth-of-type(2) {
    color: #c95520;
}

#predajne-miesta>h3:first-of-type+.tessa-sale-grid .tessa-sale-day {
    border-top: 5px solid #759761;
    background: #f6faf3;
}

#predajne-miesta>h3:nth-of-type(2)+.tessa-sale-grid .tessa-sale-day {
    border-top: 5px solid #f37a3d;
    background: #fff8f4;
}

#predajne-miesta>h3:nth-of-type(2)+.tessa-sale-grid .tessa-sale-day>h3 {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #fbe5da;
    color: #c95520;
    font-size: 19px;
}

#predajne-miesta+.tessa-sale-section {
    padding: 32px;
    border-top: 6px solid #6f925c;
    border-radius: 24px;
    background: #f3f8f0;
}

#predajne-miesta+.tessa-sale-section .tessa-sale-kicker {
    color: #628350;
}

#predajne-miesta+.tessa-sale-section .tessa-sale-day {
    border-top: 5px solid #6f925c;
}

@media (max-width:991px) {
    .tessa-sale-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tessa-sale-hero h1 {
        font-size: 36px;
    }

    .tessa-sale-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:767px) {
    .tessa-product-desc {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        max-width: 100%;
        margin: 30px auto;
    }

    .tessa-product-desc__image {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .tessa-product-desc__text {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.65;
    }

    .tessa-product-desc__text h2 {
        font-size: 30px;
    }

    .tessa-sale-page {
        padding: 20px 0 45px;
    }

    .tessa-sale-hero h1 {
        font-size: 31px;
    }

    .tessa-sale-hero p {
        font-size: 16px;
    }

    .tessa-sale-grid {
        grid-template-columns: 1fr;
    }

    .tessa-sale-section__head,.tessa-sale-map__head {
        text-align: left;
    }

    .tessa-sale-section__head h2,.tessa-sale-map__head h2 {
        font-size: 28px;
    }

    .tessa-sale-buttons {
        flex-direction: column;
    }

    .tessa-sale-btn {
        width: 100%;
    }

    .tessa-sale-map__frame--cropped {
        height: 360px;
    }

    .tessa-sale-map__frame--cropped iframe {
        height: calc(360px + var(--map-header-cut));
    }

    .tessa-sale-note {
        padding: 24px 20px;
    }

    .tessa-sale-note h2 {
        font-size: 25px;
    }

    #predajne-miesta>.tessa-sale-section__head:nth-child(2) {
        padding: 22px 18px;
    }

    #predajne-miesta+.tessa-sale-section {
        padding: 24px 15px;
    }
}

.payment-info {
    max-height: 5.75em;
}

.payment-info .show-tooltip {
    display: none;
}

.banner-custom-main>.banner-desktop-image {
    display: block !important;
}

.banner-custom-main>.banner-mobile-image {
    display: none !important;
}

@media (min-width:768px) {
    #footer ul:has(>li>a[href$="/obchodne-podmienky/"]) {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 6px 36px;
        width: min(760px,calc(100vw - 48px)) !important;
        max-width: none !important;
        padding: 0;
        list-style: none;
    }

    #footer ul:has(>li>a[href$="/obchodne-podmienky/"])>li {
        display: block;
        float: none;
        width: auto;
        margin: 0;
        padding: 0;
    }

    .payment-info {
        max-height: 2em;
    }
}

@media (max-width:767px) {
    body.navigation-window-visible #navigation>.navigation-in>:is(.menu-level-1,.menu-secondary-level-1) {
        flex-shrink: 0 !important;
    }

    body.navigation-window-visible #navigation>.navigation-in>.menu-secondary-level-1 {
        border-top: 1px solid #7f7f7f73;
        padding-top: 12px;
        padding-bottom: 130px;
    }

    .banner-custom-main>.banner-desktop-image {
        display: none !important;
    }

    .banner-custom-main>.banner-mobile-image {
        display: block !important;
    }
}

/* Mobile banner adjustments: original banner HTML remains unchanged. */
@media (max-width: 767px) {
    .banner-custom-main {
        position: relative;
    }

    /* Overlay the original content wrapper across the entire banner. */
    .banner-custom-main > div {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transform: none;
        z-index: 2;
    }

    /* Move the existing heading and paragraph 25px upward. */
    .banner-custom-main > div > h2,
    .banner-custom-main > div > p {
        position: relative;
        top: -48px;
        text-align: center;
    }
    .banner-custom-main > div > p {
        left: 50%;
        transform: translateX(-50%);
    }
    .dole > div > h2,
    .dole > div > p {
        position: relative;
        top: -18px;
        text-align: center;
    }


    /* Position the original CTA at the bottom center; no new link required. */
    .banner-custom-main > div > a.btn {
        position: absolute;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: max-content;
        max-width: calc(100% - 20px);
        margin: 0 !important;
        text-align: center;
        z-index: 3;
    }
    .dole > div > a.btn.nie-stred {
        bottom: unset;
        margin-top: 133px !important;
    }
}

