:root {
      --primary: #1e3a2f;
      --primary-light: #2c5343;
      --accent: #d97736;
      --accent-hover: #b86024;
      --bg: #fbf9f5;
      --card-bg: #ffffff;
      --text: #1f2937;
      --text-muted: #6b7280;
      --border: #e8e2d8;
      
      --fb-blue: #1877f2;
      --fb-blue-hover: #0d65d9;
      --phone-green: #059669;
      --phone-green-hover: #047857;

      --stage1-bg: #ecfdf5;
      --stage1-text: #065f46;
      --stage1-border: #a7f3d0;
      
      --stage2-bg: #f5f3ff;
      --stage2-text: #5b21b6;
      --stage2-border: #ddd6fe;

      --stage12-bg: #eff6ff;
      --stage12-text: #1e40af;
      --stage12-border: #bfdbfe;
      
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
      --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
      --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
      --radius: 16px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      margin: 0;
      padding-bottom: 0;
    }

    /* HEADER & HERO */
    .hero {
      background: linear-gradient(135deg, #163026 0%, #224536 100%);
      color: #ffffff;
      padding: 44px 20px 36px;
      position: relative;
      overflow: hidden;
      border-bottom: 3px solid var(--accent);
    }

    .hero::before {
      content: "";
      position: absolute;
      top: -40%;
      right: -8%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(217, 119, 54, 0.16) 0%, rgba(0,0,0,0) 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 24px;
      position: relative;
      z-index: 1;
    }

    @media (min-width: 820px) {
      .hero-container {
        flex-direction: row;
        text-align: left;
        gap: 36px;
        align-items: center;
      }
    }

    .hero-avatar-wrapper {
      position: relative;
      flex-shrink: 0;
    }

    .hero-avatar {
      width: 145px;
      height: 145px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid #ffffff;
      box-shadow: 0 8px 24px rgba(0,0,0,0.3);
      display: block;
      background-color: #2c5343;
    }

    .hero-avatar-badge {
      position: absolute;
      bottom: -6px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent);
      color: white;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 12px;
      border-radius: 20px;
      white-space: nowrap;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    }

    .hero-content h1 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 2.7rem;
      font-weight: 700;
      margin-bottom: 8px;
      letter-spacing: -0.5px;
      color: #fff;
      line-height: 1.15;
    }

    @media (max-width: 640px) {
      .hero-content h1 {
        font-size: 2.1rem;
      }
      .hero-avatar {
        width: 115px;
        height: 115px;
      }
    }

    /* KASIA MOTTO */
    .hero-motto {
      background: rgba(255, 255, 255, 0.09);
      border-left: 3px solid var(--accent);
      padding: 10px 16px;
      border-radius: 0 10px 10px 0;
      font-style: italic;
      font-size: 1.05rem;
      color: #fef3c7;
      margin-bottom: 12px;
      max-width: 640px;
      line-height: 1.5;
    }

    .hero-mission {
      color: #d1fae5;
      font-size: 1rem;
      font-weight: 600;
      max-width: 650px;
      margin-bottom: 18px;
      line-height: 1.45;
    }

    /* CONTACT & CTA BUTTONS */
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }

    @media (min-width: 820px) {
      .hero-actions {
        justify-content: flex-start;
      }
    }

    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border-radius: 30px;
      font-size: 0.88rem;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .cta-btn svg {
      width: 17px;
      height: 17px;
      fill: currentColor;
      flex-shrink: 0;
    }

    .btn-phone {
      background: var(--phone-green);
      color: #ffffff !important;
      box-shadow: 0 3px 10px rgba(5, 150, 105, 0.35);
    }

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

    .btn-form {
      background: var(--accent);
      color: #ffffff !important;
      box-shadow: 0 3px 10px rgba(217, 119, 54, 0.35);
    }

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

    .btn-fb {
      background: var(--fb-blue);
      color: #ffffff !important;
      box-shadow: 0 3px 10px rgba(24, 119, 242, 0.35);
    }

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

    .hero-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
    }

    @media (min-width: 820px) {
      .hero-stats {
        justify-content: flex-start;
      }
    }

    .stat-pill {
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(8px);
      padding: 5px 13px;
      border-radius: 30px;
      font-size: 0.83rem;
      font-weight: 600;
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .stat-pill span {
      color: #fed7aa;
      font-weight: 800;
    }

    /* ========================================================
       STICKY TOOLBAR (COMPACT & HORIZONTAL SCROLL ON MOBILE)
       ======================================================== */
    .toolbar {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(251, 249, 245, 0.96);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      padding: 12px 20px;
      box-shadow: var(--shadow-sm);
      transition: all 0.2s ease;
    }

    .toolbar-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .toolbar-top {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: space-between;
      align-items: center;
    }

    .search-box {
      flex: 1;
      min-width: 240px;
      position: relative;
      display: flex;
      align-items: center;
    }

    .search-box input {
      width: 100%;
      padding: 9px 40px 9px 38px;
      border-radius: 30px;
      border: 1px solid var(--border);
      background: #ffffff;
      font-size: 0.92rem;
      color: var(--text);
      outline: none;
      transition: all 0.2s ease;
    }

    .search-box input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(30, 58, 47, 0.15);
    }

    .search-icon {
      position: absolute;
      left: 13px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
      font-size: 15px;
    }

    .search-clear-btn {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      background: #e5dfd5;
      color: #4b5563;
      border: none;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      display: none;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      line-height: 1;
      transition: all 0.15s ease;
      padding: 0;
      box-shadow: 0 1px 2px rgba(0,0,0,0.08);
      z-index: 2;
    }

    .search-clear-btn:hover {
      background: var(--accent);
      color: #ffffff;
      transform: translateY(-50%) scale(1.1);
    }

    .search-clear-btn.visible {
      display: flex;
    }

    /* FILTERS */
    .filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .filter-label {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-muted);
      margin-right: 4px;
      flex-shrink: 0;
    }

    .filter-chip {
      padding: 5px 14px;
      border-radius: 20px;
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      background: #ffffff;
      color: var(--text-muted);
      border: 1px solid var(--border);
      transition: all 0.2s ease;
      user-select: none;
      flex-shrink: 0;
      white-space: nowrap;
    }

    .filter-chip:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .filter-chip.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    /* ETAP BADGES & FILTER CHIPS */
    .stage-chip-all.active {
      background: var(--primary) !important;
      color: white !important;
      border-color: var(--primary) !important;
    }

    .stage-chip-1.active {
      background: #059669 !important;
      color: white !important;
      border-color: #059669 !important;
    }

    .stage-chip-12.active {
      background: #2563eb !important;
      color: white !important;
      border-color: #2563eb !important;
    }

    .stage-chip-2.active {
      background: #7c3aed !important;
      color: white !important;
      border-color: #7c3aed !important;
    }

    /* ========================================================
       MOBILE SPECIFIC STYLES FOR THE STICKY TOOLBAR:
       Horizontal swipeable pills instead of tall 7-row stack!
       ======================================================== */
    @media (max-width: 768px) {
      .toolbar {
        padding: 8px 12px 10px;
      }

      .toolbar-container {
        gap: 6px;
      }

      .search-box input {
        padding: 7px 34px 7px 30px;
        font-size: 0.84rem;
        height: 36px;
      }

      .search-icon {
        left: 10px;
        font-size: 13px;
      }

      .search-clear-btn {
        right: 8px;
        width: 20px;
        height: 20px;
        font-size: 11px;
      }

      /* Single-line horizontal scroll for filter rows */
      .filter-row {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 6px;
        padding: 2px 2px 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
      }

      .filter-row::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
      }

      /* Hide static labels on mobile to save precious vertical space */
      .filter-label {
        display: none;
      }

      .filter-chip {
        padding: 4px 11px;
        font-size: 0.77rem;
        line-height: 1.3;
      }
    }

    /* MAIN CONTENT */
    .container {
      max-width: 1200px;
      margin: 24px auto 0;
      padding: 0 20px;
    }

    @media (max-width: 768px) {
      .container {
        margin-top: 14px;
        padding: 0 14px;
      }
    }

    .results-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      font-size: 0.88rem;
      color: var(--text-muted);
    }

    .recipe-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 28px;
    }

    @media (min-width: 768px) {
      .recipe-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1100px) {
      .recipe-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    /* RECIPE CARD */
    .recipe-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      position: relative;
    }

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

    /* IMAGE IN CARD */
    .card-media-wrapper {
      width: 100%;
      height: 240px;
      background: #f1ede6;
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    .card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
      display: block;
    }

    .card-media-wrapper:hover .card-img {
      transform: scale(1.03);
    }

    .card-photo-count {
      position: absolute;
      bottom: 12px;
      right: 12px;
      background: rgba(15, 23, 20, 0.82);
      color: white;
      font-size: 12px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 20px;
      backdrop-filter: blur(6px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: background 0.2s ease, transform 0.2s ease;
      pointer-events: none;
    }

    .card-media-wrapper:hover .card-photo-count {
      background: var(--accent);
      transform: scale(1.04);
    }

    .card-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #a89f91;
      font-size: 0.9rem;
      gap: 8px;
      background: linear-gradient(135deg, #f5f0e8 0%, #ebe3d5 100%);
    }

    .card-placeholder svg {
      width: 44px;
      height: 44px;
      stroke: #baa48b;
    }

    .card-header {
      padding: 18px 20px 10px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 10px;
      border-radius: 12px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.3px;
    }

    /* STAGE BADGES */
    .badge-stage-1 {
      background: var(--stage1-bg);
      color: var(--stage1-text);
      border: 1px solid var(--stage1-border);
    }

    .badge-stage-2 {
      background: var(--stage2-bg);
      color: var(--stage2-text);
      border: 1px solid var(--stage2-border);
    }

    .badge-stage-12 {
      background: var(--stage12-bg);
      color: var(--stage12-text);
      border: 1px solid var(--stage12-border);
    }

    .badge-category {
      background: #f3f4f6;
      color: #374151;
      border: 1px solid #e5e7eb;
    }

    .badge-date {
      background: transparent;
      color: var(--text-muted);
      font-weight: 500;
      font-size: 0.75rem;
      margin-left: auto;
    }

    .card-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.25rem;
      font-weight: 700;
      line-height: 1.35;
      color: var(--primary);
    }

    .card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 2px;
    }

    .tag-mini {
      font-size: 0.7rem;
      font-weight: 600;
      color: #4b5563;
      background: #f3ede2;
      padding: 2px 7px;
      border-radius: 6px;
    }

    .cookidoo-link {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.75rem;
      font-weight: 700;
      color: #047857;
      text-decoration: none;
      background: #ecfdf5;
      padding: 4px 10px;
      border-radius: 8px;
      border: 1px solid #a7f3d0;
      margin-top: 4px;
      width: fit-content;
    }

    .cookidoo-link:hover {
      background: #d1fae5;
    }

    .card-body {
      padding: 10px 20px 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex: 1;
    }

    .section-title {
      font-size: 0.8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      color: #6b7280;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* INGREDIENTS LIST WITH CHECKBOXES */
    .ingredients-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .ingredient-item {
      font-size: 0.88rem;
      color: #374151;
      display: flex;
      align-items: flex-start;
      gap: 8px;
      line-height: 1.4;
    }

    .ingredient-item input[type="checkbox"] {
      margin-top: 3px;
      accent-color: var(--primary);
      cursor: pointer;
    }

    .ingredient-item.checked span {
      text-decoration: line-through;
      color: #9ca3af;
    }

    /* INSTRUCTIONS */
    .instructions-list {
      padding-left: 20px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .instructions-list li {
      font-size: 0.88rem;
      color: #374151;
      line-height: 1.5;
    }

    /* NOTES BOX */
    .notes-box {
      background: #fffbeb;
      border-left: 4px solid #f59e0b;
      padding: 10px 14px;
      border-radius: 0 10px 10px 0;
      font-size: 0.83rem;
      color: #92400e;
      line-height: 1.45;
    }

    .notes-box strong {
      color: #78350f;
    }

    /* RAW MESSAGE TOGGLE */
    .raw-toggle-btn {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      text-align: left;
      padding: 4px 0;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .raw-toggle-btn:hover {
      color: var(--primary);
    }

    .raw-text-panel {
      display: none;
      background: #f8fafc;
      border: 1px dashed #cbd5e1;
      padding: 10px;
      border-radius: 8px;
      font-size: 0.78rem;
      color: #475569;
      white-space: pre-wrap;
      font-family: monospace;
      max-height: 160px;
      overflow-y: auto;
    }

    /* EMPTY STATE */
    .empty-state {
      grid-column: 1 / -1;
      text-align: center;
      padding: 60px 20px;
      background: white;
      border-radius: var(--radius);
      border: 1px dashed var(--border);
    }

    .empty-state h3 {
      font-size: 1.25rem;
      margin-bottom: 8px;
      color: var(--primary);
    }

    .empty-state p {
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    /* ========================================================
       MODERN FULLSCREEN LIGHTBOX GALLERY (COMPLETELY OPAQUE)
       ======================================================== */
    .lightbox-overlay {
      position: fixed;
      inset: 0;
      background: #090e0c !important;
      z-index: 99999;
      display: none;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      user-select: none;
      padding: 14px 16px 20px;
      overflow: hidden;
    }

    .lightbox-overlay.active {
      display: flex;
    }

    .lightbox-topbar {
      width: 100%;
      max-width: 1000px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: white;
      padding: 6px 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      flex-shrink: 0;
    }

    .lightbox-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.15rem;
      color: #ffffff;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      padding-right: 14px;
    }

    .lightbox-counter-badge {
      background: rgba(255, 255, 255, 0.15);
      color: #fed7aa;
      font-size: 0.82rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 20px;
      margin-left: auto;
      margin-right: 14px;
      white-space: nowrap;
    }

    .lightbox-close {
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #ffffff;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      cursor: pointer;
      line-height: 1;
      transition: all 0.2s ease;
      flex-shrink: 0;
    }

    .lightbox-close:hover {
      background: var(--accent);
      transform: scale(1.08);
    }

    .lightbox-stage {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      flex: 1;
      max-height: calc(100vh - 190px);
      margin: 12px 0;
    }

    .lightbox-main-img {
      max-width: calc(100vw - 120px);
      max-height: calc(100vh - 200px);
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
      background: #000;
    }

    @media (max-width: 640px) {
      .lightbox-overlay {
        padding: 10px 8px 14px;
      }
      .lightbox-topbar {
        padding: 4px 6px;
      }
      .lightbox-title {
        font-size: 0.95rem;
      }
      .lightbox-counter-badge {
        font-size: 0.75rem;
        padding: 3px 8px;
        margin-right: 8px;
      }
      .lightbox-close {
        width: 32px;
        height: 32px;
        font-size: 20px;
      }
      .lightbox-stage {
        margin: 6px 0;
        max-height: calc(100vh - 160px);
      }
      .lightbox-main-img {
        max-width: 96vw;
        max-height: calc(100vh - 170px);
        border-radius: 8px;
      }
      .lb-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
        background: rgba(0, 0, 0, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.4);
      }
      .lb-nav-prev {
        left: 4px;
      }
      .lb-nav-next {
        right: 4px;
      }
      .lightbox-thumb {
        width: 50px;
        height: 50px;
      }
    }

    .lb-nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(8px);
      color: white;
      border: 1px solid rgba(255, 255, 255, 0.3);
      font-size: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      z-index: 10;
    }

    .lb-nav-btn:hover {
      background: var(--accent);
      border-color: var(--accent);
      transform: translateY(-50%) scale(1.1);
    }

    .lb-nav-prev {
      left: 12px;
    }

    .lb-nav-next {
      right: 12px;
    }

    .lightbox-bottom {
      width: 100%;
      max-width: 1000px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    .lightbox-thumbs {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      max-width: 100%;
      padding: 6px 12px;
      justify-content: center;
    }

    .lightbox-thumb {
      width: 64px;
      height: 64px;
      border-radius: 8px;
      object-fit: cover;
      cursor: pointer;
      opacity: 0.55;
      border: 2px solid transparent;
      transition: all 0.2s ease;
      flex-shrink: 0;
      background: #222;
    }

    .lightbox-thumb.active {
      opacity: 1;
      border-color: var(--accent);
      transform: scale(1.1);
      box-shadow: 0 0 12px rgba(217, 119, 54, 0.6);
    }

    .lightbox-thumb:hover {
      opacity: 0.9;
    }

    /* FOOTER */
    .site-footer {
      margin-top: 60px;
      margin-bottom: 0;
      background: linear-gradient(135deg, #183329 0%, #234638 100%);
      color: white;
      padding: 40px 20px;
      text-align: center;
      border-top: 3px solid var(--accent);
    }

    .footer-container {
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .footer-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.6rem;
      color: #fff;
    }

    .footer-desc {
      color: #d1fae5;
      font-size: 0.95rem;
      max-width: 580px;
    }

    .footer-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-top: 8px;
    }

    /* PRINT STYLESHEET */
    @media print {
      body {
        background: #ffffff !important;
        color: #000000 !important;
        padding-bottom: 0 !important;
      }
      .toolbar, .raw-toggle-btn, .lightbox-overlay, .cta-btn, .site-footer, input[type="checkbox"] {
        display: none !important;
      }
      .recipe-card {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        margin-bottom: 20pt !important;
        border: 1px solid #d1d5db !important;
      }
    }

    /* ========================================================
       PANEL ADMINISTRACYJNY (PA) & MODAL STYLES (MODERN GUIDELINES)
       ======================================================== */
    
    /* Sticky Top Admin Bar */
    .admin-bar {
      position: sticky;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: linear-gradient(135deg, #12281f 0%, #1c3d30 100%);
      color: #ffffff;
      padding: 10px 20px;
      border-bottom: 2px solid var(--accent);
      box-shadow: 0 4px 20px rgba(0,0,0,0.25);
      animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideDown {
      from { transform: translateY(-100%); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .admin-bar-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .admin-bar-left {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .admin-badge {
      background: rgba(217, 119, 54, 0.25);
      color: #fed7aa;
      border: 1px solid rgba(217, 119, 54, 0.4);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.82rem;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .admin-server-status {
      font-size: 0.8rem;
      color: #d1fae5;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.08);
      padding: 3px 10px;
      border-radius: 12px;
    }

    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #10b981;
      display: inline-block;
      box-shadow: 0 0 8px #10b981;
    }

    .status-dot.offline {
      background: #f59e0b;
      box-shadow: 0 0 8px #f59e0b;
    }

    .admin-bar-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .btn-admin-bar {
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
    }

    .btn-admin-bar:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-1px);
    }

    .btn-admin-bar.btn-admin-add {
      background: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
      font-weight: 700;
      box-shadow: 0 2px 8px rgba(217, 119, 54, 0.4);
    }

    .btn-admin-bar.btn-admin-add:hover {
      background: var(--accent-hover);
    }

    .btn-admin-bar.btn-admin-logout {
      background: rgba(239, 68, 68, 0.2);
      border-color: rgba(239, 68, 68, 0.4);
      color: #fca5a5;
    }

    .btn-admin-bar.btn-admin-logout:hover {
      background: rgba(239, 68, 68, 0.4);
    }

    /* Toolbar Actions & Buttons */
    .toolbar-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .btn-tb-admin, .btn-tb-add {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 16px;
      border-radius: 30px;
      font-size: 0.85rem;
      font-weight: 700;
      cursor: pointer;
      border: 1px solid var(--border);
      background: #ffffff;
      color: var(--text);
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .btn-tb-admin:hover {
      background: #f3f0e8;
      border-color: #d1c7b7;
      transform: translateY(-1px);
    }

    .btn-tb-add {
      background: var(--accent);
      color: #ffffff;
      border-color: var(--accent);
      box-shadow: 0 2px 8px rgba(217, 119, 54, 0.3);
    }

    .btn-tb-add:hover {
      background: var(--accent-hover);
      transform: translateY(-1px);
    }

    /* Recipe Card Admin Controls */
    .card-admin-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 16px;
      background: #f7fee7;
      border-bottom: 1px solid #d9f99d;
      border-radius: 16px 16px 0 0;
      gap: 8px;
    }

    .card-admin-title {
      font-size: 0.75rem;
      font-weight: 700;
      color: #3f6212;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .card-admin-btns {
      display: flex;
      gap: 6px;
    }

    .btn-card-admin {
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      border: 1px solid transparent;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: all 0.15s ease;
    }

    .btn-card-edit {
      background: #dbeafe;
      color: #1e40af;
      border-color: #bfdbfe;
    }

    .btn-card-edit:hover {
      background: #bfdbfe;
      transform: translateY(-1px);
    }

    .btn-card-dup {
      background: #f1f5f9;
      color: #334155;
      border-color: #cbd5e1;
    }

    .btn-card-dup:hover {
      background: #e2e8f0;
      transform: translateY(-1px);
    }

    .btn-card-del {
      background: #fee2e2;
      color: #991b1b;
      border-color: #fecaca;
    }

    .btn-card-del:hover {
      background: #fca5a5;
      transform: translateY(-1px);
    }

    /* Native <dialog> Modal Styles (Modern Guidance Compliant) */
    dialog:not([open]) {
      display: none !important;
    }

    dialog:modal {
      overscroll-behavior: contain;
      border: none;
      border-radius: var(--radius);
      box-shadow: 0 25px 60px rgba(0,0,0,0.35);
      background: #ffffff;
      color: var(--text);
      max-width: min(760px, calc(100vw - 32px));
      width: 100%;
      max-height: 92vh;
      padding: 0;
      display: flex;
      flex-direction: column;
      outline: none;
      margin: auto;
    }

    dialog::backdrop {
      overflow: hidden;
      overscroll-behavior: contain;
      background: rgba(15, 23, 42, 0.7);
      backdrop-filter: blur(5px);
    }

    .dialog-header {
      padding: 20px 24px 16px;
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      background: #faf8f5;
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .dialog-header-info h2 {
      font-size: 1.35rem;
      color: var(--primary);
      font-weight: 800;
      margin-bottom: 4px;
    }

    .dialog-header-info p {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .dialog-close-btn {
      background: none;
      border: none;
      font-size: 1.6rem;
      line-height: 1;
      color: var(--text-muted);
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 8px;
      transition: all 0.15s ease;
    }

    .dialog-close-btn:hover {
      background: #e5e7eb;
      color: #111827;
    }

    .dialog-body {
      padding: 24px;
      overflow-y: auto;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .dialog-footer {
      padding: 16px 24px;
      border-top: 1px solid var(--border);
      background: #faf8f5;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 12px;
      position: sticky;
      bottom: 0;
      z-index: 10;
    }

    /* Form Fields */
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }

    @media (min-width: 600px) {
      .form-row.two-col {
        grid-template-columns: 1fr 1fr;
      }
      .form-row.three-col {
        grid-template-columns: 1fr 1fr 1fr;
      }
    }

    .form-group label {
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--text);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .form-group label .field-hint {
      font-size: 0.78rem;
      font-weight: 400;
      color: var(--text-muted);
    }

    .form-input, .form-select, .form-textarea {
      width: 100%;
      padding: 10px 14px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: #ffffff;
      font-family: inherit;
      font-size: 0.92rem;
      color: var(--text);
      transition: all 0.2s ease;
      outline: none;
    }

    .form-input:focus, .form-select:focus, .form-textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(217, 119, 54, 0.18);
    }

    .form-textarea {
      resize: vertical;
      line-height: 1.5;
    }

    /* Stage segmented selector */
    .stage-segmented-group {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 8px;
    }

    .stage-segment-btn {
      padding: 9px 8px;
      border-radius: 10px;
      border: 2px solid var(--border);
      background: #ffffff;
      font-size: 0.85rem;
      font-weight: 700;
      cursor: pointer;
      text-align: center;
      transition: all 0.2s ease;
      color: var(--text-muted);
    }

    .stage-segment-btn:hover {
      border-color: #cbd5e1;
      background: #f8fafc;
    }

    .stage-segment-btn.active.stage-1 {
      border-color: #10b981;
      background: #ecfdf5;
      color: #065f46;
    }

    .stage-segment-btn.active.stage-12 {
      border-color: #3b82f6;
      background: #eff6ff;
      color: #1e40af;
    }

    .stage-segment-btn.active.stage-2 {
      border-color: #8b5cf6;
      background: #f5f3ff;
      color: #5b21b6;
    }

    /* Photo Upload Area */
    .photo-upload-box {
      border: 2px dashed var(--border);
      border-radius: 12px;
      padding: 16px;
      text-align: center;
      background: #faf9f6;
      transition: all 0.2s ease;
      position: relative;
    }

    .photo-upload-box:hover, .photo-upload-box.dragover {
      border-color: var(--accent);
      background: #fff7ed;
    }

    .photo-preview-wrap {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 10px;
      background: #ffffff;
      padding: 10px;
      border-radius: 10px;
      border: 1px solid var(--border);
    }

    .photo-preview-img {
      width: 70px;
      height: 70px;
      border-radius: 8px;
      object-fit: cover;
      border: 1px solid #e5e7eb;
    }

    .photo-preview-details {
      flex: 1;
      text-align: left;
      font-size: 0.85rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .photo-remove-btn {
      background: #fee2e2;
      color: #991b1b;
      border: none;
      border-radius: 6px;
      padding: 6px 12px;
      font-size: 0.8rem;
      font-weight: 700;
      cursor: pointer;
    }

    .photo-remove-btn:hover {
      background: #fca5a5;
    }

    /* Dialog Buttons */
    .btn-dialog-primary {
      padding: 10px 22px;
      border-radius: 30px;
      background: var(--accent);
      color: #ffffff;
      border: none;
      font-size: 0.92rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
      box-shadow: 0 3px 10px rgba(217, 119, 54, 0.3);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

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

    .btn-dialog-secondary {
      padding: 10px 20px;
      border-radius: 30px;
      background: #f3f4f6;
      color: var(--text);
      border: 1px solid #d1d5db;
      font-size: 0.92rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-dialog-secondary:hover {
      background: #e5e7eb;
    }

    .btn-dialog-danger {
      padding: 10px 22px;
      border-radius: 30px;
      background: #dc2626;
      color: #ffffff;
      border: none;
      font-size: 0.92rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-dialog-danger:hover {
      background: #b91c1c;
    }

    /* Login Dialog Specifics */
    .login-dialog-content {
      padding: 30px 28px 24px;
      text-align: center;
    }

    .login-icon-badge {
      width: 60px;
      height: 60px;
      background: #ecfdf5;
      color: #065f46;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      margin: 0 auto 16px;
      border: 2px solid #a7f3d0;
    }

    .login-dialog-content h2 {
      font-size: 1.45rem;
      color: var(--primary);
      margin-bottom: 8px;
    }

    .login-dialog-content p {
      font-size: 0.88rem;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    .login-input-wrap {
      position: relative;
      margin-bottom: 16px;
    }

    .login-input-wrap input {
      width: 100%;
      padding: 12px 44px 12px 16px;
      font-size: 1rem;
      border-radius: 12px;
      border: 1px solid var(--border);
      outline: none;
    }

    .login-input-wrap input:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(217, 119, 54, 0.2);
    }

    .login-toggle-eye {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1.1rem;
      color: var(--text-muted);
    }

    .login-error-msg {
      background: #fee2e2;
      color: #991b1b;
      padding: 8px 14px;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 16px;
      display: none;
      animation: shake 0.3s;
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      20%, 60% { transform: translateX(-6px); }
      40%, 80% { transform: translateX(6px); }
    }

    /* Toast Notifications */
    .toast-container {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 10000;
      display: flex;
      flex-direction: column;
      gap: 10px;
      pointer-events: none;
    }

    .toast {
      pointer-events: auto;
      background: #1f2937;
      color: #ffffff;
      padding: 12px 20px;
      border-radius: 12px;
      font-size: 0.9rem;
      font-weight: 600;
      box-shadow: 0 8px 24px rgba(0,0,0,0.25);
      display: flex;
      align-items: center;
      gap: 10px;
      animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      border-left: 4px solid var(--accent);
      max-width: 400px;
    }

    .toast.success {
      border-left-color: #10b981;
    }

    .toast.error {
      border-left-color: #ef4444;
    }

    @keyframes toastIn {
      from { transform: translateX(100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }

    .footer-credits {
      margin-top: 18px;
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.7);
    }

    .footer-credits a {
      color: #fed7aa;
      text-decoration: underline;
      text-underline-offset: 3px;
      font-weight: 700;
      transition: color 0.2s ease;
    }

    .footer-credits a:hover {
      color: #ffffff;
    }

    /* ========================================================
       PRZYCISK 'POKAŻ WIĘCEJ' (PAGINACJA MAX 12 DAŃ)
       ======================================================== */
    .load-more-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: 40px auto 20px;
      gap: 12px;
      width: 100%;
    }

    .btn-load-more {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 13px 32px;
      border-radius: 40px;
      font-size: 0.98rem;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      background: var(--primary);
      color: #ffffff;
      border: 2px solid var(--primary-light);
      box-shadow: 0 4px 16px rgba(30, 58, 47, 0.22);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-load-more:hover {
      background: var(--primary-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(30, 58, 47, 0.32);
    }

    .btn-load-more:active {
      transform: translateY(0);
    }

    .load-more-counter {
      background: rgba(255, 255, 255, 0.2);
      padding: 2px 10px;
      border-radius: 12px;
      font-size: 0.8rem;
      font-weight: 700;
    }

    .all-loaded-indicator {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-muted);
      padding: 10px 24px;
      border-radius: 30px;
      background: #f1ede4;
      border: 1px solid var(--border);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* Dyskretny link Panel w stopce */
    .footer-panel-link {
      color: rgba(255, 255, 255, 0.35);
      text-decoration: none;
      font-size: 0.8rem;
      font-weight: 500;
      transition: color 0.2s ease;
      cursor: pointer;
    }

    .footer-panel-link:hover {
      color: rgba(255, 255, 255, 0.85);
      text-decoration: underline;
    }

    .footer-dot {
      margin: 0 8px;
      color: rgba(255, 255, 255, 0.25);
    }
