/* V60: editorial kitchen only. Existing shopping layouts remain unchanged. */
#recipesScreen{--k-ink:#233b36;--k-muted:#64736b;--k-line:#e1e2d9;--k-green:#23675c;--k-paper:#faf8f3;background:var(--k-paper);color:var(--k-ink);font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-weight:400;line-height:1.65}
#recipesScreen button,#recipesScreen input,#recipesScreen select{font-family:inherit}
#recipesScreen h1,#recipesScreen h2,#recipesScreen h3,#recipesScreen h4,#recipesScreen .recipe-card-info b{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.015em;color:var(--k-ink)}
#recipesScreen .page-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:8px clamp(12px,3vw,40px);min-height:64px;background:#faf8f3f7;border-bottom:1px solid var(--k-line);backdrop-filter:blur(8px)}
#recipesScreen .page-header h2{font-size:clamp(19px,2.5vw,29px);line-height:1.14;margin:0}#recipesScreen .page-header .nav-back{font-weight:500;border:0;margin:0;padding-right:12px;min-height:44px}#recipesScreen #recipeStockRefresh{width:42px;height:42px;min-width:0;margin:0;padding:0;display:grid;place-items:center;border:1px solid var(--k-line);background:transparent;color:var(--k-green);font-size:19px;border-radius:50%}
#recipesScreen #recipeLang{min-width:0;min-height:42px;box-shadow:none}#recipesScreen #recipesIntro{display:none}
#recipesScreen .recipe-main{max-width:1510px;padding:24px clamp(16px,3vw,46px) 72px;margin:auto}
#recipesScreen .recipe-hub-banner{min-height:255px;display:flex;align-items:center;border-radius:20px;overflow:hidden;background:linear-gradient(90deg,#233830 0%,#233830ea 27%,#23383024 72%),url('assets/recipe-kitchen-banner.webp') center right/cover no-repeat;margin:0 0 28px;padding:35px clamp(20px,5vw,72px)}
#recipesScreen .recipe-hub-banner>div{max-width:530px;color:#fff}#recipesScreen .recipe-hub-banner h1{color:#fff;font-size:clamp(30px,4vw,54px);line-height:1.07;margin:12px 0;font-weight:400}#recipesScreen .recipe-hub-banner span,#recipesScreen .recipe-summary>span{font-size:11px;letter-spacing:.19em;font-weight:600}#recipesScreen .recipe-hub-banner p{max-width:37ch;margin:0;color:#f0ece2;font-size:16px;line-height:1.6}
#recipesScreen .recipe-hub-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 24px;color:var(--k-muted);font-size:14px}#recipesScreen .recipe-hub-tools input{width:min(100%,430px);min-height:46px;padding:10px 18px;border:1px solid var(--k-line);border-radius:30px;background:white;color:var(--k-ink);font-size:15px}
#recipesScreen .recipe-card-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px}#recipesScreen .recipe-card[hidden]{display:none!important}#recipesScreen .recipe-card{border:1px solid var(--k-line);box-shadow:none;border-radius:16px;background:#fff;align-self:start}#recipesScreen .recipe-card img{aspect-ratio:4/3;object-fit:cover}#recipesScreen .recipe-card-info{padding:17px;gap:8px}#recipesScreen .recipe-card-info b{font-size:22px;line-height:1.24}#recipesScreen .recipe-card-info small{font-size:13px;color:var(--k-muted)}
#recipesScreen .recipe-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}#recipesScreen .recipe-side{display:none}#recipesScreen .recipe-editorial{max-width:none;width:100%;border:1px solid var(--k-line);border-radius:18px;box-shadow:none;background:#fff;min-width:0;overflow:hidden}#recipesScreen .recipe-editorial .recipe-hero-img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#eeeae2}#recipesScreen .recipe-editorial .recipe-body{padding:clamp(20px,3.3vw,48px)}#recipesScreen .recipe-detail-kicker{letter-spacing:.16em;font-size:11px;font-weight:500;color:var(--k-green)}#recipesScreen .recipe-body h2{font-size:clamp(28px,4vw,43px);line-height:1.14;margin:10px 0 20px}#recipesScreen .recipe-body h3{font-size:27px;line-height:1.2;margin:30px 0 15px}#recipesScreen .recipe-description{max-width:74ch;font-size:17px;line-height:1.8;color:#4e5d56}#recipesScreen .recipe-meta{gap:12px;margin:20px 0 30px}#recipesScreen .recipe-meta span{background:#f3f3eb;border:1px solid #e8e8dc;color:var(--k-ink);border-radius:30px;font-weight:400;padding:7px 13px}
#recipesScreen .recipe-ingredient-list{border:1px solid var(--k-line);border-radius:14px}#recipesScreen .recipe-ingredient{padding:14px 12px;gap:12px;border-color:#efeee8}#recipesScreen .recipe-ingredient-picker{gap:12px;min-height:44px}#recipesScreen .recipe-ingredient-picker input{appearance:none;-webkit-appearance:none;width:19px;height:19px;min-width:19px;border:1.5px solid #7b9387;border-radius:6px;background:#fff;display:grid;place-content:center;position:relative;margin:0;cursor:pointer}#recipesScreen .recipe-ingredient-picker input:checked{background:#286b5d;border-color:#286b5d}#recipesScreen .recipe-ingredient-picker input:checked:after{content:'';width:8px;height:5px;border-left:1.5px solid white;border-bottom:1.5px solid white;transform:rotate(-45deg) translateY(-1px)}#recipesScreen .recipe-ingredient-picker input:disabled{opacity:.45;cursor:not-allowed}#recipesScreen .recipe-ingredient-picker input:focus-visible{outline:3px solid #7ca99b;outline-offset:3px}#recipesScreen .recipe-ingredient-name{font-weight:500;font-size:14px;line-height:1.5;color:var(--k-ink)}#recipesScreen .recipe-ingredient-name small{font-size:11px;color:#796b53;font-weight:400}#recipesScreen .recipe-ingredient-photo{width:52px;height:52px}#recipesScreen .recipe-usage-value{font-weight:500;font-size:12px}#recipesScreen .recipe-ingredient-qty{font-size:12px;color:var(--k-muted)}#recipesScreen .recipe-product-view{font-weight:500;background:#fff;border-color:#d9e3dc;color:var(--k-green);min-height:38px;border-radius:24px}#recipesScreen .recipe-small-hint{color:var(--k-muted);font-size:13px}
#recipesScreen .recipe-cart-bar{border:0;background:#f0f4ed;padding:16px;border-radius:14px;align-items:center;margin:24px 0;box-shadow:none}#recipesScreen .recipe-cart-bar small{font-size:12px;color:#536b5e}#recipesScreen .recipe-add-action{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;border:0;background:var(--k-green);color:white;border-radius:28px;font-size:14px;font-weight:500;padding:13px 20px;text-align:left;white-space:normal}#recipesScreen .recipe-add-action:disabled{opacity:.45}#recipesScreen .recipe-price-detail{font-size:12px;color:var(--k-green);margin-top:4px}#recipesScreen .recipe-price-detail summary{cursor:pointer;text-decoration:underline;text-underline-offset:2px}#recipesScreen .recipe-price-detail strong{display:block;font-size:17px;font-weight:500}#recipesScreen .recipe-cart-status:empty{display:none}
#recipesScreen .recipe-editorial-steps{gap:0;margin:12px 0 32px}#recipesScreen .recipe-editorial-steps li{border-bottom:1px solid #e9e5da;padding:28px 0;scroll-margin-top:92px}#recipesScreen .recipe-editorial-steps li.with-photo{gap:clamp(20px,3vw,36px);grid-template-columns:1fr 1fr;align-items:center}#recipesScreen .recipe-editorial-steps img{aspect-ratio:4/3;object-fit:cover;border-radius:12px}#recipesScreen .recipe-step-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}#recipesScreen .recipe-step-number{font-family:Georgia,serif;color:#a68b60;font-weight:400;font-size:32px;line-height:1}#recipesScreen .recipe-step-heading h4{font-size:23px;line-height:1.2;margin:0}#recipesScreen .recipe-step-text p{font-size:15px;line-height:1.85;color:#4b5a52;margin:0;max-width:65ch}
#recipesScreen .recipe-chef{background:#f4efe3;border:1px solid #e9dfc8;border-radius:16px;padding:20px clamp(18px,3vw,30px);margin:30px 0}#recipesScreen .recipe-chef h3{margin:0 0 20px;color:#665233}#recipesScreen .recipe-chef h3 span,#recipesScreen .recipe-secret-symbol{color:#957244}#recipesScreen .recipe-secret-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px}#recipesScreen .recipe-secret-grid section{border-top:1px solid #ded3bd;padding-top:12px}#recipesScreen .recipe-secret-grid h4{font-size:19px;margin:4px 0 8px}#recipesScreen .recipe-secret-grid p{font-size:14px;line-height:1.7;margin:0;color:#5e584c}#recipesScreen .recipe-pantry{background:#f7f4ec;border:1px solid var(--k-line);padding:14px 18px}#recipesScreen .recipe-pantry h3{font-size:21px;margin:5px 0 10px}
#recipesScreen .recipe-serving h3{margin-bottom:14px}#recipesScreen .recipe-final-img{width:100%;aspect-ratio:16/9;object-fit:cover;margin:0;border-radius:13px}#recipesScreen .recipe-final-cta{margin-top:24px;display:flex;justify-content:center}#recipesScreen .recipe-back{font-weight:500;color:var(--k-green);margin-bottom:10px}#recipesScreen [id^="recipe-"]{scroll-margin-top:92px}
@media(min-width:1120px){#recipesScreen .recipe-layout{grid-template-columns:155px minmax(0,1fr) 175px}#recipesScreen .recipe-side{display:block;position:sticky;top:90px;max-height:calc(100vh - 115px);overflow:auto;padding:12px 3px;color:var(--k-muted)}#recipesScreen .recipe-side h3{font-size:20px;margin:6px 0 14px;line-height:1.3}#recipesScreen .recipe-contents button{display:block;width:100%;background:none;border:0;border-left:1px solid var(--k-line);padding:8px 10px;text-align:left;line-height:1.4;color:var(--k-muted);font-size:13px;cursor:pointer}#recipesScreen .recipe-contents button:hover,#recipesScreen .recipe-contents button:focus-visible{border-left-color:var(--k-green);color:var(--k-green)}#recipesScreen .recipe-summary{border:1px solid var(--k-line);padding:18px;background:#fff;border-radius:14px}#recipesScreen .recipe-summary p{font-size:13px;line-height:1.55}#recipesScreen .recipe-summary button{width:100%;border:1px solid #b8cfc3;border-radius:20px;color:var(--k-green);background:none;padding:9px;font-size:13px;cursor:pointer}}
@media(min-width:1450px){#recipesScreen .recipe-layout{grid-template-columns:185px minmax(0,1fr) 205px;gap:28px}}
@media(max-width:650px){#recipesScreen .page-header{gap:6px;padding:6px 9px;min-height:56px}#recipesScreen .page-header .nav-back{min-width:0;padding-right:4px}#recipesScreen .page-header .back-target-label{max-width:65px;font-size:10px;overflow:hidden;text-overflow:ellipsis}#recipesScreen #recipeStockRefresh{width:32px;height:32px;font-size:16px}#recipesScreen .recipe-main{padding:14px 12px 55px}#recipesScreen .recipe-hub-banner{min-height:210px;padding:22px;background-position:center right}#recipesScreen .recipe-hub-banner h1{font-size:32px}#recipesScreen .recipe-hub-banner p{font-size:13px;max-width:25ch}#recipesScreen .recipe-hub-tools{gap:8px}#recipesScreen .recipe-hub-tools span{font-size:11px}#recipesScreen .recipe-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#recipesScreen .recipe-card-info{padding:12px}#recipesScreen .recipe-card-info b{font-size:17px}#recipesScreen .recipe-card-info small{font-size:11px}#recipesScreen .recipe-editorial .recipe-body{padding:20px 15px}#recipesScreen .recipe-description{font-size:16px}#recipesScreen .recipe-editorial-steps li.with-photo{grid-template-columns:1fr;gap:14px}#recipesScreen .recipe-editorial-steps li.with-photo:nth-child(even) .recipe-step-text{order:0}#recipesScreen .recipe-step-heading h4{font-size:21px}#recipesScreen .recipe-cart-bar .recipe-add-action,#recipesScreen .recipe-final-cta .recipe-add-action{width:100%}#recipesScreen .recipe-ingredient{gap:8px}#recipesScreen .recipe-quantity-pair{margin-left:auto}#recipesScreen .recipe-product-view{margin-left:0}#recipesScreen .recipe-secret-grid{grid-template-columns:1fr}#recipesScreen .recipe-ingredient-picker{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){#recipesScreen *{scroll-behavior:auto!important;transition:none!important}}

#recipesScreen .page-header .back-target-label{font-size:13px;font-weight:500}
@media(max-width:650px){#recipesScreen .page-header .back-target-label{font-size:10px}}

/* V60.1: preserve full frame, no fixed height or forced enlargement of old low-res step images. */
#recipesScreen .recipe-editorial .recipe-hero-img,#recipesScreen .recipe-final-img{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain;background:transparent;margin-inline:auto}
#recipesScreen .recipe-step-media{min-width:0;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:10px}
#recipesScreen .recipe-editorial-steps .recipe-step-photo{display:block;width:auto;height:auto;max-width:100%;max-height:540px;aspect-ratio:auto;object-fit:contain;margin-inline:auto;border-radius:12px}



#recipesScreen .recipe-pack-hint{color:var(--k-muted);font-size:11px;line-height:1.4}
@media(min-width:651px){#recipesScreen .recipe-editorial-steps li.with-photo:nth-child(even) .recipe-step-media{order:-1}}
@media(max-width:650px){#recipesScreen .recipe-editorial-steps li.with-photo:nth-child(even) .recipe-step-media{order:0}#recipesScreen .page-header .back-target-label{max-width:110px;white-space:normal;overflow:visible;text-overflow:clip}}

#recipesScreen .recipe-step-text{min-width:0;overflow-wrap:anywhere}#recipesScreen .recipe-card img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}

/* V60.2: identical step image frames, uncropped content, no overflow. */
#recipesScreen .recipe-editorial-steps li.with-photo{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#recipesScreen .recipe-step-media{width:100%;min-width:0;aspect-ratio:4/3;overflow:hidden;background:#f5f2eb;border-radius:12px;display:flex;align-items:center;justify-content:center}
#recipesScreen .recipe-editorial-steps .recipe-step-photo{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;aspect-ratio:auto;margin:0;border-radius:0}
@media(max-width:650px){#recipesScreen .recipe-editorial-steps li.with-photo{grid-template-columns:minmax(0,1fr)}}
