/* רגישים — brand palette from the characters: orange, gray, cream */
:root {
    --ds-teal: #b9550f; /* brand identity replaces leftover teal accents */
    --brand-orange: #e07020;
    --brand-orange-dark: #b9550f;
    --brand-gray: #3f3f42;
    --brand-cream: #fdf6e9;
    --brand-cream-deep: #f7ecd6;
}

/* page hero: full image first (no crop, heads intact), title under it on cream */
.page-hero { background: var(--brand-cream); border: 1px solid var(--ds-hairline); border-radius: 20px; overflow: hidden; margin: 0 auto 10px; max-width: 640px; }
.page-hero-img { width: 100%; height: auto; display: block; }
@media (min-width: 768px) {
    .page-hero-img { max-height: 340px; object-fit: contain; }
}
.page-hero-title { padding: 8px 14px 0; }
.page-hero-title h1 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 700; color: var(--brand-gray); }
.page-hero-title p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.4; font-weight: 600; color: var(--brand-orange-dark); }
@media (min-width: 768px) {
    .page-hero-title h1 { font-size: 25px; }
}

/* collapsible filter panel: one summary row, expands to the full controls */
.filters { padding: 8px 12px 12px; }
.filters-toggle { display: flex; align-items: center; gap: 8px; width: 100%; background: #fff; border: 1px solid var(--brand-orange); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-family: inherit; cursor: pointer; color: var(--brand-gray); }
.filters-toggle-label { font-weight: 700; color: var(--brand-orange-dark); white-space: nowrap; }
.filters-summary { flex: 1; text-align: start; color: var(--ds-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filters-chev { color: var(--brand-orange-dark); transition: transform 0.15s ease; }
.filters-chev-open { transform: rotate(180deg); }
.filters-body { padding-top: 6px; }

/* catalog grid */
.recipe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .recipe-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.recipe-card { display: flex; flex-direction: column; background: var(--brand-cream); border: 1px solid var(--ds-hairline); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ds-ink); }
.recipe-card-imgwrap { position: relative; display: block; }
.recipe-card-imgwrap img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.recipe-card-num { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--brand-orange); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; line-height: 1.4; }
.recipe-card-body { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px 12px; }
.recipe-card-name { font-weight: 600; font-size: 14px; line-height: 1.35; }
.recipe-card-meta { color: var(--ds-ink-2); font-size: 11px; }

/* empty state */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; }
.empty-state img { width: 45%; max-width: 220px; border-radius: 16px; }

/* recipe page hero: photo + character, title under the photo on cream */
.recipe-hero { position: relative; background: var(--brand-cream); border: 1px solid var(--ds-hairline); border-radius: 20px; padding: 10px; margin: 0 auto 8px; max-width: 600px; }
.recipe-photo { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 14px; }
.recipe-char { position: absolute; top: -6px; inset-inline-end: -6px; width: 26%; max-width: 140px; transform: rotate(4deg); filter: drop-shadow(0 3px 6px rgba(63, 63, 66, 0.25)); }
.recipe-bubble { position: absolute; top: 16px; inset-inline-start: 14px; background: #fff; border: 2px solid var(--brand-orange); color: var(--brand-orange-dark); font-weight: 700; font-size: 13px; border-radius: 14px 14px 14px 4px; padding: 4px 10px; }
.recipe-hero-title { padding: 10px 4px 2px; }
.recipe-hero-title h1 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--brand-gray); }
.recipe-hero-title .diet-badges { margin: 0; }
.recipe-hero-fact { display: inline-block; margin-top: 5px; font-size: 11px; font-weight: 600; color: var(--brand-orange-dark); }

/* more-like-this strip */
.more-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.more-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ds-ink); background: var(--brand-cream); border: 1px solid var(--ds-hairline); border-radius: 12px; overflow: hidden; padding-bottom: 8px; }
.more-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.more-name { font-size: 12px; font-weight: 600; padding: 0 8px; line-height: 1.3; }

/* rating stars */
.star-row { display: flex; gap: 4px; }
.star { background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ds-ink-4); padding: 4px; }
.star-on { color: var(--brand-orange); }

/* diet badges */
.diet-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.diet-badge { border: 1px solid var(--brand-orange); background: var(--brand-cream); border-radius: 999px; padding: 3px 10px; font-size: 12px; color: var(--brand-orange-dark); font-weight: 700; }

/* site nav */
.file-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.file-nav a { display: inline-block; padding: 5px 12px; border: 1px solid var(--ds-hairline); border-radius: 999px; text-decoration: none; font-size: 13px; }
.file-nav a[aria-current="page"] { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; font-weight: 700; }

