/**
 * Frontend Styles for Lunch Service
 */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Form - Meal Type Checkboxes */
.lunch-meal-type-selection {
    margin-bottom: 20px;
}

.lunch-meal-type-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.lunch-meal-type-checkbox {
    display: flex;
    align-items: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    animation: fadeIn 0.4s ease-out;
    position: relative;
    overflow: hidden;
}


.lunch-meal-type-checkbox:hover {
    background-color: #f0f7ff;
    border-color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.15);
}

.lunch-meal-type-checkbox input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: #0073aa;
}

.lunch-meal-type-checkbox:has(input[type="checkbox"]:checked) {
    background-color: #e6f3ff;
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
}

.lunch-meal-type-checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Progress Timeline */
.lunch-progress-timeline {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease-out;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ddd 0%, #0073aa 50%, #ddd 100%);
    background-size: 200% 100%;
    z-index: 0;
    animation: shimmer 3s infinite;
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.5s ease-out;
}

.timeline-step:hover {
    transform: translateY(-3px);
}

.timeline-step.completed {
    cursor: pointer;
}

.timeline-step.completed:hover .timeline-step-number {
    animation: pulse 1s infinite;
}

.timeline-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-step.active .timeline-step-number {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    border-color: #0073aa;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.4);
    animation: pulse 2s infinite;
    transform: scale(1.1);
}

.timeline-step.completed .timeline-step-number {
    background: linear-gradient(135deg, #46b450 0%, #389a42 100%);
    border-color: #46b450;
    color: #fff;
    box-shadow: 0 4px 12px rgba(70, 180, 80, 0.3);
}

.timeline-step.completed .timeline-step-number::after {
    content: '✓';
    position: absolute;
    font-size: 18px;
    animation: scaleIn 0.3s ease-out;
}

.timeline-step-label {
    font-size: 12px;
    text-align: center;
    color: #666;
    max-width: 100px;
}

.timeline-step.active .timeline-step-label {
    color: #0073aa;
    font-weight: bold;
}

.timeline-step.completed .timeline-step-label {
    color: #46b450;
}

/* Step Products */
.lunch-step-products {
    margin-bottom: 30px;
    animation: fadeIn 0.6s ease-out;
}

.lunch-day-selection-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0073aa;
    animation: slideInLeft 0.5s ease-out;
    position: relative;
}

.lunch-day-selection-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #0073aa, transparent);
    animation: shimmer 2s infinite;
}

.lunch-day-selection-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #0073aa;
    font-weight: bold;
}

.lunch-day-selection-title .day-date {
    font-size: 20px;
    color: #666;
    font-weight: normal;
}

.lunch-step-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    animation: fadeIn 0.7s ease-out;
    position: relative;
}

.lunch-step-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #0073aa, transparent);
}

/* Navigation Buttons */
.lunch-product-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    animation: fadeIn 0.5s ease-out;
}

.lunch-nav-btn {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lunch-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.lunch-nav-btn:hover::before {
    width: 300px;
    height: 300px;
}

.lunch-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.lunch-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lunch-nav-prev {
    background: linear-gradient(135deg, #666 0%, #555 100%);
    color: #fff;
    border: none;
}

.lunch-nav-prev:hover {
    background: linear-gradient(135deg, #777 0%, #666 100%);
}

.lunch-nav-next {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    border: none;
}

.lunch-nav-next:hover {
    background: linear-gradient(135deg, #0085c3 0%, #006ba0 100%);
    animation: pulse 1s infinite;
}

/* Add Day Section */
.lunch-add-day-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
    text-align: center;
}

.lunch-day-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#lunch-add-day-btn {
    background-color: transparent;
    color: #0073aa;
    border: 2px solid #0073aa;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

#lunch-add-day-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 115, 170, 0.2), transparent);
    transition: left 0.5s;
}

#lunch-add-day-btn:hover::before {
    left: 100%;
}

#lunch-add-day-btn:hover {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.3);
    border-color: #0073aa;
}

#lunch-add-day-btn:active {
    transform: translateY(0);
}

