/* ============================================================
   SHOKEN — wędkarstwo karpiowe
   style.css — mobile-first, breakpoints: 768px, 1200px
   Paleta: granat (logo) + miedź (akcent premium)
   ============================================================ */

/* ---------- 1. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #0F1E44;
    --navy-dark: #081028;
    --navy-darker: #040812;
    --navy-light: #1A2D5E;
    --navy-soft: #EEF1F8;
    --copper: #C9A46B;
    --copper-dark: #A8864D;
    --copper-light: #E4C896;
    --white: #FFFFFF;
    --cream: #FAF7F1;
    --text: #0F1E44;
    --text-muted: #555E75;
    --text-light: #8892A8;
    --border: #E5E8F0;
    --danger: #B3261E;
    --success: #2E7D32;
    --shadow-sm: 0 2px 8px rgba(15, 30, 68, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 30, 68, 0.12);
    --shadow-lg: 0 16px 48px rgba(15, 30, 68, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --header-height: 72px;
    --container-max: 1200px;
    --transition: 0.3s cubic-bezier(.4, 0, .2, 1);

    --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img, svg, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1vw + 1rem, 1.5rem); }

p { color: var(--text-muted); }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- 2. BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--copper);
    color: var(--navy-dark);
    box-shadow: 0 4px 16px rgba(201, 164, 107, 0.35);
}
.btn-primary:hover {
    background: var(--copper-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 164, 107, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

.section .btn-secondary {
    color: var(--navy);
    border-color: var(--navy);
}
.section .btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-block { width: 100%; }

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: var(--navy-soft);
    color: var(--navy);
    border-color: var(--navy);
}

/* ---------- 3. HEADER / NAV ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0);
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}
/* Na podstronach bez hero header jest od razu jasny */
.site-header.static-light {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    /* Logo jest granatowe — na ciemnym hero filtrujemy do bieli */
    filter: brightness(0) invert(1);
    transition: filter var(--transition);
}
.scrolled .logo-img,
.static-light .logo-img {
    filter: none;
}

.main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}
.main-nav.open { max-height: 600px; }
.main-nav ul {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
}
.main-nav a {
    display: block;
    padding: 0.85rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.main-nav li:last-child a { border-bottom: 0; }
.main-nav a:hover { color: var(--copper-dark); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: var(--white);
    transition: background var(--transition), color var(--transition);
}
.cart-btn:hover { background: rgba(255, 255, 255, 0.12); }
.cart-btn svg { width: 22px; height: 22px; }

.scrolled .cart-btn,
.static-light .cart-btn { color: var(--navy); }
.scrolled .cart-btn:hover,
.static-light .cart-btn:hover { background: var(--navy-soft); }

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--copper);
    color: var(--navy-dark);
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    line-height: 20px;
    text-align: center;
    transform: scale(0);
    transition: transform var(--transition);
}
.cart-badge.active { transform: scale(1); }

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}
.nav-toggle span {
    display: block;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition), background var(--transition);
    transform-origin: center;
}
.scrolled .nav-toggle span,
.static-light .nav-toggle span { background: var(--navy); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- 4. HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(26, 45, 94, 0.8) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(201, 164, 107, 0.15) 0%, transparent 55%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    overflow: hidden;
    padding: 7rem 0 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, transparent 0%, rgba(4, 8, 18, 0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
}

.hero-logo {
    width: min(80vw, 520px);
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(201, 164, 107, 0.18);
    color: var(--copper-light);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(201, 164, 107, 0.35);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--copper);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--copper);
}

.hero-title {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: clamp(2.25rem, 5vw + 1rem, 3.75rem);
}

.hero-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.3rem);
    margin-bottom: 2.5rem;
    max-width: 640px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    z-index: 2;
}
.hero-scroll span {
    width: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- 5. SECTION BASE ---------- */
.section {
    padding: 4.5rem 0;
}
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}
.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--copper-dark);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.9rem;
    background: rgba(201, 164, 107, 0.12);
    border-radius: 20px;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ---------- 6. PRODUKTY ---------- */
.products { background: var(--cream); }

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--copper);
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--navy-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.6s ease-out;
}
.product-card:hover .product-media img { transform: scale(1.04); }

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--navy);
    color: var(--copper-light);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
}
.product-badge.copper {
    background: var(--copper);
    color: var(--navy-dark);
}

.product-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}
.product-body h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
}
.product-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}
.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}
.product-price .amount {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--navy);
}
.product-price .currency {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.product-price .old-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: auto;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}
.product-actions .btn { flex: 1; }

