/* ============================================
   BAZOWY CSS (skopiowany z ../style.css)
   ============================================ */

:root {
    --primary: #34c06d;
    --primary-dark: #238e4e;
    --primary-light: rgba(52, 192, 109, 0.15);
    --background: #0b0f1a;
    --surface: #161c2d;
    --surface-light: #21293d;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.7);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.8);
    --shadow-soft: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body,
html {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: background-color 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-loader.loaded {
    background-color: transparent;
    pointer-events: none;
}

.loader-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-outline {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    fill: none;
    stroke: #ffffff;
    /* Jasny biały dla kontrastu */
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 100 400;
    /* Pasek o długości 100, przerwa 400 */
    filter: drop-shadow(0 0 8px var(--primary));
    /* Poświata w kolorze marki */
    animation: outlineMove 1.8s linear infinite;
    z-index: 5;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.page-loader.loaded .loader-outline {
    opacity: 0;
    transform: scale(0.9);
}

@keyframes outlineMove {
    0% {
        stroke-dashoffset: 500;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    padding: 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.page-loader.loaded .loader-logo {
    top: 0;
    transform: translate(-50%, 0);
    border-radius: 0 0 20px 20px;
}

.loader-logo img {
    height: 55px;
    width: auto;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Ukrywamy oryginalne logo, dopóki loader nie skończy animacji */
.logo {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo.visible {
    opacity: 1;
}

/* Animacja treści strony */
main,
.hero {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

body.content-ready main,
body.content-ready .hero {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle {
    display: block;
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero .highlight {
    color: #4ae58b;
    text-shadow: none;
}

/* Sections */
.section-container {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pb-100 {
    padding-bottom: 140px;
}

.bg-pattern {
    background-color: var(--background);
    background-image: radial-gradient(rgba(52, 192, 109, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Hero Header */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background-color: #000;
}

/* Animowane tło */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/serszynka.webp');
    background-size: cover;
    background-position: center;
    animation: heroRotate 30s linear infinite;
    z-index: 0;
    scale: 1.2;
}

/* Nakładka przyciemniająca */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background-color: #000;
}

/* Animowane tło */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/serszynka.png');
    background-size: cover;
    background-position: center;
    animation: heroRotate 30s linear infinite;
    z-index: 0;
    scale: 1.2;
}

/* Nakładka przyciemniająca */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(11, 15, 26, 0.7) 0%,
            rgba(11, 15, 26, 0.2) 50%,
            var(--background) 100%);
    z-index: 1;
}

@keyframes heroRotate {
    0% {
        transform: scale(1.1) translateY(0);
    }

    50% {
        transform: scale(1.2) translateY(-20px);
    }

    100% {
        transform: scale(1.1) translateY(0);
    }
}

.hero-content {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: clamp(20px, 4vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    z-index: 5;
    position: relative;
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 8vw, 4.8rem);
    /* Płynna czcionka */
    margin-bottom: 1.5rem;
    line-height: 1.05;
    font-weight: 800;
    text-shadow: none;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    /* Płynna czcionka */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
}

.logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 16px;
    background: var(--primary);
    border-radius: 0 0 20px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-decoration: none;
}

.logo img {
    height: 56px;
    /* Powiększone z 35px */
    width: 79px;
    display: block;
}

.hero h1 {
    margin: 0 auto 1.5rem auto;
    max-width: 800px;
}

.hero p {
    font-size: 1.25rem;
    margin: 0 auto 2.5rem auto;
    max-width: 600px;
}

/* Buttons */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-tel {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 20px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(52, 192, 109, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover,
.btn-tel:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(52, 192, 109, 0.4);
}

.btn-primary:active,
.btn-tel:active {
    transform: scale(0.98);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    padding: 20px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(52, 192, 109, 0.15);
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(52, 192, 109, 0.3);
}

.product-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    z-index: 1;
}

.product-image img:not(.label-badge) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image img:not(.label-badge) {
    transform: scale(1.1);
}

.product-image h3 {
    position: absolute;
    bottom: 20px;
    left: 24px;
    color: #ffffff;
    z-index: 2;
    font-size: 1.4rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.label-badge {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    width: 80px !important;
    height: auto !important;
    z-index: 3 !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) !important;
    transition: transform 0.3s ease !important;
}

.product-card:hover .label-badge {
    transform: scale(1.1) rotate(-5deg);
}

.product-image .weight {
    position: absolute;
    bottom: 20px;
    right: 24px;
    z-index: 2;
    background: rgba(30, 35, 50, 0.85);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-main {
    padding: 24px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-icon-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-icon {
    font-size: 2.2rem;
    background: var(--primary-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    overflow: hidden;
}

.label-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.price-netto {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-netto small {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 4px;
}

.price-brutto {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.product-footer {
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

/* Features (Warunki) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(52, 192, 109, 0.2);
}

.feature-icon {
    font-size: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(52, 192, 109, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.feature-text {
    flex-grow: 1;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    text-align: left;
}

/* Contact Section */
.contact-container {
    background: #0f172a;
    color: #fff;
    padding: 48px 24px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.contact-container::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-dark);
    filter: blur(120px);
    opacity: 0.2;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}

.contact-link {
    flex: 1;
    min-width: 250px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
    border-color: var(--primary);
}

.contact-link-icon {
    font-size: 1.5rem;
    margin-right: 16px;
}

/* Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(150px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-inner span {
    color: #fff;
    font-weight: 500;
}

.sticky-footer.visible {
    transform: translateY(0);
}

.sticky-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-tel-btn {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(52, 192, 109, 0.3);
}

/* Floating Action Bar Container */
.floating-action-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-action-bar.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.05) translateY(-5px);
}

.btn-call {
    background: var(--primary);
    box-shadow: 0 10px 30px rgba(52, 192, 109, 0.4);
}

.btn-messenger {
    background: #0084FF;
    box-shadow: 0 10px 30px rgba(0, 132, 255, 0.4);
}

.btn-messenger svg {
    animation: contactShake 2s infinite;
}

.btn-call .phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: contactShake 2s infinite;
}

@keyframes contactShake {
    0% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(-15deg);
    }

    20% {
        transform: rotate(15deg);
    }

    30% {
        transform: rotate(-15deg);
    }

    40% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0);
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 50px 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .sticky-footer {
        display: none;
    }

    /* FAB replaces it on mobile */
    .sticky-inner {
        justify-content: center;
    }

    /* Poprawka dla Hero na Mobile */
    .hero {
        min-height: 90vh;
        min-height: 90svh;
        padding: 30px 16px;
    }

    .hero-content {
        padding: 24px 16px;
        margin-top: 30px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }

    /* Responsive styling for Drawer */
    .drawer-content {
        max-width: 100% !important;
        border-left: none !important;
    }

    .drawer-hero {
        height: 240px !important;
    }

    .drawer-close {
        top: 16px !important;
        right: 16px !important;
    }

    .drawer-info-section {
        padding: 24px 20px !important;
    }
}

/* ==========================================================================
   ROZBUDOWA: SZCZEGÓŁY PRODUKTÓW (DRAWER, TABELA, KOD EAN, BRAK ZDJĘĆ)
   ========================================================================== */

/* Placeholder dla kanapek bez zdjęć */
.product-image.no-image {
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 220px;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

.placeholder-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 6px 12px rgba(52, 192, 109, 0.25));
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.03);
    }
}

.placeholder-tag {
    background: var(--primary-light);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Wskaźnik interaktywności karty produktu */
.product-card {
    cursor: pointer;
    position: relative;
}

/* Boczny panel szczegółów (Drawer) */
.product-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    transition: visibility 0.5s;
}

.product-drawer.open {
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 26, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 520px;
    height: 100%;
    background: var(--surface);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.product-drawer.open .drawer-content {
    transform: translateX(0);
}

.drawer-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.drawer-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.drawer-body {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.drawer-hero {
    position: relative;
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface) 100%);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-hero.no-image {
    background: linear-gradient(135deg, var(--surface-light) 0%, #0f172a 100%);
}

.drawer-hero img:not(.drawer-label-badge) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(22, 28, 45, 1) 0%, rgba(22, 28, 45, 0.7) 30%, transparent 100%);
    z-index: 1;
}

.drawer-label-badge {
    position: absolute !important;
    top: 24px !important;
    left: 24px !important;
    width: 90px !important;
    height: auto !important;
    z-index: 3 !important;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)) !important;
}

.drawer-title-wrap {
    position: absolute;
    bottom: 24px;
    left: 32px;
    right: 32px;
    z-index: 2;
}

.drawer-weight {
    background: var(--primary-light);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
}

#drawer-title {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.drawer-info-section {
    padding: 32px;
    flex-grow: 1;
}

.drawer-meta-row {
    margin-bottom: 28px;
    background: var(--surface-light);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.price-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.drawer-section {
    margin-bottom: 32px;
}

.drawer-section h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary-light);
    display: inline-block;
}

