.woocommerce-checkout .mobile-basket-button-wrap,
.woocommerce-cart .mobile-basket-button-wrap,
.home .mobile-basket-button-wrap,
.stock.in-stock {
    display: none;
}

#modal-full p.buttons {
    display: none;
}

/*#modal-full .uk-modal-dialog {
    height: 100vh;
}*/
#modal-full .widget_shopping_cart_content .uk-panel-title {
    display: none;
}

#modal-full .uk-visible\@m {
    display: block !important;
}

.zip_not_exist_msg {
    color: red;
    font-size: 12px;
}

#dialog-zipcode div.zipinput {
    position: relative;
}

#dialog-zipcode div.zipinput #loader_minicart_wrap {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    max-height: 100%;
}

.disabled {
    pointer-events: none;
    background-color: #f8f8f7 !important;
    color: #adbfc7 !important;
}

.comment-box .uk-card-header {
    padding: 0;
}

.comment-box .uk-card-body {
    padding: 0;
}

.comment-box .uk-card-body .comment-area {
    width: 100%;
    height: 100px;
}

.zipentryform .version2 .postalcode_submit {
    margin: 5px;
    line-height: 20px;
}

.category-wrapper {
    padding-top: 26px;
}

.address-changer {
    margin-top: 10px;
}

.swiper-wrapper {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);

    will-change: transform;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.swiper {
    contain: layout style;
}

.swiper.swiper-grabbing .swiper-wrapper {
    /* Optimize for dragging performance */
    pointer-events: none;
}

.lieferchef-mobile-menu .swiper-slide:last-child {
    margin-right: 35px !important;
}

.swiper {
    touch-action: pan-y pan-x;
    -ms-touch-action: pan-y pan-x;
}

.swiper-slide {
    transition: opacity 0.3s ease;
}

.swiper.swiper-grab {
    cursor: grab;
    cursor: -webkit-grab;
}

.swiper.swiper-grabbing {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.swiper-prev,
.swiper-next {

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    transition: opacity 0.3s ease, visibility 0.3s ease,
    background 0.2s ease, transform 0.2s ease;

    pointer-events: auto;
}


.swiper-slide {
    position: relative;
    z-index: 3;
}


.swiper-prev:hover,
.swiper-next:hover {
    transform: translateY(-50%) scale(1.1);
}


.swiper-prev.uk-hidden,
.swiper-next.uk-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    will-change: auto;
}

.swiper-prev:not(.uk-hidden),
.swiper-next:not(.uk-hidden) {
    will-change: transform, opacity;
}


.swiper-prev [uk-icon],
.swiper-next [uk-icon] {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate3d(0, 0, 0);
}

/* Optimize menu items */
.lf-menu-item {

    transform: translate3d(0, 0, 0);
    will-change: transform, opacity;
    transition: all 0.25s ease;
}

