/* ═══════════════════════════════════════
           CSS VARIABLES - THEME SYSTEM
        ═══════════════════════════════════════ */
        :root {
            --brand-primary: #f59e0b;
            --brand-primary-hover: #d97706;
            --brand-secondary: #3b82f6;
            --success: #10b981;
            --danger: #ef4444;
            
            --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            --sidebar-width: 250px;
            --container-header: 1600px;
            --container-main: 1480px;
            --container-footer: 1600px;
        }

        /* ══════ DARK THEME ══════ */
        [data-theme="dark"] {
            --bg-primary: #0a0e17;
            --bg-secondary: #0f1420;
            --bg-elevated: #151c2c;
            --bg-card: #1a2235;
            --bg-sidebar: #0c1018;
            
            --text-primary: #f1f5f9;
            --text-secondary: #a1adc2;
            --text-muted: #6b7a94;
            
            --border-color: rgba(148, 163, 184, 0.12);
            --border-hover: rgba(148, 163, 184, 0.25);
            
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
            --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
        }

        /* ══════ LIGHT THEME ══════ */
        [data-theme="light"] {
            --bg-primary: #f8fafc;
            --bg-secondary: #ffffff;
            --bg-elevated: #ffffff;
            --bg-card: #ffffff;
            --bg-sidebar: #ffffff;
            
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-muted: #64748b;
            
            --border-color: #e2e8f0;
            --border-hover: #cbd5e1;
            
            --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
            --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
            --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-main);
            font-size: 15px;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-primary);
            -webkit-font-smoothing: antialiased;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button {
            font-family: inherit;
            cursor: pointer;
        }

        /* ═══════════════════════════════════════
           HEADER
        ═══════════════════════════════════════ */
        .header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
        }

        [data-theme="dark"] .header {
            background: rgba(15, 20, 32, 0.95);
            backdrop-filter: blur(16px);
        }

        [data-theme="light"] .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(16px);
        }

        .header-inner {
            max-width: var(--container-header);
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
            gap: 24px;
        }

        /* Logo */
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            border-radius: 9px;
            background: linear-gradient(135deg, var(--brand-primary) 0%, #ea580c 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
        }

        .logo-icon svg {
            width: 18px;
            height: 18px;
            stroke: #0a0e17;
            stroke-width: 2.5;
            fill: none;
        }

        .logo-text {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        .logo-text span {
            color: var(--brand-primary);
        }

        /* Search + hamburger wrapper (desktop: search only, mobile: hamburger + search) */
        .search-wrap {
            flex: 1;
            max-width: 560px; /* trochę więcej miejsca (wariant B) */
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Search Bar */
        .search-bar {
            flex: 1;
            max-width: 520px;
            position: relative;
        }

        .search-bar input {
            width: 100%;
            padding: 10px 16px 10px 42px;
            background: var(--bg-elevated);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            font-family: inherit;
            font-size: 14px;
            color: var(--text-primary);
            outline: none;
            transition: border-color 0.2s ease;
        }

        .search-bar input::placeholder {
            color: var(--text-muted);
        }

        .search-bar input:focus {
            border-color: var(--brand-primary);
        }

        .search-bar svg {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            stroke: var(--text-muted);
            stroke-width: 2;
            fill: none;
        }

        /* Header Actions */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Mobile-only account icon (na desktop jest przycisk „Moje konto”) */
        .account-icon {
            display: none;
        }

        .icon-btn {
            width: 38px;
            height: 38px;
            border-radius: 9px;
            border: 1px solid var(--border-color);
            background: transparent;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            position: relative;
        }

        .icon-btn:hover {
            border-color: var(--border-hover);
            color: var(--text-primary);
            background: var(--bg-elevated);
        }

        .icon-btn svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }

        /* Theme Toggle */
        .theme-toggle {
            position: relative;
            width: 38px;
            height: 38px;
        }

        .theme-toggle input {
            display: none;
        }

        .theme-toggle label {
            width: 100%;
            height: 100%;
            border-radius: 9px;
            border: 1px solid var(--border-color);
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .theme-toggle label:hover {
            border-color: var(--border-hover);
            background: var(--bg-elevated);
        }

        .theme-toggle svg {
            width: 18px;
            height: 18px;
            stroke: var(--text-secondary);
            stroke-width: 2;
            fill: none;
        }

        .theme-toggle .icon-sun,
        .theme-toggle .icon-moon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: opacity 0.2s ease;
        }

        [data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; }
        [data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; }
        [data-theme="light"] .theme-toggle .icon-sun { opacity: 0; }
        [data-theme="light"] .theme-toggle .icon-moon { opacity: 1; }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 9px 18px;
            font-size: 14px;
            font-weight: 600;
            border-radius: 9px;
            border: none;
            transition: all 0.2s ease;
        }

        .btn svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }

        .btn-primary {
            background: var(--brand-primary);
            color: #0a0e17;
        }

        .btn-primary:hover {
            background: var(--brand-primary-hover);
            transform: translateY(-1px);
        }

        .menu-toggle {
            display: none;
        }

        /* Hamburger: label + ikonka zamknięcia (X) */
        .menu-toggle--labeled {
            gap: 2px;
        }

        .menu-toggle--labeled .menu-toggle-icon {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .menu-toggle--labeled .menu-toggle-label {
            display: none; /* pokazujemy dopiero na mobile */
            font-size: 10px;
            line-height: 1;
            font-weight: 600;
            color: var(--text-muted);
        }

        .menu-toggle .icon-close { display: none; }
        body.sidebar-open .menu-toggle .icon-close { display: block; }
        body.sidebar-open .menu-toggle .icon-hamburger { display: none; }

        /* Konto (ikona) – pokazujemy tylko na mobile */
        .account-icon {
            display: none;
        }

        /* ═══════════════════════════════════════
           MAIN LAYOUT
        ═══════════════════════════════════════ */
        .main-wrapper {
            max-width: var(--container-main);
            margin: 0 auto;
            display: grid;
            grid-template-columns: var(--sidebar-width) 1fr;
            gap: 0;
        }

        .sidebar-overlay {
            position: fixed;
            inset: 64px 0 0 0; /* pod headerem */
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(2px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
            z-index: 140;
            display: none;
        }

        /* ═══════════════════════════════════════
           SIDEBAR - TYLKO KATEGORIE
        ═══════════════════════════════════════ */
        .sidebar {
            background: var(--bg-sidebar);
            border-right: 1px solid var(--border-color);
            padding: 20px 0;
            position: sticky;
            top: 64px;
            height: calc(100vh - 64px);
            overflow-y: auto;
        }

        .sidebar-title {
            padding: 0 20px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-muted);
            margin-bottom: 12px;
        }
        .sidebar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-right: 12px;
            margin-bottom: 12px;
        }

        .sidebar-header .sidebar-title {
            margin-bottom: 0;
        }

        .sidebar-close {
            width: 38px;
            height: 38px;
            border-radius: 9px;
            border: 1px solid var(--border-color);
            background: transparent;
            color: var(--text-secondary);
            display: none; /* mobile-only */
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .sidebar-close:hover {
            border-color: var(--border-hover);
            color: var(--text-primary);
            background: var(--bg-elevated);
        }

        .sidebar-close svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }


        .sidebar-nav {
            list-style: none;
        }

        .sidebar-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 20px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.15s ease;
            border-left: 3px solid transparent;
        }

        .sidebar-link:hover {
            color: var(--text-primary);
            background: var(--bg-elevated);
            border-left-color: var(--border-hover);
        }

        .sidebar-link.active {
            color: var(--brand-primary);
            background: rgba(245, 158, 11, 0.08);
            border-left-color: var(--brand-primary);
        }

        .sidebar-link svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            stroke-width: 1.5;
            fill: none;
            flex-shrink: 0;
        }

        .sidebar-link .count {
            margin-left: auto;
            font-size: 12px;
            color: var(--text-muted);
            font-weight: 400;
        }

        /* ═══════════════════════════════════════
           MAIN CONTENT
        ═══════════════════════════════════════ */
        .main-content {
            padding: 0;
            background: var(--bg-primary);
        }

        /* ═══════════════════════════════════════
           HERO SECTION
        ═══════════════════════════════════════ */
        .hero {
            padding: 24px 32px 48px;
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
        }

        /* Trust Badges */
        .hero-badges {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 24px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            background: var(--bg-elevated);
            border: 1px solid var(--border-color);
            border-radius: 100px;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-secondary);
        }

        .hero-badge svg {
            width: 14px;
            height: 14px;
            stroke: var(--success);
            stroke-width: 2;
            fill: none;
        }

        .hero-badge-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--success);
            animation: pulse 2s infinite;
        }

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