.drawer-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 28px;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
    text-align: left;
}

.drawer-ingredients {
    color: var(--text-main);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 16px;
    text-align: left;
}

.drawer-allergens-wrap {
    background: rgba(239, 68, 68, 0.08);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #fca5a5;
    font-size: 0.88rem;
    line-height: 1.4;
}

.drawer-allergens-wrap strong {
    color: #ef4444;
}

.nutrition-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.nutrition-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nutrition-table tr:last-child {
    border-bottom: none;
}

.nutrition-table td {
    padding: 8px 10px;
}

.nutrition-table td:last-child {
    text-align: right;
    font-weight: 700;
}

.nutrition-table tr.sub-row td:first-child {
    padding-left: 24px;
    color: var(--text-muted);
}

.val-bold {
    color: var(--primary);
    font-weight: 800 !important;
}

/* Sekcja kodu kreskowego */
.barcode-card {
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.barcode-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #0b0f1a;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.barcode-svg-container {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: flex;
    justify-content: center;
}

.barcode-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: #000000;
    letter-spacing: 0.2em;
    margin-top: 6px;
    font-weight: bold;
}

/* ==========================================================================
   ROZBUDOWA: INTERAKTYWNA ANKIETA WSPÓŁPRACY (WIZARD FORM)
   ========================================================================== */

