/* ===== Przystań Pupila — nowoczesny redesign (mint) ===== */

:root {
    --mint-50: #f0fdf6;
    --mint-100: #dcf9ec;
    --mint-200: #b6f1d3;
    --mint-300: #7ee2b0;
    --mint-400: #4dd08e;
    --mint-500: #26b06d;
    --mint-600: #198a53;
    --mint-700: #176d43;
    --mint-800: #165639;
    --mint-900: #13472f;

    --cream: #fbfaf7;
    --cream-warm: #f4f2ea;

    --bg: #ffffff;
    --bg-soft: var(--mint-50);
    --green: var(--mint-500);
    --green-dark: var(--mint-700);
    --green-light: var(--mint-200);
    --green-pale: var(--mint-100);
    --green-mid: var(--mint-400);
    --text: #1c2b25;
    --text-muted: #5f6f69;
    --border: #e4ede9;
    --accent: var(--mint-600);
    --radius: 1.6rem;
    --radius-sm: 1rem;
    --radius-pill: 999px;
    --shadow: 0 18px 50px rgba(25, 138, 83, 0.10);
    --shadow-sm: 0 6px 22px rgba(25, 138, 83, 0.07);
    --shadow-card: 0 12px 34px rgba(20, 71, 47, 0.06);
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    /* clip (nie hidden) — nie tworzy scroll-containera, więc nie psuje position:sticky */
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--green-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ===== Buttons ===== */
.btn, .btn-small, .btn-outline, .btn-ghost, .btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-align: center;
    font-family: var(--font-body);
}

.btn {
    background: var(--green);
    color: #fff;
    box-shadow: 0 6px 18px rgba(25, 138, 83, 0.28);
}

.btn:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(25, 138, 83, 0.32);
}

.btn-small { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.1rem; }

.btn-outline {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--green);
    color: #fff;
}

.btn-ghost {
    background: var(--green-pale);
    color: var(--green-dark);
    box-shadow: none;
}

.btn-ghost:hover { background: var(--green-light); color: var(--green-dark); }

.btn-white {
    background: #fff;
    color: var(--green-dark);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover { background: var(--green-50); color: var(--green-dark); }

/* ===== Top bar ===== */
.announce-bar {
    background: var(--mint-100);
    color: var(--green-dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    padding: 0.65rem 0;
}

.announce-bar .container { display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.announce-bar svg { width: 16px; height: 16px; flex-shrink: 0; }
.announce-bar a { color: var(--green-dark); text-decoration: underline; font-weight: 700; }
.ann-desktop { display: inline; }
.ann-mobile { display: none; }

/* ===== Header / Nav ===== */
.site-header {
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 200;
    transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    position: relative;
}

.nav-mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.logo svg { width: 34px; height: 34px; fill: var(--green); }
.logo-img { height: 60px; width: auto; display: block; object-fit: contain; }
.footer-brand .logo .logo-img { height: 80px; }
.auth-card .logo-mark .logo-img { height: 96px; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.main-nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.35rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--green);
    border-radius: 2px;
    transition: width var(--transition);
}

.main-nav a:hover::after { width: 100%; }

.nav-tools {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: 0.5rem;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green-pale);
    color: var(--green-dark);
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-icon svg { width: 20px; height: 20px; }
.nav-icon:hover { background: var(--green); color: #fff; transform: scale(1.05); }

.cart-icon { position: relative; }

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--green);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
    border: 2px solid #fff;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(25, 138, 83, 0.25);
}

.nav-cta:hover { background: var(--green-dark); color: #fff; }

/* dropdown konta w nawigacji */
.user-menu { position: relative; }
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    padding: 0.45rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 50;
}
.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown a {
    padding: 0.65rem 0.9rem;
    border-radius: 9px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}
.user-dropdown a:hover { background: var(--green-pale); color: var(--green-dark); }
.user-dropdown a.logout { color: #c0392b; }
.user-dropdown a.logout:hover { background: #fdecea; color: #c0392b; }

.mobile-only { display: none; }
.desktop-only { display: flex; }

/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    gap: 0;
    z-index: 10000;
    position: relative;
    box-shadow: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--green-dark);
    border-radius: 3px;
    margin: 3px auto;
    transition: transform 0.3s, opacity 0.3s;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 99;
}

body.nav-open .mobile-nav-backdrop { opacity: 1; pointer-events: auto; }

/* ===== Hero ===== */
.hero {
    background: var(--cream);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-left { z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--green);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    margin-bottom: 1.25rem;
    color: var(--green-dark);
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero .hero-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transform: rotate(-2deg);
    display: inline-block;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-list li { display: flex; align-items: center; gap: 0.7rem; }
.hero-list svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }

.hero-visual { position: relative; }

.hero-visual img {
    border-radius: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 90%;
    height: 100%;
    background: var(--green-pale);
    border-radius: 2.5rem;
    z-index: 1;
}

.hero-floating {
    position: absolute;
    bottom: 1.5rem;
    left: -1.5rem;
    background: #fff;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    font-weight: 700;
    color: var(--green-dark);
    animation: float 4s ease-in-out infinite;
}

.hero-floating svg { color: var(--green); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--cream); }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--green-dark);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

/* ===== Stats ===== */
.stats { padding: 3rem 0; background: #fff; border-bottom: 1px solid var(--border); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--green);
    line-height: 1;
    font-weight: 800;
}

.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.4rem; font-weight: 500; }

/* ===== Trust strip ===== */
.trust-strip { padding: 2.5rem 0; background: var(--bg-soft); }
.trust-strip .container { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }
.trust-item .stars { color: #f0b429; letter-spacing: 2px; }
.trust-item strong { color: var(--green-dark); }

/* ===== Feature grid ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }

.feature-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.feature-icon svg { width: 24px; height: 24px; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 0.35rem; color: var(--green-dark); }
.feature-item p { font-size: 0.95rem; color: var(--text-muted); }

/* ===== Category picks ===== */
.category-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }

.category-pick {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--green-pale);
    border-radius: 999px;
    padding: 0.5rem 0.6rem 0.5rem 0.5rem;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.category-pick:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.category-pick-info { display: flex; align-items: center; gap: 0.9rem; }
.category-pick img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.category-pick span { font-weight: 700; color: var(--green-dark); font-size: 1.05rem; }
.category-pick .btn-small { background: var(--green-dark); white-space: nowrap; }

.category-picks-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.category-pick-large {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.category-pick-large:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.category-pick-large img { width: 100%; height: 150px; object-fit: cover; border-radius: 0; }
.category-pick-large span { padding: 1rem; font-size: 1rem; color: var(--green-dark); text-align: center; width: 100%; font-weight: 700; }

/* ===== Service cards (wizyty / usługi) ===== */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 100%; margin: 0 auto; align-items: stretch; }

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: inherit;
    min-height: 300px;
}

.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.service-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.service-icon svg { width: 34px; height: 34px; }

.service-info { flex: 1; }
.service-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--green-dark); }
.service-info p { color: var(--text-muted); font-size: 0.95rem; }

.service-price { font-size: 1.6rem; font-weight: 800; color: var(--green-dark); white-space: nowrap; margin-top: auto; }

/* ===== Team circle ring ===== */
.team-ring-section { background: var(--cream); text-align: center; }

.team-ring {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-ring-text { position: relative; z-index: 2; max-width: 420px; }
.team-ring-text h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; color: var(--green-dark); }
.team-ring-text p { color: var(--text-muted); margin-bottom: 1.5rem; }

.team-avatar {
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: var(--shadow-card);
    object-fit: cover;
    transition: transform var(--transition);
}

.team-avatar:hover { transform: scale(1.08); z-index: 3; }

.team-avatar:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.team-avatar:nth-child(2) { top: 18%; right: 8%; }
.team-avatar:nth-child(3) { top: 55%; right: 0; }
.team-avatar:nth-child(4) { bottom: 0; right: 20%; }
.team-avatar:nth-child(5) { bottom: 0; left: 20%; }
.team-avatar:nth-child(6) { top: 55%; left: 0; }
.team-avatar:nth-child(7) { top: 18%; left: 8%; }

.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Chat / about section ===== */
.chat-section { background: var(--cream); }
.chat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.chat-visual { position: relative; }
.chat-visual img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-card); aspect-ratio: 4/3; object-fit: cover; }