/* Category slider specific optimizations */
.category-slider {
    /* Prevent flickering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Better overflow handling */
    overflow: hidden;

    /* Hardware acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Tab navigation optimizations */
.cats-list.inline-scroll__content {
    /* Smooth scrolling */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.cats-list__link {
    /* Hardware acceleration for links */
    transform: translate3d(0, 0, 0);
    will-change: transform;

    /* Smooth hover effects */
    transition: all 0.2s ease;
}

.cats-list__link:hover,
.cats-list__link.active {
    /* Smooth scale on hover/active */
    transform: translate3d(0, 0, 0) scale(1.05);
}

/* Prevent layout shift during loading */
.swiper-wrapper {
    min-height: 0;
}

/* Better icon rendering */
.uk-icon,
.uk-icon-image {
    /* Crisp icon rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;

    /* Hardware acceleration */
    transform: translate3d(0, 0, 0);
}

/* Prevent global "svg { max-width: 100% }" from breaking uk-icon ratio */
.uk-icon > svg {
    max-width: none;
}

/* Sticky menu optimization */
.sticky-menu {
    /* Better sticky performance */
    position: sticky;
    will-change: transform;

    /* Prevent repaint */
    contain: layout style paint;
}

/* Reduce repaints on scroll */
.uk-navbar-container {
    /* Optimize container */
    contain: layout style;
}

/* Free mode momentum optimization */
.swiper-free-mode {
    /* Smoother momentum */
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Better performance for multiple sliders */
.swiper-menu {
    /* Isolate slider rendering */
    isolation: isolate;

    /* Prevent unnecessary repaints */
    contain: layout style paint;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    .swiper-slide {
        /* Lighter transforms on mobile */
        will-change: transform;
    }

    .category-slider {
        /* Better mobile scroll performance */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
}

/* Prevent flash of unstyled content */
.swiper:not(.swiper-initialized) {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper.swiper-initialized {
    opacity: 1;
}

/* Optimize for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .swiper,
    .swiper-slide,
    .lf-menu-item,
    .cats-list__link {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Performance: Reduce will-change after animation */
.swiper-slide.swiper-slide-active,
.swiper-slide.swiper-slide-next,
.swiper-slide.swiper-slide-prev {
    will-change: transform;
}

/* Remove will-change for non-active slides to save memory */
.swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next):not(.swiper-slide-prev) {
    will-change: auto;
}

/* Better rendering for images in slides */
.swiper-slide img {
    /* Prevent image flickering */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.to-favorite.uk-icon, .allergenes-button-wrap a {
    vertical-align: top;
    padding: 5px 10px;
    width: 18px;
    position: relative;
    top: -5px;
    cursor: pointer;
}
@media screen and (max-width: 640px) {
    .to-favorite.uk-icon, .allergenes-button-wrap a {
        top: 5px
    }
    .lfc-addon__image-button-title {
        font-size: 12px;
        line-height: 16px;
        height: 32px;
        flex: 1 0 auto;
        margin: 0px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        -webkit-box-pack: center;
        overflow: hidden;
    }
    .lfc-addon__image-button-price {
        font-size: 14px;
        line-height: 18px;
        flex: 0 0 auto;
        margin: 4px;
    }
}
.product-inner.v2 .uk-card-header {
    padding: 17px 25px 4px;
}

.uk-modal-header .to-favorite {
    display: none;
}

.uk-modal-header .allergenes-button-wrap {
    display: none;
}

.nb {
    padding: 0px 12px 0px 16px;
    width: 55px !important;
}

.status-private {
    opacity: .2;
    cursor: not-allowed;
}

#modal-pickup .input-pickup-group {
    display: flex;
    justify-content: flex-end;
}

#modal-pickup .input-pickup-group.address-changer {
    display: block;
}

#modal-pickup .pickup_del_loader_box {
    margin-top: 13px;
    margin-right: 16px;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.pickup-list {
    margin-top: 15px;
}

#modal-pickup .submit-pickup {
    margin-top: 15px;
}

#modal-pickup .uk-card {
    border-width: 2px;
}

#modal-pickup .pickup-list .list {
    margin-top: 10px;
    padding: 10px;
    cursor: pointer;
}

#modal-pickup .pickup-list .uk-radio {
    display: none;
}

.banner-img {
    text-align: center;
    margin-bottom: 15px;
}

.banner-description {
    margin-bottom: 15px;
}

@media screen and (max-width: 400px) {
    .uk-modal {
        padding: 0 !important;
    }
}

.sp_10 {
    margin-top: 10px
}

.sp_24 {
    margin-top: 24px
}

.pointer, .lieferchef-ajax-add-to-cart {
    cursor: pointer;
    transition: background-color 100ms ease 0s;
}

.sub-cat-title {
    width: 100%;
    margin-top: 16px;
}

.time-block {
    margin-top: 10px;
}

.checkout-faster-radio {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
}

.checkout-faster-radio .faster {
    padding: 10px;
}

.checkout-faster-radio .preorder {
    padding: 10px;
    border-top: 2px solid #e0e0e0;
}