.survey-wrapper {
    margin: 0 auto;
    background: rgba(22, 28, 45, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.survey-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--surface-light);
    border-radius: 10px;
    margin-bottom: 36px;
    overflow: hidden;
}

.survey-progress {
    height: 100%;
    background: var(--primary);
    width: 25%;
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.survey-step {
    display: none;
    animation: surveyFadeIn 0.5s ease forwards;
}

.survey-step.active {
    display: block;
}

@keyframes surveyFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.survey-step h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.4;
    font-weight: 700;
}

/* Krok 1 Options Layout */
.survey-options {
    display: flex;
    gap: 20px;
    flex-direction: row;
}

.btn-survey-option {
    flex: 1;
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-survey-option:hover,
.btn-survey-option.active {
    border-color: var(--primary);
    background: rgba(52, 192, 109, 0.06);
    transform: translateY(-5px);
}

.btn-survey-option.active {
    background: rgba(52, 192, 109, 0.1);
    box-shadow: 0 10px 25px rgba(52, 192, 109, 0.2);
}

.option-icon {
    font-size: 3rem;
}

.option-text {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

/* Krok 2 Grid Layout */
.survey-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.grid-option {
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-option:hover,
.grid-option.active {
    border-color: var(--primary);
    background: rgba(52, 192, 109, 0.06);
    transform: translateY(-3px);
}

.grid-option.active {
    background: rgba(52, 192, 109, 0.1);
    box-shadow: 0 8px 20px rgba(52, 192, 109, 0.15);
}

.grid-option-icon {
    font-size: 2.2rem;
}

.grid-option-label {
    font-weight: 600;
    font-size: 0.92rem;
}

/* Inputs & Form Fields */
.survey-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    margin-bottom: 20px;
}

.input-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.survey-input,
.survey-textarea {
    width: 100%;
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.survey-input:focus,
.survey-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(52, 192, 109, 0.15);
}

.survey-textarea {
    height: 120px;
    resize: none;
    line-height: 1.5;
}

/* Navigation & Pilling Buttons */
.survey-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.btn-survey-nav {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-survey-nav:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-survey-nav.btn-next {
    background: var(--primary);
    border-color: var(--primary);
    margin-left: auto;
    /* Pcha przycisk do prawej, gdy nie ma "Wstecz" */
}

.btn-prev {
    background: rgba(255, 255, 255, 0.03);
}

.btn-survey-nav.btn-next:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-survey-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Krok 4: Contact method */
.contact-method-selector {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-method-pill {
    flex: 1;
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 12px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-method-pill:hover,
.btn-method-pill.active {
    border-color: var(--primary);
    background: rgba(52, 192, 109, 0.06);
}

.btn-method-pill.active {
    color: var(--primary);
    background: rgba(52, 192, 109, 0.1);
    box-shadow: 0 4px 12px rgba(52, 192, 109, 0.1);
}

.btn-survey-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 12px 36px;
    border-radius: 100px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(52, 192, 109, 0.25);
    margin-left: auto;
}

.btn-survey-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(52, 192, 109, 0.35);
}

.btn-survey-submit:active {
    transform: scale(0.98);
}

/* Wyniki ankiety */
.survey-result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    text-align: center;
}

.result-success-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 16px;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes successPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.survey-result-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.survey-result-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 440px;
    line-height: 1.6;
}

/* Tradycyjne alternatywy kontaktowe na dole */
.contact-alternative {
    margin: 32px auto 0 auto;
    padding: 40px;
    background: rgba(22, 28, 45, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.alternative-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alternative-cards {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.alt-contact-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(11, 15, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.alt-contact-card:hover {
    background: var(--primary-light);
    border-color: rgba(52, 192, 109, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 192, 109, 0.08);
}

.alt-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
}

.alt-contact-card:hover .alt-card-icon {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(15deg);
}

.alt-card-icon svg {
    width: 20px;
    height: 20px;
}

.alt-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.alt-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.alt-card-value {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 700;
    margin-top: 2px;
    transition: color 0.3s ease;
}

.alt-contact-card:hover .alt-card-value {
    color: var(--primary);
}

/* Responsywność dla mobile */
@media (max-width: 580px) {
    .survey-wrapper {
        padding: 24px 20px;
    }

    .survey-options {
        flex-direction: column;
        gap: 12px;
    }

    .btn-survey-option {
        padding: 20px 16px;
        flex-direction: row;
        gap: 16px;
        justify-content: flex-start;
    }

    .option-icon {
        font-size: 2.2rem;
    }

    .survey-options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .grid-option {
        flex-direction: row;
        gap: 16px;
        padding: 16px;
        justify-content: flex-start;
    }

    .grid-option-icon {
        font-size: 2rem;
    }

    .alternative-cards {
        flex-direction: column;
        gap: 12px;
    }

    .alt-contact-card {
        padding: 14px 18px;
        width: 100%;
    }

    .contact-alternative {
        padding: 24px 20px;
    }
}

/* Antyspamowe style błędów weryfikacji */
.survey-input.input-error {
    border-color: #ff4b4b !important;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.25) !important;
    animation: inputShake 0.4s ease;
}

@keyframes inputShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    75% {
        transform: translateX(6px);
    }
}

/* Stylizacja Szklanego Modalu z Mapą */
.pointer {
    cursor: pointer;
}

.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
}

.map-modal.open {
    display: flex;
}

.map-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 12, 23, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

.map-modal-content {
    position: relative;
    width: 90%;
    max-width: 950px;
    height: 80%;
    max-height: 650px;
    background: rgba(22, 28, 45, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    z-index: 2501;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.map-modal-content h3 {
    margin: 0 0 4px 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.map-modal-content p {
    margin: 0 0 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2502;
    padding-bottom: 2px;
}

.map-modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.08) rotate(90deg);
}

.map-modal-iframe-container {
    flex-grow: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    background: rgba(11, 15, 26, 0.6);
}

.map-modal-iframe-container iframe {
    display: block;
    width: 100%;
    /* Google My Maps header hiding offset */
    margin-top: -55px;
    height: calc(100% + 55px);
    border: none;
}

@media (max-width: 768px) {
    .map-modal-content {
        padding: 20px 16px;
        height: 85%;
    }

    .map-modal-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .map-modal-content h3 {
        font-size: 1.25rem;
    }

    .map-modal-iframe-container iframe {
        margin-top: -46px;
        height: calc(100% + 46px);
    }
}

/* Styl linku wywołania mapy w sekcji korzyści */
.map-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.map-link:hover {
    color: #5fe493;
    transform: translateX(3px);
}


/* 
   AMOLED BLACK WEB APP THEME FOR RETAIL CLIENTS
   Robin Food & Drink - Zamówienia Detaliczne
*/

:root {
    --background: #040508; /* Super czarne tło aplikacji */
    --surface: #0b0d14;    /* Ciemne panele */
    --surface-light: #121622; /* Jaśniejsze akcenty dla list */
    --primary: #34c06d;
    --primary-dark: #238e4e;
    --text-main: #f8fafc;
    --text-muted: #8e9bb0;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-focus: rgba(52, 192, 109, 0.3);
    --shadow-premium: 0 10px 40px -10px rgba(0,0,0,0.8);
}

/* Base Overrides */
body {
    background-color: var(--background);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
}

/* Loader override for dark app */
.page-loader {
    background-color: var(--background);
}

/* Promo bar at the bottom */
.promo-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 1999; /* Below mobile bottom checkout bar (2000) */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.promo-bar.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 480px) {
    .promo-bar {
        font-size: 0.75rem;
        padding: 8px 10px;
        letter-spacing: 0.02em;
    }
}

/* Custom Header layout */
.app-header {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 24px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 16px;
    background: var(--primary);
    border-radius: 0 0 20px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    text-decoration: none;
}

.app-logo img {
    height: 56px;
    width: 79px;
    display: block;
}

.meta-pill {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
}

/* Two-column App Layout */
.app-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px 100px 24px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
}

@media (max-width: 1100px) {
    .app-layout {
        grid-template-columns: 1fr;
        padding-top: 75px;
        padding-bottom: 120px;
    }
    
    .sidebar-cart-checkout {
        display: none; /* Hidden on mobile/tablets, replaces by bottom sticky bar + bottom sheet */
    }
}

.menu-section h2 {
    text-align: left;
    margin-bottom: 6px;
    font-size: 2rem;
}

.menu-section .subtitle {
    text-align: left;
    margin-bottom: 2rem;
    margin-left: 0;
}

/* Product grid tweaks */
.app-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-focus);
    box-shadow: var(--shadow-premium);
}