/* Wariant 2-kolumnowy (landing — wedka + kolowrotek) */
.products-grid-2 { grid-template-columns: 1fr; }

.products-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.products-note a {
    color: var(--copper-dark);
    font-weight: 600;
    border-bottom: 1px dashed var(--copper-dark);
}
.products-note a:hover {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

/* ---------- 7. O MARCE ---------- */
.about { background: var(--white); }

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

.about-text h2 { margin-bottom: 1rem; }
.about-text .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 3rem;
}
.feature-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--copper);
}
.feature-icon {
    width: 52px;
    height: 52px;
    color: var(--navy);
    margin-bottom: 1rem;
    padding: 12px;
    background: var(--navy-soft);
    border-radius: 12px;
}
.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-size: 1.1rem;
}
.feature-card p { font-size: 0.95rem; }

/* ---------- 8. SPECYFIKACJE (tabela) ---------- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.spec-table caption {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: left;
    caption-side: top;
}
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:nth-child(even) { background: var(--cream); }
.spec-table th, .spec-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
}
.spec-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy);
    width: 42%;
}
.spec-table td { color: var(--text-muted); }

/* ---------- 9. WYSYLKA / ZWROTY BANER ---------- */
.shipping-bar {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 0;
}
.shipping-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    font-size: 0.9rem;
    text-align: center;
}
.shipping-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}
.shipping-bar-item svg {
    width: 20px;
    height: 20px;
    color: var(--copper);
    flex-shrink: 0;
}
.shipping-bar-item strong {
    color: var(--copper-light);
    font-weight: 700;
}

/* ---------- 10. FAQ ---------- */
.faq { background: var(--cream); }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.faq-item[open] {
    border-color: var(--navy);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 3rem;
    transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--navy-soft); }
.faq-item summary::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--navy);
    border-bottom: 3px solid var(--navy);
    transform: translateY(-75%) rotate(45deg);
    transition: transform var(--transition);
}
.faq-item[open] summary::after {
    transform: translateY(-25%) rotate(-135deg);
}
.faq-item p, .faq-item ul {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.faq-item ul li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.4rem;
}
.faq-item ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--copper-dark);
    font-weight: 800;
}

/* ---------- 11. KONTAKT / CTA ---------- */
.contact {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
}
.contact .section-header h2 { color: var(--white); }
.contact .eyebrow {
    background: rgba(201, 164, 107, 0.2);
    color: var(--copper-light);
}
.contact .section-header .lead { color: rgba(255, 255, 255, 0.85); }

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ---------- 12. KOSZYK (drawer) ---------- */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 18, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 200;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.cart-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: var(--white);
    z-index: 201;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: -16px 0 48px rgba(4, 8, 18, 0.3);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--navy);
    color: var(--white);
}
.cart-header h3 {
    color: var(--white);
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.cart-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    color: var(--white);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.cart-close:hover { background: rgba(255, 255, 255, 0.12); }

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}
.cart-empty svg {
    width: 64px;
    height: 64px;
    color: var(--text-light);
    margin: 0 auto 1rem;
    opacity: 0.6;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-img {
    width: 72px;
    height: 72px;
    background: var(--navy-soft);
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}
.cart-item-price {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.qty-btn {
    width: 28px;
    height: 28px;
    background: var(--navy-soft);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: var(--navy);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background var(--transition);
}
.qty-btn:hover { background: var(--copper-light); }
.qty-value {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy);
    min-width: 20px;
    text-align: center;
}
.cart-item-remove {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--danger); }

.cart-footer {
    border-top: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    background: var(--cream);
}
.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-heading);
    margin: 0.75rem 0 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border);
}
.cart-total .label {
    font-weight: 800;
    color: var(--navy);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cart-total .value {
    font-weight: 800;
    color: var(--navy);
    font-size: 1.5rem;
}
.cart-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    text-align: center;
    line-height: 1.4;
}

/* ---------- 13. FOOTER ---------- */
.site-footer {
    background: var(--navy-darker);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 3.5rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}
.footer-brand { text-align: left; }
.footer-logo {
    height: 36px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}
.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--font-heading);
    font-weight: 800;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a, .footer-col address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    font-style: normal;
    line-height: 1.6;
}
.footer-col a:hover { color: var(--copper); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    font-size: 0.85rem;
}
.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.55); }
.footer-legal a:hover { color: var(--copper); }

