﻿/* ============================================================
   POSWARE CSS MAP                        Â© 2026 J-LOGIC s.r.o.
   ============================================================
   .shop-menu-xxxxx        â†’ menu listing
   .shop-category-xxxxx    â†’ category block
   .shop-detail-xxxxx      â†’ product detail
   .shop-checkout-xxxxx    â†’ cart / checkout
   .shop-thankyou-xxxxx    â†’ thank you page
   ============================================================ */



:root {
    font-family: 'roboto', sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    /* =========================
 HARD
 ========================= */
    --white: rgb(255,255,255);
    --black: rgb(0,0,0);
    /* =========================
 BACKGROUND
 ========================= */
    --bg-body: #0c0c0d; /* đź”Ą o chlp tmavĹˇie */
    --bg-panel: #161617; /* jemnĂ˝ rozdiel od body */
    --bg-elevated: #1e1e20; /* lepĹˇie oddelenie */
    --bg-hover: #262629; /* menej â€žĹˇedĂ©â€ś, viac deep */
    --bg-selected: rgba(255,255,255,0.08); /* trochu viac viditeÄľnĂ© */
    /* =========================
 TEXT
 ========================= */
    --text-primary: rgb(235,235,235);
    --text-secondary: rgb(200,200,200);
    --text-muted: rgb(150,150,150);
    --text-inverse: rgb(20,20,20);
    /* =========================
 BORDER
 ========================= */
    --border: rgba(255,255,255,0.06);
    --border-strong: rgba(255,255,255,0.12);
    --divider: rgba(255,255,255,0.08);
    /* =========================
 COLORS (WITH STATES)
 ========================= */
    /* teal */
    --color-teal: rgb(26,188,156);
    --color-teal-hover: rgb(36,205,170);
    --color-teal-active: rgb(46,220,185);
    --color-teal-disabled: rgb(20,140,120);
    --color-teal-dark: rgb(22,160,133);
    --color-teal-dark-hover: rgb(32,175,150);
    --color-teal-dark-active: rgb(42,190,165);
    --color-teal-dark-disabled: rgb(16,120,100);
    /* green */
    --color-green: rgb(46,204,113);
    --color-green-hover: rgb(60,215,125);
    --color-green-active: rgb(75,225,140);
    --color-green-disabled: rgb(34,150,85);
    --color-green-dark: rgb(39,174,96);
    --color-green-dark-hover: rgb(50,190,110);
    --color-green-dark-active: rgb(65,205,125);
    --color-green-dark-disabled: rgb(28,130,70);
    /* blue */
    --color-blue: rgb(52,152,219);
    --color-blue-hover: rgb(70,170,235);
    --color-blue-active: rgb(90,185,245);
    --color-blue-disabled: rgb(38,110,160);
    --color-blue-dark: rgb(41,128,185);
    --color-blue-dark-hover: rgb(55,145,200);
    --color-blue-dark-active: rgb(70,160,215);
    --color-blue-dark-disabled: rgb(30,95,140);
    /* purple */
    --color-purple: rgb(155,89,182);
    --color-purple-hover: rgb(170,105,200);
    --color-purple-active: rgb(185,120,215);
    --color-purple-disabled: rgb(110,65,130);
    --color-purple-dark: rgb(142,68,173);
    --color-purple-dark-hover: rgb(160,85,190);
    --color-purple-dark-active: rgb(175,100,205);
    --color-purple-dark-disabled: rgb(100,50,120);
    /* orange */
    --color-orange: rgb(243,156,18);
    --color-orange-hover: rgb(255,170,35);
    --color-orange-active: rgb(255,185,55);
    --color-orange-disabled: rgb(180,110,12);
    --color-orange-dark: rgb(211,84,0);
    --color-orange-dark-hover: rgb(230,100,20);
    --color-orange-dark-active: rgb(245,120,40);
    --color-orange-dark-disabled: rgb(150,60,0);
    /* red */
    --color-red: rgb(231,76,60);
    --color-red-hover: rgb(245,95,80);
    --color-red-active: rgb(255,110,95);
    --color-red-disabled: rgb(170,55,45);
    --color-red-dark: rgb(192,57,43);
    --color-red-dark-hover: rgb(210,70,55);
    --color-red-dark-active: rgb(225,85,70);
    --color-red-dark-disabled: rgb(140,40,30);
    /* yellow */
    --color-yellow: rgb(241,196,15);
    --color-yellow-hover: rgb(255,210,35);
    --color-yellow-active: rgb(255,225,60);
    --color-yellow-disabled: rgb(180,145,10);
    /* grayscale */
    --color-gray: rgb(149,165,166);
    --color-gray-hover: rgb(170,180,182);
    --color-gray-active: rgb(190,200,205);
    --color-gray-disabled: rgb(100,110,112);
    --color-gray-dark: rgb(127,140,141);
    --color-gray-dark-hover: rgb(145,155,156);
    --color-gray-dark-active: rgb(165,175,176);
    --color-gray-dark-disabled: rgb(90,100,102);
    --radius: 0px;
    --header-height: 56px;
    --footer-height: 56px;
    --edit-header-height: 56px;
    --edit-footer-height: 64px;
    --ribbon-height: 80px;
    --time-icon-filter: invert(1);
    --dashboard-kpi-height: 110px;
    --dashboard-tabs-height: 48px;
}

:root[data-theme="light"] {
    --white: rgb(255,255,255);
    --black: rgb(0,0,0);
    --bg-body: rgb(196,200,206);
    --bg-panel: rgb(206,210,216);
    --bg-elevated: rgb(200,204,210);
    --bg-hover: rgb(188,192,198);
    --bg-selected: rgba(41,128,185,0.10);
    --text-primary: rgb(22,22,22);
    --text-secondary: rgb(60,60,60);
    --text-muted: rgb(105,105,105);
    --text-inverse: rgb(255,255,255);
    --border: rgba(0,0,0,0.22);
    --border-strong: rgba(0,0,0,0.32);
    --divider: rgba(0,0,0,0.18);
    --light-bg-body: rgb(205,210,218);
    --light-bg-panel: rgb(218,223,230);
    --light-bg-elevated: rgb(212,217,225);
    --light-bg-hover: rgb(198,204,212);
    --light-bg-selected: rgba(41,128,185,0.16);
    --light-text-primary: rgb(24,24,24);
    --light-text-secondary: rgb(65,65,65);
    --light-text-muted: rgb(105,105,105);
    --light-text-inverse: rgb(255,255,255);
    --light-border: rgba(0,0,0,0.22);
    --light-border-strong: rgba(0,0,0,0.32);
    --light-divider: rgba(0,0,0,0.18);
    --color-teal: rgb(26,188,156);
    --color-teal-hover: rgb(36,205,170);
    --color-teal-active: rgb(46,220,185);
    --color-teal-disabled: rgb(20,140,120);
    --color-teal-dark: rgb(22,160,133);
    --color-teal-dark-hover: rgb(32,175,150);
    --color-teal-dark-active: rgb(42,190,165);
    --color-teal-dark-disabled: rgb(16,120,100);
    --color-green: rgb(46,204,113);
    --color-green-hover: rgb(60,215,125);
    --color-green-active: rgb(75,225,140);
    --color-green-disabled: rgb(34,150,85);
    --color-green-dark: rgb(39,174,96);
    --color-green-dark-hover: rgb(50,190,110);
    --color-green-dark-active: rgb(65,205,125);
    --color-green-dark-disabled: rgb(28,130,70);
    --color-blue: rgb(52,152,219);
    --color-blue-hover: rgb(70,170,235);
    --color-blue-active: rgb(90,185,245);
    --color-blue-disabled: rgb(38,110,160);
    --color-blue-dark: rgb(41,128,185);
    --color-blue-dark-hover: rgb(55,145,200);
    --color-blue-dark-active: rgb(70,160,215);
    --color-blue-dark-disabled: rgb(30,95,140);
    --color-purple: rgb(155,89,182);
    --color-purple-hover: rgb(170,105,200);
    --color-purple-active: rgb(185,120,215);
    --color-purple-disabled: rgb(110,65,130);
    --color-purple-dark: rgb(142,68,173);
    --color-purple-dark-hover: rgb(160,85,190);
    --color-purple-dark-active: rgb(175,100,205);
    --color-purple-dark-disabled: rgb(100,50,120);
    --color-orange: rgb(243,156,18);
    --color-orange-hover: rgb(255,170,35);
    --color-orange-active: rgb(255,185,55);
    --color-orange-disabled: rgb(180,110,12);
    --color-orange-dark: rgb(211,84,0);
    --color-orange-dark-hover: rgb(230,100,20);
    --color-orange-dark-active: rgb(245,120,40);
    --color-orange-dark-disabled: rgb(150,60,0);
    --color-red: rgb(231,76,60);
    --color-red-hover: rgb(245,95,80);
    --color-red-active: rgb(255,110,95);
    --color-red-disabled: rgb(170,55,45);
    --color-red-dark: rgb(192,57,43);
    --color-red-dark-hover: rgb(210,70,55);
    --color-red-dark-active: rgb(225,85,70);
    --color-red-dark-disabled: rgb(140,40,30);
    --color-yellow: rgb(241,196,15);
    --color-yellow-hover: rgb(255,210,35);
    --color-yellow-active: rgb(255,225,60);
    --color-yellow-disabled: rgb(180,145,10);
    --color-gray: rgb(149,165,166);
    --color-gray-hover: rgb(170,180,182);
    --color-gray-active: rgb(190,200,205);
    --color-gray-disabled: rgb(100,110,112);
    --color-gray-dark: rgb(127,140,141);
    --color-gray-dark-hover: rgb(145,155,156);
    --color-gray-dark-active: rgb(165,175,176);
    --color-gray-dark-disabled: rgb(90,100,102);
    
}