/* Add Day Form */
.lunch-add-day-form {
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lunch-add-day-form h3 {
    margin-bottom: 20px;
    color: #333;
}

/* Day Complete Message */
.lunch-day-complete {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e9 100%);
    border: 2px solid #46b450;
    border-radius: 15px;
    margin: 20px 0;
    animation: scaleIn 0.5s ease-out;
    box-shadow: 0 4px 20px rgba(70, 180, 80, 0.2);
    position: relative;
    overflow: hidden;
}

.lunch-day-complete::before {
    content: '✓';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    color: rgba(70, 180, 80, 0.1);
    animation: rotateIn 0.8s ease-out;
}

.lunch-day-complete h3 {
    color: #46b450;
    margin-bottom: 10px;
    font-size: 28px;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.lunch-day-complete p {
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s ease-out;
}

/* Offer - Day Sections (styl paska dnia w .lunch-offer-day-bar powyżej) */
.lunch-offer-day-section {
    margin-bottom: 36px;
    width: 100%;
    clear: both;
}

.day-date {
    font-size: 18px;
    color: #666;
    font-weight: normal;
}

/* Offer - Meal Type Sections */
.lunch-meal-type-section {
    margin-bottom: 30px;
    animation: fadeIn 0.7s ease-out;
    animation-fill-mode: both;
}

.lunch-meal-type-section:nth-child(1) { animation-delay: 0.1s; }
.lunch-meal-type-section:nth-child(2) { animation-delay: 0.2s; }
.lunch-meal-type-section:nth-child(3) { animation-delay: 0.3s; }
.lunch-meal-type-section:nth-child(n+4) { animation-delay: 0.4s; }

.lunch-meal-type-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #555;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    animation: slideInLeft 0.5s ease-out;
}

.lunch-meal-type-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, #0073aa, transparent);
}

.lunch-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 15px;
}



.lunch-offer-container {
    width: 100%;
    max-width: 100%;
}

/* ========== Strona WWW oferty – układ zgodny ze screenami ========== */

/* Hero */
.lunch-offer-hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2a2a2a;
}
.lunch-offer-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.lunch-offer-hero-content {
    padding: 40px 24px 40px max(24px, 5%);
    max-width: 900px;
    color: #fff;
}
.lunch-offer-hero-logo {
    margin-bottom: 24px;
}
.lunch-offer-hero-logo img {
    max-width: 200px;
    height: auto;
    display: block;
}
.lunch-offer-hero-contact {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 28px;
    opacity: 0.95;
}
.lunch-offer-hero-contact p { margin: 0 0 6px 0; }
.lunch-offer-hero-title-block {
    margin-top: 20px;
}
.lunch-offer-hero-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: 0.02em;
}
.lunch-offer-hero-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

/* Content inner – centrowana kolumna */
.lunch-offer-content-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

/* Intro – nagłówek + jeden blok LUB dwie kolumny */
.lunch-offer-intro {
    margin: 0 0 32px 0;
    padding: 0;
    background: none;
    border-radius: 0;
}
.lunch-offer-intro-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}
.lunch-offer-intro-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 2rem;
}
.lunch-offer-intro-left,
.lunch-offer-intro-right {
    font-size: 1rem;
    color: #666;
    line-height: 1.65;
}
.lunch-offer-intro-left ul,
.lunch-offer-intro-right ul {
    margin: 10px 0 0 0;
    padding-left: 1.25em;
}
.lunch-offer-intro-body {
    font-size: 1rem;
    color: #333;
    line-height: 1.65;
}
@media (max-width: 767px) {
    .lunch-offer-intro-columns {
        grid-template-columns: 1fr;
    }
}

