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

    body {
      font-family: 'Poppins', sans-serif;
      background: #FAF7F4;
      color: #1A1A1A;
      line-height: 1.6;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Header */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
      backdrop-filter: blur(10px);
    }

    .header-flex {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0;
    }

    .site-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
    }

    .logo-badge {
      display: flex;
      flex-direction: column;
      align-items: center;
      background: linear-gradient(135deg, #FF7A2F, #FF6B1C);
      padding: 0.4rem 1rem 0.5rem;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(255, 122, 47, 0.3);
      transition: all 0.3s ease;
    }

    .logo-badge:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(255, 122, 47, 0.4);
    }

    .logo-recipes-top {
      font-family: 'Poppins', sans-serif;
      font-size: 0.5rem;
      font-weight: 600;
      letter-spacing: 3px;
      color: #fff;
      text-transform: uppercase;
      margin-bottom: -2px;
    }

    .logo-home {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: #fff;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
    }

    .logo-icon-inline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.25);
      border-radius: 50%;
      width: 1.6rem;
      height: 1.6rem;
      margin: 0 0.15rem;
    }

    .logo-icon-inline i {
      font-size: 0.8rem;
      color: #fff;
    }

    [data-theme="dark"] .logo-badge {
      background: linear-gradient(135deg, #FF8C42, #FF7A2F);
    }

    .nav-list {
      display: flex;
      list-style: none;
      gap: 2rem;
    }

    .nav-list a {
      color: #4A4A4A;
      font-weight: 500;
      text-decoration: none;
    }

    .nav-list a:hover {
      color: #FF7A2F;
    }

    /* Hero */
    .recipe-hero {
      position: relative;
      height: 60vh;
      min-height: 400px;
      overflow: hidden;
      margin-top: 70px;
    }

    .recipe-hero-bg {
      position: absolute;
      inset: 0;
    }

    .recipe-hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .recipe-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    }

    .recipe-hero-content {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 3rem 0;
      color: #fff;
    }

    .breadcrumb {
      margin-bottom: 1rem;
      font-size: 0.875rem;
    }

    .breadcrumb a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
    }

    .breadcrumb span {
      margin: 0 0.5rem;
      opacity: 0.5;
    }

    .cat-badge {
      display: inline-block;
      background: #D4583A;
      color: #fff;
      padding: 0.35rem 1rem;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .recipe-hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: 2.75rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    /* Quick Info */
    .quick-info {
      background: #fff;
      border-radius: 16px;
      padding: 1.5rem 2rem;
      margin-top: -50px;
      position: relative;
      z-index: 10;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .quick-item {
      text-align: center;
      padding: 0.5rem 1rem;
    }

    .quick-item i {
      font-size: 1.5rem;
      color: #D4583A;
      display: block;
      margin-bottom: 0.5rem;
    }

    .quick-item .label {
      font-size: 0.75rem;
      color: #7A7A7A;
      display: block;
    }

    .quick-item .value {
      font-weight: 600;
      color: #1A1A1A;
    }

    /* Content */
    .recipe-content {
      padding: 3rem 0;
    }

    .recipe-grid {
      display: grid;
      grid-template-columns: 1fr 350px;
      gap: 3rem;
    }

    /* Cards */
    .content-card {
      background: #fff;
      border-radius: 16px;
      padding: 2rem;
      margin-bottom: 2rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .content-card h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      color: #1A1A1A;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .content-card h2 i {
      color: #D4583A;
    }

    .description-text {
      color: #4A4A4A;
      line-height: 1.8;
    }

    /* Dietary Tags */
    .dietary-tags {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
    }

    .dietary-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: #E8F5E9;
      color: #2E7D32;
      padding: 0.5rem 1rem;
      border-radius: 30px;
      font-size: 0.8rem;
      font-weight: 500;
    }

    /* Ingredients */
    .ingredients-list {
      list-style: none;
    }

    .ingredients-list li {
      padding: 0.75rem 0;
      border-bottom: 1px solid #f5f5f5;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .check-box {
      width: 20px;
      height: 20px;
      border: 2px solid #D4583A;
      border-radius: 4px;
      flex-shrink: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }

    .check-box.checked {
      background: #D4583A;
    }

    .check-box.checked::after {
      content: 'âœ“';
      color: #fff;
      font-size: 0.75rem;
    }

    .ing-group-title {
      font-weight: 600;
      color: #D4583A;
      margin: 1rem 0 0.5rem;
      font-size: 0.9rem;
    }

    /* Tools */
    .tools-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }

    .tool-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #4A4A4A;
    }

    .tool-item i {
      color: #D4583A;
    }

    /* Steps */
    .step-item {
      display: flex;
      gap: 1.25rem;
      margin-bottom: 1.5rem;
    }

    .step-num {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, #D4583A, #E67A5F);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      flex-shrink: 0;
    }

    .step-text {
      flex: 1;
      color: #4A4A4A;
      line-height: 1.7;
      padding-top: 0.5rem;
    }

    .step-group-title {
      font-weight: 600;
      color: #D4583A;
      margin: 1.5rem 0 1rem;
      font-size: 1rem;
    }

    /* Video */
    .video-wrapper {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      border-radius: 12px;
      overflow: hidden;
      background: #000;
    }

    .video-placeholder {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #fff;
    }

    .video-placeholder i {
      font-size: 4rem;
      margin-bottom: 1rem;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid #f0f0f0;
    }

    .faq-q {
      padding: 1rem 0;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 500;
    }

    .faq-q i {
      color: #D4583A;
      transition: transform 0.3s;
    }

    .faq-a {
      padding: 0 0 1rem;
      color: #7A7A7A;
      display: none;
    }

    .faq-item.active .faq-a {
      display: block;
    }

    .faq-item.active .faq-q i {
      transform: rotate(180deg);
    }

    /* Sidebar */
    .sidebar-card {
      background: #fff;
      border-radius: 16px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .sidebar-card h3 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .sidebar-card h3 i {
      color: #D4583A;
    }

    /* Facebook Widget */
    .fb-page-widget {
      background: linear-gradient(145deg, #1877F2 0%, #0d65d9 100%);
      color: #fff;
      border-radius: 16px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 8px 24px rgba(24, 119, 242, 0.3);
      position: relative;
      overflow: hidden;
    }

    .fb-page-widget::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
      pointer-events: none;
    }

    .fb-page-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    .fb-page-header i {
      font-size: 2rem;
    }

    .fb-page-header h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      font-weight: 700;
      margin: 0;
      color: #fff;
    }

    .fb-page-stats {
      display: flex;
      justify-content: space-around;
      margin: 1.25rem 0;
      padding: 1rem 0;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

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

    .fb-stat-value {
      font-size: 1.5rem;
      font-weight: 700;
      display: block;
    }

    .fb-stat-label {
      font-size: 0.75rem;
      opacity: 0.9;
    }

    .fb-follow-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      width: 100%;
      padding: 0.875rem 1rem;
      background: #fff;
      color: #1877F2;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .fb-follow-btn:hover {
      background: #f0f2f5;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Ad Slots */
    .ad-slot {
      background: linear-gradient(145deg, #f8f8f8, #e8e8e8);
      border: 2px dashed #ccc;
      border-radius: 12px;
      padding: 2rem 1rem;
      text-align: center;
      margin: 1.5rem 0;
      color: #888;
      font-size: 0.9rem;
      position: relative;
    }

    .ad-slot::before {
      content: 'AD';
      position: absolute;
      top: 0.5rem;
      left: 0.5rem;
      background: #ddd;
      color: #777;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      font-size: 0.65rem;
      font-weight: 600;
    }

    .ad-slot i {
      font-size: 2rem;
      margin-bottom: 0.5rem;
      display: block;
      color: #bbb;
    }

    .ad-slot-sidebar {
      min-height: 250px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .ad-slot-content {
      min-height: 100px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    /* Nutrition */
    .nutrition-item {
      display: flex;
      justify-content: space-between;
      padding: 0.5rem 0;
      border-bottom: 1px solid #f5f5f5;
    }

    .nutrition-item.highlight {
      background: #FFF8F0;
      margin: 0 -1rem;
      padding: 0.75rem 1rem;
      border-radius: 8px;
    }

    .nutrition-item.highlight .label {
      color: #D4583A;
      font-weight: 600;
    }

    /* Share Buttons */
    .share-btn {
      flex: 1;
      padding: 0.75rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-weight: 500;
      text-decoration: none;
      color: #fff;
      transition: all 0.3s;
    }

    .share-btn:hover {
      transform: translateY(-2px);
    }

    .share-btn.print {
      background: #1A1A1A;
    }

    .share-btn.facebook {
      background: #1877F2;
    }

    .share-btn.pinterest {
      background: #E60023;
    }

    .share-btn.twitter {
      background: #1DA1F2;
    }

    /* Category Tags */
    .category-tag {
      background: #FAF7F4;
      color: #D4583A;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
      text-decoration: none;
      display: inline-block;
      margin: 0.25rem;
      transition: all 0.3s;
    }

    .category-tag:hover {
      background: #D4583A;
      color: #fff;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .recipe-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .recipe-hero h1 {
        font-size: 2rem;
      }

      .quick-info {
        flex-direction: column;
      }

      .nav-list {
        display: none;
      }

      .tools-list {
        grid-template-columns: 1fr;
      }
    }


    /* Dark Mode */
    [data-theme="dark"] body {
      background: #1A1A1A;
      color: #F5F5F5;
    }

    [data-theme="dark"] .site-header {
      background: rgba(36, 36, 36, 0.98);
    }

    [data-theme="dark"] .content-card,
    [data-theme="dark"] .sidebar-card {
      background: #242424;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    [data-theme="dark"] .quick-info {
      background: #242424;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    [data-theme="dark"] .quick-item .value {
      color: #F5F5F5;
    }

    [data-theme="dark"] .quick-item .label {
      color: #A0A0A0;
    }

    /* Common Mistakes dark mode fix */
    [data-theme="dark"] .content-card[style*="FFF5F5"],
    [data-theme="dark"] .content-card[style*="FFF8F0"] {
      background: linear-gradient(135deg, #2E2424, #242424) !important;
    }

    [data-theme="dark"] .content-card h2 {
      color: #F5F5F5;
    }

    [data-theme="dark"] .step-text,
    [data-theme="dark"] .description-text {
      color: #D0D0D0;
    }

    [data-theme="dark"] .ingredients-list li {
      border-color: rgba(255, 255, 255, 0.1);
      color: #D0D0D0;
    }

    [data-theme="dark"] .faq-a {
      color: #A0A0A0;
    }

    [data-theme="dark"] .ad-slot {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.15);
    }

    /* Shopping List Sidebar */
    .shopping-list-sidebar {
      position: fixed;
      top: 0;
      right: -400px;
      width: 380px;
      max-width: 90vw;
      height: 100vh;
      background: #fff;
      box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
      z-index: 2000;
      display: flex;
      flex-direction: column;
      transition: right 0.3s ease;
    }

    [data-theme="dark"] .shopping-list-sidebar {
      background: #242424;
    }

    .shopping-list-sidebar.active {
      right: 0;
    }

    .shopping-list-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.25rem;
      background: linear-gradient(135deg, #D4583A, #E67A5F);
      color: #fff;
    }

    .shopping-list-header h3 {
      margin: 0;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .close-btn {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: #fff;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1rem;
    }

    .close-btn:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .shopping-list-content {
      flex: 1;
      padding: 1rem;
      overflow-y: auto;
    }

    .empty-message {
      text-align: center;
      color: #999;
      padding: 2rem;
    }

    .shopping-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem;
      background: #f9f9f9;
      border-radius: 8px;
      margin-bottom: 0.5rem;
    }

    [data-theme="dark"] .shopping-item {
      background: #333;
      color: #F5F5F5;
    }

    .shopping-item input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: #D4583A;
    }

    .shopping-item.checked span {
      text-decoration: line-through;
      color: #999;
    }

    .shopping-item button {
      background: none;
      border: none;
      color: #dc3545;
      cursor: pointer;
      margin-left: auto;
    }

    .shopping-list-actions {
      display: flex;
      gap: 0.5rem;
      padding: 1rem;
      border-top: 1px solid #eee;
    }

    [data-theme="dark"] .shopping-list-actions {
      border-color: rgba(255, 255, 255, 0.1);
    }

    .action-btn {
      flex: 1;
      padding: 0.75rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: #f0f0f0;
    }

    [data-theme="dark"] .action-btn {
      background: #333;
      color: #F5F5F5;
    }

    .action-btn:hover {
      background: #e0e0e0;
    }

    .action-btn-danger {
      background: #fee2e2;
      color: #dc2626;
    }

    .action-btn-danger:hover {
      background: #fecaca;
    }

    .action-btn-email {
      background: #dbeafe;
      color: #2563eb;
    }

    .action-btn-email:hover {
      background: #bfdbfe;
    }

    /* Shopping List Subheader */
    .shopping-list-subheader {
      padding: 0.75rem 1rem;
      background: #f9f9f9;
      border-bottom: 1px solid #eee;
    }

    [data-theme="dark"] .shopping-list-subheader {
      background: #333;
      border-color: rgba(255, 255, 255, 0.1);
    }

    .add-all-btn {
      width: 100%;
      padding: 0.75rem;
      background: linear-gradient(135deg, #10B981, #059669);
      color: #fff;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: all 0.3s;
    }

    .add-all-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }

    .add-all-btn.added {
      background: linear-gradient(135deg, #6B7280, #4B5563);
    }

    /* Cooking Mode Overlay */
    .cooking-mode-overlay {
      position: fixed;
      inset: 0;
      background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
      z-index: 3000;
      display: none;
      flex-direction: column;
      color: #fff;
    }

    .cooking-mode-overlay.active {
      display: flex;
    }

    .cooking-mode-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.5rem 2rem;
      background: rgba(0, 0, 0, 0.3);
    }

    .cooking-mode-header h2 {
      margin: 0;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-family: 'Playfair Display', serif;
    }

    .cooking-mode-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      text-align: center;
    }

    .step-progress {
      font-size: 1.5rem;
      color: #E67A5F;
      margin-bottom: 2rem;
    }

    .step-progress span {
      font-weight: 700;
    }

    .current-step-text {
      font-size: 2.25rem;
      line-height: 1.6;
      max-width: 900px;
      margin-bottom: 3rem;
    }

    .cooking-mode-nav {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
    }

    .nav-btn {
      padding: 1rem 2rem;
      font-size: 1rem;
      font-weight: 600;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
      transition: all 0.3s;
    }

    .nav-btn:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
    }

    .nav-btn:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      transform: none;
    }

    .speak-btn {
      background: linear-gradient(135deg, #D4583A, #E67A5F);
    }

    .speak-btn:hover {
      background: linear-gradient(135deg, #C04A2E, #D4583A);
    }

    .speak-btn.speaking {
      animation: pulse 1s infinite;
    }

    /* Floating Action Buttons */
    .recipe-fab-container {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      z-index: 1500;
    }

    .fab {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      color: #fff;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: all 0.3s;
      position: relative;
    }

    .fab:hover {
      transform: scale(1.1);
    }

    .fab-theme {
      background: linear-gradient(135deg, #6366F1, #8B5CF6);
    }

    .fab-shopping {
      background: linear-gradient(135deg, #10B981, #059669);
    }

    .fab-cooking {
      background: linear-gradient(135deg, #D4583A, #E67A5F);
    }

    .fab-badge {
      position: absolute;
      top: -5px;
      right: -5px;
      background: #dc2626;
      color: #fff;
      font-size: 0.7rem;
      font-weight: 700;
      min-width: 20px;
      height: 20px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Add to List Button */
    .add-to-list-btn {
      background: none;
      border: none;
      color: #10B981;
      cursor: pointer;
      padding: 0.25rem;
      margin-left: auto;
      opacity: 0.7;
      transition: all 0.3s;
      font-size: 0.9rem;
    }

    .add-to-list-btn:hover {
      opacity: 1;
      transform: scale(1.2);
    }

    .add-to-list-btn.added {
      color: #dc2626;
    }

    /* TTS Button */
    .tts-btn {
      background: none;
      border: none;
      color: #D4583A;
      cursor: pointer;
      padding: 0.25rem 0.5rem;
      opacity: 0.7;
      transition: all 0.3s;
    }

    .tts-btn:hover {
      opacity: 1;
      transform: scale(1.1);
    }

    .tts-btn.speaking {
      animation: pulse 1s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.5;
      }
    }

    /* ============================================
       RESPONSIVE DESIGN - TABLET (max-width: 1024px)
       ============================================ */
    @media (max-width: 1024px) {
      .recipe-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .recipe-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
      }

      .recipe-hero {
        height: 50vh;
        min-height: 350px;
      }

      .recipe-hero h1 {
        font-size: 2.25rem;
      }

      .quick-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        padding: 1.5rem;
      }

      .quick-item {
        min-width: 100px;
      }

      .content-card {
        padding: 1.5rem;
      }

      .header-flex {
        padding: 0.75rem 0;
      }

      .logo-home {
        font-size: 1.25rem;
      }

      .nav-list {
        gap: 1.5rem;
      }
    }

    /* ============================================
       RESPONSIVE DESIGN - MOBILE (max-width: 768px)
       ============================================ */
    @media (max-width: 768px) {
      .recipe-grid {
        grid-template-columns: 1fr;
      }

      .recipe-sidebar {
        grid-template-columns: 1fr;
      }

      .recipe-hero {
        height: 45vh;
        min-height: 300px;
        margin-top: 60px;
      }

      .recipe-hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
      }

      .recipe-hero-content {
        padding: 2rem 0;
      }

      .cat-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.75rem;
      }

      .breadcrumb {
        font-size: 0.75rem;
      }

      .quick-info {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
        margin-top: -30px;
      }

      .quick-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        text-align: left;
      }

      .quick-item:last-child {
        border-bottom: none;
      }

      .quick-item i {
        font-size: 1.25rem;
        margin-bottom: 0;
        margin-right: 1rem;
      }

      .quick-item .label {
        flex: 1;
      }

      .quick-item .value {
        font-size: 1rem;
      }

      .content-card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
        border-radius: 12px;
      }

      .content-card h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
      }

      .sidebar-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
      }

      .tools-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
      }

      .step-item {
        gap: 1rem;
      }

      .step-num {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
      }

      .step-text {
        font-size: 0.9rem;
        line-height: 1.6;
      }

      .nav-list {
        display: none;
      }

      .site-header {
        height: 60px;
      }

      .logo-badge {
        padding: 0.3rem 0.75rem 0.4rem;
        border-radius: 10px;
      }

      .logo-recipes-top {
        font-size: 0.4rem;
        letter-spacing: 2px;
      }

      .logo-home {
        font-size: 1.2rem;
      }

      .logo-icon-inline {
        width: 1.3rem;
        height: 1.3rem;
      }

      .logo-icon-inline i {
        font-size: 0.65rem;
      }

      /* FAB Adjustments */
      .recipe-fab-container {
        bottom: 1rem;
        right: 1rem;
        gap: 0.75rem;
      }

      .fab {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
      }

      /* Shopping List Sidebar */
      .shopping-list-sidebar {
        width: 100%;
        max-width: 100vw;
      }

      /* Cooking Mode */
      .current-step-text {
        font-size: 1.5rem;
        padding: 0 1rem;
      }

      .cooking-mode-nav {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
      }

      .nav-btn {
        justify-content: center;
        width: 100%;
        padding: 0.875rem 1.5rem;
      }

      .cooking-mode-header {
        padding: 1rem 1.5rem;
      }

      .cooking-mode-header h2 {
        font-size: 1.25rem;
      }

      /* Facebook Widget */
      .fb-page-widget {
        padding: 1.25rem;
      }

      .fb-page-header h3 {
        font-size: 1rem;
      }

      .fb-stat-value {
        font-size: 1.25rem;
      }

      /* Share Buttons */
      .share-btn {
        padding: 0.625rem;
        font-size: 0.85rem;
      }

      /* Ad Slots */
      .ad-slot {
        padding: 1.5rem 0.75rem;
        margin: 1rem 0;
      }

      /* Nutrition */
      .nutrition-item {
        font-size: 0.9rem;
      }

      /* Categories */
      .category-tag {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
      }

      /* Ingredients */
      .ingredients-list li {
        padding: 0.65rem 0;
        font-size: 0.9rem;
      }

      .add-to-list-btn {
        font-size: 0.85rem;
      }
    }

    /* ============================================
       RESPONSIVE DESIGN - SMALL MOBILE (max-width: 480px)
       ============================================ */
    @media (max-width: 480px) {
      .container {
        padding: 0 15px;
      }

      .recipe-hero {
        height: 40vh;
        min-height: 250px;
      }

      .recipe-hero h1 {
        font-size: 1.5rem;
      }

      .quick-info {
        margin-top: -25px;
        padding: 1rem;
        border-radius: 12px;
      }

      .quick-item i {
        font-size: 1.1rem;
      }

      .content-card {
        padding: 1rem;
      }

      .content-card h2 {
        font-size: 1.1rem;
        gap: 0.5rem;
      }

      .content-card h2 i {
        font-size: 1rem;
      }

      .step-num {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
      }

      .step-text {
        font-size: 0.85rem;
      }

      .sidebar-card h3 {
        font-size: 0.9rem;
      }

      .fab {
        width: 44px;
        height: 44px;
        font-size: 1rem;
      }

      .fab-badge {
        font-size: 0.6rem;
        min-width: 18px;
        height: 18px;
      }

      .current-step-text {
        font-size: 1.25rem;
      }

      .cooking-mode-header h2 {
        font-size: 1.1rem;
      }

      .nav-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
      }

      /* Shopping List */
      .shopping-list-header h3 {
        font-size: 1rem;
      }

      .add-all-btn {
        padding: 0.625rem;
        font-size: 0.9rem;
      }

      .action-btn {
        padding: 0.625rem;
        font-size: 0.8rem;
      }

      .shopping-item {
        padding: 0.625rem;
        font-size: 0.9rem;
      }
    }

    /* ============================================
       PRINT STYLES
       ============================================ */
    @media print {
      .recipe-fab-container,
      .shopping-list-sidebar,
      .cooking-mode-overlay,
      .ad-slot,
      .site-header,
      .no-print {
        display: none !important;
      }

      body {
        background: #fff !important;
        color: #000 !important;
      }

      .recipe-hero {
        height: auto;
        min-height: 150px;
      }

      .recipe-hero h1 {
        color: #000;
      }

      .quick-info {
        box-shadow: none;
        border: 1px solid #ddd;
      }

      .content-card,
      .sidebar-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
      }
    }
  
