/* iOS Safari umí automaticky zvětšit text kvůli čitelnosti (nezávisle na
   nastavené font-size), což na reálném telefonu láme layout jinak, než
   ukazuje desktopová simulace mobilu. Vypnuto globálně. */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (min-width: 768px) {
    .menu-level-1 .ext a:has(.submenu-arrow):hover {
        margin-left: 0px!important;
        margin-right: 0px!important;
    }
    .responsive-tools {
        dispay: inline-block !important;
    }
}

.menu-helper>ul>li a:hover {
    color: #00000095;
}

.menu-helper>span {
    display: block;
    background: transparent;
    color: #1A1A1A;
}

.menu-helper:after {
    content: "\e911";
    transform: scaleY(-1);
    color: #1A1A1A;
    background: transparent;
}

.menu-helper-visible .menu-helper:after {
    content: "\e911";
    transform: rotate(0);
}

.menu-helper {
    top: 129px;
}

.navigation-in {
    font-size: 1.25rem !important;
}

@media(min-width:768px) {
    .navigation-in:has(.exp)::before {
        content: '';
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 50;
    }
    .navigation-in .exp {
        z-index: 55;
    }
}

.homepage-box.before-carousel {
    border-top: 0;
}

@media (min-width: 1200px) {
    .navigation-in>ul>li.ext>ul>li {
        flex-basis: 14%;
        width: 14%;
    }
}

@media (min-width: 768px) {
    .header-top {
        padding-bottom: 0px;
    }
    .navigation-in>ul>li {
        border-left: 0;
    }
    .menu-level-2 li:has(a > img):hover {
        border: 2px solid #D4AF37 !important;
    }
    .menu-helper .menu-level-2 li:has(a > img):hover {
        border: none !important;
    }
    .menu-level-1 .exp a,
    .menu-level-1 .exp {
        border-radius: var(--primary-radius) var(--primary-radius) 0 0!important;
    }
    /*
    .navigation-in ul li:last-child a {
        padding-right: 0px !important;
    }
        */
    .navigation-in ul li:first-child a {
        padding-left: 0px !important;
    }
    .submenu-arrow {
        padding-left: 6px;
        padding-right: 10px;
    }
    .navigation-in ul li a b,
    .menu-helper>span {
        font-size: 1.20rem;
    }
    .navigation-in ul li:hover a b {
        color: #00000095;
        transition: .2s;
    }
    .navigation-in ul lia b {
        transition: .2s;
    }
    .menu-level-2 {
        border-radius: var(--primary-radius);
    }
    .navigation-in>ul>li.exp>a,
    .navigation-in>ul>li>a:focus-visible,
    .navigation-in>ul>li>a:hover,
    .navigation-in>ul>li.exp>a,
    .navigation-in>ul>li>a:focus-visible,
    .navigation-in>ul>li>a:hover {
        color: #1A1A1A!important;
    }
    .navigation-in>ul>li.ext>ul>li>div {
        width: 90%;
    }
    .navigation-in>ul>li.ext>ul>li>div>a>span {
        line-height: 18px;
    }
    .navigation-in>ul>li.ext>ul>li:hover>div>a>span {
        text-decoration: underline;
    }
    .submenu-visible .navigation-in>ul>li.ext.exp>ul {
        padding: 25px;
    }
    .navigation-in>ul>li.ext>ul>li>a {
        width: 100%!important;
        padding: 10px 0 0 0;
    }
    .navigation-in ul.menu-level-2 a span {
        font-weight: 400;
    }
    .navigation-in>ul>li.ext>ul>li>a img {
        max-height: 100px;
        max-width: 120px;
        object-fit: cover;
        margin: 0 auto!important;
    }
    .navigation-in>ul>li.ext>ul>li {
        display: flex;
        flex-direction: column;
        border: 2px solid #EFE9DD;
        border-radius: 8px 8px 0px 0px;
        box-shadow: 1px 1px 10px #D7D7D7;
        max-width: 160px;
        min-height: 160px;
        max-height: 170px;
        position: relative;
        padding-bottom: 12px !important;
    }
    .navigation-in>ul>li.ext>ul>li::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        /* Výška se vypočítá automaticky podle šířky, aby se zachoval poměr stran SVG */
        aspect-ratio: 314 / 34;
        transform: translateY(90%);
        /* Vždy vycentrováno na spodní lince */
        background-size: 100%;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='314' height='34' viewBox='0 0 314 34' fill='none'%3E%3Cpath d='M157.5 10L142.345 2.5H172.655L157.5 10Z' fill='white'/%3E%3Cpath d='M164.704 16.1383C163.045 11.1275 157.887 9.2302 157.154 8.97314C156.399 9.30534 151.568 11.522 150.212 16.5458C148.791 21.8066 151.757 28.0075 157.707 30.9998C163.684 27.7845 166.424 21.3368 164.704 16.1383Z' fill='white' stroke='%23D4AF37' stroke-width='5' stroke-linejoin='round'/%3E%3Cpath d='M157.154 8.97334C152.291 7.07915 146.148 5.27249 138.924 4.45512C136.159 4.1423 133.551 4.00995 131.129 4H117' fill='white'/%3E%3Cpath d='M157.154 8.97334C152.291 7.07915 146.148 5.27249 138.924 4.45512C136.159 4.1423 133.551 4.00995 131.129 4H117' stroke='%23D4AF37' stroke-width='5' stroke-linejoin='round'/%3E%3Cpath d='M157.154 8.97334C162.016 7.07915 168.16 5.27249 175.384 4.45512C178.148 4.1423 180.757 4.00995 183.178 4H197.308' fill='white'/%3E%3Cpath d='M157.154 8.97334C162.016 7.07915 168.16 5.27249 175.384 4.45512C178.148 4.1423 180.757 4.00995 183.178 4H197.308' stroke='%23D4AF37' stroke-width='5' stroke-linejoin='round'/%3E%3Cpath d='M0 4H117' stroke='%23D4AF37' stroke-width='5'/%3E%3Cpath d='M197 4H314' stroke='%23D4AF37' stroke-width='5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center bottom;
        backface-visibility: hidden;
        -webkit-font-smoothing: subpixel-antialiased;
    }
    .navigation-in>ul>li.ext>ul>li>div>a {
        text-align: center;
    }
    .navigation-in ul.menu-level-2 a:focus-visible,
    .navigation-in ul.menu-level-2 a:hover {
        color: var(--color-primary-hover);
    }
    .menu-item-all-products {
        min-width: 360px!important;
        width: 360px!important;
        margin-top: 18px;
        list-style: none;
        min-height: 40px!important;
        justify-content: center;
    }
    .menu-item-all-products a {
        font-weight: 600;
        color: #1A1A1A!important;
        text-transform: uppercase!important;
        text-align: center;
    }
    .menu-item-856 .menu-level-2 .menu-item-all-products {
        min-width: 35%!important;
    }
    .submenu-visible .navigation-in>ul>li.ext.exp>ul {
        display: grid;
        /* Automaticky vytvoří sloupce o minimální šířce 150px, které vyplní 100 % šířky */
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        /* Mezery mezi čtverečky */
        list-style: none;
    }
    .navigation-in>ul>li.ext>ul>li {
        min-width: 100% !important;
    }
}