.chat-bubble {
    position: absolute;
    background: #fff;
    padding: 0.9rem 1.2rem;
    border-radius: 1.4rem;
    box-shadow: var(--shadow-card);
    font-weight: 600;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.chat-bubble.mint { background: var(--green); color: #fff; }
.chat-bubble.left { bottom: 1.5rem; left: -1rem; border-bottom-left-radius: 0.3rem; }
.chat-bubble.right { top: 1.5rem; right: -1rem; border-bottom-right-radius: 0.3rem; }

.chat-text h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.chat-text p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

.step-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.step-item:hover { transform: translateY(-5px); }

.step-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0 auto 1.1rem;
    box-shadow: 0 6px 16px rgba(25, 138, 83, 0.22);
}

.step-item h3 { font-family: var(--font-heading); color: var(--green-dark); margin-bottom: 0.5rem; font-size: 1.2rem; }
.step-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.review-card .stars { color: #f0b429; letter-spacing: 1px; display: block; margin-bottom: 0.75rem; }
.review-card p { color: var(--text-muted); margin-bottom: 1.25rem; font-style: italic; line-height: 1.7; }
.review-card strong { color: var(--green-dark); font-size: 0.95rem; font-weight: 700; }

/* ===== Product cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }

.card-grid .card { animation: fadeInUp 0.45s ease-out; }

.card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eceff0;
    box-shadow: 0 1px 4px rgba(23,38,30,.05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,38,30,.12); border-color: #dfe8e2; }

.card-img { width: 100%; aspect-ratio: 4 / 3; height: auto; display: block; overflow: hidden; background: #f2f6f3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }

.card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; gap: .35rem; }

.card-title { font-size: .98rem; line-height: 1.3; margin: 0; color: #22312a; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.55em; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--green); }
/* cała karta klikalna */
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }

.card-text { display: none; }

.card-price { font-weight: 800; color: var(--green-dark); font-size: 1.15rem; margin: 0; letter-spacing: -.01em; }

.card-img-wrap { position: relative; }

.card-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    background: rgba(20,34,27,.88);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.card-badge.promo { background: #d94f4f; }
.card-badge.new { background: #3d7cbf; }

.card-quick-add {
    position: absolute;
    bottom: 0.65rem;
    right: 0.65rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(23,38,30,.22);
    z-index: 2;
    transition: background .18s ease, transform .18s ease;
}

.card-quick-add:hover { background: var(--green-dark); transform: scale(1.07); }
.card-quick-add svg { width: 19px; height: 19px; }

.card-rating { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: #8a9a90; }

.card-body .btn { width: 100%; justify-content: center; }
.card-rating .stars { color: #f0b429; letter-spacing: 1px; font-size: 0.8rem; }

.card-price-row { display: flex; align-items: baseline; gap: 0.55rem; margin-top: auto; }
.card-price-old { text-decoration: line-through; color: #9aa8a0; font-size: 0.88rem; font-weight: 500; }

/* ===== Carousel ===== */
.carousel-wrap { position: relative; }

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .card { min-width: 280px; scroll-snap-align: start; flex-shrink: 0; }

.carousel-arrow {
    position: absolute;
    top: 40%;
    right: -1.2rem;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-dark);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    z-index: 5;
    transition: background var(--transition), transform var(--transition);
}

.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover { background: var(--green); transform: translateY(-50%) scale(1.05); }

/* ===== Newsletter ===== */
.newsletter {
    background: var(--green-dark);
    color: #fff;
    padding: 4.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter h2 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.newsletter p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    max-width: 640px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: 0.95rem 1.25rem;
    border-radius: 999px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    min-width: 220px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    outline: none;
    flex: 1;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.65); }
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.2); background: rgba(255,255,255,0.18); }

.newsletter .btn {
    background: #fff;
    color: var(--green-dark);
    box-shadow: none;
}

.newsletter .btn:hover { background: var(--mint-100); color: var(--green-dark); }

/* ===== Footer ===== */
.site-footer {
    background: var(--cream-warm);
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding: 1.75rem 0 1.25rem;
}

.footer-brand {
    text-align: center;
    margin-bottom: 1.25rem;
}
.footer-brand .logo { display: inline-block; margin-bottom: 0.5rem; }
.footer-brand .logo-img { height: 64px; width: auto; }
.footer-brand-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--green-dark);
    font-size: 1.1rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    margin-bottom: 1.25rem;
}
.footer-legal a {
    color: var(--text-muted);
    font-size: 0.93rem;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-legal a:hover { color: var(--green); text-decoration: underline; }

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Shop ===== */
.shop-layout { display: block; }
.shop-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    border-left: 1px solid var(--border);
    padding: 1.5rem;
    z-index: 300;
    overflow-y: auto;
    transform: translateX(2.5rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s, visibility 0.3s;
}
body.filters-open .shop-sidebar { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; }
.shop-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.shop-sidebar-header h4 { margin: 0; font-size: 1.25rem; }
.shop-sidebar-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
}
.shop-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 299;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
body.filters-open .shop-sidebar-backdrop { opacity: 1; pointer-events: auto; }
.shop-sidebar h4 { font-family: var(--font-heading); color: var(--green-dark); font-size: 1.05rem; margin-bottom: 0.85rem; font-weight: 700; }

.filter-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.filter-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text);
    font-size: 0.92rem;
    padding: 0.45rem 0.7rem;
    border-radius: 0.6rem;
    transition: background var(--transition);
}

.filter-list a:hover { background: var(--green-pale); color: var(--green-dark); }
.filter-list a.active { background: var(--green); color: #fff; font-weight: 700; }
.filter-list a span { opacity: 0.75; font-size: 0.85rem; }

.price-filter { display: flex; align-items: center; gap: 0.5rem; }
.price-filter input { width: 100%; padding: 0.55rem 0.7rem; border-radius: 0.6rem; border: 1px solid var(--border); font-size: 0.9rem; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.shop-search { display: flex; align-items: center; gap: 0.5rem; flex: 1; max-width: 360px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 0.55rem 1rem; }
.shop-search svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.shop-search input { border: none; outline: none; width: 100%; font-size: 0.92rem; background: transparent; }

.shop-sort select { padding: 0.6rem 1rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text); background: #fff; font-size: 0.9rem; }

.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    font-size: 0.9rem; font-weight: 700; color: var(--text);
    border: 1px solid var(--border); background: #fff;
    transition: background var(--transition), color var(--transition);
}

.pagination a:hover { background: var(--green-pale); }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }

/* ===== Product detail ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-detail img { border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; }
.product-title { font-size: 2rem; margin: 0.5rem 0; font-weight: 800; }
.product-brand { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.product-rating-large { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; color: var(--text); }
.product-rating-large .stars { color: #f0b429; }
.product-short-desc { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; }

/* ===== Forms ===== */
.form { max-width: 520px; margin: 0 auto; background: #fff; padding: 2.5rem; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

.form label { display: block; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.9rem; color: var(--green-dark); }
.form input, .form select, .form textarea {
    width: 100%; padding: 0.95rem 1.1rem; margin-bottom: 1.1rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 1rem; background: #fff; color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(77, 208, 142, 0.15);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.page-header { padding-top: 3.5rem; padding-bottom: 1rem; text-align: center; background: var(--cream); }

/* ===== Shop hero ===== */
.shop-hero {
    position: relative;
    min-height: 28vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: url('/images/shop-hero.png?v=1') no-repeat center/cover;
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
}
.shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}
.shop-hero .container { position: relative; z-index: 1; }
.shop-hero .section-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
    margin-bottom: 0.5rem;
}
.shop-hero .section-subtitle {
    color: rgba(255,255,255,0.92);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.breadcrumb { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--green); }

/* ===== About page ===== */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    padding: 6rem 0 4rem;
    color: #fff;
    overflow: hidden;
}
.about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,51,41,0.85) 0%, rgba(31,51,41,0.4) 60%, rgba(31,51,41,0.2) 100%);
    z-index: 1;
}
.about-hero-content {
    position: relative;
    z-index: 2;
}
.about-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 0.5rem;
}
.about-hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.about-hero-lead {
    font-size: 1.15rem;
    max-width: 540px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.about-intro { padding: 5rem 0; text-align: center; }
.about-intro-content { max-width: 720px; margin: 0 auto; }
.about-intro-content p { color: var(--text-muted); margin-bottom: 1rem; }
.about-signature {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.about-signature strong {
    display: block;
    color: var(--green-dark);
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}
.about-signature span {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.about-intro-media {
    max-width: 720px;
    margin: 2.5rem auto 0;
}
.about-intro-media img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.about-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.about-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.about-card-body {
    padding: 1.5rem;
    text-align: center;
}
.about-card-body h3 {
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}
.about-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-gallery { padding: 5rem 0; }
.about-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 1rem;
    margin-top: 2.5rem;
}
.about-masonry img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
}
.about-masonry img:nth-child(1) { grid-column: span 2; }
.about-masonry img:nth-child(2) { grid-column: span 2; }
.about-masonry img:nth-child(3) { grid-row: span 2; }
.about-masonry img:nth-child(5) { grid-column: span 2; }

.about-stats { background: var(--cream); }
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.about-stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--green-dark);
    display: block;
    line-height: 1;
}
.about-stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    display: block;
}