.checkout-faster-radio .preorder.no-faster {
    padding: 10px;
    border-top: 0;
}

.checkout-faster-radio .date-block {
    margin-top: 10px;
}

.woocommerce-tipping-fields .tipping-switcher li a {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.woocommerce-tipping-fields ul li a input[type=radio] {
    display: none;
}

.tipping-block {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: .475em;
}
@media (max-width: 600px) {
    .tipping-block .uk-text-small {
        font-size: 10px;
    }
}

.tipping-block p {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.tipping-block .woocommerce-Price-currencySymbol {
    font-size: 9px;
}

.tipping-block .uk-subnav-pill > * > :first-child {
    padding: 6px;
}

.tipping-toggle-link {
    font-size: 26px;
}

ul.cart_list li, ul.product_list_widget li {
    padding-left: 0 !important;
}

.widget_shopping_cart .cart_list li {
    padding-right: 0 !important;
}

.cart_counter_product {
    border: 1px solid;
    border-radius: 20px;
    padding: 2px 6px;
}

.checkout_coupon {
    margin-bottom: 15px;
}

.quick-view-modal.uk-open .count-box .uk-icon {
    width: 48px;
    height: 48px
}

.quick-view-modal.uk-open .popup-count {
    padding: 0 8px
}

.spacer._24 {
    width: 24px;
}

.spacer {
    height: 1px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.addon-name-bg {
    padding: 16px
}

.addon-name {
    font-size: 18px
}

.quick-view-modal .popup-body, 
.quick-view-modal .lieferchef-product-labels,
.quick-view-modal .lfc-product-points-badge {
    padding: 0 16px;
}

.woocommerce .popup-body input[type=checkbox], .woocommerce .popup-body input[type=radio] {
    width: 22px !important;
    height: 22px !important
}
.image-wrapper {
    float: left;
    width: 33.333%;
    box-sizing: border-box;
    padding: 0 10px;
}
.card {margin:10px}

.image-wrapper:nth-child(3n+1) {
    clear: both;
}

@media screen and (max-width: 640px) {

    .quick-view-modal.uk-open .count-box .uk-icon.popup-plus, .quick-view-modal.uk-open .count-box .uk-icon.popup-minus  {
        width: 35px;
        height: 35px;
    }
    .image-wrapper {
        float: left;
        width: 49%;
        box-sizing: border-box;
        padding: 0 10px;
    }
    .card {margin:10px}

    .image-wrapper:nth-child(2n+1) {
        clear: both;
    }
    .image-wrapper:nth-child(3n+1) {
        clear: inherit;
    }
}

.favs-list-cat {
    border-bottom: 1px solid #e5e5e7;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}

.disabled-addons-required {
    background-color: #f8f8f7 !important;
    color: #adbfc7 !important;
}

.box-showmore {
    padding-bottom: 30px
}

.quick-view-modal .popup-body.uk-margin-remove-top {
    padding-top: 20px;
}

.totalminicart .includes_tax {
    display: none;
}

.allergen-info, .pickup-info, .deliver-info {
    padding: 16px 8px;
}

.radio-switch .radio-switch__label {
    font-size: 0.875em;
    line-height: 1.5em;
    padding: 3px 0;
}

.search-overlay {
    padding-top: 16px;
    display: flex;
    position: relative;
    height: 50px;
}

.toggle-search .icon-search {
    padding: 10px;
}

.toggle-search {
    display: flex;
    justify-content: center;
    align-items: center;
}

#search-results-section {
    border-radius: 4px;
}

.search-results-header {
    padding: 4px 0;
}

.search-results-header .search-results-title {
    font-size: 18px;
    font-weight: 600;
}

#search-results-container .search-category-wrapper {
    margin-bottom: 20px;
}

.uk-modal-close-default:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);

}

.uk-modal-close-default svg {
    width: 20px;
}

.sectionhaed-error {color:darkred;border-bottom: 2px solid darkred;font-weight: bold}
.section-error {border-bottom: 2px solid darkred}