.navigation-buttons a[data-target=cart] i {
    background-color: #1D7139;
    top: 10px;
}

@media (max-width: 767px) {
    .navigation-buttons a[data-target=cart] i {
        left: 13px;
    }
    .navigation-in {
        line-height: 1.2;
    }
}

.navigation-in>ul>li>a {
    color: #1A1A1A;
    text-transform: none;
    font-size: 1.25rem !important;
    font-weight: 500;
}

.navigation-in>ul>li>a:hover {
    color: grey;
}

.languagesMenu__box.open .languagesMenu__list {
    margin-left: -71.5px;
    display: block;
    min-width: 164px;
    margin-top: -13px;
    border: 1px solid #d9d9d9;
    border-top: 0;
    border-radius: 0px 0 15px 0px;
    padding-top: 5px;
    box-shadow: 1px 11px 20px 0px #1A1A1A0001c;
}

.languagesMenu__list__link--currency:before {
    display: none;
}

.languagesMenu__list__link {
    padding: 0 15px!important;
}

.languagesMenu__list--currency {
    padding-top: 10px;
}

.languagesMenu__box.open .languagesMenu__list.languagesMenu__list--currency {
    border: 1px solid #d9d9d9;
    border-radius: 0px 0px 15px 0px;
    margin-left: -10px;
    border-top: 0px;
    margin-top: -13px;
    min-width: 164px;
    box-shadow: 1px 11px 20px 0px #1A1A1A0001c;
}

.languagesMenu__box.open .languagesMenu__header,
.languagesMenu .languagesMenu__list__link:hover,
.languagesMenu__list__link:focus {
    color: #1A1A1A;
    border-radius: 10px;
}

.languagesMenu__header {
    color: #1A1A1A;
    transition: .2s;
}

.languagesMenu__header:hover {
    color: grey;
    transition: .2s;
}

.languagesMenu__content {
    background-color: #fff!important;
    border-radius: 50px;
    padding-left: 10px;
    border: 1px solid #D9D9D9;
}

