@font-face {
  font-family: Poppins;
  src: url("/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
.kitchen-view, .kitchen-delivery {
  --cook-green: #07832b;
  --cook-dark: #172019;
  --cook-muted: #575f5a;
  color: var(--cook-dark);
  background: #fbfaf5;
  font-family: Poppins, system-ui, sans-serif;
  margin: 0;
}
.kitchen-view .layout { max-width: 760px; padding: 0 0 110px; }
.kitchen-view .topbar { padding: 10px 18px; background: white; }
.kitchen-view .store-nav { display: none; }
.cook-bar { padding: 23px 20px 27px; background: var(--cook-green); color: #fff; }
.cook-bar h1 { margin: 0; font-size: clamp(23px, 5vw, 35px); }
.cook-bar p { margin: 4px 0 0; }
.cook-back { display: inline-block; margin-bottom: 8px; color: white; }
.cook-content { display: grid; gap: 20px; padding: 18px; }
.cook-content h2 { margin: 0 0 8px; font-size: 22px; }
.cook-content p { margin: 0 0 14px; }
.cook-panel { display: block; padding: 20px; border: 1px solid #e5e8e3; border-radius: 22px; background: white; box-shadow: 0 4px 19px #1c3d1910; }
.cook-panel p, .cook-book small { color: var(--cook-muted); }
.cook-panel strong { color: var(--cook-green); }
.cook-collection strong { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e7ebe5; }
.cook-assistant { background: #e5f4e9; box-shadow: none; }
.cook-panel > img, .cook-content video { display: block; width: 100%; border-radius: 15px; max-height: 340px; object-fit: contain; }
.cook-search { display: flex; gap: 8px; align-items: stretch; }
.cook-search input { width: 100%; min-width: 0; padding: 12px 16px; border: 1px solid #c6d1c7; border-radius: 99px; background: white; color: inherit; }
.cook-action, .cook-secondary, .cook-search button { display: inline-block; border: 0; border-radius: 99px; padding: 10px 16px; font: inherit; font-weight: 700; text-decoration: none; }
.cook-action, .cook-search button { color: white; background: var(--cook-green); }
.cook-secondary { color: #086426; background: #e8f4ea; }
.cook-section { min-width: 0; }
.cook-section > .cook-secondary { margin-bottom: 10px; }
.cook-row { display: flex; gap: 12px; overflow-x: auto; padding: 3px 3px 12px; scroll-snap-type: x proximity; }
.cook-card { display: grid; align-content: start; gap: 6px; flex: 0 0 min(46%, 240px); padding: 10px; min-width: 120px; border: 1px solid #e3e9e1; border-radius: 16px; background: #fff; scroll-snap-align: start; }
.cook-card img { width: 100%; height: 108px; object-fit: cover; border-radius: 10px; }
.cook-assistant + .cook-section .cook-card:only-child { flex: 0 0 100%; }
.cook-assistant + .cook-section .cook-card:only-child img { height: clamp(140px, 42vw, 280px); }
.cook-list { display: grid; gap: 10px; }
.cook-book { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid #e3e9e1; border-radius: 14px; background: white; }
.cook-book img { width: 51px; height: 62px; object-fit: contain; }
.cook-book small { display: block; }
.cook-ingredients { display: grid; gap: 10px; padding: 0; list-style: none; }
.cook-ingredients label { display: flex; align-items: center; gap: 10px; padding: 10px; background: white; border-radius: 10px; }
.cook-ingredients input { accent-color: var(--cook-green); }
.cook-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 490px); padding: 9px 5px max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); background: white; border: 1px solid #e1ebe1; border-radius: 16px 16px 0 0; box-shadow: 0 -4px 24px #1c3d1912; }
.cook-nav a { display: grid; justify-items: center; color: var(--cook-muted); }
.cook-nav a[aria-current] { color: #087729; font-weight: 700; }
.cook-nav a span { font-size: 21px; }
.cook-nav a small { font-size: clamp(10px, 2.7vw, 13px); }
.kitchen-delivery main { max-width: 750px; margin: 0 auto; padding: 22px 16px; }
.kitchen-delivery section { text-align: center; margin-top: 18px; padding: clamp(25px, 6vw, 55px) 20px; border-radius: 22px; background: white; border: 1px solid #e0eadf; }
.kitchen-delivery section img { max-width: 100%; object-fit: contain; }
.kitchen-delivery h1 { margin-bottom: 5px; }
.kitchen-delivery p { color: var(--cook-muted); }
.delivery-back { color: #09632a; font-weight: 700; }
.kitchen-delivery :focus-visible { outline: 3px solid #ad6427; outline-offset: 4px; }

.kitchen-view.cook-open { background: #eeede8; --cook-green: #009b38; }
.cook-open .layout { max-width: 480px; min-height: 100dvh; background: #fcfbf6; box-shadow: 0 0 28px #22231a12; padding-bottom: 86px; }
.cook-open .topbar { display: none; }
.cook-bar { position: relative; display: flex; align-items: flex-start; justify-content: center; min-height: 106px; padding: 24px 64px 34px; background: var(--cook-green); }
.cook-bar h1 { font-size: clamp(20px, 5vw, 25px); text-align: center; letter-spacing: -.02em; }
.cook-bar-home { justify-content: start; align-items: center; gap: 12px; min-height: 140px; padding: 20px 18px 44px; }
.cook-bar-home h1 { font-size: 23px; text-align: left; }
.cook-brand { flex: 1; min-width: 0; }
.cook-brand p { color: #e0f7e5; line-height: 1.45; font-size: 14px; }
.cook-open svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cook-bar-home > svg { width: 35px; height: 35px; }
.cook-back, .cook-profile { background: #fff; color: #007d2d; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; }
.cook-profile { flex: 0 0 auto; }
.cook-notifications { background: #ffffff30; color: white; }
.cook-back { position: absolute; left: 17px; top: 19px; margin: 0; z-index: 1; }
.cook-content { padding: 20px 18px 24px; gap: 22px; }
.cook-home-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-radius: 99px;
  padding: 14px 18px;
  color: #6a7271;
  background: #fff;
  box-shadow: 0 7px 17px #2a3b2814;
  margin: -48px 0 20px;
  font-size: 14px;
}
.cook-home-search > svg { width: 18px; height: 18px; }
.cook-collection { padding: 20px; border-color: #ebeee8; border-radius: 24px; }
.cook-collection-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 17px; }
.cook-collection-heading h2 { margin: 0; line-height: 1.15; }
.cook-collection-heading p { margin: 4px 0 0; font-size: 14px; }
.cook-tile-icon { background: #e6f6eb; color: #009639; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; }
.cook-tile-icon svg { width: 28px; height: 28px; }
.cook-collection > strong { display: flex; justify-content: space-between; margin-top: 16px; }
.cook-collection > strong::after { content: "→"; font-size: 19px; }
.cook-assistant { background: #e4f5e9; border: 0; border-radius: 22px; }
.cook-assistant h2 { color: #08692f; }
.cook-assistant p { color: #374c3f; }
.cook-action { padding: 12px 20px; }
.cook-section { position: relative; }
.cook-section-more { position: absolute; top: 5px; right: 0; font-size: 13px; color: #007d31; font-weight: 700; }
.cook-feature { display: block; overflow: hidden; border-radius: 21px; background: white; box-shadow: 0 5px 18px #203c2612; }
.cook-feature > img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.cook-feature-body { padding: 15px; }
.cook-feature-body h3 { line-height: 1.25; }
.cook-feature-body p { margin-top: 7px; font-size: 14px; color: var(--cook-muted); }
.cook-feature-body strong { color: #087d31; }
.cook-row { padding-inline: 2px; }
.cook-card { border: 0; border-radius: 16px; box-shadow: 0 3px 10px #162e2010; }
.cook-card img { display: block; }
.cook-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cook-category-grid .cook-card { min-width: 0; }
.cook-collection-pending { color: var(--cook-muted); }
.cook-collection-pending img { filter: saturate(.45); }
.cook-collection-card small {
  display: block;
  color: #087539;
  margin: 12px 0 6px;
  font-weight: 600;
}
.cook-recipe-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.cook-recipe-tabs [aria-pressed="true"] { background: var(--cook-green); color: #fff; }
.cook-section > img { display: block; max-width: 100%; border-radius: 14px; }
.cook-lesson-card { display: flex; align-items: center; gap: 12px; background: #fff; padding: 11px; border-radius: 20px; box-shadow: 0 3px 14px #211f1710; }
.cook-row > .cook-lesson-card { flex: 0 0 68%; flex-direction: column; align-items: stretch; scroll-snap-align: start; }
.cook-lesson-cover { width: 106px; aspect-ratio: 4 / 3; position: relative; flex: 0 0 auto; }
.cook-row .cook-lesson-cover { width: 100%; aspect-ratio: 16 / 9; }
.cook-lesson-cover img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 14px; }
.cook-lesson-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: #008331;
  background: #fffffff2;
  border-radius: 50%;
  font-size: 13px;
}
.cook-lesson-info strong { display: block; line-height: 1.32; }
.cook-lesson-info small { display: block; margin-top: 5px; color: var(--cook-muted); }
.cook-lesson-list { display: grid; gap: 12px; }
.cook-lesson-search {
  position: relative;
  width: 100%;
  min-height: 58px;
  margin: -44px 0 5px;
  border: 0;
  border-radius: 99px;
  padding: 14px 22px;
  box-shadow: 0 6px 16px #2b3c2410;
}
.cook-content-lesson { padding-top: 0; }
.cook-lesson-player {
  position: relative;
  margin-inline: -18px;
  background: #131b15;
}
.cook-lesson-player video {
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: none;
  border-radius: 0;
  background: #131b15;
}
.cook-lesson-error { padding: 12px 18px; color: white; }
.cook-lesson-title { margin-top: -5px; }
.cook-lesson-title h1 {
  margin: 0 0 12px;
  font-size: 23px;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.cook-lesson-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cook-lesson-tags span {
  padding: 5px 13px;
  border-radius: 99px;
  background: #eeeee8;
  color: #484c48;
  font-size: 13px;
  font-weight: 600;
}
.cook-lesson-tags span:first-child { background: #e4f6e9; color: #087539; }
.cook-lesson-ingredients {
  padding: 15px 17px;
  margin: 12px 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 3px 14px #211f170d;
}
.cook-lesson-ingredients h3 { margin: 3px 0 12px; font-size: 16px; }
.cook-lesson-ingredients ul { margin: 0; padding: 0; list-style-type: none; }
.cook-lesson-ingredients li { border-top: 1px solid #eeeee8; padding: 11px 0; color: #404641; }
.cook-book-reader img { display: block; width: 100%; height: auto; margin-top: 10px; }
.cook-book-controls { display: flex; justify-content: space-between; align-items: center; gap: 7px; text-align: center; }
.cook-book-controls button { padding: 7px 9px; font-size: 12px; }
.cook-nav { width: min(100%, 480px); padding: 12px 4px max(15px, env(safe-area-inset-bottom, 0px)); z-index: 2; border: 0; border-radius: 0; }
.cook-nav a { gap: 4px; color: #777c7c; }
.cook-nav a[aria-current] { color: #009638; }
@media (max-width: 380px) {
  .cook-bar-home { gap: 9px; }
  .cook-bar-home h1 { font-size: 20px; }
  .cook-profile { width: 38px; height: 38px; }
}
