.elementor-435 .elementor-element.elementor-element-378e2a3{--display:flex;}#elementor-popup-modal-435{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-435 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-435 .dialog-close-button{display:flex;}#elementor-popup-modal-435 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}/* Start custom CSS for container, class: .elementor-element-378e2a3 *//* ============================================
   VERO GUSTO - POPUP STYLES v3.0
   Wersja skonsolidowana - bez WAPF
   ============================================ */

/* ================================================================
   1. POPUP - SCROLLOWANIE I OVERLAY
   ================================================================ */

.elementor-popup-modal .dialog-widget-content,
.elementor-location-popup .dialog-widget-content {
    overflow-y: auto !important;
    max-height: 90vh !important;
    -webkit-overflow-scrolling: touch;
}

.elementor-popup-modal .dialog-message,
.elementor-location-popup .dialog-message {
    overflow-y: auto !important;
    max-height: 90vh !important;
    -webkit-overflow-scrolling: touch;
}

.elementor-popup-modal,
.elementor-location-popup {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

.elementor-popup-modal .dialog-lightbox-widget-content {
    overflow-y: auto !important;
    max-height: 95vh !important;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .elementor-popup-modal .dialog-widget-content,
    .elementor-location-popup .dialog-widget-content,
    .elementor-popup-modal .dialog-lightbox-widget-content {
        max-height: 95vh !important;
        height: 95vh !important;
        overflow-y: auto !important;
    }
}

/* ================================================================
   2. POPUP - WYGLĄD OGÓLNY
   ================================================================ */

.dialog-message.dialog-lightbox-message {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.elementor-435 {
    max-width: 650px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease-out;
}

.elementor-element-378e2a3 {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 0;
}

.e-con-inner {
    padding: 40px;
}

#vg-popup-body {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* ================================================================
   3. UKRYJ NATYWNE ELEMENTY WC
   ================================================================ */

/* Ukryj oryginalną tabelę rozmiarów (zastąpiona przez vg-custom-sizes) */
.variations table.variations {
    display: none !important;
}

/* Ukryj przycisk "reset" wariantów */
.reset_variations {
    display: none !important;
}

/* ================================================================
   4. SELEKTOR ROZMIARU PIZZY (#vg-custom-sizes)
   ================================================================ */

#vg-custom-sizes {
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 12px;
}

.vg-sizes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.vg-sizes-header h3 {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vg-required-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.vg-size-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vg-size-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vg-size-option:hover {
    background: #f5f5f5;
    border-color: #c41e3a;
    transform: translateX(4px);
}

.vg-size-option.selected {
    background: linear-gradient(135deg, #fff5f6 0%, #ffffff 100%);
    border-color: #c41e3a;
    box-shadow: 0 2px 12px rgba(196, 30, 58, 0.15);
}

.vg-size-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.vg-size-radio {
    position: relative;
    width: 22px;
    height: 22px;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vg-size-option:hover .vg-size-radio {
    border-color: #c41e3a;
}

.vg-size-option.selected .vg-size-radio {
    border-color: #c41e3a;
    background: #c41e3a;
}

.vg-size-option.selected .vg-size-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.vg-size-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.vg-size-label {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.vg-size-option.selected .vg-size-label {
    color: #c41e3a;
}

.vg-size-price {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #666;
}

.vg-size-option.selected .vg-size-price {
    color: #c41e3a;
}

.vg-size-check {
    display: none;
    margin-left: 12px;
    color: #c41e3a;
}

.vg-size-option.selected .vg-size-check {
    display: block;
}

.vg-size-option.selected .vg-size-check svg {
    animation: checkmark 0.3s ease;
}

/* ================================================================
   5. INFO BOXY (wybierz rozmiar / wybrany rozmiar)
   ================================================================ */

.vg-select-size-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff9e6 100%);
    border: 2px solid #ffc107;
    border-left: 4px solid #e87722;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #e65100;
    font-size: 14px;
    font-weight: 600;
}

.vg-select-size-info svg {
    flex-shrink: 0;
    color: #f57c00;
}

.vg-select-size-info p {
    margin: 0;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #e65100;
}

body.vg-size-selected .vg-select-size-info {
    display: none;
}

.vg-selected-size-indicator {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #f0f9f0;
    border-left: 4px solid #4caf50;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #2e7d32;
}

body.vg-size-selected .vg-selected-size-indicator {
    display: flex;
}

.vg-selected-size-indicator svg {
    flex-shrink: 0;
    color: #2e7d32;
}

.vg-selected-size-indicator p {
    margin: 0;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 14px;
    color: #1b5e20;
}

.vg-selected-size-indicator strong {
    color: #2e7d32;
    font-weight: 700;
}

/* ================================================================
   6. QUANTITY + PRZYCISK DODANIA (ukryte do czasu wyboru rozmiaru)
   ================================================================ */

.woocommerce-variation-add-to-cart.variations_button {
    display: none !important;
    opacity: 0;
}

body.vg-size-selected .woocommerce-variation-add-to-cart.variations_button {
    display: flex !important;
    opacity: 1;
    animation: slideDown 0.4s ease 0.2s both;
}

/* Prosty produkt (salatki) — zawsze pokazuj */
body.vg-simple-product .woocommerce-variation-add-to-cart.variations_button,
body.vg-simple-product .variations_button {
    display: flex !important;
    opacity: 1;
}

.variations_button {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Extras wewnatrz .variations_button (stara struktura PHP) - ukryj,
   JS renderuje swoje poza tym kontenerem */
.variations_button #vg-extras-container {
    display: none !important;
}

/* ================================================================
   6b. PROSTY PRODUKT (sałatki, pasty) — layout quantity + button
   Brak .variations_button wrappera, elementy są bezpośrednio w form.cart
   ================================================================ */

body.vg-simple-product form.cart {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 0;
}

/* Extras — pełny rząd, zawsze na górze */
body.vg-simple-product form.cart > .vg-salad-extras-container {
    flex: 1 1 100% !important;
    width: 100% !important;
    order: 0;
}

/* Wrapper tworzony przez JS — quantity i button zawsze obok siebie */
.vg-qty-btn-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
}

.vg-qty-btn-row .quantity {
    flex: 0 0 auto !important;
    width: auto !important;
}

.vg-qty-btn-row .single_add_to_cart_button {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

/* ================================================================
   7. QUANTITY BUTTONS
   ================================================================ */

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity input.qty[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 180px;
    max-width: 180px;
}

.quantity-button.quantity-minus {
    order: 1;
    width: 45px;
    height: 50px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ececec 100%);
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #666;
    transition: all 0.3s ease;
    user-select: none;
}

.quantity input.qty {
    order: 2;
    flex: 1;
    height: 50px;
    padding: 14px 10px;
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.quantity-button.quantity-plus {
    order: 3;
    width: 45px;
    height: 50px;
    background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
    border: 2px solid #c41e3a;
    border-left: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
    user-select: none;
}

.quantity-button.quantity-minus:hover {
    background: linear-gradient(135deg, #ececec 0%, #d8d8d8 100%);
    border-color: #c41e3a;
    color: #c41e3a;
}

.quantity-button.quantity-plus:hover {
    background: linear-gradient(135deg, #a01830 0%, #8a1428 100%);
    border-color: #a01830;
}

.quantity-button:active {
    transform: scale(0.95);
}

.quantity input.qty:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
    z-index: 1;
    position: relative;
}

.quantity-button.quantity-minus.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ================================================================
   8. PRZYCISK DODAJ DO KOSZYKA
   ================================================================ */

.single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    padding: 16px 35px;
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.single_add_to_cart_button:hover:not(.disabled) {
    background: linear-gradient(135deg, #a01830 0%, #8a1428 100%);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
    transform: translateY(-2px);
}

.single_add_to_cart_button:active:not(.disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
}

.single_add_to_cart_button.disabled {
    background: #cccccc;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ================================================================
   9. SKŁADNIKI DO PIZZY - KARTA STYLE (.vg-extras-container)
   Tworzone przez JS dopiero po wyborze rozmiaru — zawsze widoczne
   ================================================================ */

/* Kontenery poza .single_variation_wrap (wstawione przez JS v3.2) */
form .vg-extras-container,
form .vg-sauce-container {
    display: block !important;
}

.vg-extras-container {
    margin: 20px 0;
    background: #fafafa;
    border: 2px solid #ececec;
    border-radius: 12px;
    padding: 20px;
    animation: slideDown 0.4s ease;
}

.vg-extras-group {
    margin-bottom: 20px;
}

.vg-extras-group:last-child {
    margin-bottom: 0;
}

.vg-group-label {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 10px;
}

.vg-extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

/* Karta skladnika */
.vg-extra-chip {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    position: relative;
}

.vg-extra-chip:hover {
    border-color: #c41e3a;
    background: #fff5f6;
    transform: translateX(2px);
}

.vg-extra-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkmark box */
.vg-extra-chip::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.2s ease;
    background: #fff;
}

.vg-extra-chip:has(input:checked) {
    border-color: #c41e3a;
    background: linear-gradient(135deg, #fff5f6 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.15);
}

.vg-extra-chip:has(input:checked)::before {
    border-color: #c41e3a;
    background: #c41e3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
}

/* Fallback JS - klasa .is-checked */
.vg-extra-chip.is-checked {
    border-color: #c41e3a;
    background: linear-gradient(135deg, #fff5f6 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.15);
}

.vg-extra-chip.is-checked::before {
    border-color: #c41e3a;
    background: #c41e3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
}

.vg-extra-name {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex: 1;
    text-transform: capitalize;
}

.vg-extra-chip:has(input:checked) .vg-extra-name,
.vg-extra-chip.is-checked .vg-extra-name {
    color: #c41e3a;
    font-weight: 600;
}

.vg-extra-price {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #999;
    margin-left: 8px;
    white-space: nowrap;
}

.vg-extra-chip:has(input:checked) .vg-extra-price,
.vg-extra-chip.is-checked .vg-extra-price {
    color: #c41e3a;
}

.vg-count-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* ================================================================
   9b. STARA STRUKTURA HTML (generowana przez stary layout script)
   Klasy: .vg-extra-item .vg-extra-checkmark .vg-extra-label .vg-extras-items
   ================================================================ */

.vg-extras-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ececec;
}

.vg-extras-header h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2c2c2c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vg-extras-counter {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 20px;
}

.vg-extras-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e8f4f8;
    border-left: 3px solid #0066cc;
    border-radius: 5px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #0066cc;
}

.vg-extras-group-header h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin: 0 0 10px 0;
}

/* Grid - .vg-extras-items */
.vg-extras-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

/* Karta skladnika - .vg-extra-item */
.vg-extra-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    position: relative;
}

.vg-extra-item:hover {
    border-color: #c41e3a;
    background: #fff5f6;
    transform: translateX(2px);
}

/* Ukryty checkbox */
.vg-extra-item .vg-extra-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkmark box - .vg-extra-checkmark */
.vg-extra-checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.2s ease;
    background: #fff;
    flex-shrink: 0;
}

/* Stan zaznaczony - JS dodaje klase .selected na .vg-extra-item */
.vg-extra-item.selected,
.vg-extra-item:has(.vg-extra-checkbox:checked) {
    border-color: #c41e3a;
    background: linear-gradient(135deg, #fff5f6 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.15);
}

.vg-extra-item.selected .vg-extra-checkmark,
.vg-extra-item:has(.vg-extra-checkbox:checked) .vg-extra-checkmark {
    border-color: #c41e3a;
    background: #c41e3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
}

/* Nazwa - .vg-extra-label */
.vg-extra-label {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex: 1;
    text-transform: capitalize;
}

.vg-extra-item.selected .vg-extra-label,
.vg-extra-item:has(.vg-extra-checkbox:checked) .vg-extra-label {
    color: #c41e3a;
    font-weight: 600;
}

/* Cena w .vg-extra-item */
.vg-extra-item .vg-extra-price {
    font-size: 13px;
    font-weight: 700;
    color: #999;
    margin-left: 8px;
    white-space: nowrap;
}

.vg-extra-item.selected .vg-extra-price,
.vg-extra-item:has(.vg-extra-checkbox:checked) .vg-extra-price {
    color: #c41e3a;
}

/* ================================================================
   10. SOS DO PIZZY - KARTA STYLE (.vg-sauce-container)
   ================================================================ */

.vg-sauce-container {
    margin: 20px 0;
    border: 2px solid #ececec;
    border-radius: 12px;
    padding: 20px;
    background: #fafafa;
    animation: slideDown 0.4s ease;
}

.vg-sauce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.vg-radio-chip {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    position: relative;
}

.vg-radio-chip:hover {
    border-color: #c41e3a;
    background: #fff5f6;
    transform: translateX(2px);
}

.vg-radio-chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom radio circle */
.vg-radio-chip::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.2s ease;
    background: #fff;
}

.vg-radio-chip.selected {
    border-color: #c41e3a;
    background: linear-gradient(135deg, #fff5f6 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.15);
}

.vg-radio-chip.selected::before {
    border-color: #c41e3a;
    background: #c41e3a;
    box-shadow: inset 0 0 0 3px #fff;
}

.vg-radio-chip span {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.vg-radio-chip.selected span {
    color: #c41e3a;
    font-weight: 600;
}

/* ================================================================
   11. DODATKI DO SALATEK (.vg-salad-extras-container)
   ================================================================ */

.vg-salad-extras-container {
    margin: 20px 0;
    border: 2px solid #c41e3a;
    border-radius: 12px;
    padding: 20px;
    background: #fff5f6;
    animation: slideDown 0.4s ease;
}

.vg-salad-extras-container .vg-sauce-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ================================================================
   12. NAGŁÓWKI SEKCJI (header + required badge)
   ================================================================ */

.vg-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.vg-section-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #2c2c2c;
    font-family: 'Montserrat', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vg-section-header h4 small {
    font-weight: 400;
    color: #666;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}

/* ================================================================
   13. PODSUMOWANIE CEN (.vg-price-summary)
   Zastępuje stary .wapf-product-totals i .vg-custom-totals
   ================================================================ */

.vg-price-summary {
    margin: 16px 0;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
    animation: slideDown 0.4s ease;
}

.vg-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
}

.vg-price-row:last-child {
    border-bottom: none;
}

.vg-grand-total {
    margin-top: 6px;
    padding-top: 10px !important;
    border-top: 2px solid #c41e3a !important;
    border-bottom: none !important;
    font-size: 16px;
    color: #2c2c2c;
}

.vg-grand-total strong:last-child {
    color: #c41e3a;
    font-size: 18px;
}

/* ================================================================
   14. KOMUNIKAT PO DODANIU DO KOSZYKA (#vg-after-add)
   ================================================================ */

#vg-after-add {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #c41e3a;
    text-align: center;
    margin-top: 20px;
}

#vg-after-add p {
    font-family: 'Lato', 'Arial', sans-serif;
    font-size: 16px;
    color: #2c2c2c;
    margin: 0 0 20px;
    font-weight: 600;
}

#vg-after-add > div {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

#vg-continue,
#vg-checkout {
    padding: 14px 30px;
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #c41e3a;
}

#vg-continue {
    background: #ffffff;
    color: #c41e3a;
}