.header-top .btn.cart-count .cart-price {
    font-weight: 500;
}

a.btn.cart-count::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    -webkit-mask-image: url("/user/documents/svg/shopping-cart_30.svg");
    mask-image: url("/user/documents/svg/shopping-cart_30.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: var(--primary-gold);
}

.top-nav-button.top-nav-button-login.toggle-window[data-target="login"]::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    -webkit-mask-image: url("/user/documents/svg/user_30.svg");
    mask-image: url("/user/documents/svg/user_30.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: var(--primary-gold);
    margin-right: 5px;
}

.header-top .btn.cart-count:before {
    margin-right: 8px;
}

@media (min-width: 992px) {
    .popup-widget.login-widget {
        left: 47.75%;
    }
    .admin-logged .popup-widget.login-widget {
        top: 100px;
    }
    .popup-widget.cart-widget {
        margin-top: 30px;
    }
}

.navigation-buttons .top-nav-button-login img {
    width: 24px;
    height: 24px;
    display: block;
}

.navigation-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

@media (max-width: 991px) {
    .popup-widget.login-widget {
        top: 42px !important;
    }
}

@media (max-width: 767px) {
    .top-navigation-bar,
    .top-nav-button.top-nav-button-login.toggle-window[data-target="login"] span {
        display: none !important;
    }

    .popup-widget.login-widget {
        top: 55px !important;
    }
}

.homepage-box {
    padding-top: 0px !important;
}

.top-navigation-bar .container .top-navigation-menu {
    order: 1;
}

.top-navigation-bar .container .top-navigation-contacts {
    order: 2;
    display: none;
}

.top-navigation-bar .container>div {
    text-align: left;
}

.top-navigation-bar .container .top-navigation-tools {
    order: 3;
}

.top-navigation-bar-menu {
    text-transform: none !important;
}

.top-navigation-bar-menu li a,
.top-navigation-bar-menu-helper li a {
    padding: 4px 20px 4px 0px;
}

.top-navigation-bar-menu li a,
.top-navigation-bar-menu-helper li a,
.top-navigation-bar,
.top-navigation-bar span,
.top-navigation-bar button {
    font-size: 1rem;
    font-weight: 500;
    color: #1A1A1A !important;
}

.top-navigation-bar-menu li:before {
    content: "" !important;
}

.top-navigation-bar,
.top-navigation-bar>*,
.top-navigation-bar>div>* {
    background: #F7F4ED !important;
}

.top-navigation-bar {
    border: 0 !important;
    min-height: 42px !important;
    align-content: center;
}

.breadcrumbs,
.overall-wrapper,
#header,
#content-wrapper,
.languagesMenu__content,
.homepage-box {
    background-color: #fff;
}

 :where(.ums_forms_redesign--off) .form-control,
 :where(.ums_forms_redesign--off) select {
    border-color: #AFAFAF;
}

.navigation-buttons a[data-target=cart],
.navigation-buttons a[data-target=cart]:hover {
    color: #1A1A1A;
}

.search .btn:hover {
    background-color: transparent;
}

@media (min-width: 768px) {
    .top-navigation-menu {
        height: 100% !important;
    }
    .header-top .navigation-buttons .top-nav-button.top-nav-button-login.toggle-window[data-target="login"] {
        display: none;
    }
    .navigation-in {
        background-color: #fff;
    }
    #navigation {
        height: 40px;
    }
    .header-top {
        height: 130px;
    }
    #header .site-name {
        width: 180px;
    }
    .content-wrapper.homepage-box.before-carousel {
        margin-top: 15px;
    }
    .menu-helper.visible {
        z-index: 4;
    }
    .menu-helper.visible .menu-level-1 li a .submenu-arrow {
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .header-top>div.site-name-wrapper {
        flex: 0 1 20%;
    }
    .header-top>div.search {
        align-self: center;
        flex: 0 1 40%;
        justify-content: center;
    }
    .header-top>div.search form {
        max-width: 90% !important;
        margin: 0 auto;
    }
    .header-top>div.support-header-inserted {
        display: flex;
        align-self: center;
        flex: 0 1 25%;
        justify-content: center;
    }
    .header-top>div.navigation-buttons {
        flex: 0 1 15%;
        justify-content: flex-end;
    }
    .header-top .site-name {
        width: 100% !important;
    }
    .top-nav-button-login,
    .top-navigation-tools {
        display: inline-flex !important;
        align-items: center;
        justify-content: end;
    }
}

