.sf-media{position:absolute;inset:0;display:block;overflow:hidden;background:var(--media-bg,#faf9f6)}
@media(max-width:639px){.sf-media{background:var(--media-mobile-bg,var(--media-bg,#faf9f6))}}
.sf-media>img{display:block;width:100%;height:100%;box-sizing:border-box}
/* Hero: 2:1 on every screen, the shape of the 1900x950 upload, edge to edge, so the whole
   picture shows and nothing is cut (the operator's choice over a shorter, cropped desktop slider). */
.sf-hero-frame{position:relative;aspect-ratio:2/1}
.sf-item-detail{aspect-ratio:var(--item-ratio,4/3)}
@media(min-width:1024px){.sf-item-detail{max-width:min(100%,calc((100vh - 12rem) * var(--item-ratio-n,1.3333)))}}
/* Category card (operator's choice "A", 2026-11-12): the whole card is the picture, in the
   site's dish-photo shape so a dish photo is never cut; the name sits in white on a soft shade. */
.sf-category-card{position:relative;display:block;aspect-ratio:var(--item-ratio,4/3);background:#fff;border-radius:18px;overflow:hidden;transition:box-shadow .2s}
.sf-category-card::after{content:"";position:absolute;inset:0;border-radius:inherit;border:3px solid transparent;pointer-events:none;z-index:2;transition:border-color .2s}
.sf-category-image{position:absolute;inset:0}
.sf-category-label{position:absolute;inset:auto 0 0 0;z-index:1;padding:2.2em .75em .65em;background:linear-gradient(to bottom,#0000,#000000a8 55%,#000000c4);color:#fff;text-align:start;font-weight:700;line-height:1.25;overflow-wrap:anywhere;text-shadow:0 1px 2px #0006}
.sf-category-label>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sf-hero-title{font-size:22px}
@media(min-width:640px){.sf-hero-title{font-size:56px}}
@media(min-width:1024px){.sf-hero-title{font-size:80px}}
@media(max-width:639px){.sf-hero-copy{padding:12px!important}.sf-hero-copy p{font-size:12px;line-height:1.3;margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sf-hero-copy>div{margin-top:12px;gap:8px}.sf-hero-copy a{height:36px;font-size:12px;padding-inline:14px}}
.sf-category-button.active .sf-category-card{box-shadow:0 6px 18px #0000001f}
.sf-category-button.active .sf-category-card::after{border-color:var(--primary)}
.sf-category-button:focus-visible .sf-category-card{outline:2px solid var(--primary);outline-offset:3px}
.dark .sf-category-card{background:#262421}
/* Pictures in the menus (desktop "All menu" panel, phone menu sheet). */
.sf-menu-thumb{position:relative;display:block;flex:0 0 auto;width:64px;height:64px;border-radius:14px;overflow:hidden;background:#efece6}
.sf-menu-thumb--sheet{width:72px;height:72px;border-radius:16px}
.sf-menu-thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sf-menu-thumb-letter{position:absolute;inset:0;display:grid;place-items:center;background:var(--primary);color:#fff;font-weight:700;font-size:26px}
.sf-menu-subthumb{display:block;flex:0 0 auto;width:40px;height:40px;border-radius:10px;object-fit:cover;background:#efece6}
.sf-menu-subthumb--blank{background:none}
.dark .sf-menu-thumb,.dark .sf-menu-subthumb{background:#ffffff14}
.dark .sf-menu-subthumb--blank{background:none}
/* Subcategory cards (operator's choice "1", 2026-11-12): a small photo in the dish-photo shape, name under it. */
.sf-subcard{flex:0 0 108px;display:grid;gap:6px;align-content:start;padding:0;border:0;background:none;text-align:start;cursor:pointer;color:#27221f}
@media(min-width:640px){.sf-subcard{flex-basis:136px}}
.sf-subcard-img{position:relative;display:grid;place-items:center;aspect-ratio:var(--item-ratio,4/3);border-radius:14px;overflow:hidden;background:#efece6;color:#8a8178}
.sf-subcard-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sf-subcard-img::after{content:"";position:absolute;inset:0;border-radius:inherit;border:3px solid transparent;transition:border-color .2s}
.sf-subcard:hover .sf-subcard-img::after{border-color:#0000001f}
.sf-subcard.is-on .sf-subcard-img::after{border-color:var(--primary)}
.sf-subcard:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:14px}
.sf-subcard-name{font-size:13px;font-weight:600;line-height:1.3;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(min-width:640px){.sf-subcard-name{font-size:14px}}
.sf-subcard.is-on .sf-subcard-name{color:var(--primary);font-weight:700}
.sf-subcard--all .sf-subcard-img{background:#27221f;color:#faf9f6;font-weight:700;font-size:15px}
.dark .sf-subcard{color:#faf9f6}
.dark .sf-subcard-img{background:#ffffff14;color:#cfc7bd}
.dark .sf-subcard--all .sf-subcard-img{background:#faf9f6;color:#27221f}
.dark .sf-subcard.is-on .sf-subcard-name{color:var(--primary-300,var(--primary))}
.image-editor{border:1px solid #e2ded7;border-radius:14px;padding:16px;margin:16px 0;background:#faf9f6;color:#302a25}
.image-editor legend{float:none;width:auto;font-size:1rem;font-weight:700;margin-bottom:12px}
.image-editor .ie-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.image-editor label{display:block;font-size:.85rem;font-weight:600;margin-bottom:4px}
.image-editor .ie-range{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.image-editor input[type=range]{width:100%;direction:ltr;accent-color:var(--brand,#49372d)}
.image-editor .ie-preview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:12px;align-items:start;margin-top:16px}
.image-editor .ie-preview{position:relative;overflow:hidden;border:1px solid #dedad3;border-radius:12px;aspect-ratio:2/1;background:#faf9f6}
.image-editor .ie-preview--mobile{aspect-ratio:2/1}
.image-editor[data-kind=banner] .ie-preview{aspect-ratio:2/1}
.image-editor[data-kind=category] .ie-preview{aspect-ratio:1}
.image-editor .ie-preview img{width:100%;height:100%;display:block;box-sizing:border-box}
.image-editor .ie-preview img:not([src]){visibility:hidden}
.image-editor .ie-caption{padding:6px 0;font-size:.75rem;color:#6b6258}
.image-editor .ie-empty{position:absolute;inset:0;display:grid;place-items:center;padding:8px;font-size:.75rem;color:#756d63;text-align:center;pointer-events:none}
.image-editor .ie-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:5px;padding:6%;background:linear-gradient(0deg,#000a,transparent 65%);color:#fff;pointer-events:none}
.image-editor .ie-copy strong{font-size:clamp(12px,2vw,20px);line-height:1.05;overflow-wrap:anywhere}
.image-editor .ie-copy small{font-size:10px;line-height:1.15}
.image-editor .ie-copy span{font-size:9px;align-self:flex-start;border-radius:16px;padding:5px 8px;background:#fff;color:#262421}
.image-editor [hidden]{display:none!important}
.image-editor .ie-note{font-size:.8rem;color:#6b6258;margin:10px 0 0}
@media(max-width:400px){.image-editor .ie-fields{grid-template-columns:1fr}}
