   /* ---------------------------------------------------------------------- */
    /* ⭐ NOVÉ: BOČNÍ BRANDING (Bannery po stranách) ⭐ */
    /* ---------------------------------------------------------------------- */
    .side-branding {
        position: fixed;
        top: 0; 
        width: 450px; 
        height: 100vh; 
        z-index: 1010; 
        cursor: pointer;
        display: none; 
        background-size: cover; 
        background-repeat: no-repeat;
        transition: filter 0.3s ease;
    }

    @media (min-width: 1300px) {
        .side-branding.left, .side-branding.right { display: block; }
    }

    .side-branding.left {
        left: auto;
        right: calc(50% + 560px); 
        background: url('images/stuff-img-02.jpg') no-repeat right top;
    }

    .side-branding.right {
        right: auto;
        left: calc(50% + 560px); 
        background: url('images/blog-img-03.jpg') no-repeat left top;
    }

    .side-branding:hover { filter: brightness(1.1); }

    /* ---------------------------------------------------------------------- */
    /* ⭐ ZÁKLADNÍ STYLY A FIXACE ⭐ */
    /* ---------------------------------------------------------------------- */
    
    body {
        padding-top: 80px; 
        background: url() no-repeat center center; 
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center center;
        margin-bottom: 0 !important;
        overflow-x: hidden;
    }
    
    .top-navbar {
        position: fixed; 
        top: 0;
        width: 100%;
        z-index: 1030;
    }

  /* Horní bílá lišta */
.search-box-hero-wrapper {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #ffffff !important;
    border-bottom: 1px solid #eeeeee;
}

/* Vnitřní blok - v základu bez obrázku a bílý */
.search-hero-block {
    height: 120px;
    margin: 0 auto !important;
    border-radius: 10px;
	background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* Čistě bílá v základu */
    transition: all 0.3s ease;
}

/* Filtr, který se zapne jen když je aktivní banner */
.search-hero-block.has-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15); /* Jemné ztmavení pro fotku */
    z-index: 1;
}

/* Stín přidáme, jen když je tam banner, aby bílá lišta byla čistá */
.search-hero-block.has-banner {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .search-box {
        margin: 0 auto;
        max-width: 500px;
        position: relative;
        z-index: 2;
        width: 100%;
    }

    #product-search-input {
        background-color: rgba(255, 255, 255, 0.95);
        border: 1px solid #ddd;
    }

    #menu-spacer {
        height: 0px !important; 
        width: 100%;
        display: none !important;
    }

    /* ⭐ OPRAVENO: Agresivní smazání mezery (sníženo na 145px) ⭐ */
    .menu-hero-block-wrapper {
        width: 100%;
        margin: 0 !important; 
        padding: 0;
        padding-top: 145px !important; 
        position: relative;
    }
    
    .menu-hero-block-wrapper .container {
        padding-top: 0px !important; 
        padding-bottom: 10px;
        margin-top: 0 !important;
    }
    
    .menu-box {
        padding-top: 8px; 
        margin-top: 0 !important; 
        background-color: #f8f8f8;
    }

    #dynamic-banner-wrapper {
    cursor: pointer !important;
        min-height: 120px;
        position: relative;
        display: block; 
        margin-top: 0 !important;
    }
/* --- FINÁLNÍ MODERNÍ ŠIPKY (Bez černé barvy) --- */
/* --- FINÁLNÍ OPRAVA: MODRÁ ŠIPKA, PRŮHLEDNÝ KRUH, ČERNÝ RÁM --- */
#historyCarousel .carousel-control-prev, 
#historyCarousel .carousel-control-next {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1) !important; /* PRŮHLEDNÝ VNITŘEK */
    border: 1px solid #000000 !important;          /* ČERNÝ RÁMEČEK */
    border-radius: 50% !important;
    
    top: auto !important;
    bottom: 20px !important; 
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    filter: none !important;      /* ZABIJÁK ŽLUTÉ BARVY */
    z-index: 1000 !important;
    transition: all 0.3s ease;
}

/* Vyčištění vnitřku od Bootstrap filtrů */
#historyCarousel .carousel-control-prev-icon, 
#historyCarousel .carousel-control-next-icon {
    background: none !important;
    filter: none !important;     /* ZABIJÁK ŽLUTÉ BARVY PRO IKONU */
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Samotná MODRÁ šipka */
#historyCarousel .carousel-control-prev-icon::after,
#historyCarousel .carousel-control-next-icon::after {
    content: '‹' !important;
    font-size: 45px !important;
    color: #007bff !important;   /* ČISTĚ MODRÁ (stejná jako Detail) */
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    line-height: 1 !important;
    filter: none !important;     /* JISTOTA PROTI ŽLUTÉ */
    margin-top: -6px !important; 
}