@media (min-width: 993px) and (max-width: 1199px) {
    .header-top>div.site-name-wrapper {
        flex: 0 1 25%;
    }
    .header-top>div.search {
        align-self: center;
        flex: 0 1 45%;
        justify-content: center;
        max-width: 80% !important;
    }
    .header-top>div.support-header-inserted {
        display: flex;
        align-self: center;
        flex: 0 1 25%;
        justify-content: center;
    }
    .header-top>div.navigation-buttons {
        flex: 0 1 5%;
        justify-content: flex-end;
    }
    .header-top .site-name {
        width: 100% !important;
    }
}

@media (min-width: 993px) {
    .top-navigation-menu {
        flex: 0 1 70%;
    }
    .top-navigation-tools {
        flex: 0 1 30%;
    }
}

@media (max-width: 992px) {
    .top-navigation-menu {
        flex: 0 1 70% !important;
    }
    .top-navigation-tools {
        flex: 0 1 30% !important;
    }
}

.search-form button {
    border-top-right-radius: var(--primary-radius) !important;
    border-bottom-right-radius: var(--primary-radius) !important;
    background: var(--color-primary) !important;
    font-size: 0px !important;
    border: 0;
}

.search-form input:focus,
.search-form input:focus:not(:focus-visible),
.search-form input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    /* Některé frameworky jako Bootstrap přidávají i stín */
}

 :where(.ums_forms_redesign--off) .compact-form .btn::after {
    content: "\e920";
    transform: scaleX(-1);
    display: inline-block;
    font-family: shoptet;
    font-style: normal;
    font-variant: normal;
    font-weight: 900;
    color: #fff;
}

.query-input::placeholder {
    color: #1A1A1A;
    font-weight: 300;
}

@media (min-width: 1200px) {
    #header .site-name {
        width: 250px;
    }
}

@media (max-width: 1200px) {
    .navigation-in ul.menu-level-2[aria-label="Produkty"]>li {
        max-width: 23%;
    }
    .navigation-in>ul>li.ext>ul {
        gap: 20px;
    }
    .menu-item-856 .menu-level-2 {
        max-width: 100%!important
    }
    .navigation-in>ul>li>a {
        font-size: 16px;
    }
    .menu-helper>span {
        font-size: 16px;
    }
}

.submenu-arrow:after {
    color: var(--color-primary) !important;
}

@media(max-width:370px) {
    .phone-btn__status,
    .navigation-buttons .phone-btn {
        display: none;
    }
}