/* Summary cards – 4 kafelki w rzędzie */
.lunch-offer-summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 36px;
}
.lunch-offer-summary-card {
    background: #fff;
    border: 1px solid #5e1d7a;
    border-radius: 8px;
    padding: 16px 18px;
    text-align: center;
}
.lunch-offer-summary-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}
.lunch-offer-summary-card-content {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
@media (max-width: 900px) {
    .lunch-offer-summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .lunch-offer-summary-cards {
        grid-template-columns: 1fr;
    }
}

/* Sekcja dnia – ciemniejsze tło, odstęp */
.lunch-offer-day-section {
    margin-bottom: 36px;
    background: #eaeaea;
    border-radius: 12px;
    padding: 20px;
}
.lunch-offer-day-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #5e1d7a;
    color: #fff;
    padding: 14px 24px;
    border-radius: 30px;
    margin: 0 0 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.lunch-offer-day-section .lunch-offer-day-bar:last-of-type {
    margin-bottom: 0;
}
.lunch-day-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}
.lunch-day-date {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
}
.lunch-meal-type-section {
    margin-bottom: 24px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    border: 1px solid #eee;
}
.lunch-meal-type-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #5e1d7a;
    margin: 0 0 16px 0;
    padding-bottom: 0;
    border-bottom: none;
}
.lunch-meal-type-title::after {
    display: none;
}
.lunch-meal-type-title .meal-type-hours {
    font-size: 0.9em;
    font-weight: 500;
    color: #666;
    margin-left: 8px;
}

/* Sekcja cen [lunch_offer_total_price] – biały kontener bez kolorowej ramki, jedna pionowa linia, większe fonty */
/* Działa też bez .lunch-offer-price-section (np. w Elementorze) */
.lunch-total-price {
    margin: 24px 0;
    padding: 0;
    background: transparent;
    border: none;
}
/* Biały box – tylko .lunch-total-price-content (bez ramki), prawa kolumna 2× szersza */
.lunch-total-price-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    max-width: 1200px;
    margin: 0;
    text-align: left;
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 32px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: none;
}
/* Jedyna pionowa linia – między kolumnami (1fr | 2fr) */
.lunch-total-price-content::before {
    content: '';
    position: absolute;
    left: 33.333%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e0e0e0;
    margin-left: -1px;
}
.lunch-total-price .lunch-price-per-person,
.lunch-total-price .lunch-total-amount {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: #333;
}
.lunch-total-price .lunch-price-per-person,
.lunch-total-price .lunch-price-per-person-gross {
    padding: 0 28px 0 0;
}
.lunch-total-price .lunch-total-amount,
.lunch-total-price .lunch-total-amount-gross {
    padding: 0 0 0 28px;
}
.lunch-total-price .lunch-price-per-person strong,
.lunch-total-price .lunch-total-amount strong {
    font-weight: 600;
    color: #333;
}
.lunch-total-price .price-value,
.lunch-total-price .total-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #5e1d7a;
    margin-top: 10px;
}
/* Kwota + „netto” w jednej linii (bez łamania) */
.lunch-total-price .total-amount-line {
    display: block;
    margin-top: 10px;
    white-space: nowrap;
}
.lunch-total-price .total-amount-line .total-amount {
    display: inline;
    margin-top: 0;
}
.lunch-total-price .total-amount-line .price-label {
    display: inline;
}
.lunch-total-price .lunch-total-amount .price-label {
    font-size: 2rem;
    font-weight: 700;
    color: #5e1d7a;
}
.lunch-total-price .lunch-price-per-person-gross,
.lunch-total-price .lunch-total-amount-gross {
    margin: 0 0 0 0;
    font-size: 0.95rem;
    color: #999;
}
.lunch-total-price .lunch-price-per-person { grid-column: 1; grid-row: 1; }
.lunch-total-price .lunch-price-per-person-gross { grid-column: 1; grid-row: 2; margin-top: 4px; }
.lunch-total-price .lunch-total-amount { grid-column: 2; grid-row: 1; }
.lunch-total-price .lunch-total-amount-gross { grid-column: 2; grid-row: 2; margin-top: 4px; }
.lunch-total-price .discount-info {
    grid-column: 1 / -1;
    padding: 0 28px 0 0;
}
/* Adnotacja z gwiazdką – poza białym boxem (sibling .lunch-total-price-content) */
.lunch-total-price .lunch-price-note {
    margin: 14px 0 0 0;
    padding: 0;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    text-align: left;
}
@media (max-width: 600px) {
    .lunch-total-price-content {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
    .lunch-total-price-content::before {
        display: none;
    }
    .lunch-total-price .lunch-price-per-person,
    .lunch-total-price .lunch-price-per-person-gross,
    .lunch-total-price .lunch-total-amount,
    .lunch-total-price .lunch-total-amount-gross {
        padding: 0;
    }
    /* Jedna kolumna pod drugą: najpierw „cena za osobę”, potem „cena łączna” */
    .lunch-total-price .lunch-price-per-person { grid-column: 1; grid-row: 1; }
    .lunch-total-price .lunch-price-per-person-gross { grid-column: 1; grid-row: 2; }
    .lunch-total-price .lunch-total-amount { grid-column: 1; grid-row: 3; }
    .lunch-total-price .lunch-total-amount-gross { grid-column: 1; grid-row: 4; }
    .lunch-total-price .lunch-total-amount {
        margin-top: 20px;
    }
}

.lunch-offer-price-section {
    margin: 36px 0 24px 0;
}
.lunch-offer-price-section .lunch-total-price-content {
    background: #fff;
    border-radius: 10px;
    padding: 32px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: none;
}
.lunch-offer-price-section .lunch-total-price .lunch-price-note {
    margin: 14px 0 0 0;
    padding: 0;
}
@media (max-width: 600px) {
    .lunch-offer-price-section .lunch-total-price-content {
        padding: 24px 20px;
    }
}

/* CTA bar – ważność + przyciski */
.lunch-offer-actions-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin-top: 24px;
}
.lunch-offer-actions-validity {
    font-size: 0.95rem;
    color: #333;
}
.lunch-offer-actions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.lunch-offer-actions-bar .btn-download-pdf,
.lunch-offer-actions-bar .btn-edit-offer,
.lunch-offer-actions-bar .btn-phone,
.lunch-offer-actions-bar .btn-payment {
    display: inline-block;
}
.lunch-offer-actions-bar .button.elementor-button-link,
.lunch-offer-actions-bar .btn-download-pdf .button,
.lunch-offer-actions-bar .btn-edit-offer .button,
.lunch-offer-actions-bar .btn-phone .button,
.lunch-offer-actions-bar .btn-payment .button {
    background: #5e1d7a !important;
    color: #fff !important;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 6px rgba(94, 29, 122, 0.3);
    transition: background 0.2s, transform 0.2s;
}
.lunch-offer-actions-bar .button.elementor-button-link:hover,
.lunch-offer-actions-bar .btn-download-pdf .button:hover,
.lunch-offer-actions-bar .btn-edit-offer .button:hover,
.lunch-offer-actions-bar .btn-phone .button:hover,
.lunch-offer-actions-bar .btn-payment .button:hover {
    background: #4a1762 !important;
    transform: translateY(-1px);
}

