/* קל לבשל - site mockup, yellow & pink brand */
html { direction: rtl; }
body {
  margin: 0;
  font-family: 'Noto Sans Hebrew', 'Heebo', 'Assistant', 'Segoe UI', Arial, sans-serif;
  color: #38262c;
  background: linear-gradient(180deg, #fff6e3 0%, #ffffff 320px);
  min-height: 100vh;
}

/* ---------- header ---------- */
.kb-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 24px 14px;
  border-bottom: 3px solid #ffd23f;
  background: #fffdf7;
  flex-wrap: wrap;
  position: sticky; top: 0; z-index: 100;
}

.kb-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit;
}
.kb-logo-badge {
  background: #ffd23f; color: #d6336c;
  font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
  padding: 6px 16px; border-radius: 999px;
  border: 2.5px solid #ff7fae;
  box-shadow: 0 3px 0 #ffb3cd;
}
.kb-logo-sub { font-size: 13px; color: #a05a74; font-weight: 600; }
.kb-logo-img { height: 40px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.kb-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.kb-nav span {
  font-size: 14px; font-weight: 600; color: #b0486c;
  padding: 6px 12px; border-radius: 999px; background: #ffeaf2;
}

/* ---------- hero ---------- */
.kb-hero {
  position: relative; padding: 28px 24px 8px; text-align: center;
}
.kb-hero h1 {
  font-size: 30px; line-height: 1.25; margin: 0 0 8px;
  font-weight: 800; letter-spacing: -0.02em; color: #38262c;
}
.kb-hero h1 .kb-hl { background: linear-gradient(transparent 62%, #ffe08a 62%); }
.kb-hero p { margin: 0 auto 18px; max-width: 460px; font-size: 15px; line-height: 1.7; color: #7a5560; }

/* ---------- sections ---------- */
.kb-section { padding: 20px 24px 8px; }
.kb-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; margin: 0 0 14px; color: #38262c;
}
.kb-section-title::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, #ffd23f 0 18px, #ffb3cd 18px 36px); }

/* ---------- recipe cards ---------- */
.kb-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .kb-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .kb-grid { grid-template-columns: 1fr 1fr 1fr; } }
.kb-card {
  background: #ffffff; border-radius: 20px; overflow: hidden;
  border: 2px solid #ffe3ee; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(214, 51, 108, 0.06);
}
.kb-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.kb-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kb-chip {
  align-self: flex-start; font-size: 12px; font-weight: 700;
  background: #ffd23f; color: #7a4a00; border-radius: 999px; padding: 3px 10px;
}
.kb-chip.pink { background: #ff7fae; color: #ffffff; }
.kb-card h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.kb-card .kb-sub { margin: 0; font-size: 13.5px; line-height: 1.6; color: #7a5560; flex: 1; }
.kb-card .kb-meta { display: flex; gap: 12px; font-size: 12.5px; color: #b0486c; font-weight: 600; }

/* ---------- article ---------- */
.kb-article { padding: 20px 24px 8px; max-width: 720px; margin: 0 auto; }
.kb-back {
  display: inline-block; font-size: 13.5px; font-weight: 700; color: #d6336c;
  text-decoration: none; background: #ffeaf2; border-radius: 999px; padding: 6px 14px; margin-bottom: 16px;
}
.kb-article .kb-chip { margin-bottom: 10px; }
.kb-article h1 { font-size: 28px; font-weight: 800; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.02em; }
.kb-article .kb-subtitle { font-size: 16px; line-height: 1.7; color: #7a5560; margin: 0 0 14px; }
.kb-meta-bar {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  background: #fff7e0; border: 2px dashed #ffd23f; border-radius: 14px;
  padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: #8a5a00; margin-bottom: 18px;
}
.kb-heroimg { width: 100%; border-radius: 20px; border: 3px solid #ffb3cd; display: block; margin-bottom: 6px; }
.kb-credit { font-size: 12px; color: #c39aa8; margin-bottom: 20px; }
.kb-article h2 {
  font-size: 20px; font-weight: 800; margin: 26px 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.kb-article h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #ff7fae; box-shadow: 18px 0 0 -3px #ffd23f; padding-left: 0; }
.kb-ingredients { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kb-ingredients li {
  background: #fff7e0; border-radius: 12px; padding: 10px 14px; font-size: 14.5px;
  display: flex; gap: 10px; align-items: baseline;
}
.kb-ingredients li::before { content: "✿"; color: #ff7fae; font-weight: 700; }
.kb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.kb-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; }
.kb-steps li .kb-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: #ffd23f; color: #7a4a00; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #ff7fae;
}
.kb-tip {
  background: #ffeaf2; border: 2px solid #ffb3cd; border-radius: 16px;
  padding: 14px 16px; font-size: 14px; line-height: 1.7; color: #8a3a58;
}
.kb-tip strong { color: #d6336c; }
.kb-related { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .kb-related { grid-template-columns: repeat(3, 1fr); } }
.kb-related a {
  text-decoration: none; color: inherit; background: #fff; border: 2px solid #ffe3ee;
  border-radius: 16px; overflow: hidden; display: block;
}
.kb-related img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.kb-related span { display: block; padding: 8px 12px 10px; font-size: 13.5px; font-weight: 700; }

/* ---------- footer ---------- */
.kb-footer {
  margin-top: 28px; padding: 18px 24px 22px; text-align: center;
  background: linear-gradient(90deg, #ffd23f, #ffb3cd);
  color: #7a2c4d; font-size: 13px; font-weight: 600;
}

/* ---------- admin / CMS ---------- */
.kb-admin { max-width: 720px; margin: 0 auto; padding: 24px; }
.kb-admin-card {
  background: #fffdf7; border: 2px solid #ffe3ee; border-radius: 20px;
  padding: 26px 22px; margin: 10px auto 20px; max-width: 420px;
  box-shadow: 0 2px 10px rgba(214,51,108,.06);
}
.kb-admin-card h1 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.kb-admin-card .kb-note { font-size: 13px; color: #a05a74; margin: 0 0 16px; line-height: 1.6; }
.kb-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.kb-pw-wrap { position: relative; }
.kb-pw-wrap input { width: 100%; padding-inline-end: 44px; box-sizing: border-box; }
.kb-eye { position: absolute; top: 50%; inset-inline-end: 8px; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 18px; padding: 4px; line-height: 1; }
.kb-field label { font-size: 13.5px; font-weight: 700; color: #8a3a58; }
.kb-field input, .kb-field select, .kb-field textarea {
  font-family: inherit; font-size: 15px; padding: 10px 12px;
  border: 2px solid #ffd23f; border-radius: 12px; background: #fff;
  color: #38262c; outline: none;
}
.kb-field input:focus, .kb-field select:focus, .kb-field textarea:focus { border-color: #ff7fae; }
.kb-field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.kb-btn {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 800;
  background: #ffd23f; color: #7a4a00; border: 2.5px solid #ff7fae;
  border-radius: 999px; padding: 11px 22px; width: 100%;
}
.kb-btn.pink { background: #ff7fae; color: #fff; border-color: #ffd23f; }
.kb-btn.ghost { background: #fff; color: #d6336c; border-color: #ffb3cd; }
.kb-btn-row { display: flex; gap: 10px; }
.kb-btn-row .kb-btn { width: auto; flex: 1; }
.kb-otp { direction: ltr; letter-spacing: 14px; text-align: center; font-size: 24px !important; font-weight: 800; }
.kb-lock { text-align: center; font-size: 40px; margin-bottom: 6px; }

.kb-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.kb-tabs a, .kb-tabs span {
  text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 999px; padding: 8px 16px;
  background: #ffeaf2; color: #b0486c; border: 2px solid transparent;
}
.kb-tabs a.on { background: #ffd23f; color: #7a4a00; border-color: #ff7fae; }

.kb-arow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 2px solid #ffe3ee; border-radius: 16px;
  padding: 12px 14px; margin-bottom: 10px;
}
.kb-arow img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.kb-arow .kb-atitle { flex: 1; min-width: 140px; }
.kb-arow .kb-atitle b { display: block; font-size: 15px; }
.kb-arow .kb-atitle small { color: #a05a74; font-size: 12.5px; }
.kb-status { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 12px; }
.kb-status.pub { background: #dff3e4; color: #1e7a3c; }
.kb-status.draft { background: #fff3d6; color: #8a5a00; }
.kb-status.off { background: #f3e6e9; color: #a05a74; text-decoration: line-through; }
.kb-mini {
  font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
  border-radius: 999px; padding: 6px 12px; border: 2px solid #ffb3cd;
  background: #fff; color: #d6336c;
}
.kb-mini.warn { border-color: #ed313e; color: #ed313e; }
.kb-mini.ok { border-color: #1e7a3c; color: #1e7a3c; }
.kb-check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.kb-check input { width: 20px; height: 20px; accent-color: #ff7fae; }
.kb-select-inline { font-family: inherit; font-size: 13px; border: 2px solid #ffd23f; border-radius: 10px; padding: 4px 8px; background: #fff; }
.kb-nav a.kb-navlink {
  font-size: 14px; font-weight: 600; color: #b0486c; text-decoration: none;
  padding: 6px 12px; border-radius: 999px; background: #ffeaf2;
}

/* --- hero band (bishulim-style) --- */
.kb-hero2 { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kb-hero2-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kb-hero2-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(40,10,20,.35), rgba(40,10,20,.55)); }
.kb-hero2-content { position: relative; text-align: center; padding: 48px 16px; max-width: 620px; width: 100%; }
.kb-hero2-content h1 { font-family: 'Varela Round', 'Noto Sans Hebrew', sans-serif; color: #fff; font-size: 34px; margin: 0 0 8px; text-shadow: 0 2px 10px rgba(0,0,0,.4); font-weight: 400; }
.kb-hero2-content p { color: #fff; opacity: .95; margin: 0 0 20px; font-size: 16px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.kb-search { display: flex; max-width: 440px; margin: 0 auto 16px; border-radius: 999px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.25); background: #fff; }
.kb-search input { flex: 1; border: none; padding: 13px 20px; font-family: inherit; font-size: 15px; outline: none; background: #fff; color: #4a2530; }
.kb-search button { border: none; background: #ffd23f; color: #4a2530; font-size: 18px; padding: 0 22px; cursor: pointer; }
.kb-search button:hover { background: #ffdf66; }
.kb-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.kb-pill { background: rgba(255,255,255,.92); color: #6d2a44; border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .15s; }
.kb-pill:hover { background: #ffd23f; }
.kb-pill.active { background: #ffd23f; }
@media (max-width: 600px) { .kb-hero2-content h1 { font-size: 27px; } .kb-hero2 { min-height: 300px; } }

/* ---------- mobile header (compact) ---------- */
.kb-menu-btn { display: none; }
@media (max-width: 720px) {
  .kb-header { position: sticky; flex-wrap: nowrap; padding: 10px 14px; }
  .kb-logo-badge { font-size: 19px; padding: 5px 14px; }
  .kb-logo-img { height: 32px; }
  .kb-menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    border: 2px solid #ffd23f; background: #fff; color: #d6336c;
    font-size: 20px; line-height: 1; cursor: pointer; flex-shrink: 0;
  }
  .kb-menu-btn:hover { background: #fff3c2; }
  .kb-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    background: #fffdf7; border-bottom: 3px solid #ffd23f;
    box-shadow: 0 12px 24px rgba(109,42,68,.14);
    padding: 10px 14px 14px; flex-direction: column; align-items: stretch; gap: 8px; z-index: 60;
  }
  .kb-header.kb-open .kb-nav { display: flex; }
  .kb-nav a.kb-navlink { text-align: center; padding: 10px 12px; font-size: 15px; }
  /* no duplicate categories in the hero on mobile; slimmer hero */
  .kb-pills { display: none; }
  .kb-hero2 { min-height: 240px; }
  .kb-hero2-content { padding: 32px 16px; }
}

/* ארכיון מתכונים */
.kb-archive-cat { margin: 22px 0 12px; font-size: 18px; font-weight: 800; color: #6d2a44; }

/* מדורי דף הבית + תגיות המחשה (תצוגה מקדימה) */
.kb-card-img { position: relative; display: block; }
.kb-demo-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(255,210,63,.95); color: #6d2a44; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 12px; z-index: 2; }
.kb-more { display: inline-block; margin: 12px 0 4px; color: #b0486c; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.kb-more:hover { text-decoration: underline; }
.kb-section-head { display: flex; align-items: baseline; gap: 14px; }
.kb-section-head .kb-section-title { flex: 1; }
.kb-section-head .kb-more { margin: 0; white-space: nowrap; }
.kb-demo-note { text-align: center; color: #a05a74; font-size: 13px; margin: 8px 24px 24px; }
.kb-demo-ribbon { display: inline-block; background: #ffd23f; color: #6d2a44; font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 4px 14px; margin-bottom: 10px; }

/* ---------- content column: 1200px centered ---------- */
@media (min-width: 1248px) {
  .kb-header { padding-inline: calc((100% - 1200px) / 2); }
  .kb-section { padding-inline: calc((100% - 1200px) / 2 + 24px); }
  .kb-footer { padding-inline: calc((100% - 1200px) / 2 + 24px); }
}

/* favorites placeholder (until user picks 3) */
.kb-fav-placeholder { border: 2px dashed #ffb3cd; border-radius: 14px; padding: 22px; text-align: center; color: #a05a74; font-weight: 600; margin: 6px 0 12px; }
/* editor row lists */
.kb-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.kb-erow { display: flex; align-items: center; gap: 8px; }
.kb-erow input { flex: 1; }
.kb-enum { min-width: 26px; height: 26px; border-radius: 50%; background: #ffd23f; color: #6d2a44; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.kb-edot { color: #ff7fae; font-size: 13px; min-width: 26px; text-align: center; }
.kb-eico { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 10px; border: 2px solid #ffd9e8; background: #fff; color: #d6336c; cursor: pointer; font-size: 13px; line-height: 1; padding: 0; }
.kb-eico:disabled { opacity: .35; cursor: default; }
.kb-add { align-self: flex-start; }