@media(max-width:767px) {
    .navigation-in>ul:last-child {
        margin-bottom: 70px;
    }
    .menu-level-2 {
        padding-bottom: 10px!important;
    }
    .menu-item-all-products {
        max-width: 250px!important;
        padding-left: 20px;
    }
    .menu-level-2>li {
        margin-bottom: 10px;
    }
    .menu-level-2>li a span {
        text-decoration: underline;
        color: #1A1A1A;
    }
    .navigation-in ul.menu-level-2 li a {
        padding-left: 10px;
        width: 250px;
        color: #1A1A1A;
        text-decoration: underline;
    }
    .menu-level-2 li a img {
        margin-left: 20px;
        width: 45px;
        height: fit-content;
    }
    .navigation-in ul li a {
        padding: 15px 20px !important;
    }
    .navigation-in ul li a:hover b {
        color: #1A1A1A;
    }
    .menu-level-1 li.exp {
        background: #ffffff;
    }
    .navigation-in>ul>li {
        margin: 0 !important;
    }
    .support-header-mobile-inserted .support-box__title {}
    .support-box {
        margin: 0 auto;
    }
    .support-header-mobile-inserted .support-box__title {
        font-family: 'PlayfairDisplay', sans-serif;
        font-size: 20px;
        color: #fff;
    }
    .support-header-mobile-inserted .support-box__phone {
        font-size: 16px;
        color: #fff !important;
    }
    .support-header-mobile-inserted .support-box__time {
        font-size: 16px;
        color: #fff !important;
    }
    .support-header-mobile-inserted {
        position: absolute;
        bottom: 0px;
        background: var(--color-primary);
        width: 100%;
        
    }
    .top-navigation-contacts {
        display: none!important;
    }
    .menu-level-1 li.appended-category {
        display: none!important;
    }
    .navigation-in>ul>li:last-child {
        border: 0px !important;
    }
    .menu-level-1>li:last-child::after {
        content: "";
        display: block;
        height: 1px;
        background: var(--color-primary);
        margin: 20px 30px;
    }
    .submenu-arrow {
        font-size: 16px;
    }
    .navigation-in>ul.menu-level-1>li>a {
        font-size: 18px;
    }
    .navigation-window-visible #navigation {
        width: 85%;
    }
    .navigation-in>ul>li>a {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
    }
    .navigation-in>ul>li {
        border-width: 0;
    }
    .navigation-close {
        top: 40px;
        right: 20px;
    }
    .navigation-in>ul.menu-level-1 {
        position: relative;
        padding-top: 100px;
    }
    .navigation-in>ul.menu-level-1::before {
        content: "MENU";
        position: absolute;
        top: 50px;
        left: 20px;
        font-weight: 300;
        font-size: 25px;
        letter-spacing: 1px;
        font-family: 'PlayfairDisplay', sans-serif;
        font-weight: 700;
    }
    .navigation-in {
        background-color: #EFE9DD !important;
    }
    .navigation-in .has-third-level ul,
    .navigation-in a.menu-image {
        display: contents;
    }
    .navigation-in>ul>li.ext>ul>li {
        display: flex;
        align-items: center !important;
    }
     :where(.ums_forms_redesign--off) .form-control,
     :where(.ums_forms_redesign--off) .compact-form .btn {
        height: 45px;
    }
     :where(.ums_forms_redesign--off) .compact-form .btn::after {
        font-size: 20px;
    }
    .header-top .search {
        margin-top: 10px;
    }
    #header .search-form {
        display: block;
    }
    .navigation-buttons .phone-btn {
        position: relative;
    }
    .phone-btn__status {
        position: absolute;
        top: 12px;
        right: -2px;
        width: 15px;
        height: 15px;
        background: #008565;
        border-radius: 50%;
        z-index: 2;
        border: 2px solid #fff;
    }
    .phone-btn__icon::before {
        content: "";
        display: inline-block;
        width: 26px;
        height: 26px;
        -webkit-mask-image: url("/user/documents/svg/phone_30.svg");
        mask-image: url("/user/documents/svg/phone_30.svg");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        mask-size: contain;
        background-color: var(--primary-gold);
    }
    .phone-btn__status::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: #008565;
        animation: phonePulse 1.8s ease-out infinite;
        opacity: 0.7;
    }
    @keyframes phonePulse {
        0% {
            transform: scale(1);
            opacity: 0.7;
        }
        70% {
            transform: scale(2.4);
            opacity: 0;
        }
        100% {
            transform: scale(2.4);
            opacity: 0;
        }
    }
    .navigation-buttons .phone-btn img {
        width: 24px;
        height: 24px;
    }

    .navigation-buttons .top-nav-button {
        position: relative;
    }
    .navigation-buttons a[data-target=cart]:hover i {
        color: #fff;
        background: #1D7139;
    }
    .navigation-buttons {
        flex-direction: row-reverse;
    }
    .responsive-tools>a[data-target=navigation] {
        right: 0;
    }
    .header-top .btn.cart-count:before {
        margin-right: 0px !important;
    }
    #header .cart-count {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
    }
     :where(.header-background-dark) .ordering-process .responsive-tools>a[data-target=navigation]:before,
     :where(.header-background-dark) .ordering-process .responsive-tools>a[data-target=navigation]:hover:before {
        background-color: #fff;
    }
    .responsive-tools>a[data-target="navigation"]::before {
        content: "";
        display: inline-block;
        width: 24px;
        height: 24px;
        border-radius: 0;
        background: url("/user/documents/upload/AAA-new-website/icons/ham-menu.svg") no-repeat center;
        background-size: contain;
    }
    .responsive-tools .toggle-window[data-target="search"],
    .responsive-tools .toggle-window[data-target="login"] {
        display: none;
    }
    #header {
        margin-top: 0px;
        padding-top: 10px;
    }
    #header .site-name a img {
        max-height: 40px;
        margin-bottom: 4px;
    }
    #header .site-name {
        text-align: left;
    }
    .top-navigation-tools {
        position: relative;
        top: 30px;
    }

    #navigation {
        padding-bottom: 80px;
    }
    .support-header-mobile-inserted .support-box {
    padding: 15px 0 !important;
}
}

@media(max-width:992px) {
    .support-header-inserted {
        display: none!important;
    }
    .header-top {
        justify-content: space-between;
    }
    .navigation-buttons .top-nav-button-login img {
        min-width: 24px;
    }
}

.languagesMenu__header--name {
    display: none!important
}

@media(min-width:768px) {
    .support-header-mobile-inserted {
        display: none;
    }
}