/* Closing – tło szare, odstępy, pogrubione zakończenie */
.lunch-offer-closing {
    margin: 32px 0;
    padding: 28px 24px;
    background-color: #f5f5f5;
    border-radius: 8px;
}
.lunch-offer-closing p {
    margin: 0 0 14px 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.65;
}
.lunch-offer-closing p:last-of-type {
    margin-bottom: 0;
}
.lunch-offer-closing strong {
    font-size: 1.05rem;
}
/* Nagłówek produktów w ofercie */
.lunch-offer-products-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* Header (gdy bez hero – np. w Elementor) */
.lunch-offer-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.lunch-offer-logo {
    margin-bottom: 15px;
}

.lunch-offer-logo img {
    max-width: 300px;
    height: auto;
}

.lunch-offer-contact {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Intro/Closing Text */
.lunch-offer-intro,
.lunch-offer-closing {
    margin: 30px 0;
    padding: 20px;
}

/* Products Grid */
.lunch-offer-products {
    margin: 40px 0;
}

.lunch-offer-products h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    background: #fff;
}


.product-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px) scale(1.02);
    border-color: #0073aa;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }
.product-item:nth-child(n+6) { animation-delay: 0.6s; }

/* Product item layout - for offer page (shortcodes) */
.product-item {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.product-item:hover {
    border-color: #2c5aa0;
    box-shadow: 0 8px 24px rgba(44, 90, 160, 0.2);
    transform: translateY(-4px) scale(1.01);
}

/* Product content wrapper - image on top, text below */
.product-item .product-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Offer page (browser): align product image to the left like in PDF */
.lunch-offer-products .product-content-wrapper {
    align-items: flex-start;
}
.lunch-offer-products .product-image-wrapper {
    margin: 0;
}

/* Product image wrapper - 4:3 aspect ratio, offer page - centered and larger */
.product-item .product-image-wrapper {
    flex-shrink: 0;
    width: 450px;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.product-item:hover .product-image-wrapper {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.product-item .product-image-large {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-item:hover .product-image-large {
    transform: scale(1.05);
}

/* Elementor widget: product-image (4:3, object-fit cover) - centered and larger */
.product-item .product-image {
    flex-shrink: 0;
    width: 450px;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f5f5f5;
    margin: 0 auto;
}
.lunch-offer-products .product-item .product-image {
    margin: 0;
}
.product-item .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Product images grid - offer page: always 3 columns, left to right, 4:3 */
.product-images-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: start;
}
.product-images-grid .product-images-grid-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
    min-width: 0;
    max-width: 100%;
}
.product-images-grid .product-images-grid-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.product-item .product-content {
    width: 100%;
    padding: 0;
    text-align: left;
}

.product-item .product-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.3;
}

/* Product description - visible, readable for 4-15 lines */
.product-item .product-description {
    margin-bottom: 15px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    max-height: none; /* Allow full height for long descriptions */
    overflow: visible;
}

.product-item .product-description p {
    margin: 0 0 10px 0;
    color: #555;
}

.product-item .product-description p:last-child {
    margin-bottom: 0;
}

.product-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Cena pod pakietem – jak na screenie: etykieta czarna, kwota duża fioletowa, brutto mniejsza szara */
.product-price,
.product-weight,
.product-additional {
    margin: 8px 0;
    font-size: 14px;
}
.product-price strong,
.product-weight strong {
    color: #333;
    font-weight: 600;
}
/* Styl pojedynczej ceny (gdy brak .price-net/.price-gross) */
.product-price {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
}
.product-price .price-net {
    margin-bottom: 4px;
}
.product-price .price-net strong {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}
.product-price .price-net .price-value,
.product-price .price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #5e1d7a;
    display: inline;
}
.product-price .price-net .price-value {
    display: inline;
}
.product-price .price-net .price-currency {
    font-size: 1.75rem;
    font-weight: 700;
    color: #5e1d7a;
}
.product-price .price-gross {
    font-size: 0.9rem;
    color: #999;
    margin-top: 4px;
}
.product-price .price-gross small {
    font-size: inherit;
    color: inherit;
}
/* Gdy cena to tylko strong + tekst (stary układ) – kwotę wizualnie wyróżnij */
.product-details .product-price:not(:has(.price-net)) {
    font-size: 1rem;
    color: #333;
}
.product-details .product-price:not(:has(.price-net)) strong {
    font-size: 1rem;
    color: #333;
}
.product-weight strong,
.product-additional strong {
    color: #333;
}