.about-reviews { background: var(--bg-soft); }
.about-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.about-review {
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.about-review p {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: center;
}
.about-review strong {
    color: var(--green-dark);
}

.about-cta {
    position: relative;
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.about-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 24, 22, 0.82);
    z-index: 0;
}
.about-cta-content {
    position: relative;
    z-index: 1;
}
.about-cta-content .section-title { color: #fff; }
.about-cta-content .section-subtitle { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }

@media (max-width: 1024px) {
    .about-intro-media img { min-height: 220px; }
}

@media (max-width: 900px) {
    .about-hero { min-height: 60vh; padding: 5rem 0 3rem; }
    .about-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-intro-media { order: -1; }
    .about-intro-media img { min-height: 200px; }
    .about-cards { grid-template-columns: 1fr; }
    .about-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .about-masonry img:nth-child(1),
    .about-masonry img:nth-child(2),
    .about-masonry img:nth-child(3),
    .about-masonry img:nth-child(5) { grid-column: span 1; grid-row: span 1; }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .about-review-grid { grid-template-columns: 1fr; }
}

/* ===== Mobile ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
    .team-ring { min-height: 420px; }
    .team-avatar { width: 72px; height: 72px; }
    .chat-grid { grid-template-columns: 1fr; }
    .chat-visual { order: -1; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-container { padding: 0.75rem 1.15rem; }
    .main-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: -webkit-fill-available;
        height: 100dvh;
        background: #fff;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        padding: 6rem 1.5rem 2rem;
        gap: 0.5rem;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transform: translateX(2.5rem);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s, visibility 0.35s;
        z-index: 9999;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
        border-top: none;
        margin: 0;
    }

    body.nav-open .main-nav { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; }

    .main-nav a {
        display: block;
        font-size: 1.1rem;
        font-weight: 700;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .main-nav a::after { display: none; }
    .main-nav a.nav-cta {
        width: 100%;
        padding: 0.85rem 1.2rem;
        border: none;
        border-radius: 999px;
        font-size: 1rem;
        background: var(--green);
        color: #fff;
        box-shadow: 0 4px 14px rgba(25, 138, 83, 0.25);
        margin-top: 0.75rem;
    }

    .main-nav a.nav-cta:hover { background: var(--green-dark); color: #fff; }

    .nav-tools { display: none; }

    .nav-mobile-bottom {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        width: 100%;
        margin: auto 0 1.5rem 0;
        padding-top: 1.5rem;
    }

    .nav-login-btn {
        display: inline-block;
        align-self: center;
        width: auto;
        min-width: 140px;
        max-width: 100%;
        text-align: center;
        padding: 0.45rem 1.1rem;
        border-radius: 999px;
        font-weight: 500;
        font-size: 0.85rem;
        text-decoration: none;
        background: var(--green-pale);
        color: var(--green);
        border: 1px solid var(--green-light);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .nav-login-btn--outline {
        background: #fff;
        color: var(--green);
        border: 1.5px solid var(--green);
        box-shadow: none;
    }

    .nav-mobile-bottom .nav-login-btn:hover,
    .nav-mobile-bottom .nav-login-btn:active { background: var(--green-light); color: var(--green-dark); }
    .nav-mobile-bottom .nav-login-btn--outline:hover,
    .nav-mobile-bottom .nav-login-btn--outline:active { background: var(--green-pale); color: var(--green-dark); }

    .mobile-only { display: flex; }
    .desktop-only { display: none; }

    .ann-desktop { display: none; }
    .ann-mobile { display: inline; }
    .announce-bar { font-size: 0.75rem; padding: 0.5rem 0; }
    .announce-bar .container { display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.35rem; }

    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { order: -1; max-width: 560px; margin: 0 auto; }
    .hero-floating { display: none; }

    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: fixed; width: 100%; max-width: 100%; }
    .shop-toolbar { flex-direction: column; align-items: stretch; }
    .shop-search { max-width: 100%; }

    .product-detail, .two-col, .checkout-grid, .auth-split { grid-template-columns: 1fr; }
}

/* ===== Strona auth — split z nakładką ===== */
.auth-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    min-height: calc(100vh - 72px);
    background: var(--cream);
}
.auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    background:
        radial-gradient(680px 460px at -10% -10%, var(--green-pale) 0%, transparent 60%),
        radial-gradient(500px 360px at 110% 110%, #fdf3e3 0%, transparent 55%),
        var(--cream);
}
.auth-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(20, 71, 47, 0.10), 0 3px 10px rgba(20, 71, 47, 0.05);
    padding: 2.4rem 2.4rem 2rem;
    text-align: center;
}
.auth-card .logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    text-decoration: none;
}
.auth-card .logo-mark .logo-img { height: 62px; width: auto; }
.auth-card h1 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    margin-bottom: 0.35rem;
    color: var(--green-dark);
    letter-spacing: -0.01em;
}
.auth-card .auth-subtitle {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 1.6rem;
    line-height: 1.5;
}
.auth-card .form {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: left;
}
.auth-card .form label {
    font-weight: 700;
    font-size: 0.82rem;
    color: #3d5049;
    display: block;
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}
.auth-card .label-hint { font-weight: 500; color: var(--text-muted); font-size: 0.75rem; }
.auth-card .form input {
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.98rem;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: #fbfdfc;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.auth-card .form input::placeholder { color: #a8b8b0; }
.auth-card .form input:focus {
    outline: none;
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.12);
}
/* pola z ikoną + przycisk oka */
.input-wrap { position: relative; }
.input-wrap .field-icon {
    position: absolute; left: 14px; top: 20px;
    width: 18px; height: 18px; color: #9fb3aa; pointer-events: none;
}
.input-wrap input { padding-left: 2.75rem !important; }
.input-wrap input:last-child { padding-right: 2.6rem !important; }
.pw-toggle {
    position: absolute; right: 10px; top: 12px;
    background: none; border: 0; color: #9fb3aa; cursor: pointer;
    padding: 4px; display: flex; border-radius: 8px;
}
.pw-toggle:hover { color: var(--green-dark); background: var(--green-pale); }
.pw-toggle.on { color: var(--green); }
.pw-toggle svg { width: 18px; height: 18px; }
/* dwie kolumny w rejestracji */
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.8rem; }
.auth-card .form-2col input:last-child { padding-left: 1rem !important; }
/* hasło: label + link zapomniane */
.auth-card .password-field {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}
.auth-card .password-field label { margin: 0; }
.forgot-link {
    font-size: 0.8rem;
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}
.forgot-link:hover { color: var(--green-dark); text-decoration: underline; }
/* komunikaty */
.auth-card .alert {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 1.15rem;
    text-align: left;
    border-left: 4px solid;
}
.auth-card .alert-error { border-left-color: #c0392b; }
.auth-card .alert-success { border-left-color: var(--green); }
/* przycisk główny */
.auth-card .form .btn,
.auth-card .btn.w-100 {
    width: 100%;
    margin-top: 0.3rem;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    border: 0;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 22px rgba(25, 138, 83, 0.28);
    transition: transform 0.15s, box-shadow 0.15s;
}
.auth-card .form .btn:hover,
.auth-card .btn.w-100:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(25, 138, 83, 0.34);
}
.auth-card .form .btn:active { transform: translateY(0); }
/* regulamin */
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0.15rem 0 1.1rem;
    padding: 0.7rem 0.85rem;
    background: var(--green-pale);
    border-radius: 12px;
    text-align: left;
}
.checkbox-row input[type="checkbox"] {
    width: 18px; height: 18px; min-width: 18px;
    margin: 0.1rem 0 0;
    accent-color: var(--green);
    cursor: pointer;
}
.checkbox-row label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
    margin: 0;
}
.checkbox-row a { color: var(--green-dark); font-weight: 700; }
/* linki pod formularzem */
.auth-card .text-center {
    text-align: center;
    margin-top: 1.3rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-card .text-center a { color: var(--green); font-weight: 700; text-decoration: none; }
.auth-card .text-center a:hover { text-decoration: underline; }
/* reset link */
.reset-link-label { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 0.35rem; }
.reset-link {
    display: block; word-break: break-all; font-size: 0.9rem;
    color: var(--green); font-weight: 600; text-decoration: underline;
    margin-bottom: 1rem;
}
/* strona wizualna z nakładką */
.auth-visual {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    height: 100%;
}
.auth-visual img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.auth-visual::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15, 45, 31, 0.82) 0%, rgba(15, 45, 31, 0.25) 45%, rgba(15, 45, 31, 0.05) 100%);
}
.auth-visual-content {
    position: absolute; z-index: 1;
    left: 0; right: 0; bottom: 0;
    padding: 2.5rem 2.8rem;
    color: #fff;
}
.auth-visual-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 1rem;
    max-width: 26rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.auth-visual-points {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 0.55rem;
}
.auth-visual-points li {
    display: flex; align-items: center; gap: 0.65rem;
    font-size: 0.92rem; font-weight: 600;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.auth-visual-points svg {
    width: 20px; height: 20px; flex-shrink: 0;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    padding: 3px;
    box-sizing: content-box;
}

@media (max-width: 900px) {
    .auth-split { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .auth-form-wrap { padding: 2rem 1.25rem; }
    .auth-card { padding: 2rem 1.5rem; }
}

@media (max-width: 640px) {
    .auth-split { min-height: calc(100vh - 140px); }
    .auth-form-wrap { padding: 1.4rem 1rem; align-items: flex-start; }
    .auth-card {
        padding: 1.6rem 1.2rem;
        border-radius: 20px;
        box-shadow: 0 14px 40px rgba(20, 71, 47, 0.10);
    }
    .auth-card h1 { font-size: 1.55rem; }
    .auth-card .logo-mark .logo-img { height: 52px; }
    .form-2col { grid-template-columns: 1fr; }
}

.status {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.status-new { background: #e8f5e9; color: #2e7d32; }
.status-paid, .status-completed, .status-delivered { background: #e0f2f1; color: #00695c; }
.status-pending, .status-in_progress, .status-shipped { background: #fff3e0; color: #ef6c00; }
.status-cancelled { background: #fbe8e6; color: #c0392b; }

.empty, .empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1.5rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border: 1.5px dashed var(--border);
}
.empty-state .btn { margin-top: 1rem; }

/* Page header */
.acc-eyebrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--green); font-weight: 800; font-size: 0.76rem;
    text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 0.4rem;
}
.acc-page-header { margin-bottom: 1.75rem; }
.acc-page-title { font-size: clamp(1.55rem, 3vw, 2.05rem); margin: 0 0 0.35rem; color: var(--green-dark); }
.acc-page-subtitle { color: var(--text-muted); font-size: 0.98rem; margin: 0; }
.acc-actions-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 1.75rem; }

/* Stat cards */
.acc-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.acc-stats-grid > *, .acc-card, .acc-item-card { min-width: 0; }
.acc-stat-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-card); padding: 1.25rem; display: flex; align-items: center; gap: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.acc-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.acc-stat-icon {
    width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--green-pale); color: var(--green-dark); flex-shrink: 0;
}
.acc-stat-icon svg { width: 22px; height: 22px; }
.acc-stat-value { font-size: 1.3rem; font-weight: 800; color: var(--green-dark); line-height: 1.1; }
.acc-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }

/* Generic section card */
.acc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.75rem; align-items: start; }
.acc-grid-2 > * { min-width: 0; }
.acc-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-card); padding: 1.5rem;
}
.acc-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.acc-card-title { font-size: 1.05rem; margin: 0; color: var(--green-dark); display: flex; align-items: center; gap: 0.5rem; }
.acc-card-title svg { width: 18px; height: 18px; color: var(--green); }
.acc-section-title { font-size: 1.2rem; margin: 2rem 0 1rem; color: var(--green-dark); display: flex; align-items: center; gap: 0.5rem; }
.acc-section-title svg { width: 20px; height: 20px; color: var(--green); }

/* Profile card */
.acc-profile-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.acc-profile-row:last-of-type { border-bottom: 0; }
.acc-profile-row span:first-child { color: var(--text-muted); }
.acc-profile-row span:last-child { font-weight: 700; color: var(--text); text-align: right; }