/* visible diet picker: icon tiles, always on screen above the collapsible search */
.diet-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px 12px 0; }
.diet-picker-form { grid-template-columns: repeat(3, 1fr); padding: 6px 0 0; }
.diet-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 9px 4px; background: #fff; border: 1.5px solid var(--brand-orange); border-radius: 14px; font-family: inherit; font-size: 12px; font-weight: 700; color: var(--brand-gray); cursor: pointer; }
.diet-tile svg { width: 22px; height: 22px; fill: var(--brand-orange-dark); color: var(--brand-orange-dark); }
.diet-tile-on { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
.diet-tile-on svg { fill: #fff; color: #fff; }

/* multi-select diet label in the add-recipe form */
.multi-diet { display: flex; flex-direction: column; gap: 2px; }
.multi-diet-label { font-size: 13px; font-weight: 700; color: var(--brand-orange-dark); }

/* floating add-recipe button */
.add-fab { position: fixed; bottom: 18px; inset-inline-end: 16px; z-index: 60; display: flex; align-items: center; gap: 7px; background: var(--brand-orange); color: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 4px 14px rgba(185, 85, 15, 0.4); }
.add-fab svg { width: 15px; height: 15px; }
.fab-spacer { height: 60px; }

/* link to the how-it-works page from the catalog */
.how-row { display: flex; justify-content: center; margin: 6px 0 4px; }
.how-link { color: var(--brand-orange-dark); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* prominent add-recipe entry at the top of the catalog */
.add-cta { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 10px 12px 12px; background: var(--brand-orange); color: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 14.5px; text-decoration: none; box-shadow: 0 3px 10px rgba(185, 85, 15, 0.35); }
.add-cta svg { width: 15px; height: 15px; }

/* Inset the temporary catalogue availability notice like the adjacent controls. */
.page-hero > .caption { margin: 13px 14px; overflow-wrap: anywhere; }

.breadcrumbs,.collection-nav{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 20px}.breadcrumbs{font-size:13px}.collection-nav a{border:1px solid #ddd;border-radius:999px;padding:8px 14px;min-height:44px}.video-consent{background:#f6f3ef;border:1px solid #dedbd7;border-radius:16px;padding:24px}.video-consent iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:12px}.video-load{min-height:48px;padding:10px 18px;border:0;border-radius:999px;background:#c35e17;color:#fff;font-weight:700;cursor:pointer}.video-credit,.recipe-source{font-size:13px;line-height:1.8}.video-credit a{overflow-wrap:anywhere}.video-consent:has(iframe){padding:0;background:#000}.recipe-source{margin:24px 0}

:root{--ds-hairline:#eae9ea;--ds-ink:#3f3f42;--ds-ink-2:#585254;--ds-ink-4:#8b8788}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ds-ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}main{max-width:1040px;margin:auto;padding:24px 24px 100px}a{color:var(--brand-orange-dark)}h1,h2{line-height:1.3}h2{font-size:22px;margin:0 0 16px}section{margin:30px 0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #3f3f42;outline-offset:4px}.page-hero-img{height:auto}.page-hero-title{padding-bottom:10px}.filters-toggle{min-height:44px;display:list-item;list-style-position:inside}.filters-body{display:grid;gap:12px}label{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-weight:600}input,select,textarea{width:100%;padding:10px 12px;border:1px solid #bbb;border-radius:10px;background:#fff;color:#3f3f42;min-height:44px}textarea{resize:vertical}.diet-tile{min-height:64px}.recipe-card{transition:box-shadow .15s}.recipe-card:hover{box-shadow:0 3px 14px #0002}.recipe-card-name{font-size:16px}.recipe-card-meta{font-size:12px}.recipe-card[hidden]{display:none}.recipe-photo,.recipe-card-imgwrap img{height:auto}.recipe-char{height:auto}.ingredients{list-style:none;padding:0}.ingredients li{padding:12px 0;border-bottom:1px solid var(--ds-hairline)}.steps{padding-inline-start:26px}.steps li{padding:7px 8px 12px}.callout{background:#f4efec;border-radius:14px;padding:18px;margin:24px 0}.callout h2{font-size:18px;margin-bottom:6px}.callout p{margin:0}.caption{font-size:13px;color:#585254;line-height:1.6}.star{min-width:44px;min-height:44px}.back-link{display:inline-block;min-height:44px;padding:8px 0}.add-fab{bottom:calc(18px + env(safe-area-inset-bottom));min-height:48px}.add-fab span{font-size:23px;line-height:1}.more-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.more-grid .recipe-card-num{display:none}.more-grid .recipe-card-meta{display:none}.more-grid .recipe-card-name{font-size:13px}footer{border-top:1px solid var(--ds-hairline);margin-top:38px;padding-top:14px;color:#656061;font-size:12px;line-height:1.65}footer p{margin:8px 0}footer a{min-height:44px;display:inline-block;padding:8px 0}.submit{background:#ddd;color:#666;padding:12px;border:0;border-radius:10px;cursor:not-allowed}[hidden]{display:none!important}@media(min-width:768px){main{padding:36px 36px 110px}.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-hero-title h1{font-size:27px}}@media(max-width:360px){main{padding:16px 16px 100px}.diet-picker{gap:5px;padding:8px 8px 0}.diet-tile{font-size:11px}.recipe-card-name{font-size:14px}.more-grid{gap:6px}.more-grid .recipe-card-body{padding:6px}.add-fab{inset-inline-end:12px}}

.submit{background:#e07020;color:#fff;cursor:pointer;width:100%;min-height:48px;font-weight:700}.submit:disabled{background:#ddd;color:#666;cursor:wait}.consent{display:flex;flex-direction:row;align-items:flex-start;font-weight:400;gap:12px}.consent input{width:22px;min-width:22px;min-height:22px;height:22px;margin-top:4px}.consent span{flex:1}small{font-size:13px;font-weight:400;color:#585254}.spam-trap{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;pointer-events:none}#submit-another{padding:12px 20px;min-height:44px;border:1px solid #e07020;border-radius:10px;background:#fff;color:#9a4316}