/* Actions */
.lunch-offer-actions {
    margin: 40px 0;
    text-align: center;
}



/* Elementor Widgets */
.lunch-offer-products-elementor {
    display: grid;
    gap: 30px;
    margin: 20px 0;
}

.lunch-offer-products-elementor.columns-1 {
    grid-template-columns: 1fr;
}

.lunch-offer-products-elementor.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.lunch-offer-products-elementor.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.lunch-offer-products-elementor.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Customer Info */
.lunch-offer-customer-info {
    margin: 20px 0;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.lunch-offer-customer-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.customer-details p {
    margin: 8px 0;
}

.customer-details a {
    color: #2c5aa0;
    text-decoration: none;
}

.customer-details a:hover {
    text-decoration: underline;
}

/* Form Styles */
.lunch-service-form-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 40px 20px;
}

.lunch-service-form {
    max-width: 1400px;
    margin: 0 auto;
}

.lunch-form-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
}

.lunch-form-columns.has-right-side {
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
}

.lunch-form-left,
.lunch-form-right {
    width: 100%;
}

.lunch-form-content {
    background-color: #fff;
    border-radius: 2rem;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.6s ease-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


.lunch-form-content:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.lunch-products-section-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.lunch-service-form .form-group {
    margin-bottom: 20px;
}

.lunch-service-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.lunch-service-form .required {
    color: #d32f2f;
}

.lunch-service-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .lunch-form-columns {
        grid-template-columns: 1fr;
    }
}




.lunch-form-success {
    padding: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
}

/* Products Selection in Form */
.lunch-products-container {
    margin-top: 10px;
}

