:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #ff6b7a;
    --secondary: #f77f00;
    --accent: #fcbf49;

    --dark-color: #1a1a2e;
    --dark-light: #2d2d44;
    --light-color: #ffffff;
    --background-light: #f8f9fa;
    --border-color: #dee2e6;
    --green-color: #06d6a0;
    --orange-color: #ffb703;
    --blue-color: #118ab2;
    --grey-color: #6c757d;


    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.2);


    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--background-light);
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-transform: uppercase;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 8px;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h4 {
    text-transform: uppercase;
    font-weight: 600;
}

section {
    padding: 3rem 0;
}


.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container,
.header .container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    max-width: 1280px;
    margin: auto;
    padding: 0 1.5rem;
}

.logo img {
    max-height: 50px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    align-content: center;
    flex-grow: 1;
    flex-wrap: wrap;
}

.header-icons-row2 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.header-icons span,
.header-icons a {
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: var(--dark-color);
    white-space: nowrap;
}

.header-icons .nav-text {
    display: none;
}

@media (min-width: 768px) {
    .header-icons .nav-text {
        display: inline;
    }
}

.header-icons-row2 a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.header-icons-row2 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: left 0.3s ease;
    z-index: 0;
}

.header-icons-row2 a span,
.header-icons-row2 a {
    position: relative;
    z-index: 1;
}