@media(max-width:767px) {
    .header-top {
        display: flex;
        flex-wrap: wrap;
    }
    .header-top .site-name-wrapper {
        flex: 0 1 40%;
        order: 1;
    }
    .header-top .search {
        flex: 1 1 100%;
        order: 3;
    }
    .header-top .support-header-inserted {
        display: none !important;
    }
    .header-top .navigation-buttons {
        flex: 0 1 60%;
        order: 2;
    }
    .dropdown>span:first-of-type {
        display: none !important;
    }
    .top-nav-button.top-nav-button-login.toggle-window[data-target="login"]::before {
        margin-right: 0px !important;
        width: 26px;
        height: 26px;
    }
    .top-nav-button.top-nav-button-login.toggle-window[data-target="login"] {
        padding: 0px !important;
    }
    .header-top .dropdown {
        font-size: 16px;
    }
    .header-top .dropdown .caret {
        border: 0;
    }
    .header-top .dropdown .caret:before {
        content: "\e90e";
        font-family: shoptet;
        height: 14px;
        line-height: 15px;
        margin-top: -7px;
        position: absolute;
        right: .25em;
        top: 50%;
        width: 14px;
    }
    .header-top .dropdown button {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: none;
        border: 0;
        padding-right: 1.5em;
        position: relative;
    }
    /*
    a[data-testid="hamburgerMenu"]::before {
        content: "";
        display: inline-block;
        width: 26px;
        height: 26px;
        -webkit-mask-image: url(/user/documents/svg/burger_menu_2.svg);
        mask-image: url(/user/documents/svg/burger_menu_2.svg);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        mask-size: contain;
        background-color: #1A1A1A;
    }
        */
    a[data-testid="hamburgerMenu"]::before {
        content: "";
        display: inline-block;
        width: 26px;
        height: 26px;
        background-image: url("/user/documents/svg/burger_menu_2.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    a[data-testid="hamburgerMenu"]:hover {
        background-color: transparent !important;
    }
    a[data-testid="hamburgerMenu"] {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
    }
    .navigation-in .top-navigation-menu {
        background-color: #EFE9DD !important;
        display: block;
        height: auto;
        margin-bottom: 30px
    }
    .navigation-in .top-navigation-menu .top-navigation-menu-helper {
        display: none !important;
    }
    .navigation-in .top-navigation-menu .top-navigation-bar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .navigation-in .top-navigation-menu .top-navigation-bar-menu li {
        flex: 0 1 35%;
    }
}

@media(max-width: 387px) {
    .header-top .site-name-wrapper {
        flex: 0 1 30%;
    }
    .header-top .navigation-buttons {
        flex: 0 1 70%;
    }
}

@media(max-width:767px) {
    /* Normalizace kontejnerů ikon v navigation-buttons */
    .navigation-buttons a[data-testid="hamburgerMenu"],
    .navigation-buttons a.btn.cart-count,
    .navigation-buttons .top-nav-button-login,
    .navigation-buttons .phone-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        width: 26px;
        height: 26px;
        min-height: 0 !important;
        min-width: 0 !important;
        line-height: 1;
        vertical-align: middle;
        box-sizing: border-box;
    }
    /* Všechny SVG pseudo-elementy – stejná velikost, block layout */
    a.btn.cart-count::before,
    .top-nav-button.top-nav-button-login.toggle-window[data-target="login"]::before,
    .phone-btn__icon::before {
        width: 26px !important;
        height: 26px !important;
        display: block !important;
        flex-shrink: 0;
        margin: 0 !important;
    }
    a[data-testid="hamburgerMenu"]::before {
        display: block !important;
        flex-shrink: 0;
        margin-top: 4px;
    }
    /* Přizpůsobení pozice status badge u phone-btn */
    .navigation-buttons .phone-btn__status {
        bottom: 0;
    }
}

.navigation-in>ul>li.ext>a>span,
.menu-helper:after {
    display: inline-block !important;
    font-size: 15px !important;
}

.menu-level-2 .menu-item-all-products {
    display: none !important;
}

@media(min-width: 992px) {
    .menu-level-2>li {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: auto;
        margin-bottom: 17px;
    }
    .menu-level-2>li>div {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 45px;
        text-align: center;
        width: 100%;
        margin-top: 8px;
    }
    .menu-helper .menu-level-2>li>div {
        justify-content: start;
        text-align: left !important;
    }
    .menu-level-2>li>a.menu-image {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
    }
}




/**
* Košík popup vpravo nahoře
*/
#header .cart-count {
    transition: all 0s !important;
}

#header .cart-count:focus-visible {
    outline: 0px !important;
    border: none !important;
    box-shadow: none !important;
}

#cart-widget {
    padding: 15px 15px 30px 15px;
    border: none;
    margin-top: 40px;
    box-sizing: border-box;
}

#cart-widget::before {
    display: none !important;
}

#cart-widget.popup-widget {
        bottom: auto;
        max-height: 500px;
        padding-top: 18px;
        position: absolute !important;
        width: 550px;
        right: auto !important;
        left: 50% !important;
        border-radius: 4px 0px 4px 4px;
}

