@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&family=Playfair+Display:ital,wght@1,500&display=swap');
:root{--cream:#f4e8d5;--paper:#fbf3e6;--brown:#3c1e10;--rust:#91401f;--muted:#836d59;--line:#d5c3ac;--sky:#bacbc9}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:#ddd2c2;color:var(--brown);font-family:Manrope,Arial,sans-serif;font-size:14px;background-image:radial-gradient(ellipse at top left,#9faeaa50,transparent 50%)}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b77c46;outline-offset:4px}button{color:inherit}button:disabled{cursor:default}img{max-width:100%;display:block}.site-shell{max-width:1240px;margin:28px auto;background:var(--cream);box-shadow:0 20px 90px #301b1522;overflow:hidden}.inset{padding-left:44px;padding-right:44px}.dark-top{background:var(--brown);padding:0 22px;color:var(--cream)}header{height:108px;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:0 20px}.brand{font-family:Oswald,Arial,sans-serif;font-size:43px;font-weight:700;line-height:1;letter-spacing:-1px}.brand span{font-family:Manrope,sans-serif;font-size:8px;letter-spacing:1px;font-weight:500;display:block;line-height:1.5;margin-top:8px}nav{display:flex;align-items:center;gap:32px;font-size:10px;letter-spacing:1px;font-weight:600}nav a{padding:12px 0;border-bottom:1px solid transparent}nav a:hover{border-color:var(--cream)}.saved-button{background:transparent;border:1px solid #866648;border-radius:30px;color:var(--cream);padding:10px 15px;display:flex;gap:10px;align-items:center;font-size:18px}.saved-button span{font-size:10px}.saved-button b{background:var(--cream);color:var(--brown);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:10px}.hero{position:relative;min-height:500px;border-radius:22px;overflow:hidden;background:#e0c8a6;color:var(--brown);isolation:isolate}.hero-image{position:absolute;inset:0 0 0 auto;width:74%;height:100%;object-fit:cover;object-position:58% 48%;z-index:-2;animation:gentle-zoom 18s ease-in-out infinite alternate}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#e9d6b8 0%,#e9d6b8f0 26%,#e9d6b850 50%,transparent 72%);z-index:-1}.hero-content{padding:53px 40px;position:relative;max-width:660px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;display:block}h1,h2,h3{font-family:Oswald,Arial,sans-serif;font-weight:600;line-height:1.12;margin:0}h1{font-size:62px;letter-spacing:-1.5px;margin:24px 0 20px}h1 em{font-family:'Playfair Display',Georgia,serif;font-size:47px;font-weight:500;line-height:1.3;letter-spacing:-2px;color:var(--rust)}p{line-height:1.8}.hero-content p{font-size:12px;margin:0 0 25px;color:#614633}.button{display:inline-flex;align-items:center;justify-content:center;gap:35px;padding:15px 23px;border-radius:30px;font-size:11px;font-weight:700;border:1px solid transparent;min-height:46px}.button span{font-size:19px;font-weight:400}.rust{background:var(--rust);color:var(--paper)}.rust:hover{background:#6e2d14}.outline{background:transparent;border-color:#9d8164}.outline:hover{background:#e7d5bb}.hero-seal{position:absolute;top:30px;right:28px;width:106px;height:106px;border:1px solid #eee1cb;border-radius:50%;background:#743719e8;color:#f9e7ca;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;font-size:8px;letter-spacing:1px;line-height:9px;transform:rotate(12deg)}.hero-seal span{font-size:26px;line-height:24px}.hero-recipe{position:absolute;bottom:27px;right:26px;padding:16px 20px;background:#f9f0dfed;border:1px solid #f5e5cc;border-radius:12px;text-align:left;font-size:9px;line-height:1.9;backdrop-filter:blur(8px)}.hero-recipe strong{font-size:12px;display:block}.hero-recipe strong span{margin-left:24px}.top-ribbon{display:flex;align-items:center;justify-content:space-around;gap:20px;padding:24px 20px;font-size:9px;letter-spacing:1.5px}.top-ribbon i{font-size:18px;font-style:normal;color:#ba8861}.categories-section{padding-top:40px;padding-bottom:30px}.small-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:9px;letter-spacing:1.4px;font-weight:600}.small-heading>span:last-child{color:var(--muted)}.category-tiles{display:grid;grid-template-columns:repeat(5,1fr);margin-top:22px;border:1px solid var(--line);border-radius:15px;overflow:hidden}.category-tiles button{padding:20px 10px;background:transparent;border:0;border-right:1px solid var(--line);transition:background .2s}.category-tiles button:last-child{border-right:0}.category-tiles button:hover{background:#ead9bf}.tile-icon{border:1px solid #b69c80;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;margin:0 auto 12px;font-size:24px;font-weight:400}.category-tiles strong{display:block;font-family:Oswald,sans-serif;font-size:18px;font-weight:500}.category-tiles small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.featured{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;padding-top:35px;padding-bottom:55px}.feature-copy h2{font-size:40px;margin:18px 0}.feature-copy h2 em{font-family:'Playfair Display',Georgia,serif;font-size:33px;font-weight:500;text-transform:none;line-height:1.4;color:var(--rust)}.feature-copy>p{max-width:350px;color:#7c654e;font-size:12px}.feature-note{font-family:'Playfair Display',Georgia,serif;font-size:18px;line-height:1.5;color:var(--rust);margin:18px 0 22px}.feature-photo{border:1px solid #a98c6e;border-radius:18px;padding:10px;position:relative;transform:rotate(2deg)}.feature-photo>img{height:315px;width:100%;object-fit:cover;border-radius:11px}.paper-label{position:absolute;top:-14px;left:25px;background:var(--rust);color:var(--paper);border:4px double #bd7955;padding:8px 17px;font-size:10px;transform:rotate(-8deg);border-radius:20px}.photo-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;padding:14px 7px 6px}.quote-banner{position:relative;background:var(--brown);color:var(--cream);padding:35px 25px;text-align:center;border-radius:24px;margin:0 22px;overflow:hidden}.heart{font-size:30px;line-height:1}.quote-banner p{font-size:24px;font-family:Oswald,sans-serif;line-height:1.3;margin:14px 0 9px}.quote-banner>em{font-family:'Playfair Display',Georgia,serif;font-size:22px;color:#d8b18d}.quote-sticker{position:absolute;border:1px solid #9e7b5e;border-radius:12px;padding:4px 11px;font-size:9px;letter-spacing:.5px}.sticker-one{top:35px;left:6%;transform:rotate(-13deg)}.sticker-two{bottom:35px;left:9%;transform:rotate(8deg)}.sticker-three{top:50%;right:7%;transform:rotate(-13deg)}.catalog{padding-top:60px;padding-bottom:35px}.catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:25px}.catalog-heading h2{font-size:43px;margin-top:14px}.collection-count{font-size:10px;color:var(--muted);text-align:right;line-height:1.7}.collection-count b{font-size:30px;font-family:Oswald,sans-serif;color:var(--rust);font-weight:500;margin-right:4px}.catalog-intro{font-size:12px;color:var(--muted);margin:15px 0 24px}.search-form{display:flex;align-items:center;gap:14px;border:1px solid #c7ae91;border-radius:11px;background:var(--paper);padding:7px 7px 7px 18px}.search-form>span{font-size:28px;color:#9b7755}.search-form input{min-width:0;width:100%;background:none;border:0;padding:10px 0;font-size:12px;color:var(--brown)}.search-form button{white-space:nowrap;border:0;background:var(--brown);color:var(--cream);padding:14px 22px;border-radius:7px;font-size:11px}.search-form button span{margin-left:25px}.filters{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:21px}.category-pills{display:flex;gap:7px;flex-wrap:wrap}.category-pills button{border:1px solid #cdb99e;background:none;border-radius:25px;padding:10px 14px;font-size:10px;transition:background .15s}.category-pills button[aria-pressed=true]{background:var(--rust);border-color:var(--rust);color:var(--paper)}.quick-filter{font-size:10px;display:flex;align-items:center;gap:6px;white-space:nowrap}.quick-filter input{accent-color:var(--rust);width:16px;height:16px}.results-line{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px}.results-line p{font-size:10px;color:var(--muted)}.reset{font-size:10px;background:none;border:0;text-decoration:underline;text-underline-offset:3px}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px 22px}.recipe-card{position:relative;border:1px solid #d0b89c;border-radius:15px;background:#f9eedc;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 3px 0 #dec6a52a;transition:transform .25s,box-shadow .25s}.recipe-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #53321710}.card-image{position:relative;margin:8px 8px 0;display:block;width:calc(100% - 16px);padding:0;overflow:hidden;border:0;border-radius:9px;background:#dac4a7;aspect-ratio:1.4}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.recipe-card:hover .card-image img{transform:scale(1.04)}.card-favorite{position:absolute;top:19px;right:19px;border:0;width:34px;height:34px;border-radius:50%;background:#fbf2e6ed;font-size:21px;color:var(--rust);z-index:1}.card-favorite[aria-pressed=true]{background:var(--rust);color:var(--paper)}.card-body{padding:18px 19px 16px;flex:1;display:flex;flex-direction:column}.card-meta{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted);align-items:center}.card-meta>span:first-child{text-transform:uppercase;letter-spacing:.5px}.card-body h3{font-size:24px;margin:13px 0 9px;font-weight:500;line-height:1.22}.title-button{font:inherit;color:inherit;border:0;background:none;padding:0;text-align:left}.card-body>p{font-size:11px;line-height:1.7;color:#8a735b;margin:0 0 20px}.open-recipe{background:none;border:0;border-top:1px solid #dbc6ac;font-size:10px;padding:14px 0 0;text-align:left;margin-top:auto;display:flex;justify-content:space-between;align-items:center}.open-recipe span{font-size:18px}.empty{grid-column:1/-1;text-align:center;border:1px dashed #b79a79;border-radius:12px;padding:40px 22px}.empty h3{font-size:25px}.empty p{color:var(--muted);font-size:12px}.empty button{border:1px solid #b79a79;background:none;border-radius:25px;padding:12px 20px}.more-row{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:30px}.more-row>span{font-size:9px;color:var(--muted)}.ritual{padding-top:22px;padding-bottom:55px}.ritual h2{font-size:28px;letter-spacing:0}.heading-line{height:1px;flex:1;background:var(--line)}.ritual-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:24px}.ritual-grid article>div{position:relative;overflow:hidden;border-radius:12px}.ritual-grid img{height:180px;width:100%;object-fit:cover}.ritual-grid article>div>span{position:absolute;left:12px;top:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--rust);color:var(--cream);font-family:Oswald,sans-serif;font-size:16px}.ritual h3{font-size:17px;margin:15px 0 8px}.ritual p{font-size:11px;color:var(--muted);margin:0;max-width:285px}footer{border-top:1px solid var(--line);padding-top:30px;padding-bottom:22px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px}.footer-top .brand{font-size:51px}.footer-top p{font-size:11px;color:var(--muted)}.footer-top>a:last-child{font-size:11px}.footer-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:25px;padding-top:15px;font-size:9px;color:var(--muted)}.footer-bottom button{border:0;background:none;color:inherit;font-size:9px;text-decoration:underline}dialog{max-width:760px;width:calc(100% - 28px);max-height:90dvh;border:1px solid #c3a383;border-radius:20px;padding:32px;background:var(--paper);color:var(--brown);overscroll-behavior:contain}dialog::backdrop{background:#261309bd;backdrop-filter:blur(5px)}body.modal-open{overflow:hidden}#close-dialog{position:sticky;top:0;margin-left:auto;display:block;z-index:4;width:36px;height:36px;background:var(--brown);color:var(--cream);border:0;border-radius:50%;font-size:25px;line-height:1}dialog h2{font-size:38px;margin:10px 0 16px}dialog h3{font-size:27px;margin:25px 0 16px}.detail-photo{margin:20px 0;border:1px solid #cdb79e;padding:7px;border-radius:12px}.detail-photo img{width:100%;max-height:300px;object-fit:cover;border-radius:6px}.detail-photo figcaption{font-size:10px;font-family:Georgia,serif;font-style:italic;text-align:center;padding:10px 3px 3px;color:var(--muted)}.detail-description{font-size:12px;color:var(--muted)}.recipe-facts{display:flex;flex-wrap:wrap;gap:8px}.recipe-facts span{padding:9px 12px;background:#ecdcc5;border-radius:6px;font-size:10px}.recipe-source{font-size:10px;color:var(--muted)}.ingredient-groups{display:grid;grid-template-columns:1fr 1fr;gap:20px 25px}.ingredient-groups h4{font-size:12px;margin:0 0 10px;font-weight:700}.ingredient-list{list-style:none;padding:0;margin:0}.ingredient-list li{display:flex;justify-content:space-between;align-items:start;gap:15px;border-bottom:1px dashed #d9c6ad;padding:10px 0;font-size:11px;line-height:1.6}.ingredient-list strong{font-weight:600;text-align:right;min-width:65px}.recipe-tip{border-left:3px solid var(--rust);background:#efe0cb;padding:17px 20px;margin:25px 0;border-radius:0 9px 9px 0}.recipe-tip>span{font-family:'Playfair Display',Georgia,serif;font-size:20px;font-style:italic}.recipe-tip p{font-size:12px;line-height:1.8;color:#7c634b;margin:8px 0 0}.recipe-steps{list-style:none;padding:0;counter-reset:step}.recipe-steps li{position:relative;padding:0 0 22px 47px;counter-increment:step}.recipe-steps li:before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:0;width:31px;height:31px;display:grid;place-items:center;background:var(--rust);color:var(--cream);border-radius:50%;font-size:11px}.recipe-steps h4{font-size:13px;margin:0 0 7px}.recipe-steps p{font-size:12px;color:#7c634b;margin:0}.recipe-signoff{text-align:center;border-top:1px solid var(--line);padding-top:20px;font-family:'Playfair Display',Georgia,serif;font-size:20px;font-style:italic}.detail-save{margin-top:15px;background:var(--brown);color:var(--cream);width:100%}.credits p,.credits li{font-size:12px;line-height:1.8}.credits a{text-decoration:underline}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--brown);color:var(--cream);padding:12px 22px;border-radius:25px;font-size:12px;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;z-index:10;max-width:calc(100% - 30px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:20px;background:var(--paper);padding:15px;z-index:100}.skip-link:focus{top:10px}@keyframes gentle-zoom{from{transform:scale(1)}to{transform:scale(1.035)}}
@media(max-width:1000px){.site-shell{margin:0 auto}.inset{padding-left:28px;padding-right:28px}header{padding:0 8px;gap:18px}nav{gap:20px}.hero-content{padding:45px 28px}h1{font-size:54px}h1 em{font-size:42px}.featured{gap:30px}.feature-copy h2{font-size:34px}.feature-copy h2 em{font-size:28px}.feature-photo>img{height:290px}.filters{align-items:start;flex-direction:column;gap:13px}.recipe-grid{gap:20px 16px}.card-body{padding:15px}.card-body h3{font-size:22px}.category-tiles small{font-size:8px}.category-tiles strong{font-size:16px}.quote-banner p{font-size:21px}.sticker-one{left:4%}.sticker-two{left:5%}.sticker-three{right:4%}}
@media(max-width:700px){.dark-top{padding:0 12px}header{height:85px;gap:12px}.brand{font-size:34px}.brand span{font-size:6px;letter-spacing:.7px}nav{gap:12px;font-size:8px}nav a:nth-child(3){display:none}.saved-button{padding:9px;gap:5px;font-size:19px}.saved-button>span{display:none}.saved-button b{width:18px;height:18px;font-size:9px}.hero{min-height:615px;border-radius:16px}.hero-image{inset:auto 0 0;width:100%;height:58%;object-position:center}.hero-shade{background:linear-gradient(180deg,#ead8bd 0%,#ead8bd 35%,#ead8bd90 54%,transparent 70%)}.hero-content{padding:30px 25px;max-width:none}.hero .eyebrow{font-size:7px;letter-spacing:1.2px}h1{font-size:48px;line-height:1.04;margin:18px 0 13px;letter-spacing:-1px}h1 em{font-size:36px;line-height:1.3;letter-spacing:-1px}.hero-content p{font-size:10px;line-height:1.7;margin-bottom:18px}.hero-content .button{padding:11px 17px;font-size:10px;gap:20px;min-height:42px}.hero-seal{width:78px;height:78px;top:auto;bottom:150px;right:17px;font-size:6px;line-height:7px}.hero-seal span{font-size:22px;line-height:18px}.hero-recipe{bottom:16px;right:15px;padding:11px 14px;font-size:8px}.hero-recipe strong{font-size:10px}.top-ribbon{padding:18px 4px;gap:8px;font-size:7px;letter-spacing:.4px}.top-ribbon i{font-size:12px}.inset{padding-left:20px;padding-right:20px}.small-heading{font-size:7px;letter-spacing:.9px}.categories-section{padding-top:27px;padding-bottom:15px}.category-tiles{grid-template-columns:repeat(6,1fr);margin-top:17px}.category-tiles button{grid-column:span 2;padding:16px 5px;border-bottom:1px solid var(--line)}.category-tiles button:nth-child(3){border-right:0}.category-tiles button:nth-child(n+4){grid-column:span 3;border-bottom:0}.category-tiles button:nth-child(4){border-right:1px solid var(--line)}.tile-icon{width:36px;height:36px;font-size:21px;margin-bottom:8px}.category-tiles strong{font-size:15px}.category-tiles small{font-size:8px}.featured{grid-template-columns:1fr;padding-top:25px;padding-bottom:35px;gap:25px}.feature-copy h2{font-size:34px;margin:15px 0}.feature-copy h2 em{font-size:28px}.feature-copy>p{max-width:none;font-size:11px}.feature-note{font-size:17px}.feature-photo{margin:0 4px}.feature-photo>img{height:250px}.quote-banner{margin:0 12px;padding:30px 16px;border-radius:18px}.quote-banner p{font-size:19px;max-width:310px;margin:13px auto 9px}.quote-banner>em{font-size:19px}.quote-sticker{display:none}.catalog{padding-top:38px}.catalog-heading{gap:15px}.catalog-heading h2{font-size:32px}.catalog-heading .eyebrow{font-size:7px;letter-spacing:1px}.collection-count{font-size:8px}.collection-count b{font-size:25px}.catalog-intro{font-size:11px}.search-form{gap:7px;padding-left:12px}.search-form input{font-size:11px}.search-form button{font-size:10px;padding:13px 12px}.search-form button>span{display:none}.category-pills{gap:7px}.category-pills button{padding:9px 12px;font-size:10px}.results-line{min-height:52px;align-items:center}.recipe-grid{grid-template-columns:repeat(2,1fr);gap:18px 12px}.card-body{padding:12px}.card-body h3{font-size:19px}.card-body>p{font-size:10px;line-height:1.6}.card-image{margin:6px 6px 0;width:calc(100% - 12px);aspect-ratio:1.1}.card-favorite{top:14px;right:14px;width:30px;height:30px;font-size:18px}.card-meta{font-size:8px;align-items:start;flex-direction:column;gap:4px}.open-recipe{font-size:9px}.more-row .button{font-size:10px;padding:12px 18px;gap:20px}.ritual{padding-top:20px;padding-bottom:35px}.ritual h2{font-size:23px}.ritual .small-heading>span:last-child{display:none}.ritual-grid{gap:12px}.ritual-grid img{height:105px}.ritual-grid article>div>span{width:26px;height:26px;font-size:12px;left:7px;top:7px}.ritual h3{font-size:14px;line-height:1.3}.ritual p{font-size:9px;line-height:1.7}.footer-top{flex-wrap:wrap;gap:15px}.footer-top .brand{font-size:42px}.footer-top p{font-size:10px}.footer-top>a:last-child{font-size:10px}dialog{padding:20px;border-radius:15px}dialog h2{font-size:30px}.ingredient-groups{grid-template-columns:1fr}.recipe-facts span{font-size:9px;padding:8px 10px}.detail-photo img{max-height:240px}.recipe-steps li{padding-left:42px}.recipe-tip{padding:15px}.recipe-steps p{font-size:12px}.recipe-signoff{font-size:18px}}
@media(max-width:390px){header nav{gap:9px;font-size:7px}h1{font-size:43px}.hero-content{padding:28px 20px}.hero{min-height:600px}.inset{padding-left:16px;padding-right:16px}.catalog-heading h2{font-size:29px}.recipe-grid{grid-template-columns:1fr}.card-image{aspect-ratio:1.45}.card-meta{flex-direction:row}.card-body{padding:17px}.card-body h3{font-size:25px}.card-body>p{font-size:12px}.ritual-grid{grid-template-columns:1fr}.ritual-grid article{display:grid;grid-template-columns:110px 1fr;gap:0 15px}.ritual-grid article>div{grid-row:span 2}.ritual-grid h3{margin:5px 0}.ritual-grid p{font-size:10px}.top-ribbon{font-size:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
.card-image img[src$="medovik-user.jpg"]{object-position:center 48%}.detail-photo img[src$="medovik-user.jpg"]{max-height:520px;object-fit:contain}
/* Recipe book: two cream pages, stitched cover and fabric bookmark. */
dialog.recipe-book{max-width:1120px;width:calc(100% - 36px);padding:15px 12px 12px;border:2px solid #684529;border-radius:10px 18px 18px 10px;background:#785031;box-shadow:0 24px 90px #1a0c0877,inset 0 0 0 5px #926a47;max-height:92dvh;scrollbar-color:#a4815e #e4cfab}dialog.recipe-book #close-dialog{position:sticky;top:0;margin-bottom:-36px;right:0;transform:translate(3px,-5px);background:#4d2e1b;box-shadow:0 2px 8px #38200f33;border:1px solid #c6a47f;z-index:6}.book-spread{display:grid;grid-template-columns:1fr 1fr;border-radius:3px 8px 8px 3px;position:relative;background:#f7edd9;box-shadow:2px 3px 0 #c8b38f,4px 6px 0 #e6d6b9,6px 8px 0 #ad906b;margin-right:5px;margin-bottom:6px}.book-spread:after{content:'';position:absolute;left:50%;top:0;bottom:0;width:30px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#6e4a2420 40%,#5a381437 50%,#fff8e426 65%,transparent);pointer-events:none}.book-page{position:relative;padding:38px 34px 53px;min-width:0;display:flex;flex-direction:column;background-image:radial-gradient(#9b73300b .6px,transparent .6px);background-size:5px 5px}.book-left{background-color:#f8efdD;border-radius:3px 0 0 3px;background-image:linear-gradient(90deg,transparent 92%,#b7966026),radial-gradient(#9b73300b .6px,transparent .6px)}.book-right{background-color:#faf2e2;border-radius:0 8px 8px 0;background-image:linear-gradient(90deg,#c7aa7920,transparent 8%),radial-gradient(#9b73300b .6px,transparent .6px)}.book-running-title{font-size:8px;letter-spacing:1.4px;line-height:1.7;color:#9b7d5e;border-bottom:1px solid #d9c5a7;padding-bottom:13px;padding-right:30px}.book-left #dialog-title{font-family:Georgia,'Times New Roman',serif;font-size:32px;line-height:1.14;font-weight:400;margin:24px 0 12px;color:#57361f}.recipe-book .detail-description{font-family:Georgia,serif;font-style:italic;font-size:13px;line-height:1.7;color:#93714f}.recipe-book .detail-photo{margin:18px 0 16px;border-radius:2px;padding:7px;background:#fffbef;box-shadow:0 4px 10px #73552e12;transform:rotate(-1.4deg);border-color:#dfcfb5}.recipe-book .detail-photo img{height:220px;max-height:260px;border-radius:0;object-fit:cover}.recipe-book .detail-photo img[src$="medovik-user.jpg"]{height:auto;max-height:340px;object-fit:contain}.recipe-book .detail-photo figcaption{font-size:11px;padding:10px 4px 4px;line-height:1.5}.recipe-book .recipe-facts{gap:5px}.recipe-book .recipe-facts span{background:#ead8ba99;font-size:9px;padding:7px 9px;border-radius:3px}.recipe-book .recipe-source{font-size:9px;margin:12px 0 0}.recipe-book h3{font-family:Georgia,serif;font-weight:400;font-size:25px;line-height:1.3;margin:24px 0 18px;text-transform:none;color:#68472c}.recipe-book .ingredient-groups{grid-template-columns:1fr;gap:20px}.recipe-book .ingredient-groups h4{font-family:Georgia,serif;font-style:italic;font-size:15px;font-weight:400;color:#9a6743}.recipe-book .ingredient-list li{font-size:11px;padding:9px 0;border-bottom-color:#d8c29f}.recipe-book .ingredient-list strong{font-weight:600}.recipe-book .book-steps-title{margin:31px 0 4px;font-size:29px;max-width:calc(100% - 45px)}.book-flourish{font-size:18px;color:#a78255;display:block;margin-bottom:24px}.book-ribbon{position:absolute;right:27px;top:-15px;width:39px;height:112px;background:linear-gradient(90deg,#71341f,#a75a39 30%,#945035 70%,#6b321e);clip-path:polygon(0 0,100% 0,100% 100%,50% 83%,0 100%);filter:drop-shadow(3px 4px 2px #4c2b1544);z-index:2;display:flex;align-items:center;justify-content:center;padding-bottom:24px}.book-ribbon:before{content:'';position:absolute;top:0;bottom:18px;left:4px;right:4px;border-left:1px dashed #d29a7070;border-right:1px dashed #d29a7070}.book-ribbon span{color:#f1d6b6;font-size:23px}.recipe-book .recipe-steps{margin:0;padding:0}.recipe-book .recipe-steps li{padding-left:36px;padding-bottom:23px}.recipe-book .recipe-steps li:before{background:transparent;color:#ac7248;border:1px solid #d9ba94;border-radius:50%;width:25px;height:25px;font-size:10px;top:1px}.recipe-book .recipe-steps h4{font-family:Georgia,serif;font-size:16px;line-height:1.5;font-weight:400;color:#6c4226;margin:0 0 6px}.recipe-book .recipe-steps p{font-size:11px;line-height:1.9;color:#84674b}.recipe-book .recipe-tip{background:#ecdbbd66;border:1px dashed #c9a97c;border-radius:2px;padding:16px 18px;margin:8px 0 20px;transform:rotate(.5deg)}.recipe-book .recipe-tip>span{font-size:19px}.recipe-book .recipe-tip p{font-size:11px}.recipe-book .recipe-signoff{font-size:18px;line-height:1.6;margin:4px 0 8px;padding-top:18px}.recipe-book .detail-save{background:#875535;font-size:10px;min-height:42px;padding:10px 15px;border-radius:5px}.book-page-number{display:block;text-align:center;position:absolute;bottom:17px;left:20px;right:20px;font-family:Georgia,serif;font-size:10px;color:#b0926f;font-style:italic}.recipe-book .book-right .book-running-title{padding-right:65px}
@media(max-width:800px){dialog.recipe-book{width:calc(100% - 22px);padding:12px 9px 9px;max-height:94dvh}.book-page{padding:30px 23px 48px}.book-left #dialog-title{font-size:28px}.recipe-book .book-steps-title{font-size:25px}.book-ribbon{right:18px;width:32px;height:98px;top:-12px}.book-running-title{font-size:7px}.recipe-book .detail-photo img{height:180px}.recipe-book .recipe-steps p{font-size:11px}}
@media(max-width:620px){.book-spread{grid-template-columns:1fr}.book-spread:after{display:none}.book-left{border-radius:3px 6px 0 0;background-image:linear-gradient(90deg,#b7966017,transparent 5%,transparent 96%,#b7966017)}.book-right{border-top:1px solid #cfb58e;border-radius:0 0 6px 3px;box-shadow:inset 0 8px 14px -12px #6b4a24}.book-page{padding:30px 22px 50px}.book-running-title{font-size:7px;letter-spacing:1px}.book-left #dialog-title{font-size:29px;padding-right:10px}.recipe-book .detail-photo img{height:210px}.recipe-book .detail-photo img[src$="medovik-user.jpg"]{max-height:340px}.recipe-book .book-steps-title{font-size:28px;margin-top:28px}.book-ribbon{height:95px;top:-1px;right:18px}.recipe-book .recipe-steps p{font-size:12px}.recipe-book .ingredient-list li{font-size:12px}.recipe-book .recipe-tip p{font-size:12px}.recipe-book .detail-description{font-size:14px}.recipe-book .recipe-steps h4{font-size:17px}.recipe-book .recipe-facts span{font-size:10px}}
/* Fixed-size book with measured page breaks: content never scrolls vertically. */
dialog.recipe-book.paginated-book{height:min(820px,94dvh);max-height:94dvh;width:calc(100% - 28px);max-width:1120px;padding:12px 13px 9px;overflow:hidden;border-radius:10px 16px 16px 10px;box-sizing:border-box}dialog.paginated-book[open]{display:flex;flex-direction:column}dialog.paginated-book #close-dialog{position:absolute;top:9px;right:10px;transform:none;margin:0;width:30px;height:30px;font-size:22px;z-index:10}dialog.paginated-book #recipe-detail{height:100%;min-height:0;display:grid;grid-template-rows:35px minmax(0,1fr) 60px;position:relative}.book-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 36px 8px 4px;color:#f5dfbc;font-size:10px;min-width:0}.book-toolbar #dialog-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Georgia,serif;font-size:13px}.book-save{border:0;background:transparent;color:#f5dfbc;padding:4px;font-size:10px;white-space:nowrap;max-width:45%;overflow:hidden;text-overflow:ellipsis}.book-stage{position:relative;display:grid;grid-template-columns:1fr 1fr;min-height:0;height:100%;background:#f6ecd9;border-radius:3px 7px 7px 3px;perspective:1600px;isolation:isolate;box-shadow:2px 3px 0 #c8b38f,4px 5px 0 #e6d6b9,5px 7px 0 #ad906b}.book-stage:after{content:'';position:absolute;left:50%;top:0;bottom:0;width:28px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#6e4a2420 40%,#5a381437 50%,#fff8e426 65%,transparent);pointer-events:none;z-index:2}.flip-page{height:100%;min-width:0;min-height:0;display:grid;grid-template-rows:26px minmax(0,1fr) 22px;padding:20px 30px 10px;background:#f8efdd;background-image:radial-gradient(#9b733012 .6px,transparent .6px);background-size:5px 5px;overflow:hidden}.flip-page:nth-child(2){background-color:#faf2e2}.leaf-running{color:#a48a69;font-size:7px;letter-spacing:1.3px;border-bottom:1px solid #decdaf;padding-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leaf-body{height:100%;min-height:0;overflow:hidden;display:flow-root;padding-top:5px;box-sizing:border-box}.leaf-number{text-align:center;font-family:Georgia,serif;font-size:10px;color:#ae9069;padding-top:7px}.paginated-book .leaf-title{font-family:Georgia,serif;font-weight:400;font-size:28px;line-height:1.13;margin:10px 0 12px}.leaf-description{font-family:Georgia,serif;font-size:12px;line-height:1.5;font-style:italic;color:#987654;margin:0 0 12px}.leaf-photo{margin:6px 0 10px;padding:5px;background:#fffbef;border:1px solid #dfcfb5;border-radius:2px;height:clamp(45px,24dvh,155px);box-sizing:border-box}.leaf-photo img{width:100%;height:100%;object-fit:cover}.leaf-photo img[src$="medovik-user.jpg"]{object-position:center 48%}.leaf-facts{font-size:9px;line-height:1.6;color:#977550;padding:7px 0;margin:0 0 8px;border-bottom:1px solid #decdaf}.paginated-book .leaf-section{font-family:Georgia,serif;font-weight:400;font-size:23px;line-height:1.25;margin:15px 0 12px;color:#744e2f}.leaf-group{font-family:Georgia,serif;font-size:14px;font-weight:400;font-style:italic;color:#9a6743;line-height:1.5;margin:12px 0 5px}.leaf-ingredient{display:flex;justify-content:space-between;gap:15px;border-bottom:1px dashed #dac4a1;padding:6px 0;font-size:11px;line-height:1.45}.leaf-ingredient strong{font-weight:600;text-align:right;min-width:65px}.leaf-step-title{font-family:Georgia,serif;font-weight:400;font-size:16px;line-height:1.45;color:#815535;margin:13px 0 6px}.leaf-step-text,.leaf-tip{font-size:12px;line-height:1.75;color:#82674c;margin:0 0 11px;overflow-wrap:anywhere}.leaf-tip{font-family:Georgia,serif;font-size:14px;font-style:italic;line-height:1.65}.leaf-signoff{font-family:'Playfair Display',Georgia,serif;font-style:italic;text-align:center;color:#9b724b;font-size:20px;line-height:1.5;margin:20px 0}.end-mark{font-family:Georgia,serif;text-align:center;font-size:60px;color:#b68c60;margin-top:25%}.blank-leaf .leaf-running{opacity:.3}.book-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;color:#f4dfbc}.book-navigation button{border:1px solid #bf9972;background:#664025;color:#f4dfbc;border-radius:6px;padding:9px 15px;font-size:12px;min-width:94px;min-height:36px}.book-navigation button:disabled{opacity:.35;cursor:default}.book-navigation button:not(:disabled):hover{background:#8e5b36}.book-navigation>div{text-align:center;min-width:0}.book-navigation #book-position{font-size:11px;display:block}.book-navigation small{font-size:8px;color:#d4b691;display:block;margin-top:5px}.notebook-rings{display:none}.turn-leaf{position:absolute!important;top:0;height:100%;z-index:5;pointer-events:none;backface-visibility:hidden;box-shadow:0 6px 25px #61401e66;will-change:transform}.paginated-book .book-stage:before{content:'';position:absolute;right:22px;top:-5px;width:20px;height:64px;background:linear-gradient(90deg,#74331e,#a96140,#7c3d25);clip-path:polygon(0 0,100% 0,100% 100%,50% 83%,0 100%);z-index:3;pointer-events:none}.paginated-book .flip-page:nth-child(2) .leaf-running{padding-right:24px}
@media(max-width:800px){.flip-page{padding-left:22px;padding-right:22px}.paginated-book .leaf-title{font-size:25px}.leaf-step-text{font-size:11px}.leaf-ingredient{font-size:10px}.leaf-step-title{font-size:15px}.book-toolbar #dialog-title{font-size:11px}}
@media(max-width:620px){dialog.recipe-book.paginated-book{max-width:440px;width:calc(100% - 18px);height:96dvh;max-height:96dvh;padding:10px 10px 8px;border-radius:12px;background:#765136}.paginated-book #recipe-detail{grid-template-rows:34px minmax(0,1fr) 62px!important}.book-toolbar{padding-left:2px;gap:8px}.book-toolbar #dialog-title{font-size:11px}.book-save{font-size:9px;max-width:43%}.book-stage{grid-template-columns:1fr;border-radius:8px 8px 3px 3px;perspective:1400px;touch-action:pan-x;box-shadow:0 3px 0 #cdb590,0 5px 0 #eedfc4,0 7px 0 #b3946c}.book-stage:after{left:0;right:0;top:0;bottom:auto;width:100%;height:20px;transform:none;background:linear-gradient(180deg,#5a381422,transparent)}.flip-page{padding:25px 22px 10px;grid-template-rows:23px minmax(0,1fr) 21px;border-radius:7px 7px 2px 2px;background-image:linear-gradient(transparent 25px,#c8af8010 26px),radial-gradient(#9b73300b .6px,transparent .6px);background-size:100% 26px,5px 5px}.leaf-running{font-size:6px;letter-spacing:1px;padding-right:20px}.notebook-rings{display:flex;position:absolute;top:28px;left:25px;right:25px;height:20px;justify-content:space-between;z-index:7;pointer-events:none}.notebook-rings i{display:block;width:10px;height:21px;background:linear-gradient(90deg,#4a3827,#c2b19a 30%,#f5e1bf 48%,#77614c 70%,#443124);border:1px solid #59412a;border-radius:6px;box-shadow:1px 2px 2px #3c241b55}.paginated-book .book-stage:before{right:13px;top:10px;width:15px;height:43px}.paginated-book .leaf-title{font-size:27px;margin:8px 0 10px}.leaf-description{font-size:12px}.leaf-photo{height:clamp(45px,20dvh,145px)}.leaf-facts{font-size:9px;line-height:1.5}.paginated-book .leaf-section{font-size:24px;margin-top:12px}.leaf-group{font-size:15px}.leaf-ingredient{font-size:12px;line-height:1.5;padding:6px 0}.leaf-step-title{font-size:17px;margin-top:12px}.leaf-step-text{font-size:13px;line-height:1.7}.leaf-tip{font-size:15px;line-height:1.65}.book-navigation{gap:6px;padding-top:14px}.book-navigation button{min-width:72px;min-height:37px;padding:9px 10px;font-size:11px}.book-navigation #book-position{font-size:10px}.book-navigation small{font-size:7px;max-width:145px;line-height:1.4}.book-navigation button:first-child{font-size:0}.book-navigation button:first-child:before{content:'↓ ';font-size:12px}.book-navigation button:first-child span{font-size:11px}.book-navigation button:last-child{font-size:0}.book-navigation button:last-child:after{content:' ↑';font-size:12px}.book-navigation button:last-child span{font-size:11px}}
@media(max-height:430px){.leaf-photo{height:40px}.leaf-description{font-size:10px}.paginated-book .leaf-title{font-size:20px;margin:5px 0}.flip-page{padding-top:10px}.leaf-running{font-size:6px}.book-toolbar{padding-bottom:4px}.paginated-book .leaf-section{font-size:19px;margin:7px 0}.leaf-step-title{font-size:14px;margin:5px 0}.leaf-step-text{font-size:11px;line-height:1.5}.leaf-ingredient{font-size:10px;padding:3px 0}}
