/*
============================================================
GŁÓWNY ARKUSZ STYLI PICKLIST
Scalony z: styles.css + style.css
Wszelkie sekcje opisane po polsku dla czytelności.
============================================================
*/

/* ===================== RESET I PODSTAWY ===================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    padding: 20px;
    padding-bottom: 100px;
    background-color: #f5f5f5;
    color: #333333;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    padding-top: 80px;
    padding-bottom: 120px;
}

/* ===================== MODAL LOGOWANIA ===================== */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.password-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 90%;
    width: 400px;
}

.password-container h2 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

.password-container input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
}

.password-container button {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.password-container button:hover {
    background-color: #1b5e20;
}

.error-message {
    color: #d32f2f;
    margin-top: 10px;
    display: none;
}

/* ===================== ŁADOWANIE I BŁĘDY ===================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 18px;
    color: #333;
}

.error-message {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 400px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.error-text {
    color: #e74c3c;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.retry-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.retry-button:hover {
    background-color: #2980b9;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================== POWIADOMIENIA ===================== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
    height: 40px;
    overflow: hidden;
    pointer-events: none; /* Pozwala na kliknięcie elementów pod toastem */
}

.toast {
    position: absolute;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
    line-height: 16px;
    display: flex;
    align-items: center;
    pointer-events: auto; /* Przywraca możliwość interakcji z toastem */
}

.toast.show {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .toast-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
}

/* ===================== INFORMACJE O ZAMÓWIENIU ===================== */
.order-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: inherit;
    font-size: 16px;
    margin: 8px 0 0 0;
    min-height: 24px;
}

.order-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 0; /* gap niepotrzebny, odstępy będą jako margin */
    margin-bottom: 2px;
}

.order-qty {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    text-align: left;
    flex-shrink: 0;
}

.order-size {
    margin-left: 20px;
    width: 100%;
    min-width: 20px;
    max-width: 45px;
    text-align: center;
    flex-shrink: 0;
}

.order-lps {
    margin-left: 20px;
    flex: 1 1 0;
    text-align: right;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
}

/* ===================== KONTROLA, GRID, BOX, MENU, PROGRESS ===================== */

.controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 10px;
}

.sort-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