.header-icons-row2 a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.header-icons-row2 a:hover::before {
    left: 0;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

.opening-status {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem !important;
    vertical-align: middle;
    text-align: center;
    border: none;
    flex-basis: 100%;
    order: 0;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.opening-status.status-open {
    background: linear-gradient(135deg, var(--green-color) 0%, #05c48a 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(6, 214, 160, 0.3);
}

.opening-status.status-closed {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.opening-status.status-paused {
    background: linear-gradient(135deg, var(--orange-color) 0%, #ff9500 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
}

.opening-status small {
    display: inline;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* --- Oznamovacia lišta (vlastný odkaz) --- */
.announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffecb5 50%, #ffe69c 100%);
    color: #664d03;
    text-align: center;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 999;
    transition: background 0.3s ease, letter-spacing 0.3s ease;
    overflow: hidden;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.announcement-bar:hover {
    background: linear-gradient(135deg, #ffe69c 0%, #ffecb5 50%, #fff3cd 100%);
    letter-spacing: 0.6px;
    color: #664d03;
}

.announcement-bar:hover::before {
    left: 100%;
}

.announcement-bar-icon {
    font-size: 1.1rem;
}

.announcement-bar-text {
    display: inline;
}

.status-banner {
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    position: sticky;
    top: 74px;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.status-banner.banner-paused {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border-bottom: 2px solid var(--orange-color);
}

.status-banner.banner-closed {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}


.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-light) 100%);
    color: var(--light-color);
    padding: 3rem 0 1.5rem;
    font-size: 0.95rem;
    margin-top: 3rem;
}

.footer .container {
    max-width: 1280px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.footer-column {
    padding: 0 1rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    text-transform: uppercase;
    font-weight: 700;
}

.footer-column p,
.footer-column li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1.5rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(45, 45, 68, 0.98) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    z-index: 5000;
    display: none;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.95em;
    text-align: left;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--primary-color);
}

.cookie-banner p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner a {
    color: var(--primary-light);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-banner a:hover {
    color: var(--accent);
}

.cookie-banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.cookie-btn-accept-all {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.cookie-btn-necessary {
    background: linear-gradient(135deg, var(--grey-color) 0%, #5a6268 100%);
}

.cookie-btn-necessary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #4a5258 100%);
}

.cookie-btn-decline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: none;
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}


.hero {
    min-height: 70vh;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.8) 100%),
        url('../pozadie.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(230, 57, 70, 0.2) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-inner {
    width: min(1100px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-side-logo {
    flex: 0 0 auto;
    width: min(360px, 35vw);
    opacity: 1;
    filter:
        drop-shadow(0 0 40px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.hero-side-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.hero .cta-button {
    align-self: flex-start;
}

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero .cta-button {
        align-self: center;
    }

    .hero-side-logo {
        width: min(320px, 70vw);
        opacity: 0.9;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    color: var(--primary-color);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 700px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--light-color);
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.5);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.quick-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-box {
    background: var(--light-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--dark-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 1rem;
}

.category-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-box:hover::before {
    transform: scaleX(1);
}

.category-box .icon {
    font-size: 4rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.category-box-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background-color: var(--background-light);
    display: block;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.category-box h3 {
    font-size: 1.1rem;
    padding: 0;
    background-color: transparent;
    border: none;
    margin: 0;
    font-weight: 600;
}

.why-us {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--light-color) 100%);
    padding: 3rem 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.why-us-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.why-us-item .icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.why-us-item h3 {
    margin: 1rem 0;
    font-size: 1.3rem;
    border: none;
    font-weight: 700;
}

.why-us-item p {
    font-size: 1rem;
    color: var(--grey-color);
    margin: 0;
}

.loyalty-program {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary) 100%);
    color: var(--light-color);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    margin: 3rem auto;
    max-width: 1000px;
    box-shadow: var(--shadow-lg);
}

.loyalty-program h2 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

.loyalty-program p {
    font-size: 1.1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.lendacik-banner {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(230, 57, 70, 0.3) 100%),
        url('../banner.png.avif');
    background-size: cover;
    background-position: center;
    padding: 3rem 0;
    color: var(--light-color);
    position: relative;
}

.lendacik-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.lendacik-logo img {
    max-width: 300px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.lendacik-text h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--light-color);
    margin-bottom: 1rem;
    border: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.lendacik-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-button-light {
    display: inline-flex;
    align-items: center;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-button-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background-color: var(--accent);
    color: var(--dark-color);
}


.category-nav-mobile {
    position: sticky;
    z-index: 998;
    background-color: var(--dark-color);
    border-bottom: 3px solid var(--primary-color);
}

.category-toggle-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 10px 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.category-toggle-btn .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.category-toggle-btn.open .arrow {
    transform: rotate(180deg);
}

.category-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    right: 0;
    background-color: var(--dark-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    max-height: 300px;
    overflow-y: auto;
}

.category-dropdown.show {
    display: block;
}

.category-dropdown a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--light-color);
    border-bottom: 1px solid #444;
    font-weight: bold;
    font-size: 0.9rem;
}

.category-dropdown a.active,
.category-dropdown a:hover {
    background-color: #333;
    color: var(--primary-color);
}

.menu-section {
    padding: 20px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-card {
    background: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.product-card-image {
    width: 100%;
    height: 110px;
    object-fit: contain;
    background-color: #f0f0f0;
    border-bottom: 1px solid var(--border-color);
}

.product-content {
    padding: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-content h3 {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 0 0 5px 0;
    border: none;
}

.product-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 4px;
    margin-bottom: 5px;
}

.variant-summary {
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

.product-content .description {
    font-size: 0.8rem;
    margin-bottom: 8px;
    line-height: 1.3;
    flex-grow: 1;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 3px;
    text-align: right;
}

.deposit-info {
    font-size: 0.75rem;
    color: #777;
    text-align: right;
    margin-bottom: 8px;
    min-height: 1.2em;
}

.allergens-info-card {
    font-size: 0.75rem;
    margin-bottom: 5px;
    font-style: italic;
}

.add-to-cart-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    margin: 15px auto 0;
    display: block;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.add-to-cart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
}

.add-to-cart-btn:disabled,
.add-to-cart-btn[disabled] {
    background-color: #cccccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 15px;
    border-radius: 8px;
    width: 95%;
    max-width: 600px;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    border: none;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-body h4 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    border: none;
}

.allergens-info-modal {
    font-size: 0.85rem;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 8px 12px;
    border-radius: 4px;
}

.allergens-info-modal a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.extras-container h4 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    border: none;
}

.extras-group h5 {
    display: none;
}

.extras-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 0.85rem;
}

.extras-grid>div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.extras-grid input[type="checkbox"] {
    flex-shrink: 0;
}

.extras-grid label {
    cursor: pointer;
    flex-grow: 1;
}

.extras-grid label.in-price {
    color: var(--green-color);
    font-weight: bold;
}

.extras-grid label.in-price::after {
    content: " (v cene)";
    font-style: italic;
}

.modal-body textarea {
    width: 100%;
    padding: 8px;
    min-height: 70px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-footer .add-to-cart-btn {
    margin: 0 auto;
    order: 3;
    width: 100%;
    max-width: 300px;
}

@media (max-width: 768px) {
    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .quantity-control,
    .modal-footer .modal-price {
        width: 100%;
        text-align: center;
    }

    .modal-footer .add-to-cart-btn {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
}

.modal-price {
    font-size: 1.4rem;
    font-weight: bold;
}

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.variant-btn {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background-color: var(--background-light);
    color: var(--dark-color);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.variant-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.variant-buttons input[type="radio"] {
    display: none;
}

.sub-category-heading {
    font-size: 1.6rem;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 25px;
}

.sub-category-heading:first-of-type {
    margin-top: 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.quantity-control .qty-btn {
    background: linear-gradient(135deg, var(--dark-color) 0%, #424242 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.quantity-control .qty-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.quantity-control .qty-btn:active {
    transform: scale(0.95);
}

.quantity-control .quantity-input {
    width: 50px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 6px;
    -moz-appearance: textfield;
    transition: border-color 0.3s;
}

.quantity-control .quantity-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quantity-control #modalQuantity {
    width: 50px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 6px;
    -moz-appearance: textfield;
    transition: border-color 0.3s;
}

.quantity-control #modalQuantity:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quantity-control #modalQuantity::-webkit-outer-spin-button,
.quantity-control #modalQuantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.feedback-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    z-index: 10000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    max-width: 90%;
    text-align: center;
}

.feedback-toast.show {
    opacity: 1;
    visibility: visible;
    top: 20px;
}

/* Dynamické pozície pre toast sa nastavia cez JS na konci menu.php */
.feedback-toast.success {
    background-color: var(--green-color);
    color: var(--light-color);
    border: 1px solid #388E3C;
}

.feedback-toast.error {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 1px solid #b71c1c;
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--blue-color);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 10;
}

/* === ŠTÝLY PRE cart.php - MODERNÝ DIZAJN === */
.empty-cart {
    padding: 40px 20px;
    background: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.empty-cart h3 {
    margin-bottom: 20px;
    border: none;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.cart-summary {
    margin-top: 30px;
    text-align: right;
    padding: 20px;
    background: linear-gradient(135deg, var(--light-color) 0%, #fafafa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.1);
}

.cart-summary p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.cart-summary h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border: none;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.checkout-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b71c1c 100%);
    color: var(--light-color);
    padding: 14px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.05rem;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
}

.back-to-menu-btn {
    display: block;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: #000;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.back-to-menu-btn:hover {
    background-color: var(--primary-dark);
    color: #000;
    transform: translateY(-1px);
}

.cart-summary-buttons {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.discount-code-form {
    display: flex;
    gap: 10px;
}

.discount-code-form input[type="text"] {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    flex-grow: 1;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.discount-code-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.discount-code-form button {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--dark-color) 0%, #424242 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.discount-code-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.update-cart-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.update-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.discount-message {
    width: 100%;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
}

.discount-success {
    color: var(--green-color);
    background: #e8f5e9;
    border: 1px solid var(--green-color);
}

.discount-error {
    color: var(--primary-color);
    background: #ffebee;
    border: 1px solid var(--primary-color);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.cart-table thead {
    display: none;
}

.cart-table tbody,
.cart-table tr,
.cart-table td {
    display: block;
    width: 100%;
}

.cart-table tr {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cart-table tr:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cart-table td {
    padding: 10px 12px;
    text-align: right;
    border: none;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 100px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cart-table td:last-child {
    border-bottom: none;
}

.cart-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75em;
    color: #666;
}

.cart-table .item-details {
    padding-left: 12px;
    text-align: left;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
}

.cart-table .item-details::before {
    display: none;
}

.item-details .item-name {
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.item-details .item-variant {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.item-details .item-extras {
    color: #777;
    font-size: 0.85rem;
    margin-left: 0;
    display: block;
    margin-top: 4px;
    font-style: italic;
}

.item-details .item-note {
    font-style: italic;
    color: #999;
    font-size: 0.85rem;
    margin-left: 0;
    display: block;
    margin-top: 6px;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
}

.remove-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.remove-btn:hover {
    background: #b71c1c;
    transform: scale(1.1);
}

.cart-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid var(--orange-color);
    color: #e65100;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
}

.cart-warning-title {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.checkout-btn[disabled] {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.checkout-btn[disabled]:hover {
    background: #ccc;
    transform: none;
}

/* === UNIFIED CHECKOUT LAYOUT === */
.unified-checkout-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.checkout-cart-section,
.checkout-form-section {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.checkout-cart-section h3,
.checkout-form-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.75rem;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cart-item-card {
    background: var(--gray-50);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.cart-item-details {
    margin-bottom: 1rem;
}

.item-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.item-variant {
    font-size: 0.9rem;
    color: var(--grey-color);
    margin-bottom: 0.5rem;
}

.item-extras {
    font-size: 0.85rem;
    color: var(--grey-color);
    margin-top: 0.5rem;
}

.item-note {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-style: italic;
    margin-top: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    flex: 1;
    text-align: right;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

/* === ŠTÝLY PRE checkout.php - MODERNÝ DIZAJN === */
.checkout-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 0 15px 30px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.checkout-header {
    background: var(--light-color);
    padding: 15px 0;
    border-bottom: 2px solid var(--border-color);
    margin: 0 0 30px 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.checkout-header .container-header {
    max-width: 900px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.delivery-options label {
    margin-right: 0;
    font-weight: 600;
    cursor: pointer;
    padding: 12px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-options label:hover {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.delivery-options input[type="radio"]:checked+strong,
.delivery-options input[type="radio"]:checked~strong {
    color: var(--primary-color);
}

.delivery-options input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.address-fields {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
}

.order-summary {
    background: linear-gradient(135deg, var(--background-light) 0%, #fafafa 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    border: 2px solid rgba(211, 47, 47, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.order-summary h3 {
    margin-bottom: 18px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    color: var(--primary-color);
    text-align: center;
}

.order-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    padding: 6px 0;
}

.order-summary hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 15px 0;
}

.total-price {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    padding-top: 10px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b71c1c 100%);
    color: var(--light-color);
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-message {
    color: #c62828;
    font-weight: bold;
    margin-bottom: 20px;
    border: 2px solid #c62828;
    background: #ffebee;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.2);
}

.form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #c62828;
    background: #ffebee;
}

.phone-error {
    color: #c62828;
    font-size: 0.9em;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    font-size: 0.9em;
    line-height: 1.5;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
}

.consent-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.consent-row label {
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.consent-row a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-footer-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    margin-top: 35px;
}

.back-to-cart-btn {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: var(--light-color);
    padding: 14px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.back-to-cart-btn:hover {
    background: linear-gradient(135deg, #5a6268 0%, #4a5258 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#surchargeRow {
    color: var(--orange-color);
    font-weight: bold;
}

.surcharge-consent-row {
    display: none;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid var(--orange-color);
    padding: 18px;
    border-radius: 8px;
    margin-top: 18px;
    font-size: 0.95em;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
}

.surcharge-consent-row label {
    font-weight: bold;
    color: #e65100;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.surcharge-consent-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.checkout-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid var(--orange-color);
    color: #e65100;
    padding: 18px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
    line-height: 1.6;
}

/* === ŠTÝLY PRE lendacik.php & kontakt.php & statické === */
.static-page {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.static-page h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.static-page p,
.static-page li {
    margin-bottom: 15px;
    line-height: 1.7;
}

.static-page ul {
    padding-left: 20px;
}

.allergen-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.allergen-list strong {
    display: inline-block;
    width: 40px;
    color: var(--primary-color);
}

.content-section {
    background-color: var(--light-color);
    padding: 20px 15px 30px 15px;
    border-radius: 8px;
}

.content-section .text-content {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.text-content p {
    margin-bottom: 1em;
}

.text-content ul,
.text-content ol {
    margin-left: 20px;
    margin-bottom: 1em;
    text-align: left;
    display: inline-block;
}

.text-content strong {
    color: var(--dark-color);
}

.lendacik-logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.lendacik-logo-container img {
    max-width: 250px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.lendacik-info {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.lendacik-info h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    border: none;
}

.lendacik-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
}

.social-links a.fb-link {
    background-color: #1877F2;
    color: white;
}

.social-links a.ig-link {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

.back-button-container {
    text-align: center;
    margin-top: 40px;
}

.back-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
}

.back-button:hover {
    background-color: #b71c1c;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9990;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-modal.show {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #ccc;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-page {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* .contact-grid - definícia je ďalej v súbore (KONTAKT PAGE sekcia) */

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info li .icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    color: var(--primary-color);
}

.contact-info a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

.social-links-li {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.social-links-li .icon {
    display: none;
}

.social-links-li a {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: opacity 0.3s;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links-li a:hover {
    opacity: 0.85;
    text-decoration: none;
}

.social-links-li a.fb-link {
    background-color: #1877F2;
    color: white;
}

.social-links-li a.ig-link {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

.zones-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.zones-list th,
.zones-list td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 0.9rem;
}

.zones-list th {
    background-color: #f9f9f9;
    font-size: 0.85em;
    text-transform: uppercase;
}

.zones-list td:nth-child(2),
.zones-list td:nth-child(3) {
    text-align: right;
    font-weight: bold;
}

.zones-list td:nth-child(3) {
    color: var(--primary-color);
}

/* === ŠTÝLY PRE thankyou.php === */
.thankyou-container {
    max-width: 800px;
    margin: 30px auto;
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thankyou-icon {
    font-size: 4rem;
    color: var(--green-color);
    line-height: 1;
    margin-bottom: 15px;
}

.thankyou-container h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    border: none;
}

.thankyou-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.back-to-home-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 20px;
}


/* === EXTRA INGREDIENTS UI === */
.extras-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: background 0.3s ease;
}

.extra-item:hover {
    background: #f1f3f5;
}

.extra-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    flex-grow: 1;
}

.extra-label.in-price {
    color: #28a745;
    font-weight: 600;
}

.extra-label.in-price::after {
    content: " (V cene)";
    font-size: 0.85rem;
    opacity: 0.8;
}

.extra-qty-control {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.extra-qty-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    transition: all 0.2s ease;
}

.extra-qty-btn:active {
    background: #e9ecef;
}

.extra-qty-input {
    width: 36px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    pointer-events: none;
    -moz-appearance: textfield;
}

.extra-qty-input::-webkit-outer-spin-button,
.extra-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* === RESPONZÍVNE ÚPRAVY === */
@media (max-width: 767px) {
    html {
        font-size: 14px;
        /* Základ pre mobil ostáva 14px */
    }

    h2 {
        font-size: 1.8rem;
    }

    /* 25.2px */
    h3 {
        font-size: 1.3rem;
    }

    /* 18.2px */
    .contact-page {
        padding: 15px;
    }

    .contact-info li {
        font-size: 1rem;
    }

    /* 14px */
    .social-links-li a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .checkout-container {
        padding: 0 10px 25px 10px;
        margin: 10px;
        border-radius: 8px;
    }

    .checkout-header {
        margin: 0 0 25px 0;
        padding: 10px 0;
    }

    .footer {
        margin: 30px 0 0 0;
    }

    .footer-grid {
        gap: 20px;
    }

    /* Cart.php mobilné vylepšenia */
    .container {
        padding: 0 10px;
    }

    .cart-table {
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .cart-table tr {
        margin-bottom: 12px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .cart-table td {
        padding: 12px 10px;
        padding-left: 95px;
        min-height: 42px;
        font-size: 0.9rem;
    }

    .cart-table td::before {
        left: 10px;
        font-size: 0.7em;
    }

    .item-details {
        padding-left: 10px;
    }

    .item-details .item-name {
        font-size: 1rem;
        line-height: 1.3;
    }

    .item-details .item-variant {
        font-size: 0.85rem;
    }

    .item-details .item-extras {
        font-size: 0.8rem;
        margin-top: 3px;
    }

    .item-details .item-note {
        font-size: 0.8rem;
        margin-top: 5px;
        padding: 3px 6px;
    }

    .quantity-control {
        gap: 6px;
    }

    .quantity-control .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }

    .quantity-control .quantity-input {
        width: 45px;
        padding: 5px;
    }

    .remove-btn {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }

    .cart-summary {
        padding: 18px 15px;
        margin-top: 20px;
        border-radius: 10px;
    }

    .cart-summary h3 {
        font-size: 1.3rem;
        padding-bottom: 12px;
    }

    .cart-summary p {
        font-size: 0.9rem;
        padding: 6px 0;
    }

    .cart-actions {
        padding: 15px 12px;
        border-radius: 8px;
    }

    .discount-code-form {
        flex-direction: column;
        gap: 8px;
    }

    .discount-code-form input[type="text"] {
        width: 100%;
    }

    .discount-code-form button {
        width: 100%;
        padding: 12px;
    }

    .update-cart-btn {
        width: 100%;
        padding: 12px;
    }

    .cart-summary-buttons {
        gap: 10px;
    }

    .checkout-btn,
    .back-to-menu-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    /* Checkout.php mobilné vylepšenia */
    .checkout-container {
        margin: 5px;
    }

    .checkout-container h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .checkout-container h3 {
        font-size: 1.2rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
        /* Prevencia zoom na iOS */
        border-radius: 6px;
    }

    .delivery-options {
        padding: 12px;
        gap: 10px;
    }

    .delivery-options label {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .address-fields {
        padding: 15px 12px;
        margin-top: 15px;
        border-radius: 6px;
    }

    .order-summary {
        padding: 18px 15px;
        margin-top: 25px;
        border-radius: 10px;
    }

    .order-summary h3 {
        font-size: 1.2rem;
        padding-bottom: 10px;
    }

    .order-summary p {
        font-size: 0.9rem;
        padding: 5px 0;
    }

    .total-price {
        font-size: 1.4rem;
        padding-top: 8px;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 1.05rem;
        border-radius: 6px;
    }

    .consent-row {
        padding: 12px 10px;
        font-size: 0.85em;
        border-radius: 6px;
    }

    .consent-row input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .form-footer-actions {
        margin-top: 25px;
        gap: 12px;
    }

    .back-to-cart-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
        border-radius: 6px;
    }

    .checkout-warning {
        padding: 15px 12px;
        font-size: 0.9rem;
        border-radius: 6px;
        line-height: 1.5;
    }

    .surcharge-consent-row {
        padding: 15px 12px;
        font-size: 0.9em;
        border-radius: 6px;
    }

    .surcharge-consent-row input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .error-message {
        padding: 12px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    /* Responzívna tabuľka pre zóny */
    .zones-list table thead {
        display: none;
    }

    .zones-list table,
    .zones-list tbody,
    .zones-list tr,
    .zones-list td {
        display: block;
        width: 100%;
    }

    .zones-list tr {
        margin-bottom: 10px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        overflow: hidden;
    }

    .zones-list td {
        padding: 8px 10px;
        text-align: right;
        border-bottom: 1px dashed #eee;
        position: relative;
        padding-left: 130px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        font-size: 0.9rem;
    }

    .zones-list td:last-child {
        border-bottom: none;
    }

    .zones-list td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        text-align: left;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.8em;
        color: #555;
    }
}

@media (min-width: 868px) {
    html {
        font-size: 16px;
    }

    .header .container,
    .header .container-header {
        flex-wrap: wrap;
        max-width: 1200px;
        padding: 0 20px;
    }

    .logo img {
        max-height: 60px;
    }

    .header-icons {
        width: auto;
        justify-content: flex-end;
        gap: 20px;
        flex-wrap: nowrap;
        /* Opravené z 'wrap' na 'nowrap' */
    }

    .header-icons-row2 {
        width: auto;
        gap: 20px;
    }

    .header-icons span,
    .header-icons a {
        font-size: 1.1rem;
    }

    .header-icons .nav-text {
        display: inline !important;
    }

    .opening-status {
        font-size: 0.9em !important;
        /* ÚPRAVA: Pridané !important pre vynútenie veľkosti aj na desktope */
        flex-basis: auto;
        /* Vráti sa na auto na desktope */
        order: 0;
        margin-bottom: 0;
    }

    .opening-status small {
        display: inline;
    }

    .status-banner {
        font-size: 1.1rem;
        position: static;
        /* Na PC nie je lepivý */
    }

    .cookie-banner {
        flex-direction: row;
        text-align: left;
        padding: 20px;
        align-items: center;
    }

    .cookie-banner p {
        flex: 1;
        margin: 0 20px 0 0;
    }

    .cookie-banner-buttons {
        flex-direction: row;
        gap: 10px;
    }

    .cookie-btn {
        width: auto;
        min-width: 120px;
    }

    /* index.php */
    h2 {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-button {
        font-size: 1.2rem;
        padding: 15px 35px;
    }

    .quick-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }

    .category-box h3 {
        font-size: 1.2rem;
    }

    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .loyalty-program p {
        font-size: 1.1rem;
    }

    .lendacik-content {
        flex-direction: row;
        text-align: left;
        gap: 40px;
    }

    .lendacik-logo {
        flex-shrink: 0;
    }

    .lendacik-logo img {
        max-width: 300px;
    }

    .lendacik-text h3 {
        font-size: 2.2rem;
    }

    /* menu.php */
    .category-nav-mobile {
        top: 91px;
        /* Pôvodná výška PC hlavičky */
        padding: 10px 0;
        overflow-x: visible;
        white-space: normal;
    }

    /* Ak je banner zobrazený, na PC sa nič nemení (banner nie je sticky) */
    body.ordering-disabled .category-nav-mobile {
        top: 91px;
    }

    .category-toggle-btn {
        display: none;
    }

    .category-dropdown {
        position: static;
        display: flex;
        justify-content: center;
        gap: 10px;
        background-color: transparent;
        border: none;
        box-shadow: none;
        max-height: none;
        overflow-y: visible;
    }

    .category-dropdown a {
        color: var(--light-color);
        border-radius: 20px;
        font-size: 1rem;
        padding: 10px 20px;
        border: none;
        border-right: none;
    }

    .category-dropdown a:hover {
        background-color: #333;
        color: var(--light-color);
    }

    .category-dropdown a.active {
        background-color: var(--primary-color);
        color: var(--light-color);
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }

    .product-card-image {
        height: 200px;
    }

    .product-content {
        padding: 15px;
    }

    .product-content h3 {
        font-size: 1.4rem;
    }

    .product-title-row {
        gap: 0 8px;
        margin-bottom: 8px;
    }

    .variant-summary {
        font-size: 1rem;
    }

    .product-content .description {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .product-price {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .deposit-info {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .allergens-info-card {
        font-size: 0.8em;
        margin-bottom: 10px;
    }

    .add-to-cart-btn {
        padding: 10px;
        font-size: 1rem;
    }

    .extras-grid {
        grid-template-columns: 1fr 1fr;
        font-size: 0.9rem;
        gap: 8px;
    }

    .sub-category-heading {
        font-size: 1.8rem;
    }

    .modal-content {
        padding: 30px;
    }

    .modal-body h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .modal-price {
        font-size: 1.6rem;
    }

    .variant-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    /* cart.php desktop */
    .cart-actions {
        align-items: flex-end;
    }

    .cart-table {
        border-collapse: separate;
        border-spacing: 0;
    }

    .cart-table thead {
        display: table-header-group;
        background: #f5f5f5;
    }

    .cart-table thead th {
        padding: 15px;
        text-align: left;
        font-weight: 600;
        color: var(--dark-color);
        border-bottom: 2px solid var(--border-color);
    }

    .cart-table tbody {
        display: table-row-group;
    }

    .cart-table tr {
        display: table-row;
        margin-bottom: 0;
        border: none;
        border-bottom: 1px solid var(--border-color);
        transition: background-color 0.2s;
    }

    .cart-table tr:hover {
        background: #fafafa;
        transform: none;
    }

    .cart-table td {
        display: table-cell;
        width: auto;
        text-align: left;
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
        position: static;
        padding-left: 15px;
        min-height: auto;
        vertical-align: middle;
        justify-content: flex-start;
    }

    .cart-table td::before {
        display: none;
    }

    .cart-table tr:last-child td {
        border-bottom: none;
    }

    .cart-table th:nth-child(2),
    .cart-table td[data-label="Množstvo"] {
        text-align: center;
        width: 150px;
    }

    .cart-table th:nth-child(3),
    .cart-table td[data-label="Cena za kus"] {
        text-align: right;
        width: 130px;
    }

    .cart-table th:nth-child(4),
    .cart-table td[data-label="Spolu"] {
        text-align: right;
        width: 130px;
        font-weight: 600;
    }

    .cart-table th:nth-child(5),
    .cart-table td[data-label="Odstrániť"] {
        text-align: center;
        width: 100px;
    }

    .quantity-control {
        justify-content: center;
    }

    .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        line-height: 32px;
    }

    .quantity-input {
        width: 50px;
        padding: 8px;
        font-size: 1rem;
    }

    .item-details {
        flex-direction: row;
        align-items: center;
    }

    .item-details .item-name {
        font-size: 1.15rem;
    }

    .item-details .item-variant {
        font-size: 0.95rem;
    }

    .item-details .item-extras {
        font-size: 0.9rem;
    }

    .item-details .item-note {
        font-size: 0.9rem;
    }

    .cart-summary {
        text-align: right;
    }

    .cart-summary-buttons {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .cart-summary .checkout-btn {
        width: auto;
        flex: 1;
    }

    .back-to-menu-btn {
        display: inline-block;
        margin: 0;
        width: auto;
        flex: 0 0 auto;
    }

    .cart-warning {
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .cart-warning::before {
        display: inline-block;
        margin-bottom: 0;
    }

    /* checkout.php */
    .checkout-container {
        padding: 30px;
    }

    .checkout-header {
        margin: -30px -30px 30px -30px;
    }

    .checkout-header .container-header {
        padding: 0 30px;
    }

    .form-footer-actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .submit-btn {
        width: auto;
        font-size: 1.2rem;
    }

    .back-to-cart-btn {
        width: auto;
        font-size: 1.2rem;
    }

    /* lendacik.php & kontakt.php */
    .static-page {
        padding: 30px 40px;
    }

    .contact-page {
        padding: 30px 40px;
    }

    /* contact-grid - riešené v KONTAKT PAGE sekcii */

    .gallery-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
    }
}

/* === ŠTÝLY PRE checkout.php - REKAPITULÁCIA A TLAČIDLÁ === */
.recap-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.recap-content {
    background: white;
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.recap-header {
    border-bottom: 2px solid #f44336;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.recap-header h2 {
    margin: 0;
    color: #333;
    font-weight: 800;
}

.recap-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recap-section h3 {
    font-size: 1.1rem;
    margin-top: 0;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recap-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.recap-row span:first-child {
    color: #777;
}

.recap-row span:last-child {
    font-weight: bold;
    color: #333;
    text-align: right;
}

.recap-items {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.recap-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 5px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}

.recap-total {
    font-size: 1.4rem;
    color: #f44336;
    font-weight: 800;
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
}

.recap-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.recap-btn-back {
    flex: 1;
    background: #eee;
    color: #555;
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.2s;
}

.recap-btn-back:hover {
    background: #e0e0e0;
    color: #333;
}

.recap-btn-confirm {
    flex: 2;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recap-btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
    filter: brightness(1.1);
}

.recap-btn-confirm:active {
    transform: translateY(-1px);
}

.submit-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-order-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
    filter: brightness(1.1);
}

.submit-order-btn:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.payment-info {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.payment-info::before {
    content: '💵';
}

.payment-summary-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.summary-line.final-total {
    font-size: 1.5rem;
    color: #333;
    padding: 15px 0;
    border-top: 2px dashed #eee;
    margin-top: 10px;
}

.summary-line.final-total span:last-child {
    color: #f44336;
    font-weight: 900;
}

@media (max-width: 480px) {
    .recap-btns {
        flex-direction: column-reverse;
    }

    .recap-content {
        padding: 20px;
    }
}

/* === ŠTÝLY PRE profil.php === */
.profile-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .profile-grid.has-discounts {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.profile-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.profile-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.btn-save {
    background: #e53935;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
}

.order-history table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.order-history th,
.order-history td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.status-nova {
    background: #e3f2fd;
    color: #1976d2;
}

.status-prijata {
    background: #fff3e0;
    color: #f57c00;
}

.status-vybavena {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-zrusena {
    background: #ffebee;
    color: #c62828;
}

.discount-badge {
    display: inline-block;
    background: #fff3e0;
    border: 1px dashed #f57c00;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* === ŠTÝLY PRE 404.php === */
.error-page-content {
    text-align: center;
    padding: 60px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 40px auto;
    max-width: 800px;
}

.error-page-content h1 {
    font-size: 8rem;
    color: #d32f2f;
    margin: 0;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-page-content h2 {
    font-size: 2.2rem;
    margin: 15px 0 25px;
    color: #333;
}

.error-page-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: #666;
    max-width: 500px;
    line-height: 1.6;
}

.error-page-content .btn-primary {
    display: inline-block;
    background-color: #d32f2f;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.error-page-content .btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.4);
}

.error-page-logo {
    max-width: 280px;
    margin-bottom: 20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .error-page-content h1 {
        font-size: 6rem;
    }

    .error-page-content h2 {
        font-size: 1.8rem;
    }
}

/* === ŠTÝLY PRE thankyou.php === */
.thankyou-container {
    max-width: 800px;
    margin: 30px auto;
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thankyou-icon {
    font-size: 4rem;
    color: var(--green-color);
    line-height: 1;
    margin-bottom: 15px;
}

.thankyou-container h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.thankyou-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.order-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    text-align: left;
    margin-bottom: 30px;
}

.order-summary h3 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eee;
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-home {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.btn-home:hover {
    background: var(--primary-dark);
}

/* === ŠTÝLY PRE PRIHLÁSENIE / REGISTRÁCIU (Auth Pages) === */
.auth-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.auth-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    width: 100%;
}

.auth-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.auth-form-group {
    margin-bottom: 15px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.auth-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: #e53935;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.auth-btn:hover {
    background: #b71c1c;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
}

.auth-link {
    color: #e53935;
    font-weight: bold;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

@media (min-width: 868px) {
    .gallery-grid img {
        height: 250px;
    }

    .social-links a {
        font-size: 1.3rem;
        padding: 10px 15px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    }

    .footer-logo {
        max-width: 150px;
    }

    /* Moderné responzívne vylepšenia */
    .header-icons-row2 a {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .quick-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lendacik-content {
        flex-direction: row;
        text-align: left;
        gap: 3rem;
    }
}

/* === DODATOČNÉ MODERNÉ RESPONZÍVNE ŠTÝLY === */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .header .container {
        flex-direction: row;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        align-items: center;
    }

    .header-icons {
        width: auto;
        justify-content: flex-end;
        flex-grow: 1;
    }

    .header-icons-row2 {
        width: auto;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .header-icons-row2 a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .header-icons .nav-text {
        display: inline !important;
    }

    /* Skrytie textu odhlásenia na mobile aby sa neposúvala obrazovka */
    .nav-logout .nav-text {
        display: none !important;
    }

    /* Červený štvorček a čierny krížik pre odstránenie z košíka na mobile */
    .remove-btn {
        background: var(--primary-color) !important;
        color: #000 !important;
        border-radius: var(--radius-sm) !important;
        font-weight: bold;
    }

    .header-icons-row2 .cart-link {
        display: none !important;
    }

    .opening-status {
        width: auto;
        justify-content: center;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }

    .hero {
        min-height: 60vh;
        padding: 2rem 1rem;
        background-attachment: scroll;
    }

    .quick-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lendacik-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .unified-checkout-container {
        padding: 0 1rem;
    }

    .checkout-cart-section,
    .checkout-form-section,
    .payment-summary-box,
    .thankyou-container,
    .auth-card,
    .profile-card {
        padding: 1.25rem;
    }

    .cart-item-controls,
    .recap-row,
    .recap-item,
    .order-item-row,
    .profile-header,
    .recap-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .item-price,
    .recap-row span:last-child,
    .recap-item span:last-child {
        text-align: left;
    }

    .quantity-control,
    .remove-btn,
    .btn-save,
    .btn-home {
        width: 100%;
    }

    .error-page-content {
        min-height: auto;
        margin: 20px auto;
        padding: 35px 16px;
    }

    .error-page-content h1 {
        font-size: 4.5rem;
    }

    .error-page-content h2 {
        font-size: 1.5rem;
        margin: 12px 0 18px;
    }

    .error-page-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .error-page-logo {
        max-width: 180px;
    }

    .recap-content {
        margin: 20px auto;
        padding: 20px 16px;
    }

    .submit-order-btn,
    .recap-btn-back,
    .recap-btn-confirm {
        width: 100%;
    }

    .profile-container,
    .auth-container {
        margin: 20px auto;
        padding: 16px;
    }

    .order-history {
        overflow-x: auto;
    }

    .thankyou-container h2 {
        font-size: 1.6rem;
    }

    .order-summary {
        padding: 16px;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        min-height: 80vh;
    }
}

/* --- KONTAKT PAGE --- */
.contact-page {
    margin: 2rem 0;
}

/* Mobil: jeden stĺpec (default) */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Desktop: dva stĺpce od 900px */
@media (min-width: 900px) {
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.contact-info {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info .icon {
    font-size: 1.2rem;
}

.social-links-li {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem !important;
}

.social-links-li a {
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-color);
    transition: color 0.3s;
}

.social-links-li a:hover {
    color: var(--primary-dark);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 300px;
    border: 1px solid var(--border-color);
}

.map-container h3 {
    margin: 0;
    padding: 1rem 1.5rem;
    background: var(--light-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 1.2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
    display: block;
}

/* Zóny doručenia Tabuľka */
.zones-list {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.zones-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.zones-list th,
.zones-list td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.zones-list th {
    background: var(--primary-color);
    color: white;
}

.zones-list tr:hover {
    background-color: var(--background-light);
}

@media (max-width: 600px) {

    .zones-list table,
    .zones-list thead,
    .zones-list tbody,
    .zones-list th,
    .zones-list td,
    .zones-list tr {
        display: block;
    }

    .zones-list thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .zones-list tr {
        border: 1px solid var(--border-color);
        margin-bottom: 1rem;
        border-radius: var(--radius-md);
        padding: 0.5rem;
    }

    .zones-list td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    .zones-list td:before {
        position: absolute;
        top: 1rem;
        left: 1rem;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        text-align: left;
    }

    .zones-list td:before {
        content: attr(data-label);
    }
}

/* --- CALENDAR ZAMESTNANCI --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-top: 15px;
    background: var(--border-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.calendar-header {
    text-align: center;
    font-weight: 800;
    padding: 12px 0;
    background: #f4f6f8;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.calendar-day {
    min-height: 110px;
    padding: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.calendar-day.empty {
    background: #fafafa;
}

.calendar-day.today {
    background: #fffafa;
    box-shadow: inset 0 0 0 2px var(--primary-color);
}

.day-number {
    font-size: 1.1rem;
    color: #444;
    font-weight: bold;
    align-self: flex-end;
}

.employee-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
    padding-top: 10px;
}

.emp-badge {
    color: #fff;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: help;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .calendar-grid {
        gap: 1px;
    }

    .calendar-day {
        min-height: 80px;
        padding: 4px;
    }

    .emp-badge {
        font-size: 0.75rem;
        padding: 2px 4px;
    }
}

/* --- PRINT STYLES PRE KALENDAR --- */
@media print {
    body * {
        visibility: hidden;
    }

    .calendar-section,
    .calendar-section * {
        visibility: visible;
    }

    .calendar-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0 !important;
        padding: 10px !important;
        box-shadow: none !important;
        border: none !important;
        background: white;
    }

    .print-btn,
    .month-navigation,
    .sidebar,
    .sidebar-overlay,
    .admin-navbar,
    .footer,
    .header {
        display: none !important;
    }

    .emp-badge {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        box-shadow: none !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .calendar-grid {
        border: 2px solid #ccc;
        background: #ccc;
        gap: 1px;
    }

    .calendar-day {
        min-height: 120px;
    }
}

/* Contact Page Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Mobile Kontakt Fixes */
@media (max-width: 992px) {
    .contact-grid {
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-page h2 {
        margin-bottom: 2rem;
    }

    .contact-info h3 {
        font-size: 1.5rem !important;
        margin-top: 25px !important;
        margin-bottom: 15px !important;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 5px;
    }

    .contact-info li {
        font-size: 1.15rem !important;
        margin-bottom: 20px !important;
        line-height: 1.5;
        word-break: break-word;
    }

    .contact-info .icon {
        font-size: 1.4rem;
        margin-right: 12px;
        min-width: 25px;
        display: inline-block;
    }

    .map-container iframe {
        height: 300px !important;
    }

    .zones-list {
        margin-top: 3rem;
    }

    .zones-list table th,
    .zones-list table td {
        font-size: 1rem !important;
        padding: 15px 10px !important;
    }

    .social-links-li a {
        font-size: 1.1rem !important;
        padding: 12px 20px !important;
        width: 100%;
        display: flex;
        justify-content: center;
        background: #f0f0f0;
        border-radius: var(--radius-md);
        text-decoration: none;
        color: #3b5998;
        font-weight: bold;
        border: 1px solid #ddd;
    }
}

/* Image Lightbox / Zväčšenie obrázka */
.product-card-image {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.product-card-image:hover {
    transform: scale(1.02);
}

.image-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.image-lightbox.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.image-lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 3px solid white;
    background-color: white;
    object-fit: contain;
    cursor: default;
}

.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.image-lightbox-close:hover {
    color: var(--primary-light);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Checkout & Cart Styles --- */
.unified-checkout-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    /* Zmenené na 1 stĺpec */
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.checkout-cart-section,
.checkout-form-section {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cart-item-card {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    gap: 0.5rem;
}

.cart-item-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
}

.cart-item-title-group {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cart-item-middle-row {
    width: 100%;
}

.cart-item-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (max-width: 576px) {
    .cart-item-card {
        padding: 0.6rem;
    }

    .cart-items-list {
        gap: 0.5rem;
    }
}

.item-name {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.05rem;
}

.item-variant {
    font-size: 0.9rem;
    color: var(--grey-color);
}

.item-extras {
    font-size: 0.85rem;
    color: var(--grey-color);
    margin-top: 2px;
}

.item-note {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-style: italic;
    margin-top: 2px;
}


.quantity-control {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-weight: bold;
    color: var(--dark-color);
    transition: background 0.2s;
}

.qty-btn:hover {
    background: var(--background-light);
}

.quantity-input {
    width: 30px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
}

.item-price {
    font-weight: 700;
    color: var(--dark-color);
    min-width: 70px;
    text-align: right;
}

.remove-btn {
    background: transparent;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: var(--primary-color);
}

.cart-actions {
    margin-bottom: 2rem;
}

.discount-code-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.discount-code-form input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.discount-code-form button {
    padding: 10px 20px;
    background: var(--dark-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.discount-code-form button:hover {
    background: var(--primary-color);
}

.discount-hint {
    display: block;
    margin-top: 5px;
    color: var(--grey-color);
    font-size: 0.85em;
}

.discount-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.discount-success {
    color: #27ae60;
}

.discount-error {
    color: var(--primary-color);
}

.cart-summary {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.cart-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.cart-summary hr {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

.cart-summary strong {
    font-size: 1.2rem;
}

.empty-cart {
    text-align: center;
    padding: 3rem 0;
}

.empty-cart p {
    font-size: 1.1rem;
    color: var(--grey-color);
    margin-bottom: 1.5rem;
}

/* --- Checkout Form --- */
.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    margin-bottom: 1.2rem;
    color: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.delivery-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 700;
    text-align: center;
    justify-content: center;
}

.delivery-options input {
    display: none;
}

.delivery-options label:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(230, 57, 70, 0.05);
    color: var(--primary-color);
}

.checkout-warning {
    background: #fff8e1;
    border-left: 4px solid var(--orange-color);
    padding: 12px 15px;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: #856404;
}

.phone-error {
    display: none;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-top: 5px;
}

.order-summary {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.recap-items {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.recap-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.recap-item-name {
    padding-right: 15px;
}

.recap-item-price {
    white-space: nowrap;
    font-weight: 600;
}

.recap-item-extras,
.recap-item-note {
    font-size: 0.85rem;
    color: var(--grey-color);
    margin-left: 15px;
    margin-bottom: 8px;
}

.recap-item-note {
    color: var(--primary-color);
    font-style: italic;
}

.order-summary p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.order-summary hr {
    margin: 12px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

.order-summary .total-price {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.surcharge-consent-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    background: #fdf2f2;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--primary-color);
}

.surcharge-consent-row input {
    width: 20px;
    height: 20px;
}

.consent-text {
    margin-top: 20px;
    font-size: 0.9em;
    color: var(--grey-color);
}

.consent-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-footer-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.submit-btn {
    flex-grow: 1;
    background: linear-gradient(135deg, var(--green-color) 0%, #05c48a 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(6, 214, 160, 0.3);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 214, 160, 0.4);
    filter: brightness(1.1);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--grey-color);
    box-shadow: none;
}


/* --- Modals --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-content h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--background-light);
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content p {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.modal-total-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.modal-footer {
    margin-top: 2.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

.modal-btn-cancel {
    background: var(--background-light);
    color: var(--dark-color);
}

.modal-btn-cancel:hover {
    background: var(--border-color);
}

.modal-btn-confirm {
    background: var(--green-color);
    color: white;
}

.modal-btn-confirm:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Profile Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.stat-item {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-desc {
    font-size: 0.8rem;
    color: #999;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-value {
        font-size: 1.2rem;
    }
}