.lunch-products-loading {
    padding: 15px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-radius: 8px;
    text-align: center;
    color: #666;
    animation: pulse 1.5s infinite;
    position: relative;
}

.lunch-products-loading::after {
    content: '...';
    animation: bounce 1s infinite;
}

.lunch-products-error {
    padding: 15px;
    background-color: #f8d7da;
    border-radius: 8px;
    text-align: center;
    color: #721c24;
    border: 1px solid #f5c6cb;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.lunch-products-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.lunch-products-list {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.lunch-product-checkbox-item {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    background: #fff;
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
    overflow: visible;
}


.lunch-product-checkbox-item:hover {
    border-color: #2c5aa0;
    box-shadow: 0 8px 24px rgba(44, 90, 160, 0.2);
    transform: translateY(-4px) scale(1.02);
}

.lunch-product-checkbox-item:nth-child(1) { animation-delay: 0.1s; }
.lunch-product-checkbox-item:nth-child(2) { animation-delay: 0.2s; }
.lunch-product-checkbox-item:nth-child(3) { animation-delay: 0.3s; }
.lunch-product-checkbox-item:nth-child(4) { animation-delay: 0.4s; }
.lunch-product-checkbox-item:nth-child(5) { animation-delay: 0.5s; }
.lunch-product-checkbox-item:nth-child(n+6) { animation-delay: 0.6s; }

.lunch-product-checkbox-item label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    cursor: pointer;
    margin: 0;
}

/* Checkbox/radio row - doesn't take width, so content below is full width */
.lunch-product-checkbox-item label > input[type="checkbox"],
.lunch-product-checkbox-item label > input[type="radio"] {
    order: -1;
    align-self: flex-start;
    margin: 0 0 12px 0;
    width: 22px;
    height: 22px;
    cursor: pointer;
    flex-shrink: 0;
}

.lunch-product-checkbox-item input[type="checkbox"] {
    margin-top: 0;
}

.lunch-product-checkbox-item:has(input[type="checkbox"]:checked) {
    border-color: #2c5aa0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
    box-shadow: 0 4px 16px rgba(44, 90, 160, 0.25);
    transform: scale(1.01);
}

.lunch-product-checkbox-item input[type="checkbox"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lunch-product-checkbox-item input[type="checkbox"]:checked {
    transform: scale(1.15);
    animation: bounce 0.5s;
}

/* Product content wrapper - image on top, text below */
.product-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
}

/* Product image wrapper - 4:3 aspect ratio, form - centered and larger */
.product-image-wrapper {
    flex-shrink: 0;
    width: 450px;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.lunch-product-checkbox-item:hover .product-image-wrapper {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

/* Product image slider (form) - 2 or 3 images */
.product-image-slider-wrapper .product-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.product-image-slider-wrapper .product-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s ease-out;
    will-change: transform;
}
.product-image-slider-wrapper .product-slider-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.product-image-slider-wrapper .product-slider-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}
.product-image-slider-wrapper .product-slider-prev,
.product-image-slider-wrapper .product-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #333;
    z-index: 2;
    padding: 0;
    transition: background 0.2s;
}
.product-image-slider-wrapper .product-slider-prev:hover,
.product-image-slider-wrapper .product-slider-next:hover {
    background: #fff;
}
.product-image-slider-wrapper .product-slider-prev { left: 8px; }
.product-image-slider-wrapper .product-slider-next { right: 8px; }
.product-image-slider-wrapper .product-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}
.product-image-slider-wrapper .product-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.product-image-slider-wrapper .product-slider-dot.active {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.3);
}

.product-image-large {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lunch-product-checkbox-item:hover .product-image-large {
    transform: scale(1.05);
}

/* Product info section - contains title, description, price - full width */
.product-info {
    width: 100%;
    text-align: left;
}

.product-info .product-title {
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}

/* Product description - visible, readable for 4-15 lines */
.product-info .product-description {
    margin-bottom: 15px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    max-height: none; /* Allow full height for long descriptions */
    overflow: visible;
}

.product-info .product-description p {
    margin: 0 0 10px 0;
    color: #555;
}

.product-info .product-description p:last-child {
    margin-bottom: 0;
}

.product-price-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.product-price-info .price {
    font-weight: bold;
    color: #2c5aa0;
    font-size: 16px;
}

/* Tooltip styles */
.product-description-tooltip {
    display: inline-block;
    position: relative;
    cursor: help;
    z-index: 100;
}

.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--e-global-color-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
    cursor: help;
}