body {
    margin: 0;
    background: var(--bg-body);
}
   
a, .btn-link {
    color: #006bb7;
}
    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }
.content {
}
h1:focus {
    outline: none;
}
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}
.invalid {
    outline: 1px solid #e50000;
}
.validation-message {
    color: #e50000;
}
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}
    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
.shop-payment {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.shop-payment-card {
    background: var(--bg-panel);
    padding: 40px 30px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.shop-payment-logo-wrapper {
    margin-bottom: 20px;
}
.shop-payment-logo {
    height: 48px;
    width: auto;
    display: block;
    margin: 0 auto;
}
.shop-payment-title {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
}
.shop-payment-number {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
}
    .shop-payment-number strong {
        color: var(--color-red-dark);
        font-size: 18px;
    }
.shop-payment-info {
    color: var(--text-secondary);
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.6;
}
.shop-payment-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.shop-payment-loader-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0 18px;
}
.shop-payment-loader {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.08);
    border-top-color: var(--color-red-dark);
    border-right-color: rgba(192,57,43,0.38);
    animation: shopPaymentSpin 0.85s linear infinite;
}
.shop-payment-loader::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.shop-payment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    background: var(--color-red-dark);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
    .shop-payment-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.22);
        background: var(--color-red-dark-hover);
    }
    .shop-payment-btn:active:not(:disabled) {
        transform: scale(0.96);
        box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    }
    .shop-payment-btn:disabled {
        background: var(--color-red-dark-disabled);
        color: var(--white);
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
        opacity: 0.7;
    }
@keyframes shopPaymentSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* ====================================================================================================
    SHOP MAIN LAYOUT â€“ HEADER + FOOTER + CORE CONTENT WRAPPER
    ZĂˇkladnĂ˝ layout zĂˇkaznĂ­ckej ÄŤasti (fixed header, fixed footer, cart tlaÄŤidlĂˇ, obsah medzi nimi).
==================================================================================================== */
/* =========================
   LAYOUT WRAPPER
========================= */
.shop-layout-root {
    margin-top: var(--header-height);
    margin-bottom: var(--footer-height);
}
/* =========================
   HEADER
========================= */
.shop-layout-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient( 180deg, var(--bg-elevated) 0%, var(--bg-body) 100% );
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18), inset 0 -1px 0 rgba(255,255,255,0.08);
}
/* LEFT */
.shop-layout-header-left {
    display: flex;
    align-items: center;
}
.shop-layout-header-left-inner {
    width: 48px; /* FIXNĂ Ĺ ĂŤRKA */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
  

.shop-layout-header-logo {
    height: 40px;
    width: auto;
    display: block;
}
/* RIGHT */
.shop-layout-header-right {
    display: flex;
    align-items: center;
}
.shop-layout-header-btn {
    padding: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: background 0.15s ease, transform 0.08s ease;
}
    .shop-layout-header-btn .material-symbols-outlined {
        font-size: 30px;
        line-height: 1;
        color: var(--text-secondary);
        font-variation-settings: 'FILL' 1, 'wght' 700, 'opsz' 42;
    }
      
    .shop-layout-header-btn:hover {
        background: var(--bg-hover);
    }
    .shop-layout-header-btn:active {
        transform: scale(0.94);
    }

@media (max-width: 640px) {
    .shop-layout-header-right {
        gap: 2px;
    }

    .shop-layout-header-btn {
        padding: 6px;
    }
}
.shop-layout-cart-total {
    font-weight: 600;
    font-size: 25px;
    line-height: 1;
}
/* =========================================
   USER AVATAR â€“ INITIALS CIRCLE
========================================= */
.shop-user-avatar {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--text-secondary);
    color: var(--text-inverse);
    font-weight: 600;
    font-size: 16px;
    font-weight:600;
    line-height: 1;
    flex-shrink: 0;
}
/* =========================================
   CART BUMP â€“ SUNFLOWER SMOOTH RETURN
========================================= */
.shop-layout-header-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
/* SCALE â€“ rĂ˝chly punch, pomalĂ˝ nĂˇvrat */
@keyframes cart-bump-scale {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.24);
    }
    /* rĂ˝chly bump */
    45% {
        transform: scale(0.97);
    }
    /* malĂ˝ drop */
    100% {
        transform: scale(1);
    }
    /* pomalĂ˝ nĂˇvrat */
}

/* TRIGGER */
.shop-layout-header-cart-bump {
    animation: cart-bump-scale 0.45s cubic-bezier(.2,1.2,.3,1);
}
    
/* =========================
   FOOTER
========================= */
.shop-layout-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--footer-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    overflow: hidden;
    z-index: 1000;
    background: linear-gradient( 0deg, var(--bg-elevated) 0%, var(--bg-body) 100% );
    box-shadow: 0 4px 12px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}
/* link container */
.shop-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px 16px;
    line-height: 1.0;
    max-height: 100%;
    overflow: visible;
}
    /* links */
    .shop-footer-links a {
        line-height: 1.2;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        color: var(--color-red-dark);
        white-space: nowrap;
        display: inline-block;
        transition: transform 0.08s ease, color 0.15s ease;
    }

        .shop-footer-links a:hover {
            color: var(--color-red-dark-hover);
            transform: scale(1.08);
        }

        .shop-footer-links a:active {
            color: var(--color-red-dark-active);
            transform: scale(0.95);
        }