/* ═══════════════════════════════════════
           HERO SLIDER (pomniejszony)
        ═══════════════════════════════════════ */
        .hero-slider {
            position: relative;
            border-radius: 14px;
            overflow: hidden;
            margin-bottom: 32px;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .slider-track {
            display: flex;
            transition: transform 0.5s ease;
        }

        .slide {
            min-width: 100%;
            position: relative;
            aspect-ratio: 21 / 9;
            display: flex;
            align-items: center;
            padding: 32px 40px;
        }

        .slide-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        /* Slide backgrounds */
        .slide[data-room="lazienka"] .slide-bg { background: linear-gradient(135deg, #0c4a6e 0%, #082f49 50%, #0a1628 100%); }
        .slide[data-room="salon"] .slide-bg { background: linear-gradient(135deg, #292524 0%, #1c1917 50%, #0c0a09 100%); }
        .slide[data-room="kuchnia"] .slide-bg { background: linear-gradient(135deg, #14532d 0%, #052e16 50%, #022c22 100%); }
        .slide[data-room="sypialnia"] .slide-bg { background: linear-gradient(135deg, #4c1d95 0%, #2e1065 50%, #1e1b4b 100%); }
        .slide[data-room="ogrod"] .slide-bg { background: linear-gradient(135deg, #166534 0%, #14532d 50%, #052e16 100%); }
        .slide[data-room="biuro"] .slide-bg { background: linear-gradient(135deg, #1e3a5f 0%, #172554 50%, #0c1929 100%); }

        .slide-content {
            position: relative;
            z-index: 2;
            max-width: 400px;
        }

        .slide-tag {
            display: inline-block;
            padding: 5px 12px;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(8px);
            border-radius: 100px;
            font-size: 11px;
            font-weight: 600;
            color: rgba(255,255,255,0.9);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 12px;
        }

        .slide-title {
            font-size: clamp(22px, 2.5vw, 30px);
            font-weight: 700;
            color: #fff;
            line-height: 1.2;
            letter-spacing: -0.02em;
            margin-bottom: 10px;
        }

        .slide-desc {
            font-size: 14px;
            color: rgba(255,255,255,0.75);
            line-height: 1.5;
            margin-bottom: 18px;
        }

        .slide-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: var(--brand-primary);
            color: #0a0e17;
            font-size: 13px;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .slide-btn:hover {
            background: #fbbf24;
            transform: translateY(-2px);
        }

        .slide-btn svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            stroke-width: 2.5;
            fill: none;
        }

        .slide::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: radial-gradient(ellipse at 80% 50%, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
            z-index: 1;
            pointer-events: none;
        }

        /* Slider Controls */
        .slider-controls {
            position: absolute;
            bottom: 16px;
            left: 40px;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 10;
        }

        .slider-dots {
            display: flex;
            gap: 6px;
        }

        .slider-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .slider-dot.active {
            background: var(--brand-primary);
            width: 24px;
            border-radius: 4px;
        }

        .slider-arrows {
            display: flex;
            gap: 6px;
            margin-left: 12px;
        }

        .slider-arrow {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.15);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .slider-arrow:hover {
            background: rgba(255,255,255,0.2);
        }

        .slider-arrow svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }

        /* Hero Text */
        .hero-text {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }

        .hero-title {
            font-size: clamp(28px, 3.5vw, 40px);
            font-weight: 700;
            line-height: 1.15;
            letter-spacing: -0.03em;
            margin-bottom: 14px;
        }

        .hero-title .highlight {
            color: var(--brand-primary);
        }

        .hero-subtitle {
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-secondary);
            max-width: 560px;
            margin: 0 auto 28px;
        }

        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 32px;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
            max-width: 600px;
            margin: 0 auto;
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat-value {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: -0.01em;
            margin-bottom: 2px;
        }

        .hero-stat-label {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* ═══════════════════════════════════════
           SECTIONS
        ═══════════════════════════════════════ */
        .section {
            padding: 48px 32px;
        }

        .section-alt {
            background: var(--bg-secondary);
        }

        .section-header {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 36px;
        }

        .section-tag {
            display: inline-block;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--brand-primary);
            margin-bottom: 10px;
        }

        .section-title {
            font-size: clamp(24px, 3vw, 32px);
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 12px;
            line-height: 1.25;
        }

        .section-subtitle {
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-secondary);
        }

        /* ═══════════════════════════════════════
           CONFIGURATOR SECTION
        ═══════════════════════════════════════ */
        .configurator-intro {
            display: grid;
            grid-template-columns: 1fr 1.3fr;
            gap: 48px;
            align-items: center;
            margin-bottom: 36px;
        }

        .configurator-text h2 {
            font-size: clamp(24px, 3vw, 32px);
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 14px;
            line-height: 1.25;
        }

        .configurator-text p {
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-secondary);
            margin-bottom: 20px;
        }

        .configurator-steps {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .config-step {
            display: flex;
            align-items: flex-start;
            gap: 14px;
        }

        .config-step-num {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--bg-elevated);
            border: 2px solid var(--brand-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 700;
            color: var(--brand-primary);
            flex-shrink: 0;
        }

        .config-step-text {
            padding-top: 2px;
        }

        .config-step-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .config-step-desc {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* Rooms Grid */
        .rooms-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px;
        }

        .room-card {
            position: relative;
            border-radius: 14px;
            overflow: hidden;
            aspect-ratio: 1 / 1;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .room-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
            z-index: 1;
        }

        .room-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .room-card-bg {
            position: absolute;
            inset: 0;
            transition: transform 0.4s ease;
        }

        .room-card:hover .room-card-bg {
            transform: scale(1.08);
        }

        /* Room backgrounds */
        .room-card[data-room="lazienka"] .room-card-bg { background: linear-gradient(135deg, #164e63 0%, #0c2433 100%); }
        .room-card[data-room="salon"] .room-card-bg { background: linear-gradient(135deg, #292524 0%, #0c0a09 100%); }
        .room-card[data-room="kuchnia"] .room-card-bg { background: linear-gradient(135deg, #14532d 0%, #052e16 100%); }
        .room-card[data-room="sypialnia"] .room-card-bg { background: linear-gradient(135deg, #3b0764 0%, #1e1b4b 100%); }
        .room-card[data-room="biuro"] .room-card-bg { background: linear-gradient(135deg, #1e3a5f 0%, #0c1929 100%); }
        .room-card[data-room="ogrod"] .room-card-bg { background: linear-gradient(135deg, #166534 0%, #052e16 100%); }
        .room-card[data-room="elewacja"] .room-card-bg { background: linear-gradient(135deg, #374151 0%, #111827 100%); }
        .room-card[data-room="sauna"] .room-card-bg { background: linear-gradient(135deg, #9a3412 0%, #431407 100%); }

        .room-card-content {
            position: absolute;
            inset: 0;
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            z-index: 2;
        }

        .room-card-name {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 2px;
        }

        .room-card-desc {
            font-size: 13px;
            color: rgba(255,255,255,0.7);
        }

        .room-card-arrow {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateX(-8px);
            transition: all 0.25s ease;
            z-index: 3;
        }

        .room-card:hover .room-card-arrow {
            opacity: 1;
            transform: translateX(0);
        }

        .room-card-arrow svg {
            width: 16px;
            height: 16px;
            stroke: #fff;
            stroke-width: 2;
            fill: none;
        }

        /* ═══════════════════════════════════════
           FEATURES GRID
        ═══════════════════════════════════════ */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
        }

        .feature-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            padding: 24px 20px;
            text-align: center;
            transition: all 0.2s ease;
        }

        .feature-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .feature-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 14px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-icon svg {
            width: 24px;
            height: 24px;
            stroke: var(--brand-primary);
            stroke-width: 1.5;
            fill: none;
        }

        .feature-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .feature-text {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* ═══════════════════════════════════════
           BLOG GRID
        ═══════════════════════════════════════ */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .blog-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            overflow: hidden;
            transition: all 0.2s ease;
        }

        .blog-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .blog-image {
            height: 140px;
            position: relative;
            overflow: hidden;
        }

        .blog-image-bg {
            position: absolute;
            inset: 0;
            transition: transform 0.4s ease;
        }

        .blog-card:hover .blog-image-bg {
            transform: scale(1.05);
        }

        .blog-card[data-topic="lazienka"] .blog-image-bg { background: linear-gradient(135deg, #0891b2 0%, #164e63 100%); }
        .blog-card[data-topic="salon"] .blog-image-bg { background: linear-gradient(135deg, #059669 0%, #064e3b 100%); }
        .blog-card[data-topic="zasilanie"] .blog-image-bg { background: linear-gradient(135deg, #d97706 0%, #78350f 100%); }

        .blog-body {
            padding: 20px;
        }

        .blog-tag {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--brand-primary);
            margin-bottom: 10px;
        }

        .blog-title {
            font-size: 16px;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 8px;
        }

        .blog-excerpt {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* ═══════════════════════════════════════
           NEWSLETTER
        ═══════════════════════════════════════ */
        .newsletter {
            background: var(--bg-elevated);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 36px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .newsletter-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .newsletter-text {
            font-size: 15px;
            color: var(--text-secondary);
        }

        .newsletter-form {
            display: flex;
            gap: 10px;
        }

        .newsletter-input {
            flex: 1;
            padding: 12px 16px;
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            font-family: inherit;
            font-size: 14px;
            color: var(--text-primary);
            outline: none;
        }

        .newsletter-input:focus {
            border-color: var(--brand-primary);
        }

        .newsletter-note {
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 10px;
        }

        /* ═══════════════════════════════════════
           FOOTER
        ═══════════════════════════════════════ */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            padding: 48px 24px 24px;
        }

        .footer-inner {
            max-width: var(--container-footer);
            margin: 0 auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }

        .footer-brand .logo {
            margin-bottom: 12px;
        }

        .footer-brand-text {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .footer-social {
            display: flex;
            gap: 8px;
        }

        .footer-social a {
            width: 34px;
            height: 34px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .footer-social a:hover {
            border-color: var(--brand-primary);
        }

        .footer-social svg {
            width: 16px;
            height: 16px;
            fill: var(--text-secondary);
        }

        /* Footer columns (markup compatibility) */
        .footer-brand p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-top: 10px;
        }

        .footer-column h4 {
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 14px;
            color: var(--text-primary);
        }

        .footer-column ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .footer-column li {
            margin-bottom: 8px;
        }

        .footer-column a {
            font-size: 14px;
            color: var(--text-secondary);
            transition: color 0.2s ease;
        }

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

        .footer-heading {
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 14px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 8px;
        }

        .footer-links a {
            font-size: 14px;
            color: var(--text-secondary);
            transition: color 0.2s ease;
        }

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

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            font-size: 13px;
            color: var(--text-muted);
        }

        /* ═══════════════════════════════════════
           RESPONSIVE
        ═══════════════════════════════════════ */
        @media (max-width: 1200px) {
            .features-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .rooms-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

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

            .sidebar {
                position: fixed;
                top: 64px;
                left: 0;
                height: calc(100vh - 64px);
                width: min(280px, 80vw);
                max-width: 80vw;
                transform: translateX(-100%);
                transition: transform 0.25s ease;
                z-index: 150;
                box-shadow: var(--shadow-lg);
            }

            body.sidebar-open .sidebar {
                transform: translateX(0);
            }

            .configurator-intro {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .rooms-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .newsletter {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 28px;
            }

            .sidebar-overlay {
                display: block;
            }

            body.sidebar-open .sidebar-overlay {
                opacity: 1;
                pointer-events: auto;
            }
        }

        @media (max-width: 768px) {
            .header-inner {
                height: auto;
                padding: 12px 16px;
                flex-wrap: wrap;
                column-gap: 12px;
                row-gap: 12px;
            }

            .header.is-search-hidden .header-inner {
                row-gap: 0;
            }

            .logo {
                order: 1;
            }

            .header-actions {
                order: 2;
                margin-left: auto;
                gap: 8px;
            }

            .search-wrap {
                order: 3;
                flex: 1 0 100%;
                max-width: none;
                justify-content: center;
                max-height: 72px;
                overflow: hidden;
                opacity: 1;
                transform: translateY(0);
                transition: max-height 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
            }

            .search-bar {
                width: 100%;
                max-width: 560px;
            }

            .header.is-search-hidden .search-wrap {
                max-height: 0;
                opacity: 0;
                transform: translateY(-10px);
                pointer-events: none;
            }

            .header-actions .btn {
                display: none;
            }

            .account-icon {
                display: none;
            }

            .menu-toggle {
                display: flex;
            }

            .menu-toggle svg {
                width: 18px;
                height: 18px;
                stroke: currentColor;
                stroke-width: 2;
                fill: none;
            }

            /* Mobile: górny header ma tylko logo + motyw + hamburger */
            .header-fav-btn,
            .header-cart-btn,
            .header-account-btn {
                display: none !important;
            }

            /* Hamburger: etykieta "Kategorie" pod ikoną */
            .menu-toggle--labeled {
                width: 46px;
                height: 46px;
                padding: 6px 6px 5px;
                flex-direction: column;
                gap: 3px;
            }

            .menu-toggle--labeled .menu-toggle-label {
                display: block;
            }

            /* Sidebar: przycisk zamknięcia (X) */
            .sidebar-close {
                display: flex;
            }

            /* Mobile sidebar covers header (prevents offset issues when header wraps) */
            .sidebar {
                top: 0;
                height: 100vh;
            }

            .sidebar-overlay {
                inset: 0;
            }

            .hero {
                padding: 20px 20px 36px;
            }

            .hero-badges {
                gap: 8px;
            }

            .hero-badge {
                font-size: 11px;
                padding: 5px 10px;
            }

            .slide {
                aspect-ratio: 16 / 10;
                padding: 24px;
            }

            .slide-title {
                font-size: 20px;
            }

            .slide-desc {
                font-size: 13px;
                display: none;
            }

            .slider-controls {
                left: 24px;
                bottom: 12px;
            }

            .hero-stats {
                gap: 20px;
                flex-wrap: wrap;
            }

            .hero-stat-value {
                font-size: 18px;
            }

            .hero-stat-label {
                font-size: 11px;
            }

            .section {
                padding: 36px 20px;
            }

            .rooms-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

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

            .newsletter {
                padding: 28px 20px;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 12px;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            /* Header: keep logo + icons in one row on narrow phones */
            .header-inner {
                padding: 10px 12px;
                column-gap: 10px;
            }
            .logo-icon { width: 32px; height: 32px; border-radius: 8px; }
            .logo-text { font-size: 18px; }
            .header-actions { gap: 5px; }
            .icon-btn { width: 34px; height: 34px; border-radius: 9px; }
            .icon-btn svg { width: 16px; height: 16px; }
            .theme-toggle { width: 34px; height: 34px; }
            .search-wrap { max-height: 66px; }
            .search-bar { max-width: 520px; }

            .hero-badges {
                flex-direction: column;
                align-items: center;
            }

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

            .room-card {
                aspect-ratio: 1 / 0.9;
            }

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

            .hero-stats {
                grid-template-columns: repeat(2, 1fr);
                display: grid;
                gap: 16px;
            }
        
            /* Mobile (≤480): dopasuj hamburger z etykietą */
            .menu-toggle--labeled {
                width: 42px;
                height: 42px;
                padding: 5px 5px 4px;
                gap: 2px;
            }

            .menu-toggle--labeled .menu-toggle-label {
                font-size: 9px;
            }
}
/* ─────────────────────────────────────────────
   WordPress / WooCommerce wrappers (dodatkowe)
───────────────────────────────────────────── */
.page-wrap {
  padding: 22px 0 32px;
}
.page-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.page-title {
  font-size: 28px;
  line-height: 1.2;
  margin: 10px 0 18px;
}
.meta-line {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.entry-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  margin: 12px 0;
}
.post-title {
  margin: 0 0 8px;
  font-size: 20px;
}
.post-excerpt {
  color: var(--muted);
}
.pagination {
  margin-top: 20px;
}
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 14px;
}


/* ─────────────────────────────────────────────
   WooCommerce - podstawowe style przycisków i list
   (minimalne, żeby nie wyglądało "defaultowo")
───────────────────────────────────────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: var(--brand-primary);
  color: #0a0e17;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.woocommerce #respond input#submit:active {
  transform: translateY(0);
}

.woocommerce a.added_to_cart {
  margin-left: 10px;
  color: var(--text-secondary);
  text-decoration: underline;
}

.woocommerce a.added_to_cart:hover {
  color: var(--text-primary);
}

/* "Dodaj do koszyka" w gridzie produktów - bez białego defaultu */
.woocommerce ul.products li.product a.button {
  margin-top: 10px;
}

/* Produkty - tytuł i cena w kolorystyce motywu */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--text-primary);
}

.woocommerce ul.products li.product .price {
  color: var(--brand-primary);
  font-weight: 700;
}


/* ─────────────────────────────────────────────
   Mobile bottom navigation (Start / Koszyk / Ulubione / Moje konto)
───────────────────────────────────────────── */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Uwaga: dolna belka jest fixed – dodajemy padding, by nie zasłaniała treści */
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 74px;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(15, 20, 32, 0.92);
    border-top: 1px solid var(--border-color);
    z-index: 220;
    backdrop-filter: blur(16px);
  }

  [data-theme="light"] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.92);
  }

  .mobile-bottom-nav .mbn-spacer {
    pointer-events: none;
  }

  .mobile-bottom-nav .mbn-item {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.05;
    text-align: center;
    cursor: pointer;
  }

  .mobile-bottom-nav .mbn-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
  }

  .mobile-bottom-nav .mbn-item.active {
    color: var(--brand-primary);
  }

  .mobile-bottom-nav .mbn-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-bottom-nav .mbn-badge {
    position: absolute;
    top: -7px;
    right: -12px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #0a0e17;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.2);
  }
}

@media (max-width: 480px) {
  .mobile-bottom-nav {
    height: 70px;
  }
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
}


/* ─────────────────────────────────────────────
   Mobile header + bottom nav refinements (v2)
   - ikony bez podpisów
   - Kategorie przeniesione do dolnej belki
   - wyszukiwarka otwierana po kliknięciu lupki
   - większe marginesy od krawędzi (safe-area)
   - ukrycie nawigacji sekcji produktu na mobile
───────────────────────────────────────────── */

.search-toggle{ display:none; }

@media (max-width: 768px){
  .search-toggle{ display:flex; }

  /* Na mobile hamburger w headerze jest zbędny (Kategorie są w dolnej belce) */
  .menu-toggle{ display:none !important; }

  /* Wyszukiwarka na mobile: domyślnie schowana, otwierana ikoną lupki */
  .header-inner{
    flex-wrap: wrap;
    row-gap: 0 !important;
  }

  .search-wrap{
    order: 3;
    flex: 1 0 100%;
    max-width: none;
    justify-content: center;
    max-height: 0 !important;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: max-height 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
  }

  .header.is-search-open .header-inner{
    row-gap: 12px !important;
  }

  .header.is-search-open .search-wrap{
    max-height: 72px !important;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Dolna belka: kompaktowa, tylko ikony + bezpieczne marginesy */
  .mobile-bottom-nav{
    height: 64px !important;
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: calc(14px + env(safe-area-inset-left));
    padding-right: calc(14px + env(safe-area-inset-right));
  }

  body{
    padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }

  .mobile-bottom-nav .mbn-item{
    font-size: 0 !important;
    gap: 0 !important;
    padding: 10px 6px !important;
  }

  .mobile-bottom-nav .mbn-item svg{
    width: 24px !important;
    height: 24px !important;
  }

  /* Kategorie: hamburger <-> X w dolnej belce */
  .mobile-bottom-nav .icon-close{ display:none; }
  body.sidebar-open .mobile-bottom-nav .icon-close{ display:block; }
  body.sidebar-open .mobile-bottom-nav .icon-hamburger{ display:none; }
  body.sidebar-open .mobile-bottom-nav .mbn-item--cat{ color: var(--brand-primary); }

  /* Sekcja nawigacji "Opis / Parametry / ..." – ukryta na mobile */
  .ln-sticky-nav{ display:none !important; }
}

@media (max-width: 480px){
  .mobile-bottom-nav{ height: 60px !important; }
  body{ padding-bottom: calc(60px + env(safe-area-inset-bottom)) !important; }
}