.product-description-tooltip:hover .tooltip-icon {
    background: linear-gradient(135deg, #1e3f73 0%, #2c5aa0 100%);
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.5);
    animation: pulse 1s infinite;
}

/* Custom tooltip */
.product-description-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    padding: 12px 16px;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-line;
    max-width: 300px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(-5px);
    word-wrap: break-word;
}

.product-description-tooltip::before {
    content: '';
    position: absolute;
    top: calc(100% + 2px);
    right: 12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
}

.product-description-tooltip:hover::after,
.product-description-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-price-info .weight {
    color: #666;
    font-size: 14px;
}

.product-price-info .price-net {
    margin-bottom: 5px;
}

.product-price-info .price-gross {
    margin-top: 5px;
}

.product-price-info .price-gross small {
    color: #666;
    font-size: 0.9em;
}

/* People Count Selector */
.lunch-people-count-selector {
    margin: 20px 0;
}

.lunch-people-count-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.lunch-people-count-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lunch-people-count-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lunch-people-count-btn:hover {
    background-color: #2c5aa0;
    color: #fff;
    border-color: #2c5aa0;
}

.lunch-people-count-btn:active {
    transform: scale(0.95);
}

.lunch-people-count-input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 80px;
    text-align: center;
}

/* Hide number input arrows */
.lunch-people-count-input::-webkit-inner-spin-button,
.lunch-people-count-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Meal type filter buttons */
.lunch-meal-type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.lunch-filter-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lunch-filter-btn:hover {
    border-color: #2c5aa0;
    background-color: #f0f7ff;
}

.lunch-filter-btn.active {
    background-color: #2c5aa0;
    color: #fff;
    border-color: #2c5aa0;
}

/* Price display */
.price-net {
    margin-bottom: 5px;
}

.price-gross {
    margin-top: 5px;
}

.price-gross small {
    color: #666;
    font-size: 0.9em;
}

.lunch-people-count-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Shortcode Products */
/* Backward compatibility */
.lunch-total-price-old {
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
}

.lunch-offer-products-shortcode {
    display: block;
    gap: 30px;
    margin: 20px 0;
    width: 100%;
}

.lunch-offer-products-shortcode.columns-1 {
    grid-template-columns: 1fr;
}

.lunch-offer-products-shortcode.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.lunch-offer-products-shortcode.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.lunch-offer-products-shortcode.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Button Animations */
.btn-primary,
#lunch-start-selection-btn,
#lunch-form-submit-btn,
#lunch-form-submit-btn-inline {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
    animation: fadeIn 0.6s ease-out;
}

.btn-primary::before,
#lunch-start-selection-btn::before,
#lunch-form-submit-btn::before,
#lunch-form-submit-btn-inline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
#lunch-start-selection-btn:hover::before,
#lunch-form-submit-btn:hover::before,
#lunch-form-submit-btn-inline:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover,
#lunch-start-selection-btn:hover,
#lunch-form-submit-btn:hover,
#lunch-form-submit-btn-inline:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 115, 170, 0.4);
    animation: pulse 1s infinite;
}

.btn-primary:active,
#lunch-start-selection-btn:active,
#lunch-form-submit-btn:active,
#lunch-form-submit-btn-inline:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

/* Form Input Animations */
.lunch-service-form .form-control {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lunch-service-form .form-control:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
    border-color: #0073aa;
}

/* Product List Animations */
.lunch-products-list {
    animation: fadeIn 0.6s ease-out;
}

/* Loading State */
.lunch-products-loading {
    animation: pulse 1.5s infinite;
}

