#recipesScreen{padding-bottom:52px}#recipesScreen .page-header{padding:16px 20px}
.recipe-page-intro{padding:0 20px 12px;color:#687c87;margin:0}
.recipe-main{max-width:1100px;margin:0 auto;padding:12px 18px 30px}
.recipe-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.recipe-card{border:1px solid #dae5e9;background:white;text-align:left;border-radius:18px;padding:0;overflow:hidden;cursor:pointer;box-shadow:0 8px 30px rgba(12,36,49,.07)}
.recipe-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.recipe-card-info{display:flex;flex-direction:column;gap:9px;padding:16px}.recipe-card-info b{font-size:19px;color:#143d51}.recipe-card-info small{color:#697d86}
.recipe-note,.recipe-warning{padding:14px 16px;border-radius:10px;background:#f5f8f9;color:#526977}.recipe-warning{background:#fff7ed;color:#84562f}
.recipe-back{border:0;background:transparent;cursor:pointer;color:#15647b;padding:12px 0;font-size:15px;font-weight:650}
.recipe-detail{display:grid;grid-template-columns:minmax(220px, .85fr) minmax(0,1.15fr);gap:22px;background:white;border-radius:18px;border:1px solid #dae5e9;overflow:hidden;box-shadow:0 12px 40px rgba(12,36,49,.07)}
.recipe-hero-img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}.recipe-body{padding:28px 25px 30px 0;min-width:0}.recipe-detail-kicker{font-size:11px;letter-spacing:.15em;color:#518596;font-weight:700}.recipe-body h2{font-size:31px;line-height:1.15;color:#14394c;margin:10px 0}.recipe-body h3{font-size:20px;margin:22px 0 12px}.recipe-description{color:#536875;line-height:1.6}.recipe-meta{display:flex;gap:15px;flex-wrap:wrap;color:#586e77;font-size:14px}
.recipe-ingredient-list{border:1px solid #e2eaeb;border-radius:14px;overflow:hidden}.recipe-ingredient{display:flex;gap:13px;align-items:center;padding:12px 14px;cursor:pointer;border-bottom:1px solid #eef2f3}.recipe-ingredient:last-child{border-bottom:0}.recipe-ingredient input{width:20px;height:20px;accent-color:#096f70;flex:none}.recipe-ingredient-name{flex:1;min-width:0;font-weight:550;color:#254456}.recipe-ingredient-name small{display:block;margin-top:3px;color:#ab6953;font-weight:400}.recipe-ingredient.unavailable{background:#faf7f4;opacity:.8;cursor:not-allowed}.recipe-ingredient-qty{white-space:nowrap;color:#69808c;font-size:13px}.recipe-cart-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;flex-wrap:wrap}.recipe-cart-bar span{font-size:13px;color:#557079}.recipe-cart-status{color:#a34943}.recipe-steps{padding-left:24px;line-height:1.75;color:#375265}.recipe-steps li{margin-bottom:14px;padding-left:6px}
#recipeStockRefresh{margin-right:16px;border:1px solid #dde8ea;border-radius:10px;padding:10px 12px;background:white}
@media(max-width:720px){.recipe-detail{grid-template-columns:1fr}.recipe-hero-img{aspect-ratio:16/10}.recipe-body{padding:2px 17px 22px}.recipe-body h2{font-size:24px}.recipe-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recipe-card-info{padding:11px}.recipe-card-info b{font-size:15px}}
@media(max-width:430px){.recipe-card-grid{grid-template-columns:1fr 1fr}.recipe-card img{aspect-ratio:1/1}.recipe-card-info small{font-size:11px}}

.recipe-home-promo{display:flex;gap:20px;justify-content:space-between;align-items:center;border-radius:18px;padding:24px;margin:24px auto;background:linear-gradient(125deg,#e8f5f2,#f7f2e8)}.recipe-home-promo span{font-size:11px;letter-spacing:.16em;color:#477a75;font-weight:700}.recipe-home-promo h2{margin:8px 0;color:#194f50}.recipe-home-promo p{margin:0;color:#607d7a}.recipe-home-promo button{white-space:nowrap}@media(max-width:580px){.recipe-home-promo{flex-direction:column;align-items:flex-start}.recipe-home-promo button{width:100%}}
/* MARIVO V59.3 — editorial design, mobile-first ingredient cards and recipe bundles */
#recipesScreen{background:linear-gradient(180deg,#f6faf8 0%,#fff 430px);color:#20434c}
.recipe-main{max-width:1160px;padding:18px 24px 72px}
.recipe-page-intro{max-width:1160px;margin:0 auto;padding:0 24px 8px!important;font-size:14px}
.recipe-card-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:19px}
.recipe-card{border:1px solid #dce7e3;border-radius:16px;box-shadow:0 10px 30px #20403910;transition:transform .18s ease,box-shadow .18s ease}
.recipe-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px #2040391a}
.recipe-card img{aspect-ratio:5/4}
.recipe-card-info{padding:15px}.recipe-card-info b{font-size:17px;font-weight:700;line-height:1.32}
.recipe-card-info small{font-size:12px}
.recipe-focus{padding:20px 24px;margin-bottom:21px;background:#eaf5f0;border-radius:16px}.recipe-focus span{font-size:12px;color:#3c7867}.recipe-focus h2{font-size:26px;margin:5px 0 8px;color:#204c48}
.recipe-discover{margin:15px 0 25px}.recipe-section-heading{display:flex;align-items:center;justify-content:space-between}.recipe-section-heading h3{font-size:19px;color:#23494a;margin:8px 0 15px}
.recipe-mini-carousel{display:flex;gap:13px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 3px 13px;scrollbar-width:thin}
.recipe-mini-carousel .recipe-card{flex:0 0 195px;scroll-snap-align:start}
.recipe-mini-carousel .recipe-card img{aspect-ratio:6/4}.recipe-mini-carousel .recipe-card-info{padding:11px 13px}.recipe-mini-carousel .recipe-card-info b{font-size:15px}
.recipe-detail{border:1px solid #dae8e2;border-radius:18px;grid-template-columns:minmax(230px,.9fr) minmax(0,1.15fr);box-shadow:0 16px 42px #254a3a12}
.recipe-hero-img{aspect-ratio:4/5;object-fit:cover}.recipe-body{padding:28px 28px 30px 5px}.recipe-body h2{font-size:30px}
.recipe-description{margin-top:4px}.recipe-meta span{background:#edf6f2;padding:7px 10px;border-radius:8px;color:#356b64}
.recipe-ingredient-list{background:#fff;border:1px solid #dce8e3}
.recipe-ingredient{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-height:66px;padding:12px}
.recipe-ingredient-picker{display:flex;gap:10px;align-items:center;flex:1;min-width:120px;cursor:pointer}
.recipe-ingredient-picker input{width:18px;height:18px;accent-color:#1b746a;flex:none}
.recipe-ingredient-qty{min-width:65px;text-align:right}
.recipe-product-view{border:1px solid #d0e3df;background:#f2f9f7;color:#24675d;border-radius:8px;padding:7px 9px;font-size:12px;font-weight:700;cursor:pointer}
.recipe-small-hint{font-size:12px;color:#769087;margin:-6px 0 14px}
.recipe-cart-bar{border-top:1px solid #e3ece8;padding-top:18px}.recipe-cart-bar div{display:flex;flex-direction:column;gap:2px}.recipe-cart-bar small{font-size:11px;color:#66837b}.recipe-cart-bar strong{font-size:20px;color:#194f49}
.recipe-cart-bar .primary-btn{padding:13px 15px;min-height:47px;font-size:13px}
.recipe-product-link{background:#e9f6f2;border:1px solid #c5e4dc;color:#176354;border-radius:9px;padding:8px 10px;margin:9px 0 6px;font-size:12px;cursor:pointer;text-align:left;font-weight:700;line-height:1.3}
.recipe-product-link:hover,.recipe-product-view:hover{background:#dbf1eb}
.recipe-cart-groups{grid-column:1/-1;margin:4px 0 16px;border-radius:14px;background:linear-gradient(120deg,#eaf5f1,#fff);padding:13px;border:1px solid #d4e7e0}
.recipe-cart-groups h3{margin:0 0 10px;color:#1c5751;font-size:16px}
.recipe-cart-group{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 0;border-top:1px solid #d7e9e2}
.recipe-cart-group strong{display:block;color:#1d5149}.recipe-cart-group small{display:block;color:#64867c;margin-top:4px}
.recipe-cart-group-actions{display:flex;gap:8px;flex-wrap:wrap}
.recipe-cart-group-actions button{background:#fff;border:1px solid #c7dfd5;border-radius:8px;color:#226f62;font-size:12px;padding:9px 10px;cursor:pointer}
.recipe-cart-badge{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:5px 0;color:#19756a;font-size:11px}
.recipe-cart-badge button{background:#e8f4ef;border:1px solid #c2ded3;border-radius:100%;color:#146b5c;width:24px;height:24px;cursor:pointer;font-size:15px;font-weight:700}
@media(max-width:760px){.recipe-main{padding:12px 13px 72px}.recipe-detail{grid-template-columns:1fr}.recipe-hero-img{aspect-ratio:16/10}.recipe-body{padding:17px 18px 24px}.recipe-focus{padding:15px}.recipe-mini-carousel .recipe-card{flex-basis:160px}.recipe-cart-bar{position:sticky;bottom:0;background:#fff;padding:12px 4px;box-shadow:0 -5px 20px #16392b0c;z-index:2}}
@media(max-width:470px){.recipe-ingredient{gap:9px}.recipe-product-view{margin-left:27px}.recipe-cart-group{align-items:start;flex-direction:column}.recipe-cart-group-actions{width:100%}.recipe-cart-group-actions button{flex:1}.recipe-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recipe-card-info{padding:11px}.recipe-card-info b{font-size:15px}}

.recipe-quantity-pair{min-width:72px;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.recipe-usage-value{font-size:13px;color:#2c635e;font-weight:700}.recipe-ingredient-qty{white-space:nowrap;font-size:12px;color:#728a85}

/* V59.4 editorial flow */
.recipe-detail.recipe-editorial{display:block;max-width:970px;margin:0 auto}.recipe-editorial .recipe-hero-img{display:block;aspect-ratio:16/9;width:100%;height:auto;object-fit:cover}.recipe-editorial .recipe-body{padding:30px clamp(16px,4vw,42px)}.recipe-editorial-steps{padding:0;list-style:none;display:grid;gap:28px;margin:20px 0 30px}.recipe-editorial-steps li{border-bottom:1px solid #e1ebe7;padding:0 0 24px}.recipe-editorial-steps li.with-photo{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.recipe-editorial-steps li.with-photo:nth-child(even) .recipe-step-text{order:2}.recipe-step-text b{display:inline-block;font-size:23px;color:#176354}.recipe-step-text p{line-height:1.8;color:#375265;white-space:pre-line}.recipe-editorial-steps img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.recipe-final-img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:15px;margin-top:28px}.recipe-chef,.recipe-pantry{background:#edf6f2;border-radius:12px;padding:12px 18px;margin:18px 0}.recipe-chef p,.recipe-pantry p{white-space:pre-line;line-height:1.65}.recipe-swap{flex:0 0 100%;display:grid;gap:5px;font-size:12px;color:#386a61;padding:8px 0}.recipe-swap select{max-width:100%;width:100%;padding:8px;border:1px solid #c9ded6;border-radius:7px;background:#fff}.recipe-swap small{font-size:11px;color:#697d86}.recipe-ingredient-photo{width:50px;height:50px;object-fit:contain;border-radius:6px}.recipe-availability{color:#456c62!important}.recipe-editorial .recipe-cart-bar{position:static}@media(max-width:650px){.recipe-editorial-steps li.with-photo{grid-template-columns:1fr;gap:8px}.recipe-editorial-steps li.with-photo:nth-child(even) .recipe-step-text{order:0}.recipe-editorial-steps img{aspect-ratio:4/3}.recipe-editorial .recipe-hero-img,.recipe-final-img{aspect-ratio:16/10}}

/* V59.6 single editorial category entrance below the product categories. */
.recipe-home-entry[hidden]{display:none!important}.recipe-home-entry{margin-top:12px;margin-bottom:22px}.recipe-home-card{position:relative;width:100%;aspect-ratio:5/2;max-height:280px;min-height:116px;display:flex;align-items:center;overflow:hidden;border:0;border-radius:16px;padding:0;background:#123d50;text-align:left;cursor:pointer;isolation:isolate}.recipe-home-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:-2}.recipe-home-card::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#102f43 0%,rgba(16,47,67,.96) 24%,rgba(16,47,67,.76) 47%,rgba(16,47,67,0) 79%);z-index:-1}.recipe-home-label{display:flex;flex-direction:column;gap:5px;color:white;width:56%;padding:clamp(14px,4vw,38px);box-sizing:border-box}.recipe-home-label strong{font-size:clamp(19px,4.2vw,42px);line-height:1.12;overflow-wrap:anywhere}.recipe-home-label span{font-size:clamp(18px,3vw,30px)}.recipe-home-card:focus-visible{outline:3px solid #1297b2;outline-offset:3px}

/* V59.9 structural layout */
.recipe-focus{padding:12px 16px;margin-bottom:16px}.recipe-focus h2{font-size:clamp(17px,2vw,22px);margin:4px 0}.recipe-quantity-pair{min-width:0;text-align:right}.recipe-quantity-pair span{display:block;white-space:normal}.recipe-editorial .recipe-hero-img,.recipe-final-img{object-fit:contain;background:#f5f7f6}