body.cart-window-visible #cart-widget.popup-widget {
    display: flex !important;
    flex-direction: column;
    max-height: calc(100vh - 80px); /* fallback pro starší prohlížeče */
    max-height: calc(100dvh - 80px); /* na iOS Safari reaguje na skutečně viditelnou výšku (schovanou/vysunutou lištu) */
}

#cart-widget .popup-widget-inner {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

#cart-widget .cart-widget-button {
    flex-shrink: 0;
}

/* --- 1. MOBILY (do 991px) --- */
@media (max-width: 991px) {
    #cart-widget.popup-widget {
        position: fixed !important;
        margin-top: 30px;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        min-height: 300px;
    }

    #cart-widget .cart-widget-button {
        padding-bottom: 25px;
    }
    #cart-widget .cart-widget-button .btn {
       margin-left: auto;
       margin-right: 15px;
    }
}


@media (min-width: 992px) and (max-width: 1199px) {
    #cart-widget.popup-widget {
        margin-left: -64px !important; 
        width: 550px;
    }
}


@media (min-width: 1200px) and (max-width: 1439px) {
    #cart-widget.popup-widget {
        margin-left: 39px !important; 
        width: 550px;
    }
}


@media (min-width: 1440px) {
    #cart-widget.popup-widget {
        margin-left: 59px !important;
        width: 650px;
    }
}

@media (min-width: 1920px) {
    #cart-widget.popup-widget {
        margin-left: 58px !important;
        width: 650px;
    }
}

/* --- PRODUKTY V KOŠÍKU --- */
#cart-widget .cart-widget-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#cart-widget .cart-widget-product:not(:last-of-type) {
    border-bottom: 1px solid #EFE9DD;
}

#cart-widget .cart-widget-product-unit {
    display: none !important;
}

#cart-widget .cart-widget-product .cart-widget-product-image {
    order: 1;
    width: 15%;
}

#cart-widget .cart-widget-product .cart-widget-product-name {
    order: 2;
    width: 35%;
}

#cart-widget .cart-widget-product .cart-widget-product-amount {
    order: 3;
    width: 25%;
    min-width: 122px; 
}

#cart-widget .cart-widget-product .cart-widget-product-price-custom {
    order: 4;
    width: 15%;
    text-align: right;
}

#cart-widget .cart-widget-product .cart-widget-product-delete {
    order: 5;
    width: 5%;
    text-align: right;
}

#cart-widget .cart-widget-products {
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 20px;
}



#cart-widget .cart-free-shipping {
    position: relative;
    bottom: unset;
    left: unset;
    height: auto;
}

.cart-widget-button #continue-order-button:after {
    display: none;
}

.cart-widget-button #continue-order-button {
    border-radius: var(--primary-radius);
    background-color: var(--primary-gold);
    max-width: 300px;
    width: 100%;
    text-align: center;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 700;
}

.cart-widget-button #continue-order-button:hover {
    background-color: var(--primary-gold-hover);
}

#cart-widget .cart-widget-button {
    float: right;
    padding-top: 20px;
}

#cart-widget .remove-item:before {
    color: #AFAFAF;
}

#cart-widget .remove-item:hover:before {
    color: #1A1A1A;
}

@media (min-width: 992px) {
    .cart-widget-product .cart-widget-product-delete {
        visibility: visible;
    }
}

/**
* Pseudo pro border košíku při hoveru a otevření
*/
.btn-icon[data-testid="headerCart"] {
    position: relative;
    z-index: 1000 !important; 
}

.btn-icon[data-testid="headerCart"]::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px; 
    background-color: #fff; 
    z-index: -1; 
    opacity: 0;
    pointer-events: none;
    
}

body.cart-window-visible .btn-icon[data-testid="headerCart"]::after {
    opacity: 1;
    top: -15px;
    left: -20px;
    right: -20px;
    bottom: -25px;
    border-radius: 4px 4px 0px 0px;
}

@media (hover: hover) and (pointer: fine) {
    .btn-icon[data-testid="headerCart"].full:hover::after {
        opacity: 1;
        top: -15px;
        left: -20px;
        right: -20px;
        bottom: -25px;
        border-radius: 4px 4px 0px 0px;
    }
}

@media (max-width: 767px) {
    body.cart-window-visible .btn-icon[data-testid="headerCart"]::after {
    opacity: 1;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}
}