#vg-continue:hover {
    background: #c41e3a;
    color: #ffffff;
}

#vg-checkout {
    background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
    color: #ffffff;
}

#vg-checkout:hover {
    background: linear-gradient(135deg, #a01830 0%, #8a1428 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

/* ================================================================
   15. DOSTĘPNOŚĆ I POMOCNICZE
   ================================================================ */

.screen-reader-text,
.vg-sr-only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.vg-size-option:focus-within,
.vg-extra-chip:focus-within,
.vg-radio-chip:focus-within {
    outline: 2px solid #c41e3a;
    outline-offset: 2px;
}

/* Prosty produkt — wrapper qty + button */
.vg-simple-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* ================================================================
   16. ANIMACJE
   ================================================================ */

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1);   }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0);      }
}

@keyframes checkmark {
    0%   { transform: scale(0) rotate(-45deg); }
    50%  { transform: scale(1.2) rotate(-45deg); }
    100% { transform: scale(1) rotate(-45deg); }
}

/* ================================================================
   17. RESPONSYWNOŚĆ
   ================================================================ */

@media (max-width: 768px) {
    .e-con-inner { padding: 25px; }

    #vg-popup-body { padding: 25px 20px; }

    /* Qty i button w jednym rzedzie na mobile */
    .variations_button {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .quantity {
        flex: 0 0 auto;
        max-width: 160px;
    }

    .single_add_to_cart_button {
        flex: 1 1 auto;
        min-width: 140px;
    }

    /* Extras i sos - pelna szerokosc, zawsze pod qty+button */
    #vg-pizza-extras,
    #vg-sauce-.elementor-435 .elementor-element.elementor-element-378e2a3,
    .vg-salad-extras-container {
        width: 100%;
    }

    .vg-extras-grid,
    .vg-sauce-grid {
        grid-template-columns: 1fr;
    }

    .vg-size-option { padding: 14px 16px; }

    .vg-size-radio {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }

    .vg-size-label,
    .vg-size-price { font-size: 14px; }

    .vg-grand-total strong:last-child { font-size: 16px; }
}

@media (max-width: 480px) {
    .elementor-435 {
        max-width: 95%;
        margin: 10px;
    }

    #vg-popup-body { padding: 20px 15px; }

    .vg-sizes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .vg-size-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .vg-size-price {
        font-size: 15px;
        color: #c41e3a;
    }

    .vg-extras-grid,
    .vg-sauce-grid { gap: 6px; }

    .vg-extra-chip,
    .vg-radio-chip {
        font-size: 12px;
        padding: 5px 10px;
    }

    #vg-after-add > div { flex-direction: column; }

    #vg-continue,
    #vg-checkout {
        width: 100%;
        text-align: center;
    }

    .quantity-button.quantity-minus,
    .quantity-button.quantity-plus {
        width: 50px;
        height: 48px;
    }

    .quantity input.qty {
        height: 48px;
        font-size: 16px;
    }
}

/* Ukryj natywną cenę wariantu i wskaźnik wybranego rozmiaru */
.woocommerce-variation.single_variation,
#vg-selected-indicator {
    display: none !important;
}/* End custom CSS */