  :root {
    --crimson: #B50E22;
    --crimson-hover: #9A0C1D;
    --crimson-light: #B50E2215;
    --crimson-lighter: #B50E220A;
    --black: #1A1A1A;
    --dark-gray: #333;
    --mid-gray: #666;
    --light-gray: #999;
    --border: #E8E8E8;
    --bg: #FAFAFA;
    --card-bg: #FFFFFF;
    --white: #FFFFFF;
    --s-tier: #FF4444;
    --a-tier: #FF8C00;
    --b-tier: #FFD700;
    --c-tier: #4CAF50;
    --d-tier: #2196F3;
    --f-tier: #9E9E9E;
  }

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

  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--black);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }

  /* ─── EMAIL GATE OVERLAY ─── */
  .email-gate {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease;
  }
  .email-gate.hidden {
    opacity: 0;
    pointer-events: none;
  }
  .gate-card {
    background: var(--white);
    border-radius: 16px;
    padding: 44px 40px 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: transform 0.4s ease;
  }
  .email-gate.hidden .gate-card { transform: translateY(20px); }
  .gate-card h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .gate-card p {
    font-size: 14px;
    color: var(--crimson);
    font-weight: 600;
    margin-bottom: 28px;
    line-height: 1.5;
    letter-spacing: 0.5px;
  }
  .gate-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .gate-google-btn svg {
    width: 22px;
    height: 22px;
  }
  .gate-google-btn:hover {
    border-color: var(--light-gray);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .gate-email-toggle {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--light-gray);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
  }
  .gate-email-toggle:hover { opacity: 0.6; }
  .gate-email-section {
    display: none;
    margin-top: 12px;
  }
  .gate-email-section.visible { display: block; }
  .gate-input-row {
    display: flex;
    gap: 8px;
  }
  .gate-input-row input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
  }
  .gate-input-row input:focus { border-color: var(--crimson); }
  .gate-btn {
    padding: 12px 24px;
    background: var(--crimson);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
  }
  .gate-btn:hover { background: var(--crimson-hover); }

  /* ─── TOP HEADER BAR ─── */
  .top-bar {
    position: relative;
    z-index: 100;
    background: var(--crimson);
    border-bottom: none;
    padding: 20px 32px 14px;
  }
  .top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .logo-img {
    width: 220px;
    height: auto;
    cursor: pointer;
  }

  /* ─── HEADER NAV ROW ─── */
  .header-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
  }
  .yt-dropdown {
    position: absolute;
    right: 0;
  }
  .yt-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white);
    color: var(--crimson);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .yt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .yt-btn svg {
    width: 12px;
    height: 12px;
    stroke: var(--crimson);
  }
  .yt-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 6px;
    min-width: 100%;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 100;
  }
  .yt-dropdown-menu.open {
    display: block;
  }
  .yt-dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
  }
  .yt-dropdown-link:hover {
    background: #f5f5f5;
  }
  .yt-dropdown-link svg {
    width: 14px;
    height: 14px;
    stroke: var(--crimson);
    flex-shrink: 0;
  }

  /* ─── PILL TOGGLE ─── */
  .pill-toggle {
    display: flex;
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
    border: none;
    position: relative;
  }
  .pill-toggle::before {
    content: '';
    position: absolute;
    top: 4px;
    left: var(--slider-left, 4px);
    width: var(--slider-width, 0);
    height: calc(100% - 8px);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: left 0.3s ease, width 0.3s ease;
    z-index: 0;
  }
  .pill-toggle button {
    padding: 8px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: rgba(255,255,255,0.7);
    transition: color 0.25s ease;
    position: relative;
    z-index: 1;
  }
  .pill-toggle button.active {
    color: var(--crimson);
  }
  .pill-toggle button:hover:not(.active) { color: var(--white); }


  /* ─── MAIN CONTENT ─── */
  .main-content { max-width: 1280px; margin: 0 auto; padding: 32px; min-height: calc(100vh - 200px); }

  /* ─── TAB PANELS ─── */
  .tab-panel { display: none; }
  .tab-panel.active { display: block; }

  /* ─── CATEGORY ROW ─── */
  .category-row { margin-bottom: 40px; }
  .category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .category-title { font-size: 18px; font-weight: 700; color: var(--black); }
  .see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--crimson);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
  }
  .see-all:hover { opacity: 0.7; }

  /* ─── CARD SCROLL ─── */
  .card-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .card-scroll::-webkit-scrollbar { display: none; }

  /* ─── VIDEO CARD ─── */
  .video-card {
    min-width: 280px;
    max-width: 280px;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    border: 1px solid var(--border);
  }
  .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: transparent;
  }
  .card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
  }
  .card-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
  }
  .card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background 0.2s;
  }
  .video-card:hover .card-play { background: rgba(0,0,0,0.2); }
  .play-icon {
    width: 48px;
    height: 48px;
    background: var(--crimson);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
  }
  .video-card:hover .play-icon { opacity: 1; transform: scale(1); }
  .play-icon svg { width: 20px; height: 20px; fill: white; margin-left: 2px; }
  .card-info { padding: 14px 16px; }
  .card-difficulty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    line-height: 1.4;
  }
  .card-difficulty.beginner { background: #2E7D32; }
  .card-difficulty.intermediate { background: #1565C0; }
  .card-difficulty.advanced { background: #333; }
  .card-difficulty.expert { background: #333; }
  .diff-icon { width: 1.1em; height: 1.1em; vertical-align: middle; flex-shrink: 0; }
  .card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-meta { font-size: 12px; color: var(--light-gray); font-weight: 500; }

  /* ─── DETAIL VIEW ─── */
  .detail-view { display: none; }
  .detail-view.active { display: block; animation: fadeIn 0.3s ease; }
  .detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mid-gray);
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 24px;
    transition: color 0.2s;
  }
  .detail-back:hover { color: var(--crimson); }

  .detail-container { max-width: 820px; margin: 0 auto; }

  .detail-video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
  }
  .detail-video iframe {
    border-radius: 12px;
  }
  /* Video language bar */
  .video-lang-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
  }
  .video-lang-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 2px;
  }
  .video-lang-btn {
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    cursor: pointer;
    transition: all 0.2s;
  }
  .video-lang-btn:hover {
    border-color: var(--crimson);
    color: var(--crimson);
  }
  .video-lang-btn.active {
    border-color: var(--crimson);
    color: var(--crimson);
  }

  .detail-title {
    font-size: 28px;
    font-weight: 800;
    margin-top: 24px;
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .detail-meta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
  .detail-lang-btns { display: flex; gap: 6px; }
  .detail-meta-tag { font-size: 12px; font-weight: 600; color: var(--mid-gray); }
  .share-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--crimson);
    border: 1.5px solid var(--crimson);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
  }
  .share-btn:hover {
    background: var(--crimson-hover, #9A0C1D);
    border-color: var(--crimson-hover, #9A0C1D);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(181,14,34,0.3);
  }
  .share-btn.shared {
    background: #2E7D32;
    border-color: #2E7D32;
    color: #fff;
  }

  .section-label {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--crimson);
    margin-bottom: 16px;
    margin-top: 48px;
  }
  .section-label::after {
    display: none;
    height: 1px;
    background: var(--border);
  }

  /* Section content card */
  .section-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
  }

  /* Difficulty badge */
  .difficulty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
  }
  .difficulty-badge.beginner { background: #2E7D32; }
  .difficulty-badge.intermediate { background: #1565C0; }
  .difficulty-badge.advanced { background: #333; }
  .difficulty-badge.expert { background: #333; }

  /* Timing cards with operators */
  .timing-cards {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .timing-card {
    padding: 16px 20px;
    text-align: center;
    flex: 1;
  }
  .timing-card-total {
    color: var(--crimson);
    border: 2px solid var(--crimson);
    border-radius: 8px;
  }
  .timing-op {
    font-size: 20px;
    font-weight: 700;
    color: var(--light-gray);
    flex-shrink: 0;
  }
  .timing-value { font-size: 20px; font-weight: 800; color: var(--black); }
  .timing-label {
    font-size: 11px; font-weight: 600; color: var(--light-gray);
    text-transform: uppercase; letter-spacing: 0.5px;
  }

  /* Toggle component (ingredients, nutrition) */
  .pv-toggle {
    display: inline-flex;
    gap: 2px;
    background: #E5E7EB;
    border-radius: 10px;
    padding: 3px;
  }
  .pv-toggle-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
  }
  .pv-toggle-btn.active {
    background: #fff;
    color: var(--black);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  .pv-toggle-btn:hover:not(.active) { color: var(--dark-gray); }

  /* Ingredient measure pill */
  .ing-measure {
    display: inline-block;
    background: #F0F0F0;
    color: var(--dark-gray);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-right: 8px;
    white-space: nowrap;
  }
  .ing-name {
    font-size: 14px;
    color: var(--dark-gray);
  }
  .ing-condition {
    color: #666;
    font-style: italic;
  }

  /* Section header row (label + toggle inline) */
  .section-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
    margin-bottom: 14px;
  }
  .section-header-row .section-label {
    margin: 0;
    flex-shrink: 0;
  }

  /* Checklist (tools, ingredients) */
  .checklist {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .checklist-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--dark-gray);
  }
  .checklist-item:last-child { border-bottom: none; }
  .tool-or {
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    margin: 0 8px;
  }
  .tool-subs {
    font-size: 14px;
    color: var(--dark-gray);
  }
  .checklist-heading {
    font-weight: 700;
    font-size: 14px;
    margin-top: 16px;
    padding: 8px 0 4px 0;
    color: var(--black);
    border-bottom: 2px solid var(--black);
  }

  /* Shopping list */
  .shopping-dept {
    font-weight: 700;
    font-size: 14px;
    color: var(--black);
    margin-top: 16px;
    padding: 8px 0 4px 0;
    border-bottom: 2px solid var(--black);
  }
  .shopping-dept:first-child { margin-top: 0; }

  /* Copy button */
  .copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
  }
  .copy-btn:hover {
    border-color: var(--crimson);
    color: var(--crimson);
  }
  .copy-btn.copied {
    background: #2E7D32;
    border-color: #2E7D32;
    color: #fff;
  }

  /* Step section headings and numbering */
  .step-section-heading {
    font-weight: 700;
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--black);
    display: flex;
    gap: 16px;
  }
  .step-heading-letter {
    font-weight: 700;
    color: var(--crimson);
    min-width: 28px;
  }

  /* Step done state */
  .recipe-step.done {
    opacity: 0.4;
  }
  .recipe-step.done > div:last-child {
    text-decoration: line-through;
    color: var(--light-gray);
  }

  /* Nutrition calories highlight */
  .nutrition-card-calories {
    border: 2px solid var(--crimson);
    border-radius: 8px;
  }
  .nutrition-disclosure {
    font-size: 13px;
    color: #555;
    font-weight: 600;
    margin-top: 8px;
  }

  /* Featured Products */
  .featured-products-section {
    margin-top: 48px;
  }
  .featured-products-section .section-label {
    margin-top: 0;
    margin-bottom: 16px;
  }
  .featured-products-note {
    font-size: 13px;
    line-height: 1.6;
    color: var(--dark-gray);
    font-weight: 700;
    margin-bottom: 16px;
  }
  .featured-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  @media (min-width: 600px) {
    .featured-products-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .featured-product-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
  }
  .featured-product-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #F0F0F0;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .featured-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .featured-product-img .placeholder-icon {
    font-size: 28px;
    color: #ccc;
  }
  .featured-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }
  .featured-product-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    flex: 1;
  }
  .featured-product-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }
  .featured-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    flex: 1;
    border: none;
  }
  .featured-product-btn.buy {
    background: var(--crimson);
    color: #fff;
  }
  .featured-product-btn.buy:hover {
    background: #8B0A1A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .featured-product-btn.buy.full-width {
    flex: 1;
  }
  .featured-product-btn.review {
    background: var(--white);
    color: var(--dark-gray);
    border: 1px solid var(--border);
  }
  .featured-product-btn.review:hover {
    border-color: var(--crimson);
    color: var(--crimson);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  /* Pros & Cons table */
  .pros-cons-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  .pros-cons-table thead th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid var(--border);
  }
  .pros-cons-table thead th.pros-header { color: #2E7D32; }
  .pros-cons-table thead th.cons-header { color: #B71C1C; }
  .pros-cons-table td {
    padding: 10px 12px;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    width: 50%;
  }
  .pros-cons-table tr:last-child td { border-bottom: none; }
  .pros-cons-table .pc-icon-pro { color: #2E7D32; font-weight: 900; font-size: 18px; margin-right: 8px; }
  .pros-cons-table .pc-icon-con { color: #B71C1C; font-weight: 900; font-size: 18px; margin-right: 8px; }

  /* Tips box */
  .tips-box {
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-gray);
  }

  /* Ingredients grid */
  .ingredients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
  }
  .ingredient-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--dark-gray);
  }
  .ingredient-check {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ingredient-check.checked {
    background: var(--crimson);
    border-color: var(--crimson);
  }
  .ingredient-check.checked::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: 700;
  }
  .ingredient-check.checked + .ing-text {
    text-decoration: line-through;
    color: var(--light-gray);
  }

  /* Recipe steps */
  .recipe-steps { counter-reset: step; }
  .recipe-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-gray);
    cursor: pointer;
  }
  .recipe-step:last-child { border-bottom: none; }
  .step-number {
    width: auto;
    height: auto;
    min-width: 28px;
    background: none;
    border-radius: 0;
    color: var(--crimson);
    font-size: 14px;
    font-weight: 700;
    display: inline;
    margin-top: 4px;
  }

  /* Nutrition */
  .nutrition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .nutrition-card {
    padding: 16px;
    text-align: center;
  }
  .nutrition-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 2px;
  }
  .nutrition-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .nutrition-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 12px;
  }
  .nutrition-sub-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
  }
  .nutrition-sub-item:last-child { border-bottom: none; }
  .nutrition-sub-item span:first-child { color: var(--mid-gray); }
  .nutrition-sub-item span:last-child { font-weight: 700; }

  /* Tool review detail */
  .detail-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--dark-gray);
  }
  .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
  }
  .spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    font-size: 13px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
  }
  .spec-item span:first-child { color: var(--black); font-weight: 700; font-size: 13px; }
  .spec-item span:last-child { color: var(--dark-gray); font-weight: 400; font-size: 14px; }

  .affiliate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--crimson);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 24px;
  }
  .affiliate-btn:hover { background: var(--crimson-hover); }

  /* ─── CATEGORY ALL VIEW ─── */
  .category-all-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 24px;
  }
  .category-all-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  @media (max-width: 900px) {
    .category-all-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 640px) {
    .category-all-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .category-all-grid .video-card {
    flex: none;
    width: auto;
    min-width: 0;
  }

  /* ─── CHIP BAR (YouTube-style horizontal scroll) ─── */
  .chip-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .chip-bar::-webkit-scrollbar { display: none; }

  .chip-search-wrap {
    position: relative;
    flex-shrink: 0;
  }
  .chip-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--light-gray);
    fill: none;
    stroke-width: 2;
    pointer-events: none;
  }
  .chip-search-input {
    padding: 10px 14px 10px 34px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    width: 160px;
    transition: all 0.2s ease;
    background: var(--white);
    color: var(--black);
  }
  .chip-search-input::placeholder {
    color: var(--light-gray);
  }
  .chip-search-input:focus {
    border-color: var(--crimson);
    width: 220px;
  }

  .chip-btn {
    padding: 10px 18px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .chip-btn:hover {
    border-color: var(--crimson);
    color: var(--crimson);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  /* ─── SEARCH OVERLAY ─── */
  .search-overlay {
    display: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 12px;
  }
  .search-overlay.open {
    display: flex;
  }
  .search-overlay .video-card {
    min-width: 200px;
    max-width: 200px;
  }
  .search-no-results {
    padding: 20px;
    color: var(--light-gray);
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  /* ─── DYNAMIC CONTENT EMPTY STATE ─── */
  .empty-state-front {
    text-align: center;
    padding: 60px 20px;
    color: var(--light-gray);
    font-size: 15px;
    font-weight: 600;
  }

  /* ─── RANKINGS BANNER ─── */
  .rankings-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--crimson);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
  }
  .rankings-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .seal-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }
  .rankings-banner-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
  }
  .rankings-banner-text p {
    font-size: 13px;
    color: var(--white);
    opacity: 0.85;
    font-weight: 500;
  }
  .rankings-banner-right {
    display: flex;
    align-items: center;
  }
  .rankings-view-btn {
    padding: 10px 24px;
    background: var(--white);
    color: var(--crimson);
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .rankings-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  /* ─── RANKINGS BROWSE PAGE ─── */
  .rankings-browse-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 24px;
  }
  .rankings-category-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 28px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .rankings-category-nav::-webkit-scrollbar { display: none; }
  .rankings-category-btn {
    padding: 10px 18px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  .rankings-category-btn span {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    white-space: nowrap;
  }
  .rankings-category-btn:hover {
    border-color: var(--crimson);
  }
  .rankings-category-btn:hover span {
    color: var(--crimson);
  }
  .rankings-category-btn.active {
    background: var(--crimson);
    border-color: var(--crimson);
  }
  .rankings-category-btn.active span {
    color: var(--white);
  }
  .rankings-tier-panel {
    display: none;
  }
  .rankings-tier-panel.active {
    display: block;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* ─── TIER MAKER STYLES ─── */

  .tier-header {
    text-align: center;
    margin-bottom: 32px;
  }
  .tier-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
  }
  .tier-header p {
    font-size: 14px;
    color: var(--mid-gray);
  }
  .tier-updated {
    font-size: 12px;
    color: var(--light-gray);
    margin-top: 4px;
  }

  .tier-row {
    display: flex;
    margin-bottom: 0;
    border: 1px solid var(--border);
    background: var(--white);
  }
  .tier-chart > .tier-row:first-child { border-radius: 12px 12px 0 0; }
  .tier-chart > .tier-row:last-child { border-radius: 0 0 12px 12px; }
  .tier-chart > .tier-row + .tier-row { border-top: none; }
  .tier-chart > .tier-row:first-child .tier-label { border-radius: 12px 0 0 0; }
  .tier-chart > .tier-row:last-child .tier-label { border-radius: 0 0 0 12px; }

  .tier-label {
    width: 90px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  /* Tier colors */
  .tier-best { background: #2E7D32; }
  .tier-great { background: #4CAF50; }
  .tier-good { background: #FF9800; }
  .tier-okay { background: #FF5722; }
  .tier-bad { background: #B71C1C; }

  .tier-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    flex: 1;
    min-height: 88px;
    align-items: stretch;
    align-content: flex-start;
  }
  .tier-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    flex-shrink: 0;
  }
  .tier-item-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
  }
  .tier-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .tier-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }
  .tier-item-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
  }
  .tier-item-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
  }

  /* ─── DETAIL PRODUCT IMAGE (for minimal reviews) ─── */
  .detail-product-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 24px;
    border-radius: 12px;
    overflow: hidden;
    background: #F0F0F0;
  }
  .detail-product-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ─── FOOTER ─── */
  .site-footer {
    background: #1A1A1A;
    margin-top: 60px;
    padding: 32px 32px 24px;
  }
  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .footer-admin {
    display: inline-block;
    padding: 10px 28px;
    background: #444;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  .footer-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: var(--crimson);
  }
  .footer-copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 640px) {
    .main-content { padding: 20px 16px; }
    .header-nav-row { flex-direction: column; align-items: stretch; width: fit-content; gap: 12px; }
    .yt-dropdown { position: static; }
    .yt-btn { width: 100%; justify-content: center; }
    .timing-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
    .timing-op { display: none; }
    .timing-card { padding: 16px; text-align: center; }
    .timing-card-total { border: 2px solid var(--crimson); border-radius: 8px; }
    .timing-value { font-size: 24px; }
    .timing-label { font-size: 11px; }
    .pill-toggle button { padding: 8px 14px; font-size: 12px; }
    .video-card { min-width: 240px; max-width: 240px; }
    .gate-card { padding: 32px 24px; }
    .gate-input-row { flex-direction: column; }
    .detail-title { font-size: 22px; }
    .ingredients-grid { grid-template-columns: 1fr; }
    .nutrition-grid { grid-template-columns: repeat(2, 1fr); }
    .tier-label { width: 64px; min-width: 64px; font-size: 12px; }
    .tier-items { flex-direction: column; min-height: 96px; }
    .tier-item { padding: 10px; width: 100%; }
    .tier-item-img { width: 48px; height: 48px; }
    .tier-item-name { font-size: 12px; }
    .tier-item-buttons .featured-product-btn { font-size: 11px; padding: 6px 10px; }
    .ranking-cards-row { grid-template-columns: 1fr; }
    .chip-search-input { width: 120px; font-size: 12px; }
    .chip-search-input:focus { width: 180px; }
    .chip-btn { padding: 10px 12px; font-size: 12px; }
    .search-overlay .video-card { min-width: 160px; max-width: 160px; }
    .rankings-banner-text p { display: none; }
  }