/* ---------- 14. PODSTRONA PRODUKTU ---------- */
.product-hero {
    padding: calc(var(--header-height) + 2rem) 0 3rem;
    background: var(--cream);
}
.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.gallery-main {
    aspect-ratio: 4 / 3;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    cursor: zoom-in;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.3s ease-out;
}
.gallery-main:hover img {
    transform: scale(1.03);
}
.gallery-main::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(15, 30, 68, 0.85);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    pointer-events: none;
    opacity: 0.9;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.4rem;
}
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
.gallery-thumb {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    border: 2px solid var(--border);
    cursor: pointer;
    padding: 0;
    transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--copper); }
.gallery-thumb:hover { border-color: var(--navy); }

.product-info h1 { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem); margin-bottom: 0.5rem; }
.product-info-sub {
    color: var(--text-light);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.product-info .product-price {
    padding: 1.5rem 0;
    margin-top: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}
.product-info .product-price .amount { font-size: 2.25rem; }

.product-highlights {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.product-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.product-highlights svg {
    width: 20px;
    height: 20px;
    color: var(--copper-dark);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.product-info .product-actions .btn { padding: 1rem 1.75rem; font-size: 1rem; }

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .separator { color: var(--text-light); }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 600; }

.product-spec-section { padding: 3rem 0; background: var(--white); }
.product-spec-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* ---------- 15. LEGAL PAGES ---------- */
.legal-page {
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    background: var(--white);
}
.legal-content {
    max-width: 820px;
    margin: 0 auto;
}
.legal-content h1 {
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
    margin-bottom: 0.5rem;
}
.legal-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.legal-content h2 {
    font-size: 1.35rem;
    margin: 2rem 0 0.75rem;
    color: var(--navy);
}
.legal-content h3 {
    font-size: 1.1rem;
    margin: 1.25rem 0 0.5rem;
    color: var(--navy);
}
.legal-content p, .legal-content li {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.legal-content ul, .legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

/* ---------- 16. SUCCESS / CANCEL ---------- */
.status-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 2rem) 1.5rem 3rem;
    background: var(--cream);
    text-align: center;
}
.status-card {
    max-width: 560px;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.status-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.status-icon.success { background: rgba(46, 125, 50, 0.12); color: var(--success); }
.status-icon.cancel { background: rgba(179, 38, 30, 0.12); color: var(--danger); }
.status-icon svg { width: 48px; height: 48px; }
.status-card h1 { margin-bottom: 0.75rem; }
.status-card p { margin-bottom: 2rem; }

/* ---------- 16b. LIGHTBOX (zoom zdjecia) ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(4, 8, 18, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-out;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: zoom-out;
}
.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}
.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform-origin: 0 0;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    cursor: zoom-in;
}
.lightbox.zoomed img { cursor: grab; }
.lightbox.dragging img { cursor: grabbing; }
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    border: 0;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease-out;
    z-index: 1;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-close svg { width: 24px; height: 24px; }

body.lightbox-open { overflow: hidden; }

/* ---------- 17. ANIMACJE ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================================
   BREAKPOINT: >= 768px
   ============================================================ */
@media (min-width: 768px) {

    .section { padding: 6rem 0; }

    /* NAV */
    .nav-toggle { display: none; }
    .main-nav {
        position: static;
        background: transparent;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        flex: 1;
    }
    .main-nav ul {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.75rem;
        padding: 0;
    }
    .main-nav a {
        padding: 0.5rem 0;
        border: 0;
        color: var(--white);
        font-size: 0.9rem;
        position: relative;
        letter-spacing: 0.05em;
    }
    .main-nav a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 2px;
        background: var(--copper);
        transition: width var(--transition);
    }
    .main-nav a:hover { color: var(--copper-light); }
    .main-nav a:hover::after { width: 100%; }
    .scrolled .main-nav a,
    .static-light .main-nav a { color: var(--text); }
    .scrolled .main-nav a:hover,
    .static-light .main-nav a:hover { color: var(--copper-dark); }

    /* PRODUKTY */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
    .products-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 920px;
        margin: 0 auto;
    }

    /* O MARCE */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* PRODUCT HERO */
    .product-hero-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    /* FOOTER */
    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-inner-simple {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
    .footer-bottom .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================================
   BREAKPOINT: >= 1200px
   ============================================================ */
@media (min-width: 1200px) {

    .section { padding: 7rem 0; }

    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .main-nav ul { gap: 2.25rem; }
}
