/* Integrated Cookbook Tour — exploratory radical sidebar test only */
.pg-embedded-tour-main{display:flex;align-items:flex-start;min-height:100svh;padding-top:14px;padding-bottom:18px}
.pg-embedded-tour-card{width:min(1120px,100%);margin:0 auto;border:2px solid #c7a775;border-radius:18px;background:#fffaf0;box-shadow:0 12px 32px rgba(69,45,26,.12);overflow:hidden}
.pg-embedded-tour-header{display:grid;grid-template-columns:minmax(0,1fr) 118px;align-items:center;gap:16px;padding:13px 18px;background:linear-gradient(90deg,#704520,#513019);color:#fff4d8;border-bottom:2px solid #c89949}
.pg-embedded-tour-kicker{display:block;margin-bottom:3px;color:#efd59f;font:900 .66rem/1 Arial,sans-serif;letter-spacing:.11em;text-transform:uppercase}
.pg-embedded-tour-header h1{margin:0;font-size:clamp(1.75rem,3vw,2.75rem);line-height:1;color:#fff8e8}
.pg-embedded-tour-header p{margin:7px 0 0;max-width:760px;color:#f1dec0;font:700 .79rem/1.35 Arial,sans-serif}
.pg-embedded-tour-chef{height:72px;border:2px solid #d2a858;border-radius:10px;overflow:hidden;background:#2f2119;box-shadow:0 3px 10px rgba(0,0,0,.22)}
.pg-embedded-tour-chef img{width:100%;height:100%;object-fit:cover;object-position:center 40%}
.pg-embedded-tour-toolbar{display:grid;grid-template-columns:auto minmax(240px,1fr) auto;align-items:end;gap:10px;padding:10px 14px;background:#f1e2c8;border-bottom:1px solid #d2b98d}
.pg-embedded-tour-toolbar button{min-height:40px;padding:8px 14px;border:2px solid #235d3d;border-radius:9px;background:#2e704a;color:#fff;font:900 .82rem/1 Arial,sans-serif;cursor:pointer}
.pg-embedded-tour-toolbar button:disabled{opacity:.42;cursor:not-allowed}
.pg-embedded-tour-toolbar label{display:grid;gap:4px;color:#62452e;font:800 .66rem/1 Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em}
.pg-embedded-tour-toolbar select{width:100%;min-height:40px;padding:7px 34px 7px 10px;border:1px solid #b79562;border-radius:8px;background:#fffdf7;color:#483221;font:700 .82rem/1.2 Arial,sans-serif;text-transform:none;letter-spacing:0}
.pg-embedded-tour-stage{padding:12px 16px 8px;background:linear-gradient(180deg,#fffdf7,#f8efe1)}
.pg-embedded-tour-slide{margin:0 auto;max-width:980px}
.pg-embedded-tour-slide[hidden]{display:none!important}
.pg-embedded-tour-image-button{display:block;position:relative;width:100%;padding:0;border:1px solid #c5a777;border-radius:13px;background:#e7dac5;cursor:zoom-in;overflow:hidden;box-shadow:0 7px 20px rgba(66,42,23,.10)}
.pg-embedded-tour-image-button img{display:block;width:100%;height:min(61svh,610px);object-fit:contain;background:#ddd0bd}
.pg-embedded-tour-image-button span{position:absolute;right:10px;bottom:10px;padding:6px 9px;border-radius:999px;background:rgba(49,38,29,.86);color:#fff;font:800 .64rem/1 Arial,sans-serif;box-shadow:0 2px 8px rgba(0,0,0,.24)}
.pg-embedded-tour-caption{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);gap:18px;align-items:center;margin-top:9px;padding:10px 13px;border:1px solid #d6be96;border-radius:11px;background:#fffaf1}
.pg-embedded-tour-caption h2{margin:2px 0 0;color:#3d5e42;font-size:clamp(1rem,1.7vw,1.32rem);line-height:1.08}
.pg-embedded-tour-caption p{margin:0;color:#604b3a;font:700 .79rem/1.35 Arial,sans-serif}
.pg-embedded-stop{color:#8b5c26;font:900 .62rem/1 Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.pg-embedded-tour-footer{display:flex;justify-content:space-between;gap:15px;padding:9px 15px;border-top:1px solid #d4bc94;background:#f3e5cf;color:#664c37;font:700 .68rem/1.25 Arial,sans-serif}
.pg-embedded-tour-footer .pg-tour-counter{color:#255b3c;font-weight:900}
.pg-tour-dialog{width:min(94vw,1050px);max-width:none;height:min(94svh,950px);padding:0;border:2px solid #c69b51;border-radius:14px;background:#251c16;color:#fff;box-shadow:0 20px 70px rgba(0,0,0,.55)}
.pg-tour-dialog::backdrop{background:rgba(18,12,8,.82)}
.pg-tour-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;background:#54351f;border-bottom:1px solid #b9843c;font:800 .82rem/1 Arial,sans-serif}
.pg-tour-dialog-close{width:38px;height:38px;border:0;border-radius:50%;background:#fff4dc;color:#4d301d;font:900 1.4rem/1 Arial,sans-serif;cursor:pointer}
.pg-tour-dialog-body{height:calc(100% - 100px);display:grid;place-items:center;padding:10px;overflow:auto}
.pg-tour-dialog-body img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.pg-tour-dialog-controls{height:52px;display:flex;align-items:center;justify-content:center;gap:20px;padding:6px 10px;background:#38261a;border-top:1px solid #705037;font:800 .75rem/1 Arial,sans-serif}
.pg-tour-dialog-controls button{padding:7px 12px;border:1px solid #d3aa66;border-radius:8px;background:#fff6e6;color:#4a311e;font:900 .73rem/1 Arial,sans-serif;cursor:pointer}
@media(max-height:760px) and (min-width:901px){
 .pg-embedded-tour-main{padding-top:8px}.pg-embedded-tour-header{padding:8px 14px}.pg-embedded-tour-chef{height:52px}.pg-embedded-tour-toolbar{padding:7px 10px}.pg-embedded-tour-image-button img{height:min(56svh,500px)}.pg-embedded-tour-caption{padding:7px 10px;margin-top:6px}.pg-embedded-tour-footer{padding:6px 10px}
}
@media(max-width:900px) and (min-width:641px){
 .pg-embedded-tour-header{grid-template-columns:minmax(0,1fr) 90px}.pg-embedded-tour-chef{height:60px}.pg-embedded-tour-toolbar{grid-template-columns:1fr 1fr}.pg-embedded-tour-toolbar label{grid-column:1 / -1;grid-row:1}.pg-embedded-tour-image-button img{height:min(55svh,540px)}.pg-embedded-tour-caption{grid-template-columns:1fr;gap:6px}
}
@media(max-width:640px){
 .pg-embedded-tour-main{padding:8px}.pg-embedded-tour-card{border-radius:12px}.pg-embedded-tour-header{grid-template-columns:1fr;padding:11px 12px}.pg-embedded-tour-chef{display:none}.pg-embedded-tour-toolbar{grid-template-columns:1fr 1fr;padding:8px}.pg-embedded-tour-toolbar label{grid-column:1 / -1;grid-row:1}.pg-embedded-tour-toolbar button{min-height:44px}.pg-embedded-tour-stage{padding:8px}.pg-embedded-tour-image-button img{height:auto;max-height:69svh}.pg-embedded-tour-caption{grid-template-columns:1fr;gap:5px;padding:9px}.pg-embedded-tour-footer{display:block;text-align:center}.pg-embedded-tour-footer span{display:block}.pg-embedded-tour-footer span+span{margin-top:3px}
}