.woocommerce-billing-fields.gift-fields{
    margin-top: 20px;
    margin-bottom: 20px;
}
.uk-card-default .product-inner .uk-card-header {
    border-bottom: none;
}
.uk-card-default .product-inner .uk-card-footer {
    border-top: none;
}
.product-inner .uk-card-footer .price {
    padding: 0 10px;
    margin: 10px;
}
.tipping-block .uk-text-small {
    letter-spacing: normal;
    text-transform: none;
}
.admin-bar .sticky-menu.uk-sticky-fixed {
    top: 32px !important; /* Für Desktop */
}

@media screen and (max-width: 782px) {
    .admin-bar .sticky-menu.uk-sticky-fixed {
        top: 46px !important; /* Für Mobile Geräte */
    }
}
.mobile-menu-icon {
    margin: 0 12px;
}

.salepriceicon {
    position: absolute;
    width: 110%;
    height: 80%;
    bottom: 0%;
    left: -5%;
}
.discounted-block {
    line-height: 18px;
}
.woocommerce .mini_cart_item .comment-area {
    min-height: 80px;
}

.quantity-buttons {
    display: inline-flex;
    align-items: stretch;
}



.quantity-btn.loading {
    opacity: 0.5;
}

/* Animation für Aktualisierung */
.cart-wrapper.updating {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Temporäre Entfernung Styling */
.mini_cart_item {
    position: relative;
    transition: opacity 0.3s;
}

.mini_cart_item.removing {
    opacity: 0.7;
}

.countdown-timer {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    margin: 0 auto 10px;
    text-align: center;
}

.undo-overlay {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mini_cart_item.removing {
    position: relative;
}

.mini_cart_item.removed {
    opacity: 0.5;
}

/* Table-order page: hide mini-cart when not in table mode */
/* Body class is set server-side, survives WC fragment AJAX updates */
.lieferchef-table-order-page:not(.lieferchef-table-mode) .mini-cart-wrap {
    display: none !important;
}

/* Smart Notifications Styles */
.smart-notification-toast {
    display: flex;
    align-items: flex-start;
}

.smart-notification-image {
    max-width: 80px;
    margin-right: 15px;
}

.smart-notification-content {
    flex: 1;
}

.smart-notification-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.smart-notification-action {
    cursor: pointer;
}

.smart-notification-sticky.uk-sticky-fixed {
    z-index: 1080 !important;
}

.smart-notification-bar .smart-notification-image {
    max-width: 50px;
    margin-right: 10px;
}

.smart-notification-popup .uk-modal-media img {
    max-width: 100%;
    height: auto;
}
#store-phonemodal .uk-card-badge {
    top: 3px;
    right: 3px;
}
.pickup-list .uk-label {
    top: 3px;
    right: 3px;
    font-size: 11px;
    padding: 1px 4px;
}

/* ====== Points Products Shortcode Styles ====== */
.lfc-points-products {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    list-style: none;
    padding: 0;
}

.lfc-points-products.columns-1 .lfc-points-product { width: 100%; }
.lfc-points-products.columns-2 .lfc-points-product { width: 50%; }
.lfc-points-products.columns-3 .lfc-points-product { width: 33.333%; }
.lfc-points-products.columns-4 .lfc-points-product { width: 25%; }
.lfc-points-products.columns-5 .lfc-points-product { width: 20%; }
.lfc-points-products.columns-6 .lfc-points-product { width: 16.666%; }

.lfc-points-product {
    padding: 10px;
    box-sizing: border-box;
}

.lfc-points-product-inner {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lfc-points-product-inner:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.lfc-points-product-image {
    margin-bottom: 15px;
}

.lfc-points-product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.lfc-points-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lfc-points-product-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.4;
}

.lfc-points-product-title a {
    color: #333;
    text-decoration: none;
}

.lfc-points-product-title a:hover {
    color: #fdd594;
}

.lfc-points-product-price {
    margin: 10px 0 15px 0;
    flex: 1;
}

.lfc-points-required {
    display: inline-block;
    background: linear-gradient(135deg, #fdd594, #f4c430);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lfc-points-product-actions {
    margin-top: auto;
}

.lfc-points-redeem-button {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
}

.lfc-points-redeem-button:hover {
    background: #fdd594;
    color: #333;
}

.lfc-points-products-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lfc-points-products.columns-3 .lfc-points-product,
    .lfc-points-products.columns-4 .lfc-points-product,
    .lfc-points-products.columns-5 .lfc-points-product,
    .lfc-points-products.columns-6 .lfc-points-product {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .lfc-points-products .lfc-points-product {
        width: 100%;
    }

    .lfc-points-product-inner {
        padding: 12px;
    }

    .lfc-points-product-title {
        font-size: 14px;
    }
}

/**
 * intlTelInput Styles for Table Checkout Modal
 * Integrates with UIkit styling
 */

/* Container wrapper */
.intl-tel-input-wrapper {
    display: block;
    width: 100%;
}

/* Main container */
.iti {
    display: block;
    width: 100%;
}

/* Input field - match UIkit uk-input styling */
.iti input.uk-input,
.iti input[type="tel"] {
    padding-left: 90px !important; /* Space for flag + dial code */
    width: 100%;
    box-sizing: border-box;
}

/* When separate dial code is shown */
.iti--separate-dial-code input {
    padding-left: 110px !important;
}

/* Flag container */
.iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 1px;
}

/* Selected flag button */
.iti__selected-flag {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 8px 0 12px;
    background: transparent;
    border-right: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background-color 0.1s;
}

.iti__selected-flag:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Selected dial code */
.iti__selected-dial-code {
    margin-left: 6px;
    font-size: 14px;
    color: #666;
}

/* Arrow */
.iti__arrow {
    margin-left: 6px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #666;
}

.iti__arrow--up {
    border-top: none;
    border-bottom: 4px solid #666;
}

/* Dropdown - Fix z-index for modal */
.iti__country-list {
    position: absolute;
    z-index: 1100; /* Higher than uk-modal (1010) */
    list-style: none;
    padding: 0;
    margin: 0 0 0 -1px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* When dropdown is appended to body */
body > .iti__country-list {
    z-index: 1100;
}

/* Country list item */
.iti__country {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.1s;
}

.iti__country:hover {
    background-color: #f8f8f8;
}

.iti__country.iti__highlight {
    background-color: #f0f0f0;
}

/* Country name */
.iti__country-name {
    flex: 1;
    margin-right: 8px;
    font-size: 14px;
}

/* Dial code in dropdown */
.iti__dial-code {
    color: #999;
    font-size: 13px;
}

/* Flag */
.iti__flag {
    margin-right: 8px;
    width: 20px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Preferred countries divider */
.iti__divider {
    border-bottom: 1px solid #e5e5e5;
    margin: 4px 0;
}

/* Search input in dropdown (if enabled) */
.iti__search-input {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    outline: none;
}

.iti__search-input:focus {
    border-bottom-color: #1e87f0;
}

/* Validation states - match UIkit */
.iti input.uk-form-danger,
.iti input[type="tel"].uk-form-danger {
    border-color: #f0506e !important;
    color: #f0506e !important;
}

.iti input.uk-form-success,
.iti input[type="tel"].uk-form-success {
    border-color: #32d296 !important;
}

/* Disabled state */
.iti--disabled .iti__selected-flag {
    cursor: not-allowed;
    background-color: #f8f8f8;
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .iti__country-list {
        max-height: 180px;
    }

    .iti__country {
        padding: 10px 12px;
    }

    .iti__country-name {
        font-size: 15px;
    }

    /* Larger touch target for flag selector */
    .iti__selected-flag {
        padding: 0 10px 0 14px;
    }
}

/* Focus state - match UIkit */
.iti input:focus {
    outline: none;
    border-color: #1e87f0;
}

/* Inside uk-inline (button-flip layout) */
.uk-inline .iti {
    display: block;
}

.uk-inline .iti input {
    width: 100%;
}

/* Error message styling */
.intl-tel-error {
    color: #f0506e;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.intl-tel-error.uk-visible {
    display: block;
}

/* Loading state */
.iti--loading .iti__selected-flag::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    border: 2px solid #e5e5e5;
    border-top-color: #1e87f0;
    border-radius: 50%;
    animation: iti-spin 0.8s linear infinite;
}

@keyframes iti-spin {
    to {
        transform: rotate(360deg);
    }
}

.lfc-address-autocomplete-wrapper {
    position: relative;
}


/* Result items */
.lfc-address-item:hover,
.lfc-address-item.uk-active {
    background-color: #f8f8f8;
}

/* Version 2 layout (input with button inside) */
.version2 .lfc-address-autocomplete-wrapper .lfc-address-autocomplete-input {
    padding-right: 120px;
}

/* Mobile optimization */
@media (max-width: 640px) {
    .lfc-address-dropdown {
        position: fixed;
        left: 10px;
        right: 10px;
        top: auto;
        border-radius: 10px;
    }
}

.table-nav {
    padding: 7px;
}

.lfc-skeleton-card { overflow: hidden; }
.lfc-skeleton-image {
    height: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lfc-skeleton-shimmer 1.5s infinite;
}
.lfc-skeleton-body { padding: 15px; }
.lfc-skeleton-title {
    height: 18px; width: 70%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lfc-skeleton-shimmer 1.5s infinite;
    border-radius: 4px; margin-bottom: 10px;
}
.lfc-skeleton-text {
    height: 14px; width: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lfc-skeleton-shimmer 1.5s infinite;
    border-radius: 4px; margin-bottom: 8px;
}
.lfc-skeleton-text-short { width: 60%; }
.lfc-skeleton-price {
    height: 20px; width: 40%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lfc-skeleton-shimmer 1.5s infinite;
    border-radius: 4px; margin-top: 10px;
}
@keyframes lfc-skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Mini-cart delivery/pickup info skeleton, shown while a service switch is in flight */
.lfc-deliver-info-skeleton {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}
.lfc-deliver-info-fragment.is-loading .lfc-deliver-info-skeleton { display: flex; }
.lfc-deliver-info-fragment.is-loading .lfc-deliver-info-content { display: none; }
.lfc-deliver-info-skeleton__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lfc-skeleton-shimmer 1.5s infinite;
}
.lfc-deliver-info-skeleton__text {
    flex: 1 1 auto;
    max-width: 60%;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: lfc-skeleton-shimmer 1.5s infinite;
}
#lfc-search-results { min-height: 50vh; }

#place_order.updating {
    opacity: 0.6;
    cursor: wait;
    pointer-events: none;
    position: relative;
}