/* Loyalty card component */
.loyalty-card-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.loyalty-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 60px rgba(20, 71, 47, 0.18), 0 4px 14px rgba(20, 71, 47, 0.08);
    isolation: isolate;
}
.loyalty-card--large { max-width: 380px; }
.loyalty-card--compact { max-width: 300px; }
.loyalty-card-points-badge {
    position: absolute; top: 14px; right: 14px; z-index: 5;
    background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(6px);
    color: var(--green-dark); font-weight: 800; font-size: 0.76rem;
    padding: 0.32rem 0.7rem; border-radius: 999px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.loyalty-card-top {
    background: #fff; padding: 2.1rem 1.5rem 3.2rem; text-align: center; position: relative; z-index: 1;
}
.loyalty-card--compact .loyalty-card-top { padding: 1.5rem 1.25rem 2.4rem; }
.loyalty-card-top img.loyalty-barcode { margin: 0 auto; max-height: 68px; width: auto; }
.loyalty-card--compact .loyalty-card-top img.loyalty-barcode { max-height: 50px; }
.loyalty-card-code {
    display: block; margin-top: 0.6rem; font-family: 'Courier New', monospace;
    letter-spacing: 0.14em; font-size: 0.85rem; color: var(--text-muted);
}
.loyalty-card-bottom {
    position: relative; margin-top: -2.4rem; padding: 3.2rem 1.6rem 1.4rem;
    background: linear-gradient(135deg, var(--mint-400) 0%, var(--green) 45%, var(--green-dark) 100%);
    clip-path: polygon(0 18%, 100% 0%, 100% 100%, 0% 100%);
    color: #fff; text-align: center; min-height: 190px;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 0.3rem;
}
.loyalty-card--compact .loyalty-card-bottom { padding: 2.4rem 1.25rem 1.1rem; min-height: 148px; }
.loyalty-card-bottom::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
    background-size: 16px 16px; opacity: 0.5; pointer-events: none;
}
.loyalty-card-brand {
    display: inline-flex; align-items: center; gap: 0.5rem; align-self: center;
    background: rgba(255, 255, 255, 0.18); padding: 0.4rem 0.9rem; border-radius: 999px;
    font-family: var(--font-heading); font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em;
    margin-bottom: 1rem; position: relative; z-index: 1;
}
.loyalty-card-holder { position: relative; z-index: 1; }
.loyalty-card-holder strong { display: block; font-size: 1.05rem; font-weight: 800; }
.loyalty-card-holder span { display: block; font-size: 0.76rem; opacity: 0.88; margin-top: 0.15rem; text-transform: uppercase; letter-spacing: 0.05em; }
.loyalty-card-ribbon {
    position: relative; z-index: 1; margin-top: 1.1rem;
    background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px; padding: 0.6rem; font-weight: 800; font-size: 0.76rem;
    text-transform: uppercase; letter-spacing: 0.12em; backdrop-filter: blur(4px);
}
.loyalty-card-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }

/* Recommendation tiles (Polecane dla Ciebie) */
.acc-reco-list { display: grid; gap: 0.6rem; min-width: 0; }
.acc-reco-item { min-width: 0;
    display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem;
    border-radius: var(--radius-sm); background: var(--bg-soft);
    text-decoration: none; color: var(--text); transition: background 0.2s;
}
.acc-reco-item:hover { background: var(--green-pale); }
.acc-reco-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #fff; }
.acc-reco-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.acc-reco-info strong { font-size: 0.88rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.acc-reco-price { font-size: 0.85rem; font-weight: 800; color: var(--green-dark); }
.acc-reco-price s { font-weight: 500; color: var(--text-muted); margin-left: 0.35rem; }
.acc-reco-arrow { color: var(--text-muted); flex-shrink: 0; display: flex; }
.acc-reco-arrow svg { width: 16px; height: 16px; }

/* Transactions / promo mini lists */
.acc-tx-list { list-style: none; margin: 0; padding: 0; }
.acc-tx-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.acc-tx-item:last-child { border-bottom: 0; }
.acc-tx-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--green-pale); color: var(--green-dark); flex-shrink: 0; }
.acc-tx-icon.sub { background: #fbe8e6; color: #c0392b; }
.acc-tx-icon svg { width: 16px; height: 16px; }
.acc-tx-desc { flex: 1; min-width: 0; font-size: 0.88rem; color: var(--text); overflow-wrap: break-word; }
.acc-tx-points { font-weight: 800; font-size: 0.9rem; }
.tx-add, .acc-tx-points.add { color: var(--green); }
.tx-subtract, .acc-tx-points.subtract { color: #c0392b; }

.promo-mini-list { display: grid; gap: 0.65rem; }
.promo-mini { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.8rem 1rem; background: var(--green-pale); border-radius: var(--radius-sm); flex-wrap: wrap; }
.promo-mini-code { font-family: 'Courier New', monospace; font-weight: 800; color: var(--green-dark); }
.promo-mini-value { font-weight: 800; color: var(--green-dark); background: #fff; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.85rem; }
.promo-mini-exp { display: block; width: 100%; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Orders / payments / deliveries item cards */
.acc-list { display: grid; gap: 1rem; }
.acc-item-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 1.35rem; transition: box-shadow 0.2s; }
.acc-item-card:hover { box-shadow: var(--shadow); }
.acc-item-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.85rem; flex-wrap: wrap; }
.acc-item-id { font-size: 1.05rem; font-weight: 800; color: var(--green-dark); }
.acc-item-date { color: var(--text-muted); font-size: 0.85rem; margin-left: 0.5rem; }
.acc-item-body p { margin: 0.3rem 0; font-size: 0.9rem; color: var(--text); }
.acc-item-body p strong { color: var(--green-dark); }
.acc-item-note { color: var(--text-muted); font-size: 0.85rem; font-style: italic; }
.acc-item-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 0.6rem; }
.acc-item-total { font-size: 1.25rem; font-weight: 800; color: var(--green-dark); }
.payment-status { font-size: 0.8rem; font-weight: 800; padding: 0.3rem 0.7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.payment-status.paid { background: #e0f2f1; color: #00695c; }
.payment-status.pending { background: #fff3e0; color: #ef6c00; }

/* Delivery timeline */
.delivery-timeline { display: flex; align-items: flex-start; justify-content: space-between; margin: 0.25rem 0 1.35rem; }
.delivery-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.delivery-step:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 55%; width: 90%; height: 3px; background: var(--border); z-index: 0; }
.delivery-step.done:not(:last-child)::after { background: var(--green); }
.delivery-step .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--border); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; z-index: 1; margin-bottom: 0.4rem; }
.delivery-step.done .dot { background: var(--green); }
.delivery-step.current .dot { background: var(--green-dark); box-shadow: 0 0 0 5px var(--green-pale); }
.delivery-step small { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; }
.delivery-step.done small, .delivery-step.current small { color: var(--green-dark); }
.acc-map-wrap { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1rem; }
.acc-delivery-feature { margin-top: 0.5rem; color: var(--green); font-weight: 700; font-size: 0.88rem; }

/* Promo hero + active promos */
.promo-hero-card {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    border-radius: var(--radius); padding: 2rem; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.75rem;
    box-shadow: var(--shadow);
}
.promo-hero-card h2 { color: #fff; margin: 0 0 0.3rem; font-size: 1.3rem; }
.promo-hero-card p { margin: 0; opacity: 0.9; font-size: 0.92rem; max-width: 420px; }
.promo-hero-value { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.promo-hero-value small { font-size: 1rem; font-weight: 500; opacity: 0.85; }

.acc-promo-list { display: grid; gap: 0.9rem; margin-bottom: 1.75rem; }
.acc-promo-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #fff; border: 1.5px dashed var(--green); border-radius: var(--radius); padding: 1.1rem 1.35rem; box-shadow: var(--shadow-card); flex-wrap: wrap; }
.acc-promo-left { display: flex; flex-direction: column; gap: 0.25rem; }
.acc-promo-code { font-family: 'Courier New', monospace; font-size: 1.2rem; font-weight: 800; color: var(--green-dark); }
.acc-promo-discount { color: var(--green); font-weight: 800; font-size: 1.1rem; }
.acc-promo-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.acc-promo-valid { font-size: 0.8rem; color: var(--text-muted); }

.active-promos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.active-promo-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.active-promo-card strong { color: var(--green-dark); display: block; margin-bottom: 0.35rem; }
.active-promo-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 0.9rem; flex: 1; }
.active-promo-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.9rem; }
.active-promo-cost { font-size: 0.78rem; font-weight: 800; color: var(--green-dark); background: var(--green-pale); padding: 0.25rem 0.6rem; border-radius: 999px; }
.active-promo-cost--free { color: #0d6efd; background: #e7f1ff; }
.active-promo-validity { font-size: 0.75rem; color: var(--text-muted); }
.activate-promo-btn { width: 100%; }
.activate-promo-btn:disabled { opacity: 0.6; cursor: default; background: var(--border); color: var(--text-muted); }

/* Coupon cards (activated, one-time, barcode ready) */
#active-coupons-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin-bottom: 1.75rem; }
#active-coupons-list .empty { grid-column: 1 / -1; }
.coupon-card { background: #fff; border: 2px solid var(--green); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-card); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; position: relative; overflow: hidden; }
.coupon-card::before, .coupon-card::after {
    content: ''; position: absolute; width: 20px; height: 20px; background: var(--bg, #f4f7f5); border-radius: 50%; top: 50%; transform: translateY(-50%);
}
.coupon-card::before { left: -10px; }
.coupon-card::after { right: -10px; }
.coupon-card-header { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 0.5rem; }
.coupon-discount-badge { background: var(--green-dark); color: #fff; font-weight: 800; font-size: 1rem; padding: 0.3rem 0.7rem; border-radius: 999px; }
.coupon-timer { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-align: right; }
.coupon-title { font-weight: 700; color: var(--green-dark); font-size: 0.92rem; text-align: center; margin: 0; }
.coupon-card-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-pale); color: var(--green-dark); display: flex; align-items: center; justify-content: center; margin: 0.2rem 0; }
.coupon-card-icon svg { width: 28px; height: 28px; }
.coupon-hint { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin: 0.2rem 0 0; }
.acc-promo-card--inactive { opacity: 0.65; border-style: solid; border-color: var(--border); }

@media (max-width: 640px) {
    #active-coupons-list { grid-template-columns: 1fr; }
    .active-promos-grid { grid-template-columns: 1fr; }
}

/* Punkt kasowy (Kasa) scanner page */
.kasa-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.kasa-instructions { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
#kasa-input {
    width: 100%; font-size: 1.6rem; text-align: center; padding: 1.25rem; border-radius: var(--radius);
    border: 2px solid var(--green); box-shadow: var(--shadow-card); margin-bottom: 1.5rem; font-weight: 700;
    letter-spacing: 1px;
}
#kasa-input:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 4px var(--green-pale); }
.kasa-result {
    border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    transition: background 0.3s ease, border-color 0.3s ease;
    border: 2px solid var(--border);
}
.kasa-result-icon { font-size: 2.5rem; }
.kasa-result-text { font-size: 1.1rem; color: var(--text); margin: 0; }
.kasa-result--idle { background: #fafafa; border-color: var(--border); }
.kasa-result--loading { background: #fff8e1; border-color: #f0c419; }
.kasa-result--success { background: var(--green-pale); border-color: var(--green); }
.kasa-result--error { background: #fdecea; border-color: #e74c3c; }
.kasa-result--none { background: #e7f1ff; border-color: #0d6efd; }
.kasa-multiple { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.kasa-multiple-title { font-weight: 700; color: var(--green-dark); margin-bottom: 0.5rem; }
.kasa-multiple-btn { width: 100%; padding: 1rem; font-size: 1rem; }

@media (max-width: 1100px) {
    .acc-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    .acc-grid-2 { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Account/Admin layout with sidebar ===== */
.account-layout, .admin-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 72px);
}
.admin-layout { grid-template-columns: 1fr 280px; }
.account-main, .admin-main { min-width: 0; }
.account-sidebar, .admin-sidebar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 1.5rem;
}
.sidebar-user {
    text-align: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
}
.sidebar-user .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-pale);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 0.75rem;
}
.sidebar-user h2 { font-size: 1.1rem; color: var(--green-dark); margin: 0 0 0.25rem; }
.sidebar-user p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.25rem; }
.sidebar-nav a {
    padding: 0.65rem 1rem;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    transition: 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--green); color: #fff; }
.sidebar-nav a.logout { color: #c0392b; }
.sidebar-nav a.logout:hover { background: #fbe8e6; color: #c0392b; }
.sidebar-points, .admin-stat {
    background: var(--green-pale);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}
.sidebar-points .points-value, .admin-stat .points-value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--green-dark); }
.sidebar-points small, .admin-stat small { font-size: 0.8rem; color: var(--text-muted); }
.account-actions-bar { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.delivery-feature-banner {
    background: var(--green-pale);
    border: 1px solid var(--green);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.delivery-feature-banner strong { color: var(--green-dark); }
.delivery-feature-banner p { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--text); }
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}
.quick-action {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    color: var(--green-dark);
    box-shadow: var(--shadow-card);
}
.quick-action:hover { background: var(--green); color: #fff; }
.loyalty-actions { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.btn-light { background: #fff; color: var(--green-dark); border: 1px solid #fff; }

.admin-main { width: 100%; }
.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.admin-kpi {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    text-align: center;
}
.admin-kpi.highlight { background: var(--green-pale); border-color: var(--green); }
.admin-kpi .kpi-value { display: block; font-size: 1.8rem; font-weight: 800; color: var(--green-dark); margin-bottom: 0.25rem; }
.admin-kpi .kpi-label { color: var(--text-muted); font-size: 0.85rem; }
.status-bar {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--border);
}
.status-segment {
    padding: 1rem;
    text-align: center;
    color: #fff;
    min-width: 80px;
}
.status-segment .status-count { display: block; font-size: 1.25rem; font-weight: 800; }
.status-segment .status-name { font-size: 0.75rem; text-transform: uppercase; }
.admin-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.admin-list {
    display: grid;
    gap: 0.5rem;
}
.admin-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-card);
}
.admin-list-item.alert { border-color: #e59866; background: #fef5e7; }
.list-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green-pale);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.list-rank.alert-rank { background: #fbe8e6; color: #c0392b; }
.list-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.list-body { flex: 1; min-width: 0; }
.list-body strong { display: block; font-size: 0.95rem; color: var(--green-dark); }
.list-body small { color: var(--text-muted); font-size: 0.8rem; }
.list-value { font-weight: 700; color: var(--green-dark); flex-shrink: 0; }
.activity-points { font-weight: 700; color: var(--green); flex-shrink: 0; width: 56px; text-align: right; }

@media (max-width: 900px) {
    .account-layout, .admin-layout { grid-template-columns: 1fr; padding: 1rem; }
    .account-sidebar, .admin-sidebar { position: static; }
    .admin-two-col { grid-template-columns: 1fr; }
    .admin-kpi-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Client Account Shell (fixed sidebar + mobile bottom nav) ===== */
:root { --acc-sidebar-w: 280px; }

.acc-shell { display: block; }
.acc-content {
    min-width: 0;
    margin-left: var(--acc-sidebar-w);
    width: calc(100% - var(--acc-sidebar-w));
    padding: 2.5rem 3rem 4rem;
}

.acc-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--acc-sidebar-w);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: none;
    border-right: 1px solid var(--border);
    border-radius: 0;
    box-shadow: 6px 0 32px rgba(20, 71, 47, 0.06);
    padding: 1.6rem 1.35rem 1.35rem;
    overflow-y: auto;
    z-index: 500;
}
.acc-sidebar-brand {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0 0.2rem 1.4rem; margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--green-dark);
}
.acc-sidebar-brand .acc-brand-mark {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--mint-400), var(--green-dark));
    color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 14px rgba(25, 138, 83, 0.3);
}
.acc-sidebar-brand .acc-brand-mark svg { width: 18px; height: 18px; }
.acc-sidebar-brand small { display: block; font-weight: 600; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.acc-user { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.1rem; }
.acc-avatar {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--mint-400), var(--green-dark));
    color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 6px 16px rgba(25, 138, 83, 0.3);
}
.acc-user-info { min-width: 0; }
.acc-user-info strong { display: block; font-size: 0.98rem; color: var(--green-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-user-info span { display: block; font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.acc-points-pill {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    background: var(--green-pale); color: var(--green-dark); font-weight: 800;
    border-radius: 999px; padding: 0.6rem; margin-bottom: 1.1rem; font-size: 0.92rem;
}
.acc-points-pill svg { width: 16px; height: 16px; }

.acc-nav { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.1rem; flex: 1; }
.acc-nav-item {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; border-radius: 12px;
    color: var(--text); font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: 0.2s;
}
.acc-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: color 0.2s; }
.acc-nav-item:hover { background: var(--green-pale); color: var(--green-dark); }
.acc-nav-item:hover svg { color: var(--green-dark); }
.acc-nav-item.active { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(25, 138, 83, 0.28); }
.acc-nav-item.active svg { color: #fff; }

.acc-logout {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 0.9rem 0; border-radius: 12px;
    color: #c0392b; font-weight: 700; font-size: 0.92rem; text-decoration: none; border-top: 1px solid var(--border);
}
.acc-logout svg { width: 18px; height: 18px; }
.acc-logout:hover { color: #a5301f; }

/* Bottom mobile nav */
.acc-bottom-nav {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(20, 71, 47, 0.08);
    padding: 0.5rem 0.25rem calc(0.5rem + env(safe-area-inset-bottom));
    justify-content: space-between; align-items: flex-end; gap: 0.15rem;
}
.acc-bn-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
    color: var(--text-muted); font-size: 0.68rem; font-weight: 700; text-decoration: none;
    padding: 0.35rem 0.1rem; border-radius: 12px; background: none; border: none; cursor: pointer; font-family: var(--font-body);
}
.acc-bn-item svg { width: 21px; height: 21px; }
.acc-bn-item.active { color: var(--green-dark); }
.acc-bn-item.active svg { color: var(--green-dark); }
.acc-bn-item--main { position: relative; top: -14px; }
.acc-bn-item--main .acc-bn-main-circle {
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--mint-400), var(--green-dark)); color: #fff;
    box-shadow: 0 8px 20px rgba(25, 138, 83, 0.4); margin-bottom: 0.2rem;
}
.acc-bn-item--main .acc-bn-main-circle svg { width: 22px; height: 22px; }

.acc-more-backdrop {
    position: fixed; inset: 0; background: rgba(15, 30, 23, 0.45); z-index: 900;
    opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.acc-more-backdrop.open { opacity: 1; pointer-events: auto; }
.acc-more-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 901;
    background: #fff; border-radius: 24px 24px 0 0; padding: 0.75rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
}
.acc-more-sheet.open { transform: translateY(0); }
.acc-more-handle { width: 44px; height: 5px; border-radius: 999px; background: var(--border); margin: 0.5rem auto 1rem; }
.acc-more-sheet a {
    display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--border);
    color: var(--text); font-weight: 600; text-decoration: none; font-size: 0.98rem;
}
.acc-more-sheet a:last-of-type { border-bottom: 0; }
.acc-more-sheet a svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.acc-more-sheet a.acc-logout-sheet { color: #c0392b; }
.acc-more-sheet a.acc-logout-sheet svg { color: #c0392b; }

@media (max-width: 960px) {
    .acc-sidebar { display: none; }
    .acc-content { margin-left: 0; width: 100%; padding: 1.25rem 1rem 6.5rem; }
    .acc-bottom-nav { display: flex; }
    .acc-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .acc-page-header { margin-bottom: 1.35rem; }
    .acc-page-title { font-size: 1.45rem; }
    .acc-page-subtitle { font-size: 0.9rem; }

    .acc-stats-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.65rem; margin-bottom: 1.35rem; }
    .acc-stat-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 1rem;
    }
    .acc-stat-icon { width: 38px; height: 38px; border-radius: 12px; }
    .acc-stat-icon svg { width: 19px; height: 19px; }
    .acc-stat-value { font-size: 1.1rem; }
    .acc-stat-label { font-size: 0.74rem; line-height: 1.3; }

    .acc-grid-2 { gap: 0.9rem; margin-bottom: 1.35rem; }
    .acc-card { padding: 1.1rem; border-radius: var(--radius-sm); }
    .acc-card-header { flex-wrap: nowrap; gap: 0.5rem; margin-bottom: 0.85rem; }
    .acc-card-title { font-size: 0.92rem; }
    .acc-card-title svg { width: 16px; height: 16px; flex-shrink: 0; }
    .acc-card-header .btn-small {
        flex-shrink: 0;
        padding: 0.5rem 0.75rem;
        font-size: 0.76rem;
        white-space: nowrap;
    }
    .acc-section-title { font-size: 1.05rem; margin: 1.5rem 0 0.85rem; }

    .loyalty-card-actions { flex-wrap: nowrap; gap: 0.6rem; margin-top: 1rem; }
    .loyalty-card-actions .btn-small {
        flex: 1;
        padding: 0.7rem 0.5rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .acc-profile-row { flex-wrap: wrap; row-gap: 0.15rem; padding: 0.5rem 0; }
    .acc-profile-row span:last-child { text-align: left; width: 100%; }

    .quick-actions { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .quick-action { padding: 0.85rem; font-size: 0.9rem; }
}

@media (max-width: 380px) {
    .acc-stats-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
    .acc-bn-item span { font-size: 0.62rem; }
}

/* ===== Opcje dostawy w checkoucie ===== */
.delivery-options { display: flex; flex-direction: column; gap: .55rem; margin-bottom: .4rem; }
.delivery-opt { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem .95rem;
    border: 1.5px solid #e4eae6; border-radius: 12px; cursor: pointer; background: #fafcfa;
    transition: border-color .15s, box-shadow .15s, background .15s; }
.delivery-opt:hover { border-color: #b7d4c3; }
.delivery-opt.checked { border-color: var(--green, #2d6a4f); background: #f0faf4;
    box-shadow: 0 0 0 3px rgba(45,106,79,.12); }
.delivery-opt input[type="radio"] { width: auto; margin-top: 3px; accent-color: #2d6a4f; }
.delivery-opt-body { display: flex; flex-direction: column; gap: 2px; }
.delivery-opt-title { font-weight: 700; font-size: .92rem; color: #1f2d25; }
.delivery-opt-desc { font-size: .8rem; color: #6b7a70; }

/* ===== Koszyk — polish ===== */
.cart-item { background: #fff; border: 1px solid #e8f0ea; border-radius: 14px;
    padding: .9rem; margin-bottom: .75rem; transition: box-shadow .15s; }
.cart-item:hover { box-shadow: 0 4px 14px rgba(31,45,37,.07); }
.cart-summary-card { border: 1px solid #e8f0ea; border-radius: 14px; background: #fbfdfb; }


/* ===== Mobile polish: sekcja Moje konto ===== */
.status-processing, .status-preparing { background: #fff3e0; color: #ef6c00; }
.status-out_for_delivery { background: #e8f0fe; color: #1d4ed8; }
.status-new { background: #fef3c7; color: #92400e; }

@media (max-width: 640px) {
    .acc-item-card { padding: 1rem; border-radius: var(--radius-sm); }
    .acc-item-header { gap: 0.5rem; }
    .acc-item-id { font-size: 0.95rem; }
    .acc-item-total { font-size: 1.05rem; }
    .acc-item-body p { font-size: 0.85rem; word-break: break-word; }
    .acc-item-body p a { word-break: break-all; }
    .status { font-size: 0.72rem; padding: 0.2rem 0.55rem; white-space: nowrap; }
    .delivery-timeline { margin: 0.15rem 0 1rem; }
    .delivery-step .dot { width: 26px; height: 26px; font-size: 0.72rem; }
    .delivery-step small { font-size: 0.62rem; }
    .delivery-step:not(:last-child)::after { top: 13px; }
    .acc-actions-bar .btn { flex: 1 1 auto; text-align: center; }
    .coupon-card { padding: 1rem 0.85rem; }
    .empty-state { padding: 2rem 1rem; }
    .promo-hero-card { padding: 1.25rem; }
    .promo-hero-value { font-size: 2rem; }
    .acc-promo-card { padding: 0.9rem 1rem; }
    .acc-promo-code { font-size: 1.05rem; }
    .loyalty-card { border-radius: 20px; }
    .loyalty-card-actions { flex-direction: column; }
    .loyalty-card-actions .btn { width: 100%; }
    /* dymki wiadomości w zamówieniach */
    .acc-item-card form { min-width: 0; }
    input, select, textarea { max-width: 100%; }
}

@media (max-width: 380px) {
    .acc-content { padding: 1rem 0.75rem 6.5rem; }
    .acc-item-card { padding: 0.85rem; }
    .acc-item-header { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
    .acc-item-footer { flex-direction: column; align-items: flex-start; }
    .acc-item-footer .btn { width: 100%; text-align: center; }
    .quick-actions { grid-template-columns: 1fr; }
}
/* ===== REKONSTRUKCJA SEKCJI STRON ===== */
.hidden { display: none !important; }
.script-font { font-family: var(--font-heading); font-style: italic; }

/* --- hero podstron (kontakt / sklep stacjonarny / dostawa) --- */
.contact-hero, .store-hero, .delivery-hero {
    position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden;
}
.contact-hero-bg, .store-hero-bg, .delivery-hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
}
.contact-hero-overlay, .store-hero-overlay, .delivery-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,45,31,0.45) 0%, rgba(15,45,31,0.72) 100%);
}
.contact-hero-content, .store-hero-content, .delivery-hero-content {
    position: relative; z-index: 1; text-align: center; color: #fff; padding: 4rem 1rem; margin: 0 auto;
}
.contact-hero .section-title, .store-hero .section-title, .delivery-hero .section-title { color: #fff; }
.contact-hero .section-subtitle, .store-hero .section-subtitle, .delivery-hero .section-subtitle { color: rgba(255,255,255,0.88); }
.contact-hero-eyebrow, .store-hero-eyebrow, .delivery-hero-eyebrow,
.store-intro-eyebrow, .delivery-concept-eyebrow, .delivery-why-eyebrow, .delivery-heavy-eyebrow,
.contact-location-eyebrow, .dietitian-eyebrow, .delivery-final-cta-eyebrow {
    display: inline-block; font-size: 1.05rem; color: var(--green-mid); letter-spacing: 0.02em; margin-bottom: 0.6rem;
}
.contact-hero-eyebrow, .store-hero-eyebrow, .delivery-hero-eyebrow { color: #9fd8b7; }

/* --- wspólne checklisty --- */
.delivery-checklist, .store-checklist {
    list-style: none; margin: 1.25rem 0 0; padding: 0;
    display: flex; flex-direction: column; gap: 0.65rem; text-align: left;
}
.delivery-checklist li, .store-checklist li {
    display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.95rem; color: var(--text);
}
.delivery-checklist svg, .store-checklist svg {
    width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px;
}
.delivery-lead, .store-lead { font-size: 1.08rem; color: var(--text); line-height: 1.65; margin-bottom: 0.9rem; }
.delivery-text { color: var(--text-muted); line-height: 1.7; }

/* --- dostawa: koncept / dlaczego / ciężkie zakupy --- */
.delivery-page { overflow-x: hidden; }
.delivery-concept, .delivery-heavy, .store-intro, .contact-location {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.delivery-concept-img img, .delivery-heavy-img img, .store-photo {
    width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; object-fit: cover;
}
.delivery-concept-img img, .delivery-heavy-img img { aspect-ratio: 4/3; }
.delivery-why { text-align: center; max-width: 800px; margin: 0 auto; }
.delivery-why-lead { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; text-align: left; }
.why-grid blockquote {
    margin: 0; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--green);
    border-radius: var(--radius-sm); padding: 1.25rem 1.5rem;
    font-style: italic; color: var(--text); line-height: 1.6; box-shadow: var(--shadow-card);
}
.why-grid blockquote p { margin: 0; }
.heavy-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.heavy-item { display: flex; gap: 1rem; align-items: flex-start; }
.heavy-icon {
    width: 46px; height: 46px; border-radius: 14px; background: var(--green-pale);
    color: var(--green-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.heavy-icon svg { width: 22px; height: 22px; }
.heavy-item h3 { margin: 0 0 0.2rem; font-size: 1rem; color: var(--green-dark); }
.heavy-item p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* --- strefy dostawy --- */
.delivery-zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.delivery-zone { border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-card); }
.delivery-zone h3 { margin: 0.5rem 0 0.5rem; color: var(--green-dark); font-size: 1.15rem; }
.delivery-zone p { margin: 0; font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; }
.zone-number { display: inline-block; font-weight: 800; font-size: 0.85rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--green-pale); color: var(--green-dark); }
.zone-green { border-top: 4px solid var(--green); }
.zone-mint { border-top: 4px solid var(--green-mid); }
.zone-soft { border-top: 4px solid #c8b48e; }

/* --- kroki dostawy (strona) --- */
.delivery-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.delivery-steps .delivery-step {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem 1.25rem; text-align: center; box-shadow: var(--shadow-card);
}
.delivery-steps .delivery-step::after { display: none !important; }
.delivery-steps .delivery-step h3 { font-size: 1.05rem; margin: 0.8rem 0 0.4rem; color: var(--green-dark); }
.delivery-steps .delivery-step p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.step-num {
    width: 40px; height: 40px; border-radius: 50%; margin: 0 auto;
    background: var(--green); color: #fff; font-weight: 800; font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center;
}

/* --- final CTA dostawy --- */
.delivery-final-cta { position: relative; min-height: 55vh; display: flex; align-items: center; overflow: hidden; }
.delivery-final-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.delivery-final-cta-overlay { position: absolute; inset: 0; background: rgba(15,45,31,0.62); }
.delivery-final-cta-content { position: relative; z-index: 1; margin: 0 auto; text-align: center; }
.delivery-final-cta-card {
    max-width: 620px; margin: 0 auto; background: rgba(255,255,255,0.96);
    border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow);
}
.delivery-final-cta-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* --- kontakt --- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.contact-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem; text-align: center; text-decoration: none; color: var(--text);
    box-shadow: var(--shadow-card); transition: transform 0.15s, box-shadow 0.15s;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-icon {
    width: 52px; height: 52px; margin: 0 auto 0.9rem; border-radius: 50%;
    background: var(--green-pale); color: var(--green-dark);
    display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-card-body h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--green-dark); }
.contact-card-body p { margin: 0 0 0.6rem; font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; }
.contact-link { font-size: 0.85rem; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 0.15em; }
.contact-details p { font-size: 0.95rem; color: var(--text); margin: 0.4rem 0; }
.contact-map { min-height: 340px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; display: block; }
.contact-cta { text-align: center; }

/* --- sklep stacjonarny --- */
.store-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.offer-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.offer-number {
    font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800;
    color: var(--green-light); line-height: 1; flex-shrink: 0;
}
.offer-body h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: var(--green-dark); }
.offer-body p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
.dietitian-cta { text-align: center; }
.dietitian-card {
    max-width: 640px; margin: 0 auto; background: var(--green-pale);
    border-radius: var(--radius); padding: 2.5rem; border: 1px solid var(--green-light);
}
.store-location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: stretch; margin-top: 2rem; }
.store-location-info { display: flex; flex-direction: column; gap: 1.1rem; }
.store-info-block {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 1.1rem 1.3rem; box-shadow: var(--shadow-card);
}
.store-info-block h3 { margin: 0 0 0.35rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.store-info-block p { margin: 0; font-size: 0.95rem; color: var(--text); line-height: 1.5; }
.store-map { min-height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.store-map iframe { width: 100%; height: 100%; min-height: 380px; display: block; }
.store-page, .contact-page { overflow-x: hidden; }

/* --- produkt: układ szczegółów --- */
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: start; }
.product-detail-padded { padding-top: 1.5rem; }
.product-image-col { position: sticky; top: 90px; }
.product-main-image {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow-card); aspect-ratio: 1/1;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery-wrap { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; }
.product-gallery { display: flex; gap: 0.6rem; overflow-x: auto; flex: 1; padding: 2px; }
.product-gallery img {
    width: 72px; height: 72px; object-fit: cover; border-radius: 10px; cursor: pointer;
    border: 2px solid transparent; flex-shrink: 0; transition: border-color 0.15s;
}
.product-gallery img.active, .product-gallery img:hover { border-color: var(--green); }
.product-gallery-arrow {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
    background: #fff; color: var(--text-muted); cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.product-gallery-arrow:hover { border-color: var(--green); color: var(--green-dark); }
.product-gallery-arrow svg { width: 16px; height: 16px; }
.product-info-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem; box-shadow: var(--shadow-card);
}
.product-title { font-family: var(--font-heading); font-size: 1.8rem; color: var(--green-dark); margin: 0.5rem 0 0.7rem; line-height: 1.25; }
.product-meta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }
.product-rating-large { display: flex; align-items: center; gap: 0.4rem; }
.product-rating-large .stars { color: #f0b429; letter-spacing: 1px; }
.rating-count { color: var(--text-muted); }
.product-price-row { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; margin: 0.6rem 0 0.9rem; }
.product-price { font-size: 2rem; font-weight: 800; color: var(--green-dark); margin: 0; }
.product-discount { background: #fde8e8; color: #c0392b; font-weight: 800; font-size: 0.85rem; padding: 0.25rem 0.6rem; border-radius: 999px; }
.product-short-desc { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; margin-bottom: 1.1rem; }
.product-feature-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.1rem; }
.feature-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-muted);
    font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.75rem; border-radius: 999px;
}
.feature-chip.in-stock { background: var(--green-pale); border-color: var(--green-light); color: var(--green-dark); }
.feature-chip.out-stock { background: #fdecea; border-color: #f5c6c0; color: #c0392b; }
.delivery-banner {
    background: linear-gradient(135deg, var(--green-pale) 0%, #eef7f1 100%);
    border: 1px solid var(--green-light); border-radius: var(--radius-sm);
    padding: 1rem 1.2rem; margin-bottom: 1.2rem;
}
.delivery-banner-head { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--green-dark); }
.delivery-banner-head svg { flex-shrink: 0; margin-top: 2px; }
.delivery-banner-head strong { display: block; font-size: 0.95rem; }
.delivery-banner-head span { font-size: 0.82rem; color: var(--text-muted); }
.delivery-list { list-style: none; margin: 0.7rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.delivery-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.85rem; color: var(--text); }
.delivery-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-top: 6px; flex-shrink: 0; }
.product-options { margin-bottom: 1rem; }
.product-options label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.35rem; }
.option-select { width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid var(--border); border-radius: 10px; font-size: 0.95rem; background: #fff; }
.product-add-form { display: flex; gap: 0.7rem; align-items: stretch; margin-bottom: 1.2rem; }
.product-add-form .btn { flex: 1; }
.qty-stepper {
    display: inline-flex; align-items: center; border: 1.5px solid var(--border);
    border-radius: 10px; overflow: hidden; background: #fff;
}
.qty-stepper.small { transform: scale(0.92); transform-origin: left center; }
.qty-btn {
    width: 40px; height: 44px; border: 0; background: var(--bg-soft); color: var(--green-dark);
    font-size: 1.2rem; font-weight: 700; cursor: pointer;
}
.qty-stepper.small .qty-btn { height: 36px; width: 34px; }
.qty-btn:hover { background: var(--green-pale); }
.qty-stepper input[type="number"] {
    width: 52px; text-align: center; border: 0; font-size: 1rem; font-weight: 700; color: var(--text);
    -moz-appearance: textfield; appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-value { min-width: 38px; text-align: center; font-weight: 700; font-size: 0.95rem; padding: 0 0.4rem; }
.product-tabs { margin-top: 2.5rem; }
.product-tabs details { border-bottom: 1px solid var(--border); }
.product-tabs summary {
    cursor: pointer; font-weight: 700; font-size: 1.02rem; color: var(--green-dark);
    padding: 1.1rem 0.3rem; list-style: none; position: relative; padding-right: 1.6rem;
}
.product-tabs summary::-webkit-details-marker { display: none; }
.product-tabs summary::after { content: "+"; position: absolute; right: 0.3rem; font-size: 1.3rem; color: var(--text-muted); transition: transform 0.15s; }
.product-tabs details[open] summary::after { content: "\2212"; }
.product-long-desc { padding: 0.4rem 0.3rem 1.3rem; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; margin: 0; }
.params-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.2rem; }
.params-table th, .params-table td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.params-table th { color: var(--text-muted); font-weight: 600; width: 40%; }
/* trust box */
.product-trust { display: flex; flex-direction: column; gap: 0.9rem; border-top: 1px solid var(--border); padding-top: 1.2rem; margin-top: 0.5rem; }
.product-payment { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; }
.product-payment-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.payment-logos { display: flex; gap: 0.5rem; align-items: center; }
.payment-logo {
    display: inline-flex; align-items: center; justify-content: center;
    height: 30px; min-width: 48px; padding: 0 0.6rem; border-radius: 7px;
    font-size: 0.75rem; font-weight: 800; border: 1px solid var(--border); background: #fff;
}
.payment-logo.blik { color: #000; background: #ffe9f3; border-color: #f8c3dd; letter-spacing: 0.04em; }
.payment-logo.visa { color: #1a1f71; font-style: italic; font-size: 0.9rem; letter-spacing: 0.06em; }
.payment-logo.mastercard { gap: 0; padding: 0 0.55rem; }
.payment-logo.mastercard span { width: 18px; height: 18px; border-radius: 50%; display: block; }
.payment-logo.mastercard span:first-child { background: #eb001b; }
.payment-logo.mastercard span:last-child { background: #f79e1b; margin-left: -8px; opacity: 0.9; }
.product-secure { display: flex; align-items: center; gap: 0.75rem; }
.product-secure svg { width: 26px; height: 26px; color: var(--green); flex-shrink: 0; }
.product-secure strong { display: block; font-size: 0.9rem; color: var(--text); }
.product-secure span { font-size: 0.8rem; color: var(--text-muted); }
.product-help {
    display: flex; align-items: center; gap: 0.75rem; text-decoration: none;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
}
.product-help svg:first-child { width: 24px; height: 24px; color: var(--green); flex-shrink: 0; }
.product-help strong { display: block; font-size: 0.88rem; color: var(--text); }
.product-help span { font-size: 0.78rem; color: var(--text-muted); }
.product-help-arrow { width: 18px !important; height: 18px !important; margin-left: auto; color: var(--text-muted); }
.product-help:hover { border-color: var(--green); }
.trust-mobile-only { display: none; }
/* powiązane / karuzela */
.related-section { margin-top: 3rem; }
.related-section-title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--green-dark); margin-bottom: 1.25rem; }
.carousel-item { flex: 0 0 240px; scroll-snap-align: start; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
    background: #fff; color: var(--green-dark); cursor: pointer;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card);
}
.carousel-arrow:hover { border-color: var(--green); }
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }
.carousel-arrow.hidden { display: none; }
/* lightbox */
.product-lightbox {
    display: none; position: fixed; inset: 0; z-index: 1200;
    background: rgba(10,25,18,0.88); align-items: center; justify-content: center; padding: 2rem;
}
.product-lightbox.open, .product-lightbox.active { display: flex; }
.product-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.product-lightbox-close {
    position: absolute; top: 1.2rem; right: 1.6rem; font-size: 2.2rem; line-height: 1;
    background: none; border: 0; color: #fff; cursor: pointer;
}
/* --- koszyk --- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cart-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-card); }
.cart-card-title { font-family: var(--font-heading); font-size: 1.3rem; color: var(--green-dark); margin: 0 0 1.2rem; }
.cart-item { display: flex; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: 0; }
.cart-item-img { width: 92px; height: 92px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--bg-soft); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cart-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.7rem; }
.cart-item-top h4 { margin: 0; font-size: 1rem; }
.cart-item-top h4 a { color: var(--text); text-decoration: none; }
.cart-item-top h4 a:hover { color: var(--green-dark); }
.cart-item-remove {
    background: none; border: 0; color: var(--text-muted); cursor: pointer; padding: 4px;
    border-radius: 8px; display: flex;
}
.cart-item-remove:hover { color: #c0392b; background: #fdecea; }
.cart-item-desc { font-size: 0.83rem; color: var(--text-muted); margin: 0.35rem 0 0.6rem; }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; margin-top: auto; flex-wrap: wrap; }
.cart-item-unit { display: block; font-size: 0.8rem; color: var(--text-muted); }
.cart-item-price { text-align: right; }
.cart-item-price strong { font-size: 1.05rem; color: var(--green-dark); }
.cart-summary-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.6rem; box-shadow: var(--shadow-card); position: sticky; top: 90px;
}
.cart-summary-card h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--green-dark); margin: 0 0 1.1rem; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 0.45rem 0; color: var(--text); }
.cart-summary-muted { color: var(--text-muted); font-size: 0.85rem; }
.cart-summary-total {
    display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem;
    color: var(--green-dark); border-top: 1px solid var(--border); padding-top: 0.9rem; margin: 0.5rem 0 1.1rem;
}
.cart-trust { margin-top: 1.4rem; border-top: 1px solid var(--border); padding-top: 1.1rem; }
.empty-cart { text-align: center; padding: 3rem 1rem; }
/* zakładki konta */
.account-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.account-tab {
    padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--border);
    background: #fff; color: var(--text); font-weight: 600; font-size: 0.88rem; text-decoration: none;
}
.account-tab.active, .account-tab:hover { background: var(--green-pale); border-color: var(--green-light); color: var(--green-dark); }
/* pasek ogłoszeń */
.promo-strip { background: var(--green-dark); color: #fff; text-align: center; padding: 0.5rem 1rem; font-size: 0.85rem; }
.ann-text { font-weight: 600; }

@media (max-width: 960px) {
    .delivery-concept, .delivery-heavy, .store-intro, .contact-location,
    .store-location, .product-detail { grid-template-columns: 1fr; gap: 1.75rem; }
    .product-image-col, .cart-summary-card { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .delivery-zones { grid-template-columns: 1fr; }
    .delivery-steps { grid-template-columns: repeat(2, 1fr); }
    .store-offers { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .trust-desktop-only { display: none; }
    .trust-mobile-only { display: flex; margin-top: 2rem; }
}
@media (max-width: 640px) {
    .delivery-steps { grid-template-columns: 1fr; }
    .product-info-card { padding: 1.25rem; }
    .product-price { font-size: 1.6rem; }
    .product-add-form { flex-direction: column; }
    .cart-item-img { width: 70px; height: 70px; }
    .delivery-final-cta-card { padding: 1.6rem; }
    .contact-hero, .store-hero, .delivery-hero { min-height: 46vh; }
}
/* --- uzupełnienie drobnych klas --- */
.filter-toggle { width: 100%; justify-content: center; }
.acc-tx { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.acc-tx:last-child { border-bottom: 0; }
.about-values { text-align: center; }
.contact-location-info { min-width: 0; }
.delivery-concept-body, .delivery-heavy-body, .store-intro-body { min-width: 0; }
.store-photo-wrap { position: relative; }
.product-info-col { min-width: 0; }
.activate-coupon-btn { min-width: 140px; }
.activate-coupon-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.cancel-coupon-btn { background: none; border: 0; color: #c0392b; font-size: 0.82rem; cursor: pointer; text-decoration: underline; }

/* siatka produktow: 2 kolumny na telefonie */
@media (max-width: 640px) {
    .card-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.7rem; }
    .card { border-radius: 14px; }
    .card-body { padding: 0.6rem 0.7rem 0.8rem; }
    .card-title { font-size: 0.85rem; min-height: 2.5em; }
    .card-price { font-size: 1rem; }
    .card-rating { font-size: 0.75rem; }
    .card-quick-add { width: 34px; height: 34px; }
    .card-quick-add svg { width: 16px; height: 16px; }
    .btn-small { padding: 0.45rem 0.85rem; font-size: 0.8rem; }
}

/* ============================================================
   Panel klienta — odświeżony wygląd (app-like)
   ============================================================ */
.acc-content {
    background: var(--mint-50);
    min-height: 100vh;
}

/* Hero na pulpicie */
.acc-hero {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--mint-600) 0%, var(--mint-800) 100%);
    border-radius: 22px;
    padding: 1.5rem 1.6rem;
    margin-bottom: 1.6rem;
    color: #fff;
    box-shadow: 0 16px 40px rgba(23, 109, 67, 0.25);
}
.acc-hero-avatar {
    width: 56px; height: 56px; border-radius: 18px; flex-shrink: 0;
    background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.35);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.25rem; color: #fff;
    backdrop-filter: blur(4px);
}
.acc-hero-info { flex: 1; min-width: 180px; }
.acc-hero-title { margin: 0 0 0.2rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: #fff; }
.acc-hero-sub { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.acc-hero-points {
    display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
    background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 16px; padding: 0.7rem 1.2rem;
    color: #fff; text-decoration: none; backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.2s;
}
.acc-hero-points:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.acc-hero-points strong { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.acc-hero-points span { font-size: 0.68rem; font-weight: 600; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.04em; }

/* Alerty / powiadomienia */
.acc-alert {
    border-radius: 14px; padding: 0.85rem 1.1rem; font-size: 0.88rem; margin-bottom: 1.25rem;
}
.acc-alert--warn { background: #fef9ec; border: 1px solid #f5e3b3; color: #8a5a00; }
.acc-alert--ok { background: #e9f8ef; border: 1px solid #c8ecd6; color: var(--mint-700); font-weight: 600; }
.acc-alert--error { background: #fdf0ef; border: 1px solid #f3d3cf; color: #b3402f; }
.acc-alert-text { margin-bottom: 0.5rem; }
.acc-restock { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.restock-chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #fff; border: 1px solid #f0e2b8; border-radius: 999px;
    padding: 0.3rem 0.85rem 0.3rem 0.35rem;
    text-decoration: none; color: var(--text); font-size: 0.82rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.restock-chip:hover { border-color: var(--mint-400); box-shadow: 0 4px 12px rgba(23,109,67,0.12); }
.restock-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* Statystyki — kolorowe ikony */
.acc-stat-card { border-radius: 18px; border: 1px solid #e6efe9; }
.acc-stat-icon--amber { background: #fdf2d9; color: #b07d10; }
.acc-stat-icon--green { background: var(--mint-100); color: var(--mint-700); }
.acc-stat-icon--violet { background: #eee9fb; color: #6d4fc2; }
.acc-stat-icon--blue { background: #e5effb; color: #2b6cb0; }

/* Karty */
.acc-card { border-radius: 18px; border: 1px solid #e6efe9; }
.acc-item-card { border-radius: 18px; border: 1px solid #e6efe9; }
.acc-item-title { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.acc-item-icon {
    width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
    background: var(--mint-100); color: var(--mint-700);
    display: flex; align-items: center; justify-content: center;
}
.acc-item-icon svg { width: 20px; height: 20px; }
.acc-item-title .acc-item-id { display: block; }
.acc-item-title .acc-item-date { display: block; margin-left: 0; font-size: 0.8rem; }

/* Wiersze meta w kartach */
.acc-meta-row {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: 0.45rem 0; border-bottom: 1px dashed #edf2ee; font-size: 0.88rem;
}
.acc-meta-row:last-child { border-bottom: 0; }
.acc-meta-row span:first-child { color: var(--text-muted); }
.acc-meta-row span:last-child { font-weight: 600; color: var(--text); text-align: right; }

/* Wątek wiadomości do sklepu */
.acc-msg-thread {
    border-top: 1px solid #edf2ee; margin-top: 0.6rem; padding-top: 0.8rem;
    display: flex; flex-direction: column; gap: 0.45rem;
}
.acc-msg {
    padding: 0.5rem 0.75rem; border-radius: 12px; font-size: 0.86rem; max-width: 88%;
}
.acc-msg small { display: block; font-size: 0.68rem; color: var(--text-muted); margin-top: 3px; }
.acc-msg--staff { background: #e9f2fd; align-self: flex-start; border-bottom-left-radius: 4px; }
.acc-msg--me { background: var(--mint-100); align-self: flex-end; border-bottom-right-radius: 4px; }
.acc-msg-form { display: flex; gap: 0.45rem; margin-top: 0.6rem; }
.acc-msg-form input {
    flex: 1; padding: 0.55rem 0.8rem; border: 1px solid var(--border);
    border-radius: 10px; font-size: 0.86rem; font-family: var(--font-body);
    background: #fbfdfc;
}
.acc-msg-form input:focus { outline: none; border-color: var(--mint-400); box-shadow: 0 0 0 3px rgba(77,208,142,0.15); }

/* Profil — nagłówek z avatarem */
.acc-profile-head {
    display: flex; align-items: center; gap: 0.85rem;
    padding-bottom: 0.9rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--border);
}
.acc-profile-head-info { min-width: 0; }
.acc-profile-head-info strong { display: block; font-size: 1rem; color: var(--green-dark); }
.acc-profile-head-info span { display: block; font-size: 0.8rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; }

/* Szybkie akcje — kafelki z ikonami */
.quick-action {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.55rem; padding: 1.1rem 0.8rem; text-align: center;
}
.quick-action svg { width: 24px; height: 24px; color: var(--mint-600); transition: color 0.2s; }
.quick-action:hover svg { color: #fff; }
.quick-action span { font-size: 0.85rem; font-weight: 700; }

/* Empty state na kolorowym tle treści */
.empty-state { background: #fff; }
.acc-list .empty-state, .acc-card .empty { background: #fff; }

/* Timeline dostaw — wyraźniejsze */
.delivery-step .dot { transition: 0.2s; }
.delivery-step.current .dot { box-shadow: 0 0 0 4px rgba(77,208,142,0.25); }

/* Mobile */
@media (max-width: 640px) {
    .acc-hero { padding: 1.15rem 1.1rem; border-radius: 18px; gap: 0.75rem; }
    .acc-hero-avatar { width: 46px; height: 46px; border-radius: 14px; font-size: 1.05rem; }
    .acc-hero-points { padding: 0.55rem 0.9rem; }
    .acc-hero-points strong { font-size: 1.15rem; }
    .acc-hero-points span { font-size: 0.62rem; }
    .acc-item-icon { width: 38px; height: 38px; border-radius: 11px; }
    .acc-item-icon svg { width: 18px; height: 18px; }
}