/* Success/Error Messages */
.lunch-form-success {
    animation: scaleIn 0.5s ease-out;
    padding: 30px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 10px;
    border: 2px solid #46b450;
    text-align: center;
    box-shadow: 0 4px 20px rgba(70, 180, 80, 0.2);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .lunch-offer-products-elementor.columns-2,
    .lunch-offer-products-elementor.columns-3,
    .lunch-offer-products-elementor.columns-4,
    .lunch-offer-products-shortcode.columns-2,
    .lunch-offer-products-shortcode.columns-3,
    .lunch-offer-products-shortcode.columns-4 {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Reduce animations on mobile for performance */
    .lunch-product-checkbox-item,
    .timeline-step,
    .lunch-meal-type-checkbox {
        animation: none;
    }
    
    /* Responsive product layout - stack image and content vertically on mobile */
    .lunch-product-checkbox-item label {
        flex-direction: column;
        gap: 15px;
    }
    
    .lunch-product-checkbox-item .product-content-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .lunch-product-checkbox-item .product-image-wrapper {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
    }
    
    .product-info .product-title {
        font-size: 18px;
    }
    
    .product-info .product-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Responsive product item layout for offer page */
    .product-item .product-content-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-item .product-image-wrapper,
    .product-item .product-image {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
    }
    .product-images-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .product-item .product-title {
        font-size: 18px;
    }
    
    .product-item .product-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Addon Service Items */
.lunch-addon-service-item {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.lunch-addon-service-item:hover {
    border-color: #5e1d7a;
    box-shadow: 0 4px 12px rgba(94, 29, 122, 0.15);
}

.lunch-addon-service-checkbox {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.lunch-addon-service-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.addon-service-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width:100%;
}

.addon-service-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.addon-service-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

/* W formularzu: blok ceny addonu taki sam jak zwykły pakiet (product-price-info) – bez tła, bez obramowania, bez zaokrągleń */
.lunch-addon-service-item .addon-service-price-info {
    background: none;
    padding: 0;
    border-radius: 0;
    border: none;
    border-left: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* W formularzu: te same czcionki i kolory co .product-price-info w pakietach */
.lunch-addon-service-item .addon-service-price-info .price-net {
    margin-bottom: 5px;
    font-size: inherit;
    color: inherit;
}
.lunch-addon-service-item .addon-service-price-info .price-net strong {
    font-weight: bold;
    color: #333;
}
.lunch-addon-service-item .addon-service-price-info .price-value,
.lunch-addon-service-item .addon-service-price-info .price-currency {
    font-size: 16px;
    font-weight: bold;
    color: #2c5aa0;
}
.lunch-addon-service-item .addon-service-price-info .price-gross {
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
}
.lunch-addon-service-item .addon-service-price-info .price-gross small {
    color: #666;
    font-size: 0.9em;
}

.addon-service-price-info .price-net,
.addon-service-price .price-net {
    font-size: 1rem;
    color: #333;
    margin-bottom: 4px;
}
.addon-service-price-info .price-net strong,
.addon-service-price .price-net strong {
    font-weight: 600;
    color: #333;
}
.addon-service-price-info .price-value,
.addon-service-price .price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #5e1d7a;
}
.addon-service-price-info .price-gross,
.addon-service-price .price-gross {
    font-size: 0.9rem;
    color: #999;
    margin-top: 4px;
}
.addon-price-increase {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
}

.addon-price-details {
    font-size: 14px;
    color: #555;
}

.addon-price-details div {
    margin-bottom: 5px;
}

/* Addon service display in offer */
.lunch-addon-service-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.lunch-addon-service-display {
    margin-top: 15px;
}

.addon-service-info {
    line-height: 1.8;
}

.addon-service-info p {
    margin-bottom: 10px;
}

.addon-service-price {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* Addon w ofercie: „Całkowita kwota brutto” – cała linia jak w pakietach: szaro, jedna wielkość */
.addon-service-item .product-price .price-gross {
    font-size: 0.9rem;
    color: #999;
    font-weight: normal;
}
.addon-service-item .product-price .price-gross .price-value {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.addon-service-price .price-net {
    margin-bottom: 4px;
    font-size: 1rem;
    color: #333;
}
.addon-service-price .price-net strong {
    font-weight: 600;
    color: #333;
}
.addon-service-price .price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #5e1d7a;
}
.addon-service-price .price-gross {
    color: #999;
    font-size: 0.9rem;
}

/* Radio button styles for food packages - in column layout margin handled above */
.step-product-radio {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.lunch-product-checkbox-item:has(input[type="radio"]:checked) {
    border-color: #2c5aa0;
    background: #f0f7ff;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}