.control-button {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.control-button:hover {
    background-color: #1b5e20;
}

.control-button.active {
    background-color: #1b5e20;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.product-box.changed {
    border: 2px solid #f44336;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(244, 67, 54, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0); }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.product-box {
    border: 1px solid #cccccc;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.product-box.collected {
    background-color: #e8f5e9;
    border-color: #4caf50;
}

.product-header {
    margin-bottom: 10px;
    font-size: 16px;
    color: #1a1a1a;
    width: 100%;
    text-align: center;
    font-weight: bold;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.image-container {
    width: 100%;
    aspect-ratio: 2/3;
    max-height: 260px;
    position: relative;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    overflow: hidden;
    border-radius: 4px;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.order-info {
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
    width: 100%;
    text-align: center;
    color: #1a1a1a;
    margin: 10px 0;
    font-family: monospace;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.product-name {
    margin-top: 10px;
    font-size: 14px;
    color: #1a1a1a;
    font-style: italic;
    width: 100%;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.progress-bar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 10px;
}

.progress-stats {
    color: #1a1a1a;
    font-size: 16px;
    margin-left: 40px;
}

.progress-bar {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1800px;
    margin: 0 auto;
}

.progress {
    height: 100%;
    background: #2e7d32;
    width: 0;
    transition: width 0.3s ease;
}

.toast-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow: hidden;
    pointer-events: none;
}

.toast-container.top {
    top: 20px;
}

.toast-container.bottom {
    bottom: 20px;
}

.toast {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    max-width: 90vw;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .toast-container {
        top: 20px;
        bottom: auto;
    }
    body {
        padding-top: 0 !important;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .header {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: unset;
        height: 60px; z-index: 1001;
        display: flex; align-items: center; justify-content: flex-start;
        background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,0.07); padding: 0 10px;
    }
    .progress-container {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 60px;
        padding-right: 20px;
    }
    .progress-text {
        font-size: 16px;
        margin: 0;
        padding: 0;
        text-align: right;
        width: auto;
        white-space: nowrap;
        line-height: 60px;
        display: flex;
        align-items: center;
        height: 60px;
    }
    .progress {
        display: none;
    }
    .menu-toggle {
        display: flex; z-index: 1102; background: none; border: none; cursor: pointer;
        width: 48px; height: 48px; padding: 0; align-items: center; justify-content: center;
        position: absolute; left: 10px; bottom: 6px;
    }
    .menu {
        display: none!important;
        position: fixed; left: 0; right: 0; bottom: 60px;
        background: #fff; box-shadow: 0 -2px 16px rgba(0,0,0,0.15); z-index: 1201;
        flex-direction: column; align-items: stretch; justify-content: flex-end;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        pointer-events: auto; opacity: 0; padding: 16px 0 16px 0;
        border-top-left-radius: 18px; border-top-right-radius: 18px;
        max-width: 100vw;
        width: 100vw;
    }
    .menu.visible {
        display: flex!important;;
        transform: translateY(0);
        opacity: 1;
        height: auto;
        pointer-events: auto;
    }
    .menu-button {
        height: 45px; max-height: 45px; min-height: 45px;
        font-size: 17px; margin: 8px 16px 0 16px; width: calc(100% - 32px);
        border-radius: 8px; border: none; background: #2e7d32; color: #fff; cursor: pointer; transition: background 0.2s;
        display: flex; align-items: center; justify-content: center;
    }
    .menu-button:hover { background: #1b5e20; }
    .menu-overlay {
        display: none;
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.18);
        z-index: 1200;
    }
    .menu-overlay.visible { display: block; }
    #progress-info.menu-progress {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 70vw;
        max-width: 70vw;
        min-width: 0;
        margin-left: auto;
        margin-right: 0;
        font-size: 15px;
        height: 60px;
        background: none;
        border: none;
        color: #2e7d32;
        box-shadow: none;
        pointer-events: none;
        padding: 0 10px 0 0;
        text-align: right;
        gap: 8px;
        line-height: 60px;
    }
    #progress-info span {
        white-space: nowrap;
        font-size: 15px;
        line-height: 60px;
        display: flex;
        align-items: center;
    }
    /* Domyślnie ukryj progress-info w menu */
    #menu .menu-progress#progress-info {
        display: none!important;
    }
    /* Pokaż progress-info na belce, pozycjonując absolutnie */
    .header #progress-info {
        display: flex !important;
        position: absolute;
        right: 0;
        top: 0;
        height: 60px;
        width: 70vw;
        align-items: center;
        justify-content: flex-end;
        color: #2e7d32;
        font-size: 15px;
        padding: 0 10px 0 0;
        background: none;
        border: none;
        pointer-events: none;
        z-index: 1103;
        gap: 8px;
    }
    /* Gdy menu jest otwarte, progress-info wraca do menu */
    .menu.visible .menu-progress#progress-info {
        display: flex !important;
        position: static;
        width: 100%;
        height: auto;
        color: #2e7d32;
        background: none;
        pointer-events: none;
        font-size: 17px;
        justify-content: center;
        align-items: center;
        padding: 0;
        z-index: auto;
    }
    /* Gdy menu otwarte, ukryj progress-info z headera */
    .menu.visible ~ #progress-info {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .toast-container {
        bottom: 20px;
        top: auto;
    }
}

.header {
    position: fixed;
    left: 0;
    width: 100vw;
    z-index: 1001;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    top: 0;
    min-height: 70px;
    height: auto;
    flex-wrap: wrap;
}

.progress-container {
    flex: 1;
    min-width: 0;
    padding: 10px 0;
    margin-left: 48px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-right: 10px;
    z-index: 1100;
    position: relative;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 32px;
    height: 4px;
    margin: 6px auto;
    background: #2e7d32;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -6px);
}