/* desktop */
@media (min-width: 700px) {
    .shop-footer-links a {
        font-size: 16px;
    }
}
/* =========================
   MAIN CONTENT
========================= */
.shop-layout-main-content {
    display: flex;
    flex-direction: column;
}
/* ====================================================================================================
    SHOP MENU â€“ HOME SCREEN GRID + BANNERS + TILES + BADGES
    ZĂˇkaznĂ­cky hlavnĂ˝ grid (menu / produkty) vrĂˇtane open/closed bannerov.
==================================================================================================== */
/* =========================================================
   BODY CONTENT (MEDZI HEADER / FOOTER)
========================================================= */
.shop-menu-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    padding: 5px 5px 15px 5px;
}
/* đź“± vĂ¤ÄŤĹˇĂ­ mobil */
@media (min-width: 600px) {
    .shop-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* đź’» notebook */
@media (min-width: 900px) {
    .shop-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* đź–Ąď¸Ź desktop */
@media (min-width: 1200px) {
    .shop-menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1500px) {
    .shop-menu-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
/* =========================================================
   BANNERS (OPEN / CLOSED)
========================================================= */
.shop-menu-banner-info {
    width: 100%;
    background: var(--color-orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0px;
    padding: 20px;
    box-sizing: border-box;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.shop-menu-banner-closed {
    width: 100%;
    background: var(--color-red-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0px;
    padding: 20px;
    box-sizing: border-box;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.shop-menu-banner-open {
    width: 100%;
    background: var(--color-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0px;
    padding: 20px;
    box-sizing: border-box;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
/* =========================================================
   TILE
========================================================= */
/* TILE */
.shop-menu-tile {
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: var(--bg-panel);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    border: 1px solid var(--border);
    transition: transform 0.12s ease, box-shadow 0.15s ease;
}

    /* đź”Ą HOVER */
    .shop-menu-tile:hover {
        transform: scale(1.04);
        box-shadow: 0 8px 20px rgba(0,0,0,0.22);
        background: var(--bg-elevated);
    }

    /* đź”Ą ACTIVE */
    .shop-menu-tile:active {
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    }

    .shop-menu-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 12px;
        pointer-events: none;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    }
/* =========================================================
   IMAGE
========================================================= */
.shop-menu-tile-image {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;

}
    .shop-menu-tile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
/* =========================================================
   INFO PĂS
========================================================= */
.shop-menu-tile-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.shop-menu-name {
    color: var(--text-secondary);
    padding: 10px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}
.shop-menu-prod-name {
    color: var(--text-secondary);
    padding: 6px 4px 0 4px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}
.shop-menu-prod-desc {
    color: var(--text-secondary);
    padding: 6px 4px 0 4px;
    font-size: 15px;
    text-align: center;
}
.shop-menu-prod-allergens {
    font-weight: 500;
    color: var(--color-red-dark);
    padding: 6px 4px 0 4px;
    font-size: 15px;
    text-align: center;
}
.shop-menu-prod-price {
    padding: 0 6px 4px 6px;
    text-align: right;
    color: var(--color-red-dark);
    font-weight: 600;
    font-size: 25px;
    margin-top: auto;
}
/* =========================================================
   BADGES
========================================================= */
.shop-menu-badge {
    font-weight: 600;
    font-size: 16px;
    position: absolute;
    padding: 6px 15px;
    color: var(--white);
    pointer-events: none;
    text-transform: uppercase;
    border-radius: 0;
}
    .shop-menu-badge.tl {
        top: 0;
        left: 0;
        border-bottom-right-radius: 4px;
    }
    .shop-menu-badge.tr {
        top: 0;
        right: 0;
        border-bottom-left-radius: 4px;
    }
    .shop-menu-badge.bl {
        bottom: 0;
        left: 0;
        border-top-right-radius: 4px;
    }
    .shop-menu-badge.br {
        bottom: 0;
        right: 0;
        border-top-left-radius: 4px;
    }

@media (max-width: 768px) {

    .shop-menu-tile {
        flex-direction: row;
        align-items: stretch;
        height: 150px;
    }

    /* IMAGE LEFT */
    .shop-menu-tile-image {
        width: 170px;
        min-width: 170px;
        height: 100%;
        aspect-ratio: unset;
        border-top-right-radius: 0;
        border-bottom-left-radius: 10px;
    }

        .shop-menu-tile-image img {
            height: 100%;
        }

    /* INFO RIGHT */
    .shop-menu-tile-info {
        flex: 1;
        padding: 8px 10px;
        justify-content: center;
    }

    .shop-menu-prod-name {
        font-size: 16px;
        text-align: left;
        padding: 0;
    }

    .shop-menu-prod-desc {
        font-size: 13px;
        text-align: left;
        padding: 2px 0;
        opacity: 0.85;
    }

    .shop-menu-prod-allergens {
        font-size: 12px;
        text-align: left;
        padding: 2px 0;
    }

    .shop-menu-prod-price {
        font-size: 18px;
        text-align: left;
        padding: 4px 0 0 0;
        margin-top: auto;
    }

    /* BADGE fix (lebo teraz je image menĹˇĂ­) */
    .shop-menu-badge.tr {
        right: auto;
        left: 0;
        top: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 4px;
    }
}
/* ====================================================================================================
    SHOP CATEGORY â€“ PRODUKTOVĂť GRID (DETAIL KATEGĂ“RIE)
    SamostatnĂ˝ modul pre zobrazenie produktov v rĂˇmci jednej kategĂłrie.
==================================================================================================== */
.shop-category-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    padding: 5px 5px 15px 5px;
}
@media (min-width: 600px) {
    .shop-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 900px) {
    .shop-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1200px) {
    .shop-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1500px) {
    .shop-category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
/* TILE */
.shop-category-tile {
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: var(--bg-panel);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    border: 1px solid var(--border);
    transition: transform 0.12s ease, box-shadow 0.15s ease;
}

    /* đź”Ą HOVER */
    .shop-category-tile:hover {
        transform: scale(1.04);
        box-shadow: 0 8px 20px rgba(0,0,0,0.22);
        background: var(--bg-elevated);
    }

    /* đź”Ą ACTIVE */
    .shop-category-tile:active {
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    }

    .shop-category-tile[disabled] {
        opacity: 0.45;
        filter: grayscale(60%) brightness(0.7);
        cursor: not-allowed;
        pointer-events: none;
        transform: none;
    }

    .shop-category-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 12px;
        pointer-events: none;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    }
/* IMAGE */
.shop-category-tile-image {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}
    .shop-category-tile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
/* INFO */
.shop-category-tile-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.shop-category-prod-name {
    padding: 6px 4px 0 4px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
}
.shop-category-prod-desc {
    white-space: pre-line;
    padding: 2px 4px 0 4px;
    font-size: 15px;
    text-align: center;
    color: var(--text-secondary);
}
.shop-category-prod-price {
    padding: 0 6px 4px 6px;
    text-align: right;
    color: var(--color-red-dark);
    font-weight: 600;
    font-size: 25px;
    margin-top: auto;
}
.shop-category-prod-allergens {
    padding: 2px 4px 0 4px;
    font-size: 15px;
    text-align: center;
    color: var(--color-red-dark);
}
/* BADGES */
.shop-category-badge {
    font-weight: 600;
    font-size: 16px;
    position: absolute;
    padding: 6px 15px;
    color: var(--white);
    pointer-events: none;
    text-transform: uppercase;
}
    .shop-category-badge.tl {
        top: 0;
        left: 0;
        border-bottom-right-radius: 4px;
    }
    .shop-category-badge.tr {
        top: 0;
        right: 0;
        border-bottom-left-radius: 4px;
    }
    .shop-category-badge.bl {
        bottom: 0;
        left: 0;
        border-top-right-radius: 4px;
    }
    .shop-category-badge.br {
        bottom: 0;
        right: 0;
        border-top-left-radius: 4px;
    }

@media (max-width: 768px) {

    .shop-category-tile {
        flex-direction: row;
        align-items: stretch;
        height: 150px;
    }

    /* IMAGE LEFT */
    .shop-category-tile-image {
        width: 170px;
        min-width: 170px;
        height: 100%;
        aspect-ratio: unset;
        border-top-right-radius: 0;
        border-bottom-left-radius: 10px;
    }

        .shop-category-tile-image img {
            height: 100%;
        }

    /* INFO RIGHT */
    .shop-category-tile-info {
        flex: 1;
        padding: 8px 10px;
        justify-content: center;
    }

    .shop-category-prod-name {
        font-size: 15px;
        text-align: left;
        padding: 0;
    }

    .shop-category-prod-desc {
        font-size: 13px;
        text-align: left;
        padding: 2px 0;
        opacity: 0.85;
    }

    .shop-category-prod-allergens {
        font-size: 12px;
        text-align: left;
        padding: 2px 0;
    }

    .shop-category-prod-price {
        font-size: 17px;
        text-align: left;
        padding: 4px 0 0 0;
        margin-top: auto;
    }

   
        .shop-category-badge.tl {
            top: 0;
            left: 0;
            border-bottom-right-radius: 4px;
        }

        .shop-category-badge.tr {
            top: 0;
            right: 0;
            border-bottom-left-radius: 4px;
        }

        .shop-category-badge.bl {
            bottom: 0;
            left: 0;
            border-top-right-radius: 4px;
        }

        .shop-category-badge.br {
            bottom: 0;
            right: 0;
            border-top-left-radius: 4px;
        }
    

}


/* ====================================================================================================
   SHOP DETAIL OVERLAY
==================================================================================================== */

.shop-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    overflow: hidden;
    overscroll-behavior: contain;
}

/* ====================================================================================================
   SHOP DETAIL DIALOG
==================================================================================================== */

.shop-detail-dialog {
    width: min(860px, calc(100vw - 48px));
    height: min(920px, calc(100dvh - 48px));
    max-height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
}

@media (max-width: 768px) {
    .shop-detail-overlay {
        padding: 0;
    }

    .shop-detail-dialog {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

@media (orientation: landscape) and (min-width: 769px) and (max-width: 1366px) {
    .shop-detail-overlay {
        padding: 0;
    }

    .shop-detail-dialog {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
/* ====================================================================================================
   HEADER
==================================================================================================== */


.shop-detail-header {
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 16px;
    padding-right: 0;
    background: linear-gradient( to bottom, var(--bg-elevated), var(--bg-body) );
    border-bottom: 1px solid var(--border);
    user-select: none;
}

.shop-detail-header-title {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-detail-close {
    width: 58px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.12s ease;
}

    .shop-detail-close:hover {
        background: var(--color-red-dark);
        color: var(--white);
    }

    .shop-detail-close:active {
        background: var(--color-red);
        color: var(--white);
    }

    .shop-detail-close .material-symbols-outlined {
        font-size: 24px;
        color: inherit;
    }

/* ====================================================================================================
   BODY
==================================================================================================== */

.shop-detail-body {
    flex: 1 1 auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    min-height: 0;
}

/* =========================================================
   HERO
========================================================= */

.shop-detail-hero {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* HERO CARD */

.shop-detail-hero-card {
    border-radius: 14px;
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
    background: var(--bg-panel);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    border: 1px solid var(--border);
    transition: transform 0.18s cubic-bezier(.2,.8,.2,1), box-shadow 0.18s cubic-bezier(.2,.8,.2,1), background 0.18s ease;
}

    .shop-detail-hero-card:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,0.22);
    }

    .shop-detail-hero-card:active {
        transform: none;
    }

    .shop-detail-hero-card[disabled] {
        opacity: 0.45;
        filter: grayscale(60%) brightness(0.7);
        cursor: not-allowed;
        pointer-events: none;
        transform: none;
    }

    .shop-detail-hero-card::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 14px;
        pointer-events: none;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
    }

/* ---------- HERO IMAGE ---------- */

.shop-detail-hero-image {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

    .shop-detail-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ---------- BADGES ---------- */

.shop-detail-badge {
    position: absolute;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    text-transform: uppercase;
    pointer-events: none;
}

    .shop-detail-badge.tl {
        top: 0;
        left: 0;
        border-bottom-right-radius: 4px;
    }

    .shop-detail-badge.tr {
        top: 0;
        right: 0;
        border-bottom-left-radius: 4px;
    }

    .shop-detail-badge.bl {
        bottom: 0;
        left: 0;
        border-top-right-radius: 4px;
    }

    .shop-detail-badge.br {
        bottom: 0;
        right: 0;
        border-top-left-radius: 4px;
    }

/* ---------- HERO INFO ---------- */

.shop-detail-hero-info {
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.shop-detail-hero-name {
    color: var(--text-secondary);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.shop-detail-hero-desc {
    color: var(--text-secondary);
    font-size: 15px;
    text-align: center;
    margin-top: 8px;
}

.shop-detail-hero-allergens {
    font-size: 15px;
    color: var(--color-red-dark);
    text-align: center;
    margin-top: 8px;
}

.shop-detail-hero-price {
    margin-top: 14px;
    text-align: right;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-red-dark);
}


/* ====================================================================================================
   GROUPS
==================================================================================================== */

.shop-detail-groups {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.shop-detail-group-title {
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.shop-detail-group-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 8px;
}

/* ====================================================================================================
   MINI TILE
==================================================================================================== */

.shop-detail-mini {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

    .shop-detail-mini:hover {
        transform: translateY(-2px);
        background: var(--bg-elevated);
        box-shadow: 0 8px 20px rgba(0,0,0,0.22);
    }

    .shop-detail-mini.selected {
        background: var(--color-red-dark);
        border-color: transparent;
    }

    .shop-detail-mini.disabled {
        opacity: 0.45;
        filter: grayscale(60%) brightness(0.8);
        pointer-events: none;
    }

.shop-detail-mini-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

    .shop-detail-mini-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.shop-detail-mini-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
}

.shop-detail-mini-name {
    min-height: calc(1.4em * 2);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-detail-mini-price {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    color: var(--color-red-dark);
}

.shop-detail-mini.selected .shop-detail-mini-name,
.shop-detail-mini.selected .shop-detail-mini-price {
    color: white;
}

/* ====================================================================================================
   FOOTER
==================================================================================================== */

.shop-detail-footer {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-panel);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.18);
}

/* ====================================================================================================
   SUMMARY
==================================================================================================== */
.shop-detail-action {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.shop-detail-summary-title {
    margin-top: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 8px;
}

.shop-detail-summary {
    border-radius: 10px;
    background: var(--bg-panel);
    padding-top: 10px;
    width: 100%;
    font-size: 16px;
}

.shop-detail-summary-table {
    width: 100%;
    border-collapse: collapse;
}

.shop-detail-summary-head-name,
.shop-detail-summary-head-price {
    padding: 6px 8px;
    border-bottom: 1px solid var(--divider);
    font-weight: 600;
    color: var(--text-secondary);
}

.shop-detail-summary-head-name {
    text-align: left;
}

.shop-detail-summary-head-price {
    text-align: right;
}

.shop-detail-summary-main-name,
.shop-detail-summary-main-price {
    padding: 6px 8px;
    border-bottom: 1px solid var(--divider);
    font-weight: 600;
}

.shop-detail-summary-main-name {
    text-align: left;
    color: var(--text-secondary);
}

.shop-detail-summary-main-price {
    text-align: right;
    color: var(--color-red-dark);
    white-space: nowrap;
}

.shop-detail-summary-extra-name {
    text-align: left;
    padding: 6px 16px;
    border-bottom: 1px solid var(--divider);
    font-weight: 500;
    color: var(--text-secondary);
}

.shop-detail-summary-extra-price {
    text-align: right;
    padding: 6px 8px;
    border-bottom: 1px solid var(--divider);
    font-weight: 500;
    color: var(--color-red-dark);
    white-space: nowrap;
}

.shop-detail-summary-total-name,
.shop-detail-summary-total-price {
    padding: 8px;
    border-top: 1px solid var(--divider);
    font-weight: 700;
}

.shop-detail-summary-total-name {
    text-align: left;
    color: var(--text-secondary);
}

.shop-detail-summary-total-price {
    text-align: right;
    color: var(--color-red-dark);
}

/* ====================================================================================================
   QTY
==================================================================================================== */

.shop-detail-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-detail-closed-banner {
    margin: 0;
    min-height: 52px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.shop-detail-qty-btn {
    flex: 0 0 52px;
    height: 52px;
    border: none;
    border-radius: 8px;
    background: var(--color-red-dark);
    color: white;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.12s ease;
}

    .shop-detail-qty-btn:hover:not(:disabled) {
        background: var(--color-red-dark-hover);
    }

    .shop-detail-qty-btn:active:not(:disabled) {
        transform: scale(0.96);
    }

.shop-detail-add-btn {
    flex: 1;
    height: 52px;
    border: none;
    border-radius: 8px;
    background: var(--color-red-dark);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.12s ease;
}

    .shop-detail-add-btn:hover:not(:disabled) {
        background: var(--color-red-dark-hover);
    }

    .shop-detail-add-btn:active:not(:disabled) {
        transform: scale(0.98);
    }

    .shop-detail-qty-btn:disabled,
    .shop-detail-add-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* ====================================================================================================
    SHOP CHECKOUT â€“ OBJEDNĂVKA + FORMULĂR
    SamostatnĂˇ izolovanĂˇ vrstva pre checkout.
==================================================================================================== */
/* =========================================================
   LAYOUT
========================================================= */
.shop-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px;
}
.shop-checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(4px);
}

.shop-checkout-overlay-card {
    width: min(100%, 500px);
    padding: 40px 30px;
    text-align: center;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    animation: toastPop 0.4s ease;
}

.shop-checkout-loader-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 18px;
}

.shop-checkout-loader {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.08);
    border-top-color: var(--color-red-dark);
    border-right-color: rgba(192,57,43,0.38);
    animation: shopPaymentSpin 0.85s linear infinite;
}

.shop-checkout-overlay-title {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
}

.shop-checkout-overlay-info {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.8;
}
.shop-checkout-title {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}
/* =========================================================
   FORM â€“ VERTICAL
========================================================= */
.shop-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
    .shop-checkout-form input,
    .shop-checkout-form select,
    .shop-checkout-form textarea {
        border-radius: 6px;
        width: 100%;
        box-sizing: border-box;
        padding: 8px;
        border: 1px solid var(--border-strong);
        font-size: 15px;
        font-family: inherit;
        background-color: var(--bg-panel);
        color: var(--text-primary);
        margin: 0;
    }
        .shop-checkout-form input:focus,
        .shop-checkout-form select:focus,
        .shop-checkout-form textarea:focus {
            outline: none;
            border-color: var(--color-red-dark);
        }
    .shop-checkout-form textarea {
        min-height: 100px;
        resize: none;
    }
.shop-checkout-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.shop-checkout-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .shop-checkout-field label {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-secondary);
        padding-left: 2px;
    }

.shop-checkout-choice-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
}

.shop-checkout-field-choice {
    margin-bottom: 20px;
}

.shop-checkout-field-payment {
    margin-top: 18px;
}

.shop-checkout-field-note {
    margin-top: 18px;
}

.shop-checkout-choice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    gap: 4px;
    min-height: 72px;
    padding: 12px 12px 12px 24px;
    border-radius: 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

@media (max-width: 640px) {
    .shop-checkout-choice-grid-stacked {
        flex-direction: column;
    }

        .shop-checkout-choice-grid-stacked .shop-checkout-choice-card {
            flex: 1 1 auto;
        }
}

    .shop-checkout-choice-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        border-radius: 14px 0 0 14px;
        opacity: 0.95;
    }

    .shop-checkout-choice-card:hover {
        transform: translateY(-2px);
        background: var(--bg-hover);
        border-color: rgba(255,255,255,0.2);
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    }

    .shop-checkout-choice-card:active {
        transform: translateY(1px) scale(0.985);
        box-shadow: 0 2px 8px rgba(0,0,0,0.16);
    }

    .shop-checkout-choice-card.active {
        background: var(--color-red-dark);
        border-color: var(--color-red-dark);
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    }

    .shop-checkout-choice-card input {
        position: absolute;
        inset: 0;
        opacity: 0;
        pointer-events: none;
    }

    .shop-checkout-choice-card.active .shop-checkout-choice-value {
        color: var(--text-primary);
    }

.shop-checkout-choice-value {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 8px;
    padding-right: 10px;
    line-height: 1.2;
}

.shop-checkout-choice-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 8px;
    padding-right: 10px;
    line-height: 1.25;
}

.shop-checkout-choice-card.active .shop-checkout-choice-value {
    color: var(--white);
}
.shop-checkout-choice-card.active .shop-checkout-choice-label {
    color: var(--white);
}


    .shop-checkout-choice-card-delivery::before,
    .shop-checkout-choice-card-cash::before,
    .shop-checkout-choice-card-pickup::before,
    .shop-checkout-choice-card-card::before,
    .shop-checkout-choice-card-online::before {
        background: var(--color-red-dark);
    }

    .shop-checkout-choice-card-delivery.active {
        border-color: var(--color-red-dark);
        box-shadow: 0 0 0 1px rgba(192,57,43,0.25), 0 4px 12px rgba(0,0,0,0.18);
    }

    .shop-checkout-choice-card-pickup.active {
        border-color: var(--color-red-dark);
        box-shadow: 0 0 0 1px rgba(192,57,43,0.25), 0 4px 12px rgba(0,0,0,0.18);
    }

    .shop-checkout-choice-card-cash.active {
        border-color: var(--color-red-dark);
        box-shadow: 0 0 0 1px rgba(192,57,43,0.25), 0 4px 12px rgba(0,0,0,0.18);
    }

    .shop-checkout-choice-card-card.active {
        border-color: var(--color-red-dark);
        box-shadow: 0 0 0 1px rgba(192,57,43,0.25), 0 4px 12px rgba(0,0,0,0.18);
    }

    .shop-checkout-choice-card-online.active {
        border-color: var(--color-red-dark);
        box-shadow: 0 0 0 1px rgba(192,57,43,0.25), 0 4px 12px rgba(0,0,0,0.18);
    }

    .shop-checkout-error {
        color: var(--color-red-dark);
        font-size: 15px;
        font-weight: 600;
        margin-left: 5px;
    }

    .shop-checkout-note-warning {
        color: var(--color-orange-dark);
        font-size: 14px;
        font-weight: 600;
        margin-top: 8px;
        margin-left: 4px;
        line-height: 1.35;
    }

    .shop-checkout-field input.error,
    .shop-checkout-field select.error {
        border-color: var(--color-red-dark);
    }
    /* inline wrapper pod field */
    .shop-checkout-inline {
        display: flex;
        gap: 6px;
    }
    /* checkout select – dorovnanie na existujuce inputy */
    .shop-checkout-time {
        width: 100%;
        border-radius: 6px;
        box-sizing: border-box;
        padding: 8px;
        border: 1px solid var(--border-strong);
        font-size: 15px;
        font-family: inherit;
        background-color: var(--bg-panel);
        color: var(--text-primary);
        min-width: 100px;
    }

    .shop-checkout-time-mode {
        flex: 3 1 0;
    }

    .shop-checkout-time-slot {
        flex: 1 1 0;
        min-width: 92px;
    }

    .shop-checkout-time:focus {
        outline: none;
        border-color: var(--color-red-dark);
    }
    /* =========================================================
   PHONE INPUT ROW
========================================================= */
    .shop-phone-row {
        display: flex;
        gap: 6px;
    }
    /* =========================================================
   PHONE INPUT ROW
========================================================= */
    .shop-phone-row {
        display: flex;
        gap: 6px;
    }

    .shop-phone-prefix {
        width: 90px !important;
        flex: 0 0 90px;
    }

    .shop-phone-number {
        flex: 1;
    }
    /* =========================================================
   SUBMIT BUTTON
========================================================= */
    .shop-checkout-submit {
        border-radius: 6px;
        margin-top: 18px;
        padding: 14px;
        width: 100%;
        background: var(--color-red-dark);
        color: var(--white);
        border: none;
        font-weight: 600;
        font-size: 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
        transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    }
        /* hover */
        .shop-checkout-submit:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 10px 22px rgba(0,0,0,0.25);
            background: var(--color-red-dark-hover);
        }
        /* active */
        .shop-checkout-submit:active:not(:disabled) {
            transform: scale(0.96);
            box-shadow: 0 3px 8px rgba(0,0,0,0.2);
        }

    .shop-checkout-submit {
        border-radius: 6px;
        margin-top: 18px;
        padding: 14px;
        width: 100%;
        background: var(--color-red-dark);
        color: var(--white);
        border: none;
        font-weight: 600;
        font-size: 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
        transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    }
        /* hover */
        .shop-checkout-submit:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.22);
            background: var(--color-red-dark-hover);
        }
        /* active */
        .shop-checkout-submit:active:not(:disabled) {
            transform: scale(0.96);
            box-shadow: 0 2px 6px rgba(0,0,0,0.18);
        }
        /* disabled */
        .shop-checkout-submit:disabled {
            background: var(--color-red-disabled);
            color: var(--white);
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
            opacity: 0.7;
        }
    /* =========================================================
   CHECKOUT TABLE
========================================================= */
    .shop-checkout-table {
        border-radius: 10px;
        width: 100%;
        border-collapse: collapse;
        background: var(--bg-panel);
        font-size: 15px;
    }
    /* ======================
   HEADER
====================== */
    .shop-checkout-head-name,
    .shop-checkout-head-price {
        color: var(--text-primary);
        padding: 10px 12px;
        font-weight: 600;
    }

    .shop-checkout-head-name {
        text-align: left;
    }

    .shop-checkout-head-price {
        text-align: right;
    }
    /* ======================
   MAIN ROW
====================== */
    .shop-checkout-main-name {
        padding: 8px 12px;
        font-weight: 600;
        color: var(--text-primary);
        border-top: 1px solid var(--divider);
    }

    .shop-checkout-main-price {
        padding: 8px 12px;
        text-align: right;
        font-weight: 600;
        color: var(--color-red-dark);
        border-top: 1px solid var(--divider);
    }
    /* ======================
   EXTRA ROW
====================== */
    .shop-checkout-extra-name {
        padding: 6px 24px;
        color: var(--text-secondary);
        border-top: 1px solid var(--divider);
    }

    .shop-checkout-extra-price {
        padding: 6px 12px;
        text-align: right;
        color: var(--color-red-dark);
        border-top: 1px solid var(--divider);
    }
    /* ======================
   CONTROLS
====================== */
    .shop-checkout-controls-cell {
        padding: 6px 12px 12px;
    }

    .shop-checkout-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .shop-checkout-qty-controls {
        display: flex;
        gap: 6px;
    }

    .shop-checkout-btn {
        border-radius: 6px;
        background: var(--color-red-dark);
        color: var(--white);
        border: none;
        padding: 6px 10px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 15px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
        transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    }
        /* hover */
        .shop-checkout-btn:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.22);
            background: var(--color-red-dark-hover);
        }
        /* active */
        .shop-checkout-btn:active:not(:disabled) {
            background: var(--color-red-dark-active);
            transform: scale(0.94);
            box-shadow: 0 2px 6px rgba(0,0,0,0.18);
        }
        /* disabled */
        .shop-checkout-btn:disabled {
            background: var(--color-red-dark-disabled);
            color: var(--white);
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
            opacity: 0.7;
        }
    /* ======================
   DIVIDER
====================== */
    .shop-checkout-divider {
        height: 10px;
        border-top: 1px solid var(--divider);
    }
    /* ======================
   TOTAL
====================== */
    .shop-checkout-total-name,
    .shop-checkout-total-price {
        font-size: 18px;
        padding: 14px 12px;
        font-weight: 700;
        border-top: 2px solid var(--border-strong);
    }

    .shop-checkout-total-name {
        text-align: left;
        color: var(--text-primary);
    }

    .shop-checkout-total-price {
        text-align: right;
        color: var(--color-red-dark);
    }
    /* =========================================================
   MOBILE
========================================================= */
    @media (max-width: 900px) {
        .shop-checkout {
            grid-template-columns: 1fr;
        }
    }
    /* =========================================
   SHOP THANK YOU PAGE
========================================= */
    .shop-thankyou {
        min-height: 100vh;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .shop-thankyou-card {
        background: var(--bg-panel);
        padding: 40px 30px;
        text-align: center;
        max-width: 500px;
        width: 100%;
        border: 1px solid var(--border);
        border-radius: 10px;
        animation: toastPop 0.4s ease;
    }

    .shop-thankyou-logo-wrapper {
        margin-bottom: 20px;
    }

    .shop-thankyou-logo {
        height: 48px;
        width: auto;
        display: block;
        margin: 0 auto;
    }

    .shop-thankyou-title {
        color: var(--text-secondary);
        margin-bottom: 20px;
        font-size: 22px;
        font-weight: 600;
    }

    .shop-thankyou-number {
        color: var(--text-secondary);
        font-size: 16px;
        margin-bottom: 20px;
    }

        .shop-thankyou-number strong {
            color: var(--color-red-dark);
            font-size: 18px;
        }

    .shop-thankyou-info {
        color: var(--text-secondary);
        font-size: 15px;
        opacity: 0.8;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .shop-btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 22px;
        border-radius: 6px;
        text-decoration: none;
        background: var(--color-red-dark);
        color: var(--white);
        font-weight: 600;
        font-size: 15px;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
        transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    }
        /* hover */
        .shop-btn-primary:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.22);
            background: var(--color-red-dark-hover);
        }
        /* active */
        .shop-btn-primary:active:not(:disabled) {
            transform: scale(0.96);
            box-shadow: 0 2px 6px rgba(0,0,0,0.18);
        }
        /* disabled */
        .shop-btn-primary:disabled {
            background: var(--color-red-dark-disabled);
            color: var(--white);
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
            opacity: 0.7;
        }
    /* ====================================================================================================
   AUTH MODULE â€“ UNIVERSAL AUTH UI
==================================================================================================== */
    /* =========================================================
   ROOT
========================================================= */
    .auth-root {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    /* =========================================================
   BACKGROUND
========================================================= */
    .auth-background {
        position: absolute;
        inset: 0;
    }
    /* =========================================================
   CONTAINER (GLASS PANEL)
========================================================= */
    .auth-container {
        position: relative;
        width: 380px;
        padding: 30px;
        background: var(--bg-panel);
        border: 1px solid var(--border);
        border-radius: 10px;
    }
    /* =========================================================
   TITLE
========================================================= */
    .auth-title {
        color: var(--text-primary);
        font-size: 22px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 20px;
    }
    /* =========================================================
   TEXT
========================================================= */
    .auth-text {
        color: var(--text-primary);
        font-size: 15px;
        text-align: center;
        margin-bottom: 20px;
    }
    /* =========================================================
   FORM
========================================================= */
    .auth-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    /* =========================================================
   INPUT
========================================================= */
    .auth-input {
        border-radius: 6px;
        padding: 8px;
        border: 1px solid var(--border-strong);
        font-size: 15px;
        font-family: inherit;
        background: var(--bg-elevated);
        color: var(--text-primary);
    }

        .auth-input::placeholder {
            color: var(--text-muted);
        }

        .auth-input:focus {
            outline: none;
            border-color: var(--color-red-dark);
        }
    /* =========================================================
   BUTTON
========================================================= */
    .auth-button {
        margin-top: 10px;
        padding: 12px;
        border-radius: 6px;
        border: none;
        background: var(--color-red-dark);
        color: var(--white);
        font-weight: 600;
        font-size: 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
        transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    }
        /* hover */
        .auth-button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.22);
            background: var(--color-red-dark-hover);
        }
        /* active */
        .auth-button:active:not(:disabled) {
            transform: scale(0.96);
            box-shadow: 0 2px 6px rgba(0,0,0,0.18);
        }
        /* focus (ACCESSIBILITY â€“ nech to nie je len pre myĹˇĂˇkov) */
        .auth-button:focus {
            outline: 2px solid var(--color-red-dark-active);
            outline-offset: 2px;
        }
        /* disabled */
        .auth-button:disabled {
            background: var(--color-red-dark-disabled);
            color: var(--white);
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
            opacity: 0.7;
        }
    /* link wrapper */
    .auth-button-link {
        display: block;
        text-align: center;
        text-decoration: none;
    }
    /* =========================================================
   LINKS
========================================================= */
    .auth-links {
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
    }

    .auth-link {
        font-size: 15px;
        text-decoration: none;
        color: var(--color-red-dark);
    }

        .auth-link:hover {
            color: var(--color-red-dark-hover);
        }
    /* =========================================================
   ERROR MESSAGE
========================================================= */
    .auth-error {
        color: var(--color-red-dark);
        padding: 8px;
        font-weight: 600;
        font-size: 15px;
        text-align: center;
        margin-bottom: 10px;
    }
    /* =========================================================
   SUCCESS MESSAGE
========================================================= */
    .auth-success {
        background: var(--color-green-dark);
        color: var(--white);
        padding: 8px;
        font-size: 15px;
        text-align: center;
        border-radius: 6px;
        margin-bottom: 10px;
    }
    /* =========================================================
   LOGO
========================================================= */
    .auth-logo-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .auth-logo {
        height: 48px;
        width: auto;
    }
    /* =========================================================
   FIELD
========================================================= */
    .auth-field {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    /* =========================================================
   LABEL
========================================================= */
    .auth-label {
        font-size: 15px;
        color: var(--text-primary);
    }
    /* =========================================================
   SELECT (COMBOBOX)
========================================================= */
    .auth-select {
        border-radius: 6px;
        padding: 8px;
        border: 1px solid var(--border-strong);
        font-size: 15px;
        font-family: inherit;
        background: var(--bg-elevated);
        color: var(--text-primary);
    }

        .auth-select:focus {
            outline: none;
            border-color: var(--color-red-dark);
        }
    /* =========================================================
   ROW (HORIZONTAL FIELDS)
========================================================= */
    .auth-row {
        display: flex;
        gap: 6px;
    }
    /* =========================================================
   PHONE PREFIX
========================================================= */
    .auth-prefix {
        width: 110px;
    }
    /* =========================================================
   PHONE INPUT
========================================================= */
    .auth-phone {
        flex: 1;
    }
    /* ====================================================================================================
   ALLERGENS
==================================================================================================== */
    /* ROOT â€“ full center */
    .allergens-root {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    /* WRAPPER â€“ fix ĹˇĂ­rka + center */
    .allergens-wrapper {
        width: 100%;
        max-width: 1000px;
        padding: 20px;
        box-sizing: border-box;
    }
    /* HEADER â€“ pĂˇs */
    .allergens-header {
        margin-bottom: 15px;
        padding: 14px;
        text-align: center;
    }
    /* TITLE */
    .allergens-title {
        color: var(--color-red-dark); /* đź”Ą highlight */
        font-size: 22px;
        font-weight: 600;
    }
    /* TABLE WRAP */
    .allergens-table-wrap {
        border: 1px solid var(--border);
        display: flex;
        justify-content: center;
        border-radius: 12px;
        overflow: hidden; /* đź”Ą toto je kÄľĂşÄŤ */
    }
    /* TABLE */
    .allergens-table {
        width: 100%;
        border-collapse: collapse;
        background: var(--bg-panel);
    }
    /* HEADER â€“ đź”Ą highlight */
    .allergens-head-code,
    .allergens-head-name,
    .allergens-head-desc {
        padding: 12px;
        font-weight: 600;
        color: var(--white);
        background: var(--color-red-dark); /* đź”Ą highlight */
    }
    /* COLUMN ALIGN */
    .allergens-head-code {
        width: 70px;
        text-align: center;
    }

    .allergens-head-name {
        text-align: left;
    }

    .allergens-head-desc {
        text-align: left;
    }
    /* ROW */
    .allergens-row {
        transition: background 0.15s ease;
        background: var(--bg-panel);
        border-bottom: 1px solid var(--border);
    }

        .allergens-row:last-child {
            border-bottom: none;
        }
        /* ZEBRA subtle */
        .allergens-row:nth-child(even):not(.head) {
            background: var(--bg-elevated);
        }
    /* CELLS */
    .allergens-code {
        text-align: center;
        padding: 10px;
        font-weight: 600;
        color: var(--text-primary);
    }

    .allergens-name {
        padding: 10px;
        color: var(--text-primary);
    }

    .allergens-desc {
        padding: 10px;
        color: var(--text-secondary);
    }

    .allergens-intro {
        text-align: center;
        color: var(--text-secondary);
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 18px;
        padding: 10px 20px;
    }
    /* ====================================================================================================
   OPENING HOURS
==================================================================================================== */
    .hours {
        width: 100%;
        max-width: 800px; /* đź”Ą sweet spot */
        margin: 0 auto; /* đź”Ą center */

        padding: 20px 20px;
        box-sizing: border-box;
    }
    /* TITLE */
    .hours-title {
        text-align: center;
        color: var(--color-red-dark);
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .hours-table-wrap {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    }

    .hours-row {
        background: var(--bg-panel);
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        padding: 12px 20px;
        color: var(--text-primary);
        border-bottom: 1px solid var(--border);
    }
        /* HEADER */
        .hours-row.head {
            background: var(--color-red-dark);
            color: var(--white);
            font-weight: 600;
            border-bottom: none;
        }

        .hours-row:last-child {
            border-bottom: none;
        }
        /* đź”Ą ZEBRA â€“ bez rgba */
        .hours-row:nth-child(even):not(.head) {
            background: var(--surface-elevated);
        }

    .closed {
        color: var(--admin-color-red-dark);
        font-weight: 600;
    }
    /* ====================================================================================================
   DELIVERY PRICING
==================================================================================================== */
    .delivery-pricing-root {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .delivery-pricing-wrapper {
        width: 100%;
        max-width: 1000px;
        padding: 20px;
        box-sizing: border-box;
    }

    .delivery-pricing-header {
        margin-bottom: 15px;
        padding: 14px;
        text-align: center;
    }

    .delivery-pricing-title {
        font-size: 24px;
        font-weight: 700;
        color: var(--color-red-dark);
    }

    .delivery-pricing-intro {
        margin-bottom: 16px;
        color: var(--text-secondary);
        line-height: 1.6;
        text-align: center;
    }

    .delivery-pricing-table-wrap {
        border: 1px solid var(--border);
        display: flex;
        justify-content: center;
        border-radius: 12px;
        overflow: hidden;
    }

    .delivery-pricing-table {
        width: 100%;
        border-collapse: collapse;
        background: var(--bg-panel);
    }

    .delivery-pricing-head-zone,
    .delivery-pricing-head-order,
    .delivery-pricing-head-pcs,
    .delivery-pricing-head-price {
        padding: 12px;
        font-weight: 600;
        color: var(--white);
        background: var(--color-red-dark);
        text-align: left;
    }

    .delivery-pricing-row {
        border-bottom: 1px solid var(--border);
    }

        .delivery-pricing-row:last-child {
            border-bottom: none;
        }

        .delivery-pricing-row:nth-child(even) {
            background: var(--surface-elevated);
        }

    .delivery-pricing-zone,
    .delivery-pricing-order,
    .delivery-pricing-pcs,
    .delivery-pricing-price {
        padding: 12px;
        color: var(--text-primary);
        vertical-align: top;
    }

    .delivery-pricing-order,
    .delivery-pricing-pcs,
    .delivery-pricing-price {
        white-space: nowrap;
    }

    .delivery-pricing-price {
        font-weight: 600;
        color: var(--color-red-dark);
    }

    @media (max-width: 768px) {
        .delivery-pricing-wrapper {
            padding: 16px;
        }

        .delivery-pricing-title {
            font-size: 22px;
        }

        .delivery-pricing-table-wrap {
            overflow-x: auto;
        }

        .delivery-pricing-table {
            min-width: 620px;
        }
    }
    /* ====================================================================================================
   DYNAMIC PAGES
==================================================================================================== */

    .page-root {
        border-radius: 10px;
        max-width: 900px;
        margin: 20px auto;
        padding: 20px;
        background: var(--bg-panel);
        border: 1px solid var(--border);
        box-sizing: border-box;
    }

        .page-root h1 {
            font-size: 26px;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--color-red-dark);
        }

        .page-root h2 {
            font-size: 18px;
            margin-top: 24px;
            margin-bottom: 10px;
            color: var(--color-red-dark);
        }

        .page-root p {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .page-root hr {
            border: none;
            border-top: 1px solid var(--divider);
            margin: 30px 0;
        }

        .page-root ul {
            padding-left: 18px;
            color: var(--text-secondary);
        }

        .page-root li {
            margin-bottom: 4px;
        }

        .page-root h3 {
            margin-top: 14px;
            margin-bottom: 6px;
            font-size: 15px;
            color: var(--text-primary);
        }

        .page-root a {
            color: var(--color-red-dark);
            text-decoration: none;
            font-weight: 500;
        }

            .page-root a:hover {
                text-decoration: underline;
            }
    /* MAPA */
    .page-map {
        margin-top: 10px;
        border: 1px solid var(--border);
    }

        .page-map iframe {
            width: 100%;
            height: 350px;
            border: 0;
            display: block;
        }
    /* ============================= */
    /* OVERLAY (MODAL) */
    /* ============================= */
    .toast-overlay {
        position: fixed;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease, backdrop-filter 0.25s ease;
    }

        .toast-overlay.active {
            backdrop-filter: blur(2px);
            background: rgba(0,0,0,0.25);
            opacity: 1;
            pointer-events: all;
        }
    /* ============================= */
    /* TOAST */
    /* ============================= */
    .toast-center {
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 28px 36px;
        border-radius: 18px;
        font-size: 18px;
        font-weight: 500;
        min-width: 340px;
        max-width: 460px;
        background: var(--bg-panel);
        color: var(--text-primary);
        border: 1px solid var(--border-strong);
        box-shadow: 0 25px 70px rgba(0,0,0,0.7);
        animation: toastPop 0.4s ease;
    }
    /* ============================= */
    /* ICON */
    /* ============================= */
    .toast-icon {
        font-size: 64px !important;
        width: 64px;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 48;
        animation: iconPop 0.4s ease;
    }
    /* ============================= */
    /* TEXT */
    /* ============================= */
    .toast-text {
        white-space: pre-line;
        line-height: 1.4;
        color: var(--text-primary);
    }
    /* ============================= */
    /* COLORS â€“ napojenĂ© na flat paletu */
    /* ============================= */
    .toast.success {
        border-left: 5px solid var(--color-green-dark);
    }

        .toast.success .toast-icon {
            color: var(--color-green-dark);
        }

    .toast.error {
        border-left: 5px solid var(--color-red-dark);
    }

        .toast.error .toast-icon {
            color: var(--color-red-dark);
        }

    .toast.warning {
        border-left: 5px solid var(--color-orange-dark);
    }

        .toast.warning .toast-icon {
            color: var(--color-orange-dark);
        }

    .toast.info {
        border-left: 5px solid var(--color-blue-dark);
    }

        .toast.info .toast-icon {
            color: var(--color-blue-dark);
        }
    /* ============================= */
    /* TOAST CONTENT WRAP */
    /* ============================= */
    .toast-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    /* ============================= */
    /* SUMMARY */
    /* ============================= */
    .toast-summary {
        border-radius: 8px;
        padding: 8px;
        font-size: 15px;
    }

    .toast-summary-table {
        width: 100%;
        border-collapse: collapse;
    }
    /* MAIN */
    .toast-summary-main-name,
    .toast-summary-main-price {
        padding: 4px 6px;
        border-bottom: 1px solid var(--divider);
        font-weight: 600;
    }

    .toast-summary-main-name {
        text-align: left;
        color: var(--text-secondary);
    }

    .toast-summary-main-price {
        text-align: right;
        color: var(--color-red-dark);
    }

    .toast-summary-extra-name,
    .toast-summary-extra-price {
        border-bottom: 1px solid var(--divider);
    }
    /* EXTRA */
    .toast-summary-extra-name {
        padding: 4px 12px;
        color: var(--text-secondary);
    }

    .toast-summary-extra-price {
        padding: 4px 6px;
        text-align: right;
        color: var(--color-red-dark);
    }
    /* TOTAL */
    .toast-summary-total-name,
    .toast-summary-total-price {
        padding: 6px;
        font-weight: 700;
    }

    .toast-summary-total-name {
        text-align: left;
    }

    .toast-summary-total-price {
        text-align: right;
        color: var(--color-red-dark);
    }
    /* ============================= */
    /* ANIMATIONS */
    /* ============================= */
    @keyframes toastPop {
        0% {
            opacity: 0;
            transform: scale(0.7) translateY(40px);
        }

        50% {
            transform: scale(1.08);
        }

        70% {
            transform: scale(0.97);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    @keyframes iconPop {
        0% {
            transform: scale(0.5) rotate(-10deg);
            opacity: 0;
        }

        60% {
            transform: scale(1.2) rotate(5deg);
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    @media (max-width: 768px) {

        .toast-overlay {
            justify-content: center;
            align-items: center; /* đź”Ą center fix */
            padding: 0 12px;
        }

        .toast-center {
            padding: 8px 20px;
            border-radius: 14px;
            font-size: 15px;
            min-width: unset;
            max-width: 100%;
            gap: 12px;
        }

        .toast-icon {
            font-size: 36px !important;
            width: 36px;
            height: 36px;
        }

        .toast-text {
            line-height: 1.3;
        }
    }
    /* =========================================================
   LAYOUT
========================================================= */
    .profile-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* =========================================================
   CARD
========================================================= */
    .profile-card {
        border-radius: 10px;
        padding: 10px;
    }

    .profile-title {
        color: var(--text-primary);
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 16px;
    }
    /* =========================================================
   FORM
========================================================= */
    /* Profile form wrapper and shared field styling */
    .profile-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .profile-form input,
        .profile-form select,
        .profile-form textarea {
            width: 100%;
            margin: 0;
            padding: 8px;
            box-sizing: border-box;
            border: 1px solid var(--border);
            border-radius: 6px;
            background-color: var(--bg-panel);
            color: var(--text-primary);
            font-size: 15px;
            font-family: inherit;
        }

            .profile-form input:focus,
            .profile-form select:focus,
            .profile-form textarea:focus {
                outline: none;
                border-color: var(--color-red-dark);
            }

    .profile-field {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .profile-field label {
            color: var(--text-secondary);
            font-size: 15px;
            font-weight: 600;
        }

    .profile-error {
        color: var(--color-red-dark);
        font-size: 15px;
        font-weight: 600;
    }
    /* =========================================================
   PHONE ROW â€“ FIXED
========================================================= */
    /* =========================================================
   PHONE INPUT ROW
========================================================= */
    /* Phone prefix and number sit on one row */
    .profile-phone-row {
        display: flex;
        gap: 6px;
    }

    .profile-phone-prefix {
        width: 90px !important;
        flex: 0 0 90px;
    }

    .profile-phone-number {
        flex: 1;
    }
    /* =========================================================
   BUTTON
========================================================= */
    /* Main submit action used in profile tabs */
    .profile-submit {
        width: 100%;
        margin-top: 18px;
        padding: 14px;
        border: none;
        border-radius: 6px;
        background: var(--color-red-dark);
        color: var(--white);
        font-weight: 600;
        cursor: pointer;
    }

        .profile-submit:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.22);
            background: var(--color-red-dark-hover);
        }

        .profile-submit:active:not(:disabled) {
            background: var(--color-red-dark-active);
            transform: scale(0.96);
            box-shadow: 0 2px 6px rgba(0,0,0,0.18);
        }
    /* =========================================================
   PROFILE TABS â€“ ADMIN STYLE
========================================================= */
    /* Top navigation tabs for profile sections */
    .profile-tabs {
        display: flex;
        width: 100%;
        border-bottom: 1px solid var(--border);
        height: 48px;
        min-height: 48px;
        max-height: 48px;
        background: var(--surface-panel);
    }
    /* TAB */
    /* Individual tab button with hover and active underline */
    .profile-tab {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        cursor: pointer;
        color: var(--text-secondary);
        font-weight: 600;
        font-size: 15px;
        background: transparent;
        border: none;
        position: relative;
        transition: color 0.12s ease, background 0.12s ease;
    }
        /* divider */
        .profile-tab:not(:last-child) {
            border-right: 1px solid var(--border);
        }
        /* hover */
        .profile-tab:hover {
            background: var(--color-red-dark);
            color: var(--white);
        }
        /* =========================================
   UNDERLINE â€“ CENTER EXPAND
========================================= */
        .profile-tab::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 0;
            height: 2px;
            background: var(--color-red-dark);
            transform: translateX(-50%); /* đź”Ą centrovanie */

            transition: width 0.22s ease;
        }
        /* active */
        .profile-tab.active {
            color: var(--text-primary);
            background: var(--surface-elevated);
        }

            .profile-tab.active::after {
                width: 100%; /* đź”Ą ĹˇĂ­rka underline */
            }
    /* =========================================================
   EMPTY
========================================================= */
    /* Empty or loading state text */
    .profile-empty {
        color: var(--text-secondary);
        padding: 10px;
    }
    /* =========================================================
   CONTAINER (scroll + height)
========================================================= */
    /* Scroll container for the orders list */
    .profile-orders-container {
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - var(--header-height) - var(--footer-height) - 140px);
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 12px;
        border: 1px solid var(--border);
        background: var(--bg-panel);
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    }
    /* =========================================================
   TABLE
========================================================= */
    /* Orders table shown on the profile page */
    .profile-orders-table {
        width: 100%;
        border-collapse: collapse;
        background: var(--bg-panel);
        font-weight: 600;
        font-size: 15px;
        table-layout: fixed;
    }
        /* Sticky header inside the scrollable orders container */
        .profile-orders-table th {
            position: sticky;
            top: 0;
            z-index: 2;
            padding: 14px 8px;
            border-bottom: 1px solid var(--divider);
            background: var(--bg-panel);
            color: var(--text-secondary);
            font-weight: 600;
        }
        /* Shared table cell spacing */
        .profile-orders-table td {
            padding: 16px 8px;
            border-top: 1px solid var(--divider);
            color: var(--text-primary);
            vertical-align: middle;
        }
        /* Hover state for clickable order rows */
        .profile-orders-table tbody tr:hover {
            background: var(--bg-hover);
        }
    /* Cursor hint that the row opens a detail modal */
    .profile-orders-row-hover {
        cursor: pointer;
    }

    .profile-orders-head-id,
    .profile-orders-id,
    .profile-orders-head-date,
    .profile-orders-date {
        text-align: left;
    }

    .profile-orders-head-id,
    .profile-orders-id {
        width: 84px;
    }

    .profile-orders-head-price,
    .profile-orders-price {
        width: 96px;
    }

    .profile-orders-head-status,
    .profile-orders-status {
        width: 120px;
    }

    .profile-orders-head-price,
    .profile-orders-price,
    .profile-orders-head-status,
    .profile-orders-status {
        text-align: right;
    }
    /* Order id gets stronger emphasis */
    .profile-orders-id {
        color: var(--text-primary);
        font-weight: 700;
    }
    /* Price column uses the brand accent color */
    .profile-orders-price {
        color: var(--color-red-dark);
        white-space: nowrap;
    }
    /* DĂTUM â€“ allow wrap */
    .profile-orders-date {
        white-space: normal;
        line-height: 1.2;
    }
    /* STATUS TD */
    /* Shared status typography */
    .profile-orders-status {
        font-weight: 700;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

        .profile-orders-status.created {
            color: var(--color-yellow);
        }

        .profile-orders-status.accepted,
        .profile-orders-status.completed {
            color: var(--color-green-dark);
        }

        .profile-orders-status.sent,
        .profile-orders-status.ready {
            color: var(--color-purple-dark);
        }

        .profile-orders-status.cancelled {
            color: var(--color-red-dark);
        }
    /* Fullscreen overlay for the profile order detail modal */
    .profile-order-detail-overlay {
        position: fixed;
        inset: 0;
        z-index: 5000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        background: rgba(0,0,0,0.65);
        backdrop-filter: blur(4px);
        overflow: hidden;
        overscroll-behavior: contain;
    }
    /* Modal shell with fixed header, body and footer */
    .profile-order-detail-dialog {
        width: min(860px, calc(100vw - 48px));
        height: min(920px, calc(100dvh - 48px));
        max-height: calc(100dvh - 48px);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        background: var(--bg-body);
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
    }

    @media (max-width: 768px) {
        .profile-order-detail-overlay {
            padding: 0;
        }

        .profile-order-detail-dialog {
            width: 100vw;
            height: 100dvh;
            max-height: 100dvh;
            border-radius: 0;
            border-left: none;
            border-right: none;
        }
    }

    @media (orientation: landscape) and (min-width: 769px) and (max-width: 1366px) {
        .profile-order-detail-overlay {
            padding: 0;
        }

        .profile-order-detail-dialog {
            width: 100vw;
            height: 100dvh;
            max-height: 100dvh;
            border-radius: 0;
            border-left: none;
            border-right: none;
        }
    }
    /* Header styled similarly to the shop item dialog */
    .profile-order-detail-header {
        flex: 0 0 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 16px;
        padding-right: 0;
        background: linear-gradient(to bottom, var(--bg-elevated), var(--bg-body));
        border-bottom: 1px solid var(--border);
        user-select: none;
    }
    /* Truncating title for long order ids */
    .profile-order-detail-header-title {
        color: var(--text-primary);
        font-size: 18px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Square close action matching the rest of the UI */
    .profile-order-detail-close {
        width: 58px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: var(--text-primary);
        cursor: pointer;
        transition: background 0.12s ease;
    }

        .profile-order-detail-close:hover {
            background: var(--color-red-dark);
            color: var(--white);
        }

        .profile-order-detail-close:active {
            background: var(--color-red);
            color: var(--white);
        }

        .profile-order-detail-close .material-symbols-outlined {
            font-size: 24px;
            color: inherit;
        }
    /* Scrollable modal body between header and footer */
    .profile-order-detail-body {
        flex: 1 1 auto;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 16px;
        min-height: 0;
    }
    /* Plain metadata block above the summary card */
    .profile-order-detail-meta {
        padding: 0 0 8px 0;
        background: transparent;
        border-radius: 0;
    }
    /* Cart-like summary card containing ordered items */
    .profile-order-detail-summary-block {
        border: 1px solid var(--border);
        border-radius: 12px;
        background: var(--bg-panel);
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    }
    /* Two-column grid for date, status, delivery and payment */
    .profile-order-detail-meta-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    /* One metadata label/value pair */
    .profile-order-detail-meta-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    /* Address and note below the metadata grid */
    .profile-order-detail-meta-tail {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 10px;
    }
    /* Small uppercase labels for metadata and notes */
    .profile-order-detail-meta-label,
    .profile-order-detail-note-label {
        color: var(--text-muted);
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
    }
    /* Main value text in the metadata area */
    .profile-order-detail-meta-value {
        color: var(--text-primary);
        font-size: 16px;
        font-weight: 600;
    }

        .profile-order-detail-meta-value.created {
            color: var(--color-yellow);
        }

        .profile-order-detail-meta-value.accepted,
        .profile-order-detail-meta-value.completed {
            color: var(--color-green-dark);
        }

        .profile-order-detail-meta-value.sent,
        .profile-order-detail-meta-value.ready {
            color: var(--color-purple-dark);
        }

        .profile-order-detail-meta-value.cancelled {
            color: var(--color-red-dark);
        }
    /* Delivery address line */
    .profile-order-detail-address {
        color: var(--text-secondary);
        font-size: 15px;
    }
    /* Optional customer note with a divider */
    .profile-order-detail-note {
        padding-top: 16px;
        border-top: 1px solid var(--divider);
    }
    /* Note body text */
    .profile-order-detail-note-text {
        margin-top: 6px;
        color: var(--text-secondary);
        line-height: 1.5;
    }
    /* Heading above the order items table */
    .profile-order-detail-summary-title {
        padding: 16px 16px 10px 16px;
        color: var(--text-primary);
        font-size: 20px;
        font-weight: 600;
    }
    /* Cart-style table with main items, extras and total */
    .profile-order-detail-table {
        width: 100%;
        border-collapse: collapse;
    }
    /* Table head cells */
    .profile-order-detail-head-name,
    .profile-order-detail-head-price {
        padding: 6px 16px 10px 16px;
        border-bottom: 1px solid var(--divider);
        color: var(--text-secondary);
        font-weight: 600;
    }

    .profile-order-detail-head-name,
    /* Main ordered items */
    .profile-order-detail-main-name,
    .profile-order-detail-extra-name,
    .profile-order-detail-total-name {
        text-align: left;
    }

    .profile-order-detail-head-price,
    /* All prices share the same accent color */
    .profile-order-detail-main-price,
    .profile-order-detail-extra-price,
    .profile-order-detail-total-price {
        text-align: right;
        white-space: nowrap;
    }

    .profile-order-detail-main-name,
    .profile-order-detail-main-price {
        padding: 8px 16px;
        border-bottom: 1px solid var(--divider);
        font-weight: 600;
        color: var(--text-primary);
    }

    .profile-order-detail-main-price,
    .profile-order-detail-extra-price,
    .profile-order-detail-total-price {
        color: var(--color-red-dark);
    }
    /* Extras are visually quieter than main items */
    .profile-order-detail-extra-name,
    .profile-order-detail-extra-price {
        padding: 8px 16px;
        border-bottom: 1px solid var(--divider);
        color: var(--text-secondary);
        font-weight: 500;
    }
    /* Indent extras under their parent item */
    .profile-order-detail-extra-name {
        padding-left: 24px;
    }

    .profile-order-detail-extra-price {
        color: var(--color-red-dark);
    }
    /* Summary total row */
    .profile-order-detail-total-name,
    .profile-order-detail-total-price {
        padding: 12px 16px 16px 16px;
        border-top: 1px solid var(--divider);
        font-weight: 700;
    }

    .profile-order-detail-total-name {
        color: var(--text-primary);
    }
    /* Fixed footer with total and close action */
    .profile-order-detail-footer {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px;
        border-top: 1px solid var(--border);
        background: var(--bg-panel);
        box-shadow: 0 -4px 12px rgba(0,0,0,0.18);
    }
    /* Footer total emphasis */
    .profile-order-detail-footer-total {
        color: var(--text-primary);
        font-size: 18px;
        font-weight: 700;
    }
    /* Footer close button */
    .profile-order-detail-footer-btn {
        min-width: 140px;
        height: 46px;
        padding: 0 18px;
        border: none;
        border-radius: 8px;
        background: var(--color-red-dark);
        color: var(--white);
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.12s ease, transform 0.12s ease;
    }

        .profile-order-detail-footer-btn:hover {
            background: var(--color-red-dark-hover);
        }

        .profile-order-detail-footer-btn:active {
            background: var(--color-red-dark-active);
            transform: scale(0.98);
        }
    /* Mobile layout stacks the footer and collapses the meta grid */
    @media (max-width: 640px) {
        .profile-orders-table {
            font-size: 13px;
        }

            .profile-orders-table th,
            .profile-orders-table td {
                padding: 16px 6px;
            }

        .profile-orders-head-id,
        .profile-orders-id {
            width: 68px;
        }

        .profile-orders-head-price,
        .profile-orders-price {
            width: 72px;
        }

        .profile-orders-head-status,
        .profile-orders-status {
            width: 92px;
            font-size: 13px;
            letter-spacing: 0.2px;
            line-height: 1.2;
        }

        .profile-orders-date {
            font-size: 13px;
            line-height: 1.35;
        }

        .profile-order-detail-meta-grid {
            grid-template-columns: 1fr;
        }

        .profile-order-detail-footer {
            flex-direction: column;
            align-items: stretch;
        }

        .profile-order-detail-footer-btn {
            width: 100%;
        }
    }