#place_order.updating::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.smart-notification-bar p {margin:0}

.lc-origin-declaration {
    margin: 20px 0;
}

.lc-origin-category-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #e5e5e5;
}

.lc-origin-list {
    margin: 0 0 15px;
    padding: 0;
}

.lc-origin-item {
    padding: 6px 0;
}

.lc-origin-name {
    font-weight: 600;
    margin-right: 5px;
}

.lc-origin-countries small {
    color: #666;
}

.lc-origin-notes {
    display: block;
    margin-top: 3px;
    color: #888;
}

/* ── Promo Page ── */
.lfc-promo-page-hero {
    border-radius: 0 0 12px 12px;
    margin-bottom: 30px;
}

.lfc-promo-page-balance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 2rem;
    margin-bottom: 5px;
}

.lfc-promo-page-balance-number {
    font-weight: 700;
}

.lfc-promo-page-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.lfc-promo-page .uk-card {
    transition: box-shadow 0.2s ease;
}

.lfc-promo-page .uk-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.lfc-promo-page-points .uk-card-media-top img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}


/* ─── Cart Suggestion Sliders ─── */
.lfc-suggestion-slider { border-top: 1px solid #e5e5e5; padding-top: 10px; }
.lfc-suggestion-swiper { overflow: hidden; }
.lfc-suggestion-card {
    min-width: 130px;
    max-width: 160px;
    padding: 8px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    transition: border-color 0.15s;
}
.lfc-suggestion-card:hover { border-color: #999; }
.lfc-suggestion-name { max-width: 120px; }
.lfc-suggestion-add-btn { width: 26px; height: 26px; min-width: 26px; cursor: pointer; }
.lfc-drink-suggestions { border-top: 1px solid #e5e5e5; padding-top: 10px; }
.lfc-drink-suggestions[hidden] { display: none !important; }
.lfc-suggestion-img { border-radius: 4px; object-fit: cover; }

/* ─── Mobile Basket Button: short label on tiny screens ─── */
@media screen and (max-width: 374px) {
    .basket-btn-full { display: none !important; }
    .basket-btn-short { display: inline !important; }
}

/* ─── Cart Disabled Order Status ─── */
a.disabled_order_status {
    opacity: 0.5;
    cursor: not-allowed !important;
}

/* ─── Modal open/close animation: snappier than the UIkit default
   (.3s linear feels sluggish) — ease-in-out-sine over .25s ─── */
.uk-modal .uk-modal-dialog {
    -webkit-transition: opacity .25s cubic-bezier(.45,0,.55,1),-webkit-transform .25s cubic-bezier(.45,0,.55,1);
    transition: opacity .25s cubic-bezier(.45,0,.55,1),-webkit-transform .25s cubic-bezier(.45,0,.55,1);
    transition: transform .25s cubic-bezier(.45,0,.55,1),opacity .25s cubic-bezier(.45,0,.55,1);
    transition: transform .25s cubic-bezier(.45,0,.55,1),opacity .25s cubic-bezier(.45,0,.55,1),-webkit-transform .25s cubic-bezier(.45,0,.55,1);
}

/* UIkit slides the dialog in from -100px above — that long travel is what
   feels sluggish. Modern subtle entrance instead: slight rise + zoom. The
   .uk-open rule must out-rank the closed-state rule (3 class selectors). */
.uk-modal .uk-modal-dialog {
    transform: translateY(16px) scale(.98);
}
.uk-modal.uk-open .uk-modal-dialog {
    transform: translateY(0) scale(1);
}

/* ── Deal-ticket promo cards (structure only — colors come from
      assets/less/lieferchef.less via the theme compile) ── */
.lfc-promo-swiper {
    overflow: hidden;
}

.card-promo-ticket {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    min-width: 230px;
    max-width: 320px;
}

a.card-promo-ticket:hover {
    text-decoration: none;
    color: inherit;
}

.cpt-main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    min-width: 0;
}

.cpt-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cpt-text {
    min-width: 0;
}

.cpt-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    max-height: 2.6em;
    overflow: hidden;
}

.cpt-prices {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 2px;
    white-space: nowrap;
}

.cpt-price-new {
    font-size: 15px;
    font-weight: 800;
}

.cpt-price-old {
    font-size: 12px;
}

/* Ticket tear-off edge with punched notches */
.cpt-stub {
    position: relative;
    border-left: 2px dashed transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 12px;
    flex-shrink: 0;
}

.cpt-stub::before,
.cpt-stub::after {
    content: "";
    position: absolute;
    left: -8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.cpt-stub::before { top: -7px; }
.cpt-stub::after { bottom: -7px; }

.cpt-badge {
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Add button is a theme .uk-icon-button, just a bit smaller than the
   grid quick-addition buttons */
.cpt-add.uk-icon-button {
    width: 28px;
    height: 28px;
}

/* Product popup opened by summary/category promo cards — dialog width via
   uk-width classes, layout via uk-grid/uk-child-width */
.lfc-promo-modal-grid .card-promo-ticket {
    max-width: none;
}

/* ── Reward tiers / Lucky Stop / deals (structure — colors in
      assets/less/lieferchef.less) ── */
.lfc-reward-progress .lfc-reward-bar {
    padding: 10px 0;
    overflow: visible;
    cursor: pointer;
}

.lfc-reward-progress .lfc-reward-progress-text,
.lfc-spin-teaser {
    cursor: pointer;
}

@keyframes lfc-reward-pop {
    0%   { transform: translate(-50%, -50%) scale(0.6); }
    60%  { transform: translate(-50%, -50%) scale(1.25); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Gift lines: quantity is always 1 — plus/select/comment hidden, the
   minus (trash) stays as remove control */
.lfc-reward-gift-item .quantity-buttons .quantity-plus,
.lfc-reward-gift-item .quantity-buttons .quantity-display,
.lfc-reward-gift-item .quantity-buttons .j-quantity,
.lfc-reward-gift-item .cart-comment-link {
    display: none !important;
}

.lfc-reward-gift-badge {
    display: inline-block;
    font-size: 11px;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
}

.lfc-reward-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.lfc-reward-product-card {
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lfc-reward-product-card.is-locked {
    opacity: 0.65;
    filter: grayscale(0.4);
}

.lfc-reward-product-card img {
    max-width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto;
}

.lfc-reward-product-name {
    font-size: 13px;
    font-weight: 600;
    flex-grow: 1;
}

/* Lucky Stop ticker */
.lfc-spin-stage {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 15px;
}

.lfc-spin-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lfc-spin-card img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.lfc-spin-card-label {
    font-size: 16px;
    font-weight: 700;
}

.lfc-spin-card.is-final {
    animation: lfc-reward-pop 0.4s ease;
}

.lfc-spin-coupon {
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Meal-deal slot picker */
.lfc-bundle-slot-card {
    cursor: pointer;
}

/* Fixed strike-SVG size on the promo card (the global 110%/80% looks off
   at this small font size) */
.cpt-price-old .salepriceicon svg {
    width: 31px;
    height: 10px;
}

/* Address-autocomplete dropdown: full-width group headers (background
   color in assets/less/lieferchef.less) */
.lfc-address-dropdown .lfc-address-group-title {
    padding: 6px 15px;
    margin: 0;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Checkout street validation hint under billing_address_1 */
.lfc-street-check {
    min-height: 0;
    margin-top: 4px;
    line-height: 1.4;
}

.lfc-street-check .lfc-street-apply {
    font-weight: 600;
    text-decoration: underline;
}

/* Map picker: fixed center pin over the Leaflet canvas */
.lfc-map-stage {
    position: relative;
}

#lfc-map-canvas {
    width: 100%;
    z-index: 0;
}

.lfc-map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%);
    z-index: 500;
    pointer-events: none;
}

/* Map picker: the map needs room (dialog width via uk-width classes) */
#lfc-map-canvas {
    height: 400px;
}

/* Locate-me button inside the map picker — styled by Leaflet's own
   .leaflet-bar (white box like the +/- zoom controls) */
.lfc-map-locate {
    position: absolute;
    right: 10px;
    bottom: 24px;
    z-index: 500;
}

.lfc-map-locate a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

/* Collapsible delivery-details block in the checkout billing form */
.lfc-delivery-details {
    clear: both;
    float: none;
    width: 100%;
    margin: 8px 0 12px;
}

/* Zip message sits between floated form rows — force it onto its own
   full-width line so it never ends up beside the phone field */
#zip_not_exist_msg_checkout {
    clear: both;
    float: none;
    width: 100%;
}

/* "My address is correct" escape hatch inside the checkout error notice */
.lfc-address-confirm-btn {
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}
/* Temporär ausblenden */
.lfc-delivery-details {
    display: none;
}
.woocommerce-privacy-policy-text {
    margin-top: 17px;
    font-size: 14px;
}