.menu {
    display: flex !important;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.menu-button {
    height: 45px;
    font-size: 16px;
    border: none;
    background: #2e7d32;
    color: #fff;
    margin: 4px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    padding: 0 15px;
    flex: 0 1 auto;
}

.menu-button:hover {
    background: #1b5e20;
}

.menu-overlay {
    display: none;
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1200;
}

.menu-overlay.visible {
    display: block;
}

@media (min-width: 769px) {
    .header {
        position: fixed;
        top: 0; left: 0; right: 0;
        min-height: 70px;
        height: auto;
        z-index: 1001;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        padding: 0 20px;
        flex-wrap: wrap;
    }
    .menu {
        display: flex !important;
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .menu-button, .menu-progress {
        min-width: 180px;
        height: 45px;
        font-size: 16px;
        border-radius: 6px;
        border: none;
        margin: 4px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        padding: 0 15px;
        flex: 0 1 auto;
    }
    .menu-progress {
        background: #fff;
        color: #2e7d32;
        border: 1.5px solid #2e7d32;
        font-weight: 500;
        pointer-events: none;
        box-shadow: 0 1px 2px rgba(0,0,0,0.03);
        user-select: none;
        margin-right: 0;
        margin-left: 0;
        gap: 8px;
    }
    .progress-container {
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 70px;
        padding-right: 20px;
    }
}

@media (max-width: 1500px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
    }
    
    .progress-stats,
    .progress-bar {
        max-width: 1200px;
    }
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .progress-stats,
    .progress-bar {
        max-width: 900px;
    }
}

@media (max-width: 1200px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: unset;
        height: auto;
        padding: 10px 0 0 0;
    }
    .progress-container {
        margin-left: 0;
        padding: 0 20px 10px 20px;
        width: 100%;
        order: 1;
    }
    .menu {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        margin: 0;
        order: 2;
        background: none;
        box-shadow: none;
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        padding: 0 10px 10px 10px;
    }
    .menu-button {
        flex: 1 1 220px;
        min-width: 180px;
        max-width: 100%;
        margin: 0;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 700px) {
    .menu-button {
        flex: 1 1 100%;
        min-width: 120px;
        width: 100%;
        margin: 0;
        font-size: 15px;
    }
    .progress-container {
        padding: 0 5px 10px 5px;
    }
    .menu {
        padding: 0 5px 10px 5px;
    }
}

@media (max-width: 465px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
           }
    
    .progress-stats,
    .progress-bar {
        max-width: 300px;
    }
    
    .password-container {
        width: 280px;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    
    .menu-overlay {
        display: none;
    }
    
    .menu {
        position: static;
        transform: none;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
    }
    
    .menu-button {
        width: auto;
        min-width: 200px;
        margin-bottom: 0;
    }
    
    .progress-stats {
        margin-left: 0;
    }
}

/* DESKTOP */
@media (min-width: 769px) {
  .header {
    position: fixed; top: 0; left: 0; right: 0;
    min-height: 70px;
    height: auto;
    z-index: 1001;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 0 20px;
    flex-wrap: wrap;
  }
  .menu {
    display: flex !important; flex-direction: row; gap: 10px; align-items: flex-start;
    position: static; background: none; box-shadow: none; padding: 0; margin: 0;
  }
  .menu-button, .menu-progress {
    min-width: 180px;
    height: 45px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    margin: 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0 15px;
    flex: 0 1 auto;
  }
  .menu-progress {
    background: #fff;
    color: #2e7d32;
    border: 1.5px solid #2e7d32;
    font-weight: 500;
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    user-select: none;
    margin-right: 0;
    margin-left: 0;
    gap: 8px;
  }
  .progress-container {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 70px;
    padding-right: 20px;
  }
}

/* MOBILE - bottom sheet menu */
@media (max-width: 768px) {
  .header {
    position: fixed; left: 0; right: 0; bottom: 0; top: unset;
    height: 60px; z-index: 1001;
    display: flex; align-items: center; justify-content: flex-start;
    background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,0.07); padding: 0 10px;
  }
  .menu-toggle {
    display: flex !important;
    z-index: 1102;
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 10px;
    bottom: 6px;
  }
  .progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
    padding-right: 20px;
  }
  .progress-text {
    font-size: 16px;
    margin: 0;
    padding: 0;
    text-align: right;
    width: auto;
    white-space: nowrap;
    line-height: 60px;
    display: flex;
    align-items: center;
    height: 60px;
  }
  .progress {
    display: none;
  }
  .menu {
    display: none!important;
    position: fixed; left: 0; right: 0; bottom: 60px;
    background: #fff; box-shadow: 0 -2px 16px rgba(0,0,0,0.15); z-index: 1201;
    flex-direction: column; align-items: stretch; justify-content: flex-end;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    pointer-events: auto; opacity: 0; padding: 16px 0 16px 0;
    border-top-left-radius: 18px; border-top-right-radius: 18px;
    max-width: 100vw;
    width: 100vw;
  }
  .menu.visible {
    display: flex!important;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .menu-button {
    height: 45px; max-height: 45px; min-height: 45px;
    font-size: 17px; margin: 8px 16px 0 16px; width: calc(100% - 32px);
    border-radius: 8px; border: none; background: #2e7d32; color: #fff; cursor: pointer; transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
  }
  .menu-button:hover { background: #1b5e20; }
  .menu-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.18);
    z-index: 1200;
  }
  .menu-overlay.visible { display: block; }
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}
.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.menu-toggle span {
  display: block; width: 32px; height: 4px; margin: 4px 0; background: #2e7d32; border-radius: 2px;
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(-45deg) translate(-8px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(45deg) translate(-8px, -6px); }

/* Domyślnie ukryj licznik mobilny, pokaż desktopowy */
.menu-progress.mobile-progress { display: none; }
.menu-progress.desktop-progress { display: flex; }

/* Na mobile – pokaż licznik na belce, ukryj w menu */
@media (max-width: 768px) {
  .menu-progress.mobile-progress {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 70vw;
    max-width: 70vw;
    min-width: 0;
    margin-left: auto;
    margin-right: 0;
    font-size: 15px;
    height: 60px;
    background: none;
    border: none;
    color: #2e7d32;
    box-shadow: none;
    padding: 0 10px 0 0;
    text-align: right;
    gap: 8px;
  }
  .menu-progress.desktop-progress {
    display: none !important;
  }
}