.product-image {
    height: 180px;
}

.product-image h3 {
    font-size: 1.2rem;
    bottom: 15px;
    left: 20px;
}

.product-image .weight {
    bottom: 15px;
    right: 20px;
}

.product-image-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 6px 14px;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 3;
}

.product-deposit-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgb(251, 191, 36);
    color: #1e1b4b;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 3;
}

/* Product Card Retail Footer */
.product-card-action-bar {
    padding: 16px 20px 20px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card-meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-detail-link {
    background: transparent;
    border: none;
    color: var(--primary);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.product-detail-link:hover {
    color: white;
}

/* Wolt/Uber Eats style quantity buttons on cards */
.app-card-btn {
    width: 100%;
    height: 44px;
    border-radius: 100px;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    outline: none;
}

.btn-add-initial {
    background: var(--surface-light);
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.btn-add-initial:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 192, 109, 0.2);
    transform: translateY(-1px);
}

.card-qty-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    color: white;
    padding: 2px;
    box-shadow: 0 4px 15px rgba(52, 192, 109, 0.3);
}

.card-qty-control button {
    background: transparent;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.card-qty-control button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.card-qty-control span {
    font-size: 1.05rem;
    font-weight: 800;
}

/* Sidebar Checkout & Cart Container */
.sidebar-sticky-wrap {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-panel {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.sidebar-cart-panel {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sidebar-checkout-panel {
    padding: 24px;
}

.panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-body-scroll {
    flex-grow: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Wolt-like Minimum Order Progress Bar */
.progress-box {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 14px 18px;
    margin: 0 24px 20px 24px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.progress-text {
    color: var(--text-muted);
}

.progress-text strong {
    color: var(--primary);
}

.progress-container {
    width: 100%;
    background: rgba(255,255,255,0.05);
    height: 8px;
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, #00c292 100%);
    border-radius: 100px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-success-msg {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Sidebar Checkout Form Tweaks */
.sidebar-checkout-panel h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.checkout-compact-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.survey-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.input-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: left;
}

.survey-input,
.survey-textarea {
    width: 100%;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    outline: none;
    text-align: left;
}

.survey-input:focus,
.survey-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 192, 109, 0.15);
}

.survey-textarea {
    resize: none;
}

/* Delivery cost label B2C */
.delivery-tag {
    background: rgba(52, 192, 109, 0.15);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Bottom Sticky Checkout Bar for Mobile */
.bottom-sticky-checkout {
    display: none !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 13, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
    z-index: 2000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.bottom-checkout-btn-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 100px;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 192, 109, 0.3);
}

.bottom-checkout-btn-inner:disabled {
    background: var(--surface-light);
    color: var(--text-muted);
    box-shadow: none;
    border: 1px solid var(--border-color);
}

.bottom-checkout-price {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.95rem;
}

@media (max-width: 1100px) {
    .bottom-sticky-checkout {
        display: block !important;
    }
}

/* Adjust floating cart on mobile */
@media (max-width: 1100px) {
    .floating-cart-btn {
        display: none; /* Bottom bar takes over */
    }
}

/* Custom Drawer adjustments */
.product-drawer {
    z-index: 3100;
}

/* Shopping Cart Drawer (Mobilna szuflada koszyka) */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: var(--background);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    z-index: 3100;
    border-left: 1px solid var(--border-color);
    box-shadow: none; /* Zapobiega wyciekaniu cienia na ekran gdy szuflada jest zamknięta */
}

.cart-drawer.open {
    right: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 8, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 3099;
}

.cart-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
}

.cart-header h2 {
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 0 5px;
}

.cart-close:hover {
    color: #ffffff;
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    background: var(--background);
}

/* Wybór płatności (Kafelki/Pigułki) B2C */
.payment-selector {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.btn-payment-pill {
    flex: 1;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.btn-payment-pill:hover {
    border-color: var(--primary);
    color: #ffffff;
}

.btn-payment-pill.active {
    color: #ffffff;
    background: rgba(52, 192, 109, 0.1);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(52, 192, 109, 0.15);
}

.btn-payment-pill-icon {
    font-size: 1.2rem;
}

/* Przycisk kasy B2C */
.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 14px 24px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(52, 192, 109, 0.2);
    display: block;
    text-align: center;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 192, 109, 0.3);
}

.btn-checkout:disabled {
    background: var(--surface-light);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Summary Rows in forms */
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-summary-row.total {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

/* Empty State B2C */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

/* Shopping Cart Item Styling - preventing giant images */
.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--surface-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.cart-item:hover {
    border-color: var(--border-focus);
}

.cart-item-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px;
    object-fit: cover;
    background: #000;
    flex-shrink: 0;
}

.cart-item-details {
    flex-grow: 1;
    min-width: 0; /* Prevents overflow of text */
}

.cart-item-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-weight {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.btn-qty-minus-action,
.btn-qty-plus-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-qty-minus-action:hover,
.btn-qty-plus-action:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.cart-item-qty {
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 15px;
    text-align: center;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
}

.cart-item-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1rem;
}

.btn-remove-item-action {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 2px;
}

.btn-remove-item-action:hover {
    opacity: 1;
}

/* Stylizacja przycisku "Dodaj do koszyka" w szufladzie szczegółów produktu B2C */
.drawer-add-to-cart-wrap {
    margin-top: 15px;
    width: 100%;
}

.drawer-add-to-cart-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 100px;
    padding: 14px 24px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(52, 192, 109, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.drawer-add-to-cart-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(52, 192, 109, 0.4);
    transform: translateY(-1px);
}

.drawer-add-to-cart-btn:active {
    transform: translateY(1px);
}

/* Ukrycie pływających ikon kontaktu (Napisz / Zadzwoń) - zachowane w HTML */
.floating-action-bar {
    display: none !important;
}

/* Retail Info Section (O nas & Strefa dostawy) */
/* Retail Info Section (O nas & Strefa dostawy) */
.retail-info-section {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-card {
    background: linear-gradient(135deg, #161c2d 0%, #0b0f1a 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glowing ambient backgrounds for cards */
.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 192, 109, 0.03) 0%, transparent 70%);
    pointer-events: none;
    transition: all 0.4s ease;
}

.delivery-zone-card::before {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.03) 0%, transparent 70%);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 192, 109, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(52, 192, 109, 0.05);
}

.delivery-zone-card:hover {
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(239, 68, 68, 0.05);
}

.info-card h3 {
    margin-bottom: 24px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.delivery-highlight-text {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.delivery-time-text {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.districts-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.districts-list li {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.districts-list li:hover {
    transform: scale(1.05);
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.delivery-hours {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

/* Map Container B2C */
.map-container {
    background: rgba(22, 28, 45, 0.4);
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.delivery-map-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease;
}

.delivery-map-image:hover {
    transform: scale(1.01);
}

.map-caption {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-weight: 600;
}

/* USP Info Grid */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .usp-grid {
        grid-template-columns: 1fr;
    }
}

.usp-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.usp-card:hover {
    background: rgba(52, 192, 109, 0.04);
    border-color: rgba(52, 192, 109, 0.2);
    transform: translateY(-3px);
}

.usp-icon-box {
    font-size: 2.2rem;
    line-height: 1;
    background: rgba(52, 192, 109, 0.1);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(52, 192, 109, 0.1);
}

.usp-card:hover .usp-icon-box {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(52, 192, 109, 0.3);
}

.usp-info > strong {
    color: #ffffff;
    display: block;
    margin-bottom: 6px;
    font-size: 1.15rem;
    font-weight: 700;
}

.usp-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Premium Footer */
.app-footer {
    background: var(--surface);
    border-top: 1px solid var(--border-color);
    padding: 60px 24px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 8px rgba(52, 192, 109, 0.2));
}

.footer-info {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
}

.footer-info strong {
    color: #ffffff;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

.footer-contact-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.footer-contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-contact-link:hover {
    color: var(--primary-dark);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    padding-top: 24px;
    margin-top: 12px;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copyright a:hover {
    color: var(--primary);
}

/* Usprawnienia responsywności i równomiernych marginesów na telefonach */
@media (max-width: 768px) {
    .app-layout {
        padding-left: 16px;
        padding-right: 16px;
        gap: 20px;
    }

    .app-product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-card {
        padding: 24px 20px;
    }

    .app-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Wyłączenie ciężkich animacji hover na urządzeniach dotykowych */
@media (hover: none) {
    .product-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .product-card:hover .product-image img:not(.label-badge) {
        transform: none;
    }

    .product-card:hover .label-badge {
        transform: none;
    }

    .info-card:hover {
        transform: none;
    }

    .usp-card:hover {
        transform: none;
    }

    .districts-list li:hover {
        transform: none;
    }
}