@media (max-width: 767px) {
    #cart-widget .cart-widget-products .cart-widget-product.is-processed .cart-widget-product-image{
        order: 1;
        width: 25%;
    }
    #cart-widget .cart-widget-products .cart-widget-product.is-processed .product-info-element.is-processed {
        order: 2;
    }
    #cart-widget .cart-widget-products .cart-widget-product.is-processed .product-info-element.is-processed {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    #cart-widget .cart-widget-products .cart-widget-product.is-processed .product-info-element.is-processed .cart-widget-product-name {
        order: 1;
        width: 75%;
    }
        #cart-widget .cart-widget-products .cart-widget-product.is-processed .product-info-element.is-processed .cart-widget-product-delete {
        order: 2;
        width: 25%;
    }
        #cart-widget .cart-widget-products .cart-widget-product.is-processed .product-info-element.is-processed .cart-widget-product-amount {
        order: 3;
        width: 75%;
        padding: 0;
    }
        #cart-widget .cart-widget-products .cart-widget-product.is-processed .product-info-element.is-processed .cart-widget-product-price-custom {
        order: 4;
        width: 25%;
    }
     #cart-widget .cart-widget-product-price-custom span{
        font-size: 20px;
        font-weight: 700;
     }

     #cart-widget .product-info-element.is-processed>div {
        padding: 10px 0;
     }

     #cart-widget .remove-item-placeholder:before, #cart-widget .remove-item:before {
        font-size: 16px;
     }

     #cart-widget .cart-widget-product-name a {
        font-weight: 700;
        font-size: 18px;
     }

     #cart-widget .cart-widget-product-image a,
     #cart-widget .cart-widget-product-image {
        height: 100%;
     }

     #cart-widget .popup-widget-inner {
        height: auto;
     }

     #cart-widget .cart-widget-button {
        position: relative;
        padding-bottom: 0;
     }
     #cart-widget .cart-widget-button,
     #cart-widget .cart-widget-button .btn {
        width: 100%;
        max-width: 100%;
     }

     #cart-widget .cart-free-shipping.is-processed::before {
        display: none;
     }
     #cart-widget .cart-free-shipping > div:first-child::before {

    content: "";
    position: absolute;
    left: 20px;
    top: 40%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background-size: 100%;
    background-image: url(/user/documents/svg/cart_car_2.svg);
    background-repeat: no-repeat;
    background-position: center;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;

     }
     #cart-widget .cart-free-shipping {
        padding: 20px 0px 20px 0px !important;
     }

     #cart-widget .cart-free-shipping > div:first-child {
        padding-left: 100px;
        text-align: left;
     }

     #cart-widget .free-shipping-progress-wrap {
        margin-top: 12px;
        width: calc(100% - 10px) !important;
        margin-left: auto;
        margin-right: auto;
     }
}

/**
* Zašednutí body (Overlay jako u modalu)
*/
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

body.cart-window-visible::before {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    body:has([data-testid="headerCart"].full:hover)::before,
    body:has(#cart-widget:hover)::before {
        opacity: 1;
    }
}

body.cart-window-visible .btn-icon[data-testid="headerCart"] {
    z-index: 1000 !important;
    background-color: #ffffff !important;
    position: relative;
}

@media (hover: hover) and (pointer: fine) {
    .btn-icon[data-testid="headerCart"].full:hover {
        z-index: 1000 !important;
        background-color: #ffffff !important;
        position: relative;
    }
}

#cart-widget {
    z-index: 1000 !important; 
}

/* Styly se aplikují pouze uvnitř košíkového widgetu */
#cart-widget .cart-free-shipping {
    position: relative;
    padding-left: 120px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
#cart-widget .cart-free-shipping::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background-size: 100%;
    background-image: url("/user/documents/svg/cart_car_2.svg");
    background-repeat: no-repeat;
    background-position: center;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}
}


#cart-widget .cart-free-shipping>div {
    padding: 0;
}

#cart-widget .free-shipping-progress-wrap {
    height: 8px;
    background-color: #ffffff;
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    padding: 0px;
    width: 90%;
}

#cart-widget .free-shipping-progress-bar {
    height: 100%;
    background-color: #1D7139;
    transition: width 0.4s ease-in-out;
}
.cart-free-shipping {
    background-color: #EFE9DD;
    border-radius: var(--primary-radius);
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 400;
}
.cart-free-shipping strong {
    font-weight: 600;
}

#cart-widget .cart-free-shipping {
    padding: 20px 0px 20px 120px;
    background-color: #EFE9DD;
    border-radius: var(--primary-radius);
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 400;
}

#cart-widget .cart-free-shipping strong {
    color: #1A1A1A ;
    font-weight: 700;
}

.user-action-login.login-widget {
    z-index: 9999999;
}

/* --- FIX MOBILNÍHO KOŠÍKU (SE ZACHOVÁNÍM IKONY DOPRAVY) --- */
@media (max-width: 767px) {
    
        #cart-widget.popup-widget {
            margin-top: 0px;
        }
}