#historyCarousel .carousel-control-next-icon::after {
    content: '›' !important;
    margin-left: 2px !important; 
}

/* HOVER: Lehké zvýraznění průhledného pozadí */
#historyCarousel .carousel-control-prev:hover, 
#historyCarousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.4) !important; /* Trochu se vnitřek "vysvítí" */
    transform: scale(1.1) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Pozice šipek */
#historyCarousel .carousel-control-prev { left: 15px !important; }
#historyCarousel .carousel-control-next { right: 15px !important; }

/* Skrytí na koncích (podpora tvého JS) */
#historyCarousel .carousel-control-prev[style*="opacity: 0"],
#historyCarousel .carousel-control-next[style*="opacity: 0"] {
    pointer-events: none;
    visibility: hidden;
}
@media (max-width: 767px) {
    /* 1. Kontejner pásu */
    #historyCarousel {
        overflow: hidden;
        padding: 0 !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
    }

    #historyCarousel .carousel-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 15px 15px 10px 15px !important;
        -webkit-overflow-scrolling: touch;
        gap: 0;
    }

    /* ORANŽOVÝ POSUVNÍK (Scrollbar) */
    #historyCarousel .carousel-inner::-webkit-scrollbar {
        height: 3px; /* Tenká elegantní linka */
        display: block !important;
    }
    #historyCarousel .carousel-inner::-webkit-scrollbar-thumb {
        background: #d65106; /* Tvoje oranžová */
        border-radius: 10px;
    }
    #historyCarousel .carousel-inner::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05); /* Velmi jemný podklad linky */
    }

    #historyCarousel .carousel-item,
    #historyCarousel .carousel-item.active,
    #historyCarousel .carousel-item .row {
        display: contents !important;
    }

    /* 2. Slot pro položku */
    #historyCarousel .special-grid {
        flex: 0 0 100px !important;
        width: 100px !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    /* 3. Bublina */
    #historyCarousel .product-image-container {
        width: 90px !important;
        height: 90px !important;
        border-radius: 50% !important;
        border: 2px solid #d65106 !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
        position: relative !important;
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

    #historyCarousel .product-image {
        width: 100% !important;
        height: 55% !important;
        object-fit: cover;
    }

    #historyCarousel .product-name {
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
        height: 45% !important;
        padding: 4px 6px !important;
        background: #fff !important;
        color: #222 !important;
        font-weight: 700 !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: normal !important;
    }

    /* 4. Skrytí všeho ostatního včetně tlačítek detailu */
    #historyCarousel .btn, 
    #historyCarousel .button,
    #historyCarousel [class*="button"],
    #historyCarousel [class*="btn"],
    #historyCarousel .product-description,
    #historyCarousel .product-price-section,
    #historyCarousel .product-order-controls,
    #historyCarousel .carousel-control-prev, 
    #historyCarousel .carousel-control-next {
        display: none !important;
    }

    /* 5. Tečky pod posuvníkem */
    #historyCarousel::after {
        content: '• • • •';
        display: block;
        text-align: center;
        width: 100%;
        color: #d65106;
        font-size: 1.2rem;
        letter-spacing: 4px;
        margin-top: 5px;
        opacity: 0.6;
    }
}


    /* ---------------------------------------------------------------------- */
    /* --- Zbytek stylů (PŮVODNÍ) --- */
    /* ---------------------------------------------------------------------- */
    .nav-icons { display: flex; align-items: center; gap: 15px; flex-wrap: nowrap; }
    .nav-icon-item { padding: 5px 10px; text-decoration: none; color: #495057; transition: color 0.3s ease; display: flex; align-items: center; }
    .nav-icon-item:hover { color: #007bff; }
    #nav-profile-link { font-weight: bold; color: #007bff; }
    .logout-hidden { display: none !important; }
    .logout-visible { display: flex !important; color: black !important; font-size: 1.1rem !important; padding: 5px 10px !important; }
    .logout-visible:hover { color: #c82333 !important; }
    .cart-disabled { color: #a0a0a0 !important; pointer-events: none; cursor: default; }
    .special-list { display: flex; flex-wrap: wrap; align-items: stretch; }
    
    .product-card { background: #ffffff; border-radius: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); overflow: hidden; margin-bottom: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; width: 100%; display: flex; flex-direction: column; position: relative; }
    .product-card.card-clickable { cursor: pointer; }
    .product-card.card-disabled-click { cursor: default; }
    .product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
    
    .stock-indicator { position: absolute; top: 8px; right: 8px; padding: 4px 10px !important; border-radius: 9999px !important; font-size: 0.75rem; font-weight: bold; color: white; display: flex; align-items: center; gap: 4px; z-index: 10; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); line-height: 1; }
    .stock-indicator i { font-size: 0.8rem; }
    .stock-indicator.in-stock { background-color: #28a745; }
    .stock-indicator.low-stock { background-color: #ffc107; color: #343a0; }
    .stock-indicator.out-of-stock { background-color: #dc3545; padding: 4px 12px !important; }
    .stock-indicator.on-sale { background-color: #ff4500; color: white; font-size: 0.85rem; padding: 5px 12px !important; border-radius: 9999px !important; top: 8px; left: 8px; right: auto; box-shadow: 0 1px 5px rgba(255, 69, 0, 0.5); z-index: 10; animation: pulse-sale 0.8s infinite alternate; }
    
    @keyframes pulse-sale { from { transform: scale(1); } to { transform: scale(1.05); } }
    
    .product-image-container { height: 144px; width: 100; overflow: hidden; position: relative; }
    .product-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .product-card:hover .product-image { transform: scale(1.03); }
    
    .product-info { padding: 10px; flex-grow: 1; width: 100%; display: flex; flex-direction: column; }
    .product-name { font-size: 1.1rem; color: #333; margin-top: 0; margin-bottom: 3px; font-weight: 700; }
    .product-description { font-size: 0.8rem; color: #666; margin-bottom: 5px; flex-grow: 1; line-height: 1.3; }
    
    .product-price-section { display: flex; justify-content: flex-start; align-items: baseline; margin-bottom: 8px; }
    .product-old-price { font-size: 0.9rem; color: #999; text-decoration: line-through; margin-right: 8px; font-weight: 500; }
    .product-price { font-size: 1.4rem; color: #007bff; font-weight: 900; margin-right: 6px; }
    .product-price.sale-price { color: #ff4500; font-size: 1.6rem; }
    .product-unit { font-size: 0.8rem; color: #999; font-weight: 500; }
    
    .product-order-controls { display: flex; gap: 8px; align-items: stretch; margin-top: auto; width: 100%; }
    .quantity-input { width: 55px; padding: 5px; border: 1px solid #ccc; border-radius: 5px; text-align: center; font-size: 0.85rem; -moz-appearance: textfield; }
    .quantity-input::-webkit-outer-spin-button, .quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    
    .add-to-cart-button { flex-grow: 1; padding: 7px 12px; background-color: #007bff; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 0.85rem; font-weight: bold; transition: background-color 0.3s ease; }
    .add-to-cart-button:hover { background-color: #1e7e34; }
    .add-to-cart-button[disabled] { background-color: #6c757d; cursor: not-allowed; }
    
    .category-filter-bar { text-align: center; margin-bottom: 25px; padding: 10px 0; background-color: #e9ecef; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); overflow-x: auto; white-space: nowrap; }
    .category-filter-bar button { background-color: #f8f9fa; color: #495057; border: 1px solid #ced4da; padding: 8px 15px; margin: 5px; border-radius: 20px; cursor: pointer; font-weight: 600; transition: background-color 0.2s, border-color 0.2s, color 0.2s; min-width: 100px; }
    .category-filter-bar button:hover:not(.active) { background-color: #e2e6ea; border-color: #dae0e5; }
    .category-filter-bar button.active { background-color: #007bff; color: white; border-color: #007bff; box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3); }

    .dialog-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.6); z-index: 100002; /* Zvýšeno, aby to bylo nad vším */
    backdrop-filter: blur(2px);
}

.custom-dialog { 
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    background: white; padding: 25px; border-radius: 20px; /* Modernější kulatější rohy */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); z-index: 100003; 
    max-width: 400px; width: 90%; text-align: center; border: none;
}

/* Pokud zpráva obsahuje HTML (jako náš Párty úspěch), zajistíme správné zobrazení */
#dialog-message h3 { margin: 0; font-family: inherit; }

.dialog-emoji { font-size: 3em; display: block; margin: 10px 0; }

.custom-dialog-actions { margin-top: 25px; display: flex; justify-content: center; gap: 10px; }

.custom-dialog-actions button { 
    padding: 12px 25px; cursor: pointer; border: none; 
    border-radius: 12px; font-weight: bold; transition: all 0.2s; 
}

/* Ponecháme tvoji zelenou jako výchozí, ale vylepšíme ji */
.custom-dialog-actions .yes { background-color: #28a745; color: white; }
.custom-dialog-actions .no { background-color: #f44336; color: white; }

/* --- SPECIÁLNÍ ÚPRAVA PRO PÁRTY (Fialová) --- */
/* Pokud do dialogu pošleme zprávu s barvou #6f42c1, změníme i tlačítko na fialové */
.custom-dialog-party .yes { background-color: #6f42c1 !important; }

    /* ⭐ MODAL A JEHO DOPLŇKY ⭐ */
    .modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4); }
    .modal-dialog { margin-top: 50px; max-width: 700px; }
    .modal-content { border-radius: 15px; }
    .modal-header { border-bottom: none; padding-bottom: 0; }
    .modal-header .close { padding: 1rem 1rem; margin: -1rem -1rem -1rem auto; font-size: 1.5rem; font-weight: 700; line-height: 1; color: #000; text-shadow: 0 1px 0 #fff; opacity: .5; }
    .modal-header .close:hover { opacity: 1; }
    .modal-body { padding-top: 0; padding-bottom: 10px; }
    .modal-body p, .modal-body div { overflow-wrap: break-word; word-wrap: break-word; }

    /* --- PŘIDANÉ STYLY PRO GALERII A ZOOM --- */
    .gallery-nav-arrow {
        position: absolute; top: 50%; transform: translateY(-50%);
        background: rgba(255,255,255,0.7); color: #333;
        width: 36px; height: 36px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; z-index: 10; transition: background 0.2s;
    }
    .gallery-nav-arrow:hover { background: white; }
    .left-arrow { left: 10px; }
    .right-arrow { right: 10px; }
    .active-thumb { border: 2px solid #ffc107 !important; }

    #simple-lightbox {
        display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.9); align-items: center; justify-content: center; cursor: pointer;
    }
    #lightbox-img { max-width: 90%; max-height: 90%; border-radius: 5px; }
    /* --------------------------------------- */

    #modal-stock-message { margin-top: 15px; margin-bottom: 10px; text-align: left; }
    
    .modal-footer { border-top: none; padding-top: 0; padding: 15px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
    .modal-footer button { width: 100%; max-width: 300px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); font-weight: 600; margin-left: 0 !important; margin-right: 0 !important; }
    .modal-footer .btn-secondary:hover, .modal-footer .btn-secondary:focus, .modal-footer .btn-secondary:active { background-color: #5c757d; border-color: #9c757d; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
    .modal-footer .btn-success { order: 2; }
    .modal-footer .btn-secondary { order: 3; }
    
    .img-fluid { width: 100%; height: auto; }
    .modal-old-price { font-size: 1.2rem; color: #999; text-decoration: line-through; margin-right: 15px; font-weight: 500; }
    .modal-price.sale-price { color: #ff4500 !important; font-size: 2.2rem; }
    
    .text-danger { color: #dc3545 !important; font-weight: 700; font-size: 0.95rem; }
    .text-warning-low { color: #ffc107 !important; font-weight: 700; font-size: 0.95rem; }
    .text-success-high { color: #28a745 !important; font-weight: 700; font-size: 0.95rem; }
    .text-critical-low { color: #e65100 !important; font-weight: 900; font-size: 0.95rem; animation: critical-pulse 1.5s infinite alternate; }
    @keyframes critical-pulse { from { opacity: 1; } to { opacity: 0.8; } }

    /* ⭐ MODAL HISTORIE PRODUKTŮ ⭐ */
    .product-history-title { font-size: 1rem; font-weight: bold; color: #333; margin: 15px 0 10px 0; display: flex; align-items: center; gap: 8px; border-bottom: 2px solid #eee; padding-bottom: 5px; }
    .history-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
    .history-item { flex: 0 0 100px; text-align: center; cursor: pointer; }
    .history-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; border: 2px solid #007bff; margin-bottom: 5px; transition: transform 0.2s; }
    .history-item:hover img { transform: scale(1.1); }
    .history-item span { font-size: 0.75rem; display: block; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    /* ⭐ VYHLEDÁVÁNÍ A BACK TO TOP ⭐ */
    .search-form { display: flex; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); border-radius: 25px; overflow: hidden; }
    .search-input-wrapper { flex-grow: 1; display: flex; position: relative; }
    #product-search-input { flex-grow: 1; padding: 10px 20px; border: 1px solid #ced4da; border-right: none; border-top-left-radius: 25px; border-bottom-left-radius: 25px; font-size: 1rem; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
    #product-search-input:focus { border-color: #80bdff; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
    .clear-search-button { position: absolute; right: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 10px; background: transparent; border: none; color: #999; cursor: pointer; font-size: 1.2rem; transition: color 0.2s; z-index: 2; }
    .clear-search-button:hover { color: #dc3545; }
    .search-button { padding: 10px 15px; background-color: #007bff; color: white; border: 1px solid #007bff; border-left: none; border-top-right-radius: 25px; border-bottom-right-radius: 25px; cursor: pointer; font-weight: bold; font-size: 1rem; transition: background-color 0.3s ease, border-color 0.3s ease; display: flex; align-items: center; gap: 5px; z-index: 1; }
    .search-button:hover { background-color: #0056b3; border-color: #0056b3; }
    
    #backToTopBtn { position: fixed; bottom: 25px; right: 25px; z-index: 9999; border: none; outline: none; cursor: pointer; width: 45px; height: 45px; background: linear-gradient(135deg, #4da6ff 0%, #007bff 100%); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3); opacity: 0; visibility: hidden; transform: scale(0.9) translateY(10px); transition: all 0.3s ease-in-out; }
    .modal-open #backToTopBtn { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
    #backToTopBtn:hover { background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4); transform: scale(1) translateY(0px); }
    #backToTopBtn.show { opacity: 1; visibility: visible; transform: scale(1) translateY(0px); }

    /* ⭐ FIX MEZERY V PATIČCE ⭐ */
    .main-footer {
        background-color: #eeeeee; 
        padding-top: 50px;
        padding-bottom: 0px; 
        color: #495057; 
        border-top: 3px solid #dee2e6; 
        margin-bottom: 0 !important;
        position: relative;
        z-index: 1200; 
    }

    .footer-col { margin-bottom: 0 !important; padding-bottom: 30px; }
    .footer-col h5 { font-weight: bold; color: #343a40; margin-bottom: 20px; position: relative; }
    .footer-col h5::after { content: ''; display: block; width: 30px; height: 3px; background-color: #007bff; margin-top: 5px; }
    .footer-col ul { list-style: none; padding: 0; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul li a { color: #495057; text-decoration: none; transition: color 0.2s ease; }
    .footer-col ul li a:hover { color: #007bff; text-decoration: underline; }

    .copyright { background-color: #e2e2e2; padding: 15px 0; font-size: 0.85rem; color: #6c757d; text-align: center; margin-top: 0 !important; position: relative; z-index: 1200; }
    .copyright a { color: #6c757d; text-decoration: none; }
    .social-links a { display: inline-block; width: 35px; height: 35px; line-height: 35px; background-color: #ced4da; color: #fff; text-align: center; border-radius: 50%; margin-right: 10px; transition: background-color 0.3s ease; }
    .social-links a:hover { background-color: #007bff; }

    /* ⭐ MEDIA QUERY PRO TELEFONY ⭐ */
    @media (max-width: 767.98px) {
        .side-branding { display: none !important; }
        body.user-logged-in-mobile .search-box-hero-wrapper { top: 100px; }
        body.user-logged-in-mobile .menu-hero-block-wrapper { padding-top: 220px; }
        body:not(.user-logged-in-mobile) .menu-hero-block-wrapper { padding-top: 195px; }
        .search-button .search-text { display: none; } 
        .search-button { padding: 10px; min-width: 40px; } 
        #product-search-input { padding-right: 35px; }
    }
    .side-branding.left, .side-branding.right {
        display: none;
    }
	/* Do tvého bloku */
@keyframes shake-vibe {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

/* Animace jemného vznášení pro Párty pilulku */
#party-pill-wrapper {
    animation: party-float 3s infinite ease-in-out;
}

@keyframes party-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Hover efekt pro obě pilulky */
#party-pill-wrapper:hover, #countdown-wrapper:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

/* Vrtění (shake) - zachováno pro odpočet */
@keyframes shake-vibe {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.pill-shake {
    animation: shake-vibe 0.5s ease-in-out !important;
}

/* Mobilní zobrazení - pilulky nad sebou */
@media (max-width: 576px) {
    #party-pill-wrapper {
        bottom: 95px !important;
        right: 15px !important;
    }
    #countdown-wrapper {
        bottom: 25px !important;
        right: 15px !important;
    }
}
/* Třída pro zamezení rolování pozadí */
.no-scroll {
    overflow: hidden !important;
    height: 100vh; /* Pojistka pro mobilní prohlížeče */
}
/* Moderní styl pro věrnostní info v menu */
.loyalty-wrapper {
    text-decoration: none !important;
    color: #333 !important;
    padding: 5px 10px;
    border-radius: 12px;
    transition: background 0.3s;
}

.user-info-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-icon {
    font-size: 1.8rem;
    color: #555;
}

.user-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.welcome-msg {
    font-size: 0.85rem;
    color: #777;
}

#username-display {
    color: #333;
    font-weight: 700;
    text-transform: capitalize;
}

.loyalty-points-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #ffeeba;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-top: 2px;
}

.gold-star {
    color: #ffc107;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.2));
}

/* Styl pro VIP stav */
.loyalty-points-pill.vip-status {
    background: linear-gradient(135deg, #6f42c1 0%, #5a2d91 100%);
    color: #fff;
    border-color: #4b238a;
}
.loyalty-points-pill.vip-status .gold-star {
    color: #fff;
}
.loyalty-promo-card {
    background: #fff;
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 6px solid #ffc107;
}

.promo-icon-box {
    background: #fff3cd;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #856404;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.promo-text-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo-title {
    font-weight: 800;
    color: #333;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-subtitle {
    color: #666;
    font-size: 0.85rem;
}

.promo-progress-wrapper {
    min-width: 150px;
    text-align: right;
}

.progress-bar-bg {
    background: #eee;
    height: 8px;
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #ffc107, #ff9800);
    height: 100%;
    width: 0%; /* Toto se bude měnit pomocí JS */
    transition: width 1s ease-in-out;
}

.progress-target {
    font-size: 0.7rem;
    color: #999;
    font-weight: bold;
}

@media (max-width: 768px) {
    .loyalty-promo-card { flex-direction: column; text-align: center; gap: 10px; }
    .promo-progress-wrapper { width: 100%; }
}

/* --- OPRAVA PŘEKRÝVÁNÍ TLAČÍTEK NA MOBILU --- */

/* 1. Pokud je otevřený jakýkoliv modal (třída modal-open na body) */
body.modal-open #party-pill-wrapper, 
body.modal-open #countdown-wrapper {
    display: none !important;
}

/* 2. Pokud se v mobilu přesto pilulky zobrazují, snížíme jejich vrstvu pod modal */
@media (max-width: 767px) {
    #party-pill-wrapper, #countdown-wrapper {
        z-index: 1000 !important; /* Modal má 2000+, takže pilulky spadnou pod něj */
    }
}
/* Styl pro notifikační bublinu */
.notification-badge {
    position: absolute;
    top: -2px;      /* Pozice nahoře */
    right: -5px;    /* Pozice vpravo */
    background-color: #ff3b30; /* Výrazná červená */
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff; /* Bílý okraj pro oddělení od ikonky */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 5;
}
/* ========================================== */
/* 📱 MOBILNÍ OPRAVA HEADERU (App-like styl)  */
/* ========================================== */

@media (max-width: 767.98px) {
    /* 1. Zobrazení textu u profilu - uděláme ho velmi malý a úsporný */
    .user-text-hide-mobile {
        display: flex !important;
        flex-direction: column !important; /* Jméno nad body pro úsporu šířky */
        align-items: flex-start !important;
        line-height: 1 !important;
        margin-left: 5px !important;
    }

    /* Schováme slovo "Vítejte", necháme jen jméno a body */
    .welcome-msg {
        display: block !important;
        font-size: 0.65rem !important; /* Opravdu malé, aby se to vešlo */
        margin-bottom: 2px;
    }

    /* Body v mini verzi */
    .loyalty-points-pill {
        padding: 1px 4px !important;
        font-size: 0.65rem !important;
        margin: 0 !important;
    }

   /* 2. Upravíme rozestupy ikon a posuneme je od pravého kraje */
    .nav-icons {
        gap: 8px !important; /* Trochu větší mezery mezi ikonami, aby se na ně lépe klikalo */
        margin-left: auto !important; 
        margin-right: 12px !important; /* TOTO POSUNE IKONY OD PRAVÉHO KRAJE KE STŘEDU */
        display: flex !important;
        align-items: center !important;
    }

    .nav-icon-item {
        padding: 6px 4px !important; /* Trochu víc místa pro prst */
        font-size: 1.2rem !important; /* Mírně větší, ať jsou lépe vidět */
        position: relative !important;
    }

    /* Speciální úprava pro poslední ikonu (odhlašování), aby nebyla na kraji */
    .nav-icon-item:last-child {
        padding-right: 5px !important;
    }

    /* 3. ROZTAŽENÍ NOTIFIKACÍ PŘES CELOU ŠÍŘKU */
    #notification-drop {
        position: fixed !important;
        top: 70px !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: none !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
        border: 2px solid #eee !important;
        border-radius: 15px !important;
    }

    /* 4. Zmenšíme logo na minimum */
    .navbar-brand {
        font-size: 1.1rem !important;
        margin-right: 0 !important;
        flex-shrink: 1 !important;
    }
    
    .navbar-brand img {
        width: 40px !important;
        height: 20px !important;
    }
}
/* KLÍČOVÉ STYLY PRO FUNKČNÍ NAVIGACI */
        body { padding-top: 80px; display: flex; flex-direction: column; min-height: 100vh; }
        .top-navbar { position: fixed; top: 0; width: 100%; z-index: 1030; }

        /* ZAROVNÁNÍ NAVIGACE */
        .nav-icons { display: flex; align-items: center; gap: 15px; flex-wrap: nowrap; }
        .nav-icon-item { padding: 5px 10px; text-decoration: none; color: #495057; transition: color 0.3s ease; display: flex; align-items: center; }
        .nav-icon-item:hover { color: #007bff; }
        #nav-profile-link { font-weight: bold; color: #007bff; }
        /* Konec klíčových stylů navigace */

        /* Konkrétní styl pro stránky s textem (OP, Soukromí) */
        .content-section {
            padding: 50px 0;
            background-color: #ffffff;
            flex-grow: 1; /* Zajistí, že obsah roztlačí patičku dolů */
        }

        .content-section h1 {
            color: #343a40;
            font-weight: 700;
            margin-bottom: 30px;
        }

        .content-section h2 {
            color: #007bff;
            font-weight: 600;
            margin-top: 30px;
            margin-bottom: 15px;
            border-bottom: 2px solid #dee2e6;
            padding-bottom: 5px;
        }

        .content-section h3 {
            color: #495057;
            font-size: 1.25rem;
            margin-top: 20px;
            margin-bottom: 10px;
        }

        .content-section p, 
        .content-section ul li {
            font-size: 1rem;
            line-height: 1.6;
            color: #6c757d;
        }
        
        /* ⭐ FIX MEZERY V PATIČCE ⭐ */
    .main-footer {
        background-color: #eeeeee; 
        padding-top: 50px;
        padding-bottom: 0px; 
        color: #495057; 
        border-top: 3px solid #dee2e6; 
        margin-bottom: 0 !important;
        position: relative;
        z-index: 1200; 
    }

    .footer-col { margin-bottom: 0 !important; padding-bottom: 30px; }
    .footer-col h5 { font-weight: bold; color: #343a40; margin-bottom: 20px; position: relative; }
    .footer-col h5::after { content: ''; display: block; width: 30px; height: 3px; background-color: #007bff; margin-top: 5px; }
    .footer-col ul { list-style: none; padding: 0; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul li a { color: #495057; text-decoration: none; transition: color 0.2s ease; }
    .footer-col ul li a:hover { color: #007bff; text-decoration: underline; }

    .copyright { background-color: #e2e2e2; padding: 15px 0; font-size: 0.85rem; color: #6c757d; text-align: center; margin-top: 0 !important; position: relative; z-index: 1200; }
    .copyright a { color: #6c757d; text-decoration: none; }
    .social-links a { display: inline-block; width: 35px; height: 35px; line-height: 35px; background-color: #ced4da; color: #fff; text-align: center; border-radius: 50%; margin-right: 10px; transition: background-color 0.3s ease; }
    .social-links a:hover { background-color: #007bff; }