/* PV_WEEK_COOK_UI_V1 — web-only update (2026-11-26)
   Reference: user's two approved RuStore-style images. Layout is responsive.
   No fake ingredients, recipes, ratings, prices, or shopping counts. */
:root{
 --pv-feature-bg:#fffaf6;
 --pv-feature-card:#fff;
 --pv-feature-soft:#fff3ea;
 --pv-feature-ink:#292019;
 --pv-feature-muted:#8a796c;
 --pv-feature-border:#eae1da;
 --pv-feature-shadow:0 11px 34px rgba(86,51,29,.07);
 --pv-feature-orange:#ef784e;
}
html[data-theme="dark"]{
 --pv-feature-bg:#11100e;
 --pv-feature-card:#1b1a16;
 --pv-feature-soft:#28221e;
 --pv-feature-ink:#f6f2eb;
 --pv-feature-muted:#b8ada2;
 --pv-feature-border:#36322d;
 --pv-feature-shadow:none;
 --pv-feature-orange:#f18256;
}
.pv-week-dashboard,.pv-shopping-dashboard{
 color:var(--pv-feature-ink);
 padding-bottom:28px;
 min-width:0;
}
.pv-week-heading,.pv-shopping-heading{
 display:flex;align-items:center;gap:14px;margin:2px 0 19px;
}
.pv-week-header-icon,.pv-shopping-heading-icon{
 display:grid;place-items:center;flex:0 0 49px;height:49px;
 border:1px solid rgba(239,120,78,.26);border-radius:15px;
 background:linear-gradient(135deg,#ffdec3,#ffece0);
 color:#d65d31;font-size:27px;box-shadow:0 5px 15px rgba(201,87,38,.1);
}
.pv-week-heading>div,.pv-shopping-heading>div{min-width:0}
.pv-week-heading h1,.pv-shopping-heading h1{
 font-size:27px;line-height:1.14;letter-spacing:-.045em;margin:5px 0 7px;
 font-weight:840;color:var(--pv-feature-ink);
}
.pv-week-heading p,.pv-shopping-heading p{
 margin:0;font-size:12px;line-height:1.5;color:var(--pv-feature-muted);
}
.pv-week-dashboard .overline,.pv-shopping-dashboard .overline{color:var(--pv-feature-orange);font-size:10px;letter-spacing:.1em}
.pv-week-switch,.pv-shopping-toolbar{
 display:grid;grid-template-columns:1fr 1fr;gap:8px;
 margin:0 0 16px;
}
.pv-week-switch button,.pv-shopping-toolbar button,.pv-shopping-toolbar>span{
 position:relative;display:flex;gap:5px;align-items:center;justify-content:center;
 min-width:0;min-height:48px;padding:10px 8px;
 border:1px solid var(--pv-feature-border);border-radius:13px;
 background:var(--pv-feature-card);color:var(--pv-feature-ink);
 font-size:12px;line-height:1.25;font-weight:790;
}
.pv-week-switch button.selected,.pv-shopping-toolbar>span{
 border-color:var(--pv-feature-orange);background:var(--pv-feature-orange);color:white;
}
.pv-week-switch em,.pv-shopping-toolbar em{
 display:inline-grid;place-items:center;min-width:19px;height:19px;
 border-radius:12px;background:var(--pv-feature-orange);color:white;
 font-size:10px;font-weight:800;font-style:normal;padding:0 4px;
}
.pv-shopping-toolbar em{background:#fff;color:#dd663b}
.pv-week-dashboard .week-strip{
 display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:0 0 22px;
}
.pv-week-dashboard .week-strip button{
 min-width:0;min-height:69px;padding:9px 0 6px;
 display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;
 border:1px solid var(--pv-feature-border);border-radius:14px;
 background:var(--pv-feature-card);color:var(--pv-feature-ink);
 box-shadow:none;
}
.pv-week-dashboard .week-strip button small{
 font-weight:770;font-size:12px;color:var(--pv-feature-muted);
}
.pv-week-dashboard .week-strip button strong{font-size:17px;line-height:1;font-variant-numeric:tabular-nums}
.pv-week-dashboard .week-strip button>span{font-size:9px;line-height:1.2;font-weight:700;color:var(--pv-feature-muted)}
.pv-week-dashboard .week-strip button.selected{
 background:var(--pv-feature-orange);color:white;border-color:var(--pv-feature-orange);
 box-shadow:0 4px 10px rgba(228,110,69,.13)
}
.pv-week-dashboard .week-strip button.selected small,
.pv-week-dashboard .week-strip button.selected>span{color:#fff0e8}
.pv-week-day-heading{
 display:flex;justify-content:space-between;align-items:center;gap:9px;margin:0 1px 11px;
}
.pv-week-day-heading h2{font-size:21px;letter-spacing:-.045em;line-height:1.2;margin:0;font-weight:830}
.pv-week-day-heading p{font-size:11px;margin:4px 0 0;color:var(--pv-feature-muted)}
.pv-week-day-heading>span{white-space:nowrap;font-size:11px;color:var(--pv-feature-muted);font-weight:680}
.pv-week-day-heading>span>span{color:var(--pv-feature-orange);margin-left:4px;font-size:12px}
.pv-week-dashboard .week-meals{display:grid;gap:9px;margin:0}
.pv-week-dashboard .week-meal.pv-week-meal-card{
 display:block;padding:0;overflow:hidden;border-radius:17px;
 background:var(--pv-feature-card);border:1px solid var(--pv-feature-border);
 box-shadow:var(--pv-feature-shadow);
}
.pv-week-meal-open{
 display:grid;grid-template-columns:105px minmax(0,1fr) 19px;align-items:center;
 min-height:101px;gap:11px;padding:8px 12px 6px 8px;
 cursor:pointer;outline-offset:-4px;min-width:0;
}
.pv-week-meal-open:focus-visible,.pv-week-dashboard button:focus-visible,
.pv-shopping-dashboard button:focus-visible,#cook button:focus-visible{
 outline:3px solid #ff9a64;outline-offset:2px;
}
.pv-week-dashboard .week-meal-photo{
 display:block;width:105px;height:85px;min-height:0;border-radius:12px;
 overflow:hidden;background:#d6b6a2;flex:none;
}
.pv-week-dashboard .week-meal-photo img{height:100%;width:100%;object-fit:cover;display:block}
.pv-week-meal-details{display:flex;flex-direction:column;gap:5px;min-width:0}
.pv-week-dashboard .week-meal .pv-week-meal-label{
 display:block;width:max-content;max-width:100%;font-size:10px;
 font-weight:770;letter-spacing:0;text-transform:none;color:var(--pv-feature-orange);
 border-radius:20px;background:var(--pv-feature-soft);padding:5px 8px;
}
.pv-week-dashboard .week-meal .pv-week-meal-label span{color:inherit;font-size:11px}
.pv-week-dashboard .week-meal b{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 overflow:hidden;font-size:14px;line-height:1.3;margin:0;font-weight:780;
 letter-spacing:-.02em;color:var(--pv-feature-ink);
}
.pv-week-dashboard .week-meal small{
 display:block;font-size:10px;color:var(--pv-feature-muted);
}
.pv-week-meal-arrow{font-size:29px;line-height:1;font-weight:500;color:var(--pv-feature-muted)}
.pv-week-dashboard .week-meal button.pv-week-swap{
 display:block;margin:0 11px 10px auto;padding:2px 8px 2px 10px;
 min-height:30px;font-size:11px;line-height:1.2;font-weight:800;
 color:var(--pv-feature-orange);border-radius:9px;background:var(--pv-feature-soft);
}
.pv-week-all{
 margin:11px 0 17px;border:1px solid var(--pv-feature-border);border-radius:14px;
 background:linear-gradient(100deg,rgba(240,126,76,.12),rgba(255,176,113,.035));
 padding:13px 14px;display:flex;justify-content:space-between;align-items:center;
 color:var(--pv-feature-ink);font-size:12px;font-weight:750;
}
.pv-week-all>span:last-child{color:var(--pv-feature-orange);font-size:20px}
.pv-week-shop-preview{
 border:1px solid var(--pv-feature-border);border-radius:18px;
 background:var(--pv-feature-card);padding:15px 12px 13px;box-shadow:var(--pv-feature-shadow);
 margin:0 0 12px;
}
.pv-week-shop-title{
 display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:13px;
}
.pv-week-shop-title>div{display:flex;align-items:center;gap:11px;min-width:0}
.pv-week-shop-glyph{width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center;
 color:var(--pv-feature-orange);background:var(--pv-feature-soft);border-radius:11px}
.pv-week-shop-title strong{display:block;font-size:15px;letter-spacing:-.025em}
.pv-week-shop-title small{display:block;font-size:10px;margin-top:3px;color:var(--pv-feature-muted)}
.pv-week-shop-title>button{font-weight:800;font-size:12px;color:var(--pv-feature-orange);padding:8px 3px}
.pv-shopping-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pv-shopping-mini{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;min-width:0;
 border:1px solid var(--pv-feature-border);background:var(--pv-feature-bg);
 border-radius:13px;padding:9px 4px 8px;}
.pv-shopping-mini-icon{display:grid;place-items:center;width:49px;height:49px;
 border-radius:14px;background:var(--pv-feature-soft);font-size:28px;line-height:1}
.pv-shopping-mini-label{font-size:10px;font-weight:680;line-height:1.23;max-height:38px;overflow:hidden;
 display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow-wrap:anywhere;color:var(--pv-feature-ink)}
.pv-shopping-preview-note{margin:9px 4px 0;font-size:10px;line-height:1.45;color:var(--pv-feature-muted)}
.pv-week-actions{display:grid;gap:8px}
.pv-week-actions .menu-buy,.pv-week-buy-all{
 margin:0;width:100%;min-height:49px;display:flex;align-items:center;justify-content:center;gap:9px;
 border-radius:14px;font-size:13px;font-weight:800;border:1px solid var(--pv-feature-orange);
}
.pv-week-actions .menu-buy{background:var(--pv-feature-orange);color:#fff}
.pv-week-buy-all{background:var(--pv-feature-card);color:var(--pv-feature-orange)}
.pv-week-dashboard .menu-explain{margin:10px 2px 0;padding:0 0 22px;color:var(--pv-feature-muted);font-size:11px}
/* Shopping list: real ingredients grouped by source recipe. */
.pv-shopping-toolbar{margin-bottom:14px}
.pv-shop-summary{
 position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px;
 background:var(--pv-feature-card);border:1px solid var(--pv-feature-border);
 border-radius:17px;padding:16px 15px 21px;margin-bottom:12px;
}
.pv-shop-summary>div:not(.pv-shop-summary-progress){display:flex;flex-direction:column;gap:4px}
.pv-shop-summary strong{font-size:25px;font-weight:850;font-variant-numeric:tabular-nums}
.pv-shop-summary small{color:var(--pv-feature-muted);font-size:11px;font-weight:680}
.pv-shop-summary-progress{position:absolute;bottom:0;left:0;right:0;height:4px;background:var(--pv-feature-border);overflow:hidden;border-radius:0 0 17px 17px}
.pv-shop-summary-progress>span{display:block;background:var(--pv-feature-orange);height:100%}
.pv-shopping-dashboard .shopping-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 17px}
.pv-shopping-dashboard .shopping-actions button{
 display:flex;justify-content:center;align-items:center;
 min-width:0;min-height:43px;padding:10px;border-radius:12px;
 background:var(--pv-feature-card);border:1px solid var(--pv-feature-border);
 font-size:12px;color:var(--pv-feature-ink);font-weight:750;
}
.pv-shopping-dashboard .shopping-actions button:first-child{color:var(--pv-feature-orange)}
.pv-shop-groups{display:grid;gap:15px}
.pv-shop-group,.pv-shop-purchased{background:var(--pv-feature-card);border:1px solid var(--pv-feature-border);border-radius:17px;overflow:hidden}
.pv-shop-group-title{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 13px 11px;
 border-bottom:1px solid var(--pv-feature-border)}
.pv-shop-group-title h2{margin:0;font-size:14px;letter-spacing:-.02em;font-weight:800;line-height:1.3;min-width:0}
.pv-shop-group-title small{font-size:10px;color:var(--pv-feature-muted);white-space:nowrap}
.pv-shopping-dashboard .shop-list{display:grid;gap:0}
.pv-shopping-dashboard .shop-row{
 display:flex;align-items:center;gap:10px;min-height:62px;padding:9px 12px;
 background:transparent;border:0;border-radius:0;border-bottom:1px solid var(--pv-feature-border);
}
.pv-shopping-dashboard .shop-row:last-child{border-bottom:none}
.pv-shopping-dashboard .shop-check{
 width:28px;height:28px;flex:0 0 28px;border:1.5px solid var(--pv-feature-border);
 border-radius:9px;display:grid;place-items:center;color:#fff;background:transparent;
}
.pv-shopping-dashboard .shop-row.done .shop-check{background:var(--pv-feature-orange);border-color:var(--pv-feature-orange)}
.pv-shop-product-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;
 flex:0 0 42px;background:var(--pv-feature-soft);font-size:24px}
.pv-shopping-dashboard .shop-text{flex:1;min-width:0}
.pv-shopping-dashboard .shop-text b{font-size:13px;line-height:1.3;color:var(--pv-feature-ink);font-weight:720}
.pv-shopping-dashboard .shop-text small{color:var(--pv-feature-muted);margin-top:3px;display:block;font-size:10px;line-height:1.25}
.pv-shopping-dashboard .shop-row.done .shop-text b{color:var(--pv-feature-muted);text-decoration:line-through}
.pv-shopping-dashboard .shop-remove{font-size:24px;color:var(--pv-feature-muted);width:31px;min-height:34px;padding:0;flex:0 0 31px}
.pv-shop-purchased{margin-top:19px}
.pv-shop-purchased>h2{display:flex;justify-content:space-between;font-size:15px;margin:0;padding:14px;color:var(--pv-feature-ink);border-bottom:1px solid var(--pv-feature-border)}
.pv-shop-purchased>h2 small{font-size:12px;color:var(--pv-feature-muted)}
.pv-shop-empty{padding:28px 17px;text-align:center;background:var(--pv-feature-card);border:1px solid var(--pv-feature-border);border-radius:19px}
.pv-shop-empty>span{font-size:46px}
.pv-shop-empty h2{font-size:20px;margin:10px 0}
.pv-shop-empty p{font-size:12px;color:var(--pv-feature-muted);line-height:1.6}
.pv-shop-empty .menu-buy{margin:13px 0 0;width:100%;font-size:13px;background:var(--pv-feature-orange);color:#fff;min-height:47px;border-radius:14px}
/* Immersive step-by-step cooking: dark across both global themes.
   All photographs depict the finished recipe, not a fabricated step photo. */
#cook{background:#12100e!important;color:#f8f3ec}
#cook .pv-cook-shell{max-width:660px;margin:auto;height:100dvh;min-height:0;
 background:radial-gradient(ellipse at 50% -35%,#302118 0,#13110f 65%);color:#f8f3ec}
#cook .pv-cook-head{display:flex;align-items:center;gap:10px;padding:calc(12px + env(safe-area-inset-top)) 15px 12px;
 background:#17130ff2;border:0;min-height:69px;position:relative;z-index:2}
#cook .pv-cook-icon{width:36px;height:36px;border:1px solid #483b33;border-radius:12px;
 display:grid;place-items:center;color:#ffb97b;font-size:19px;flex:0 0 36px}
#cook .pv-cook-head>div{flex:1;min-width:0}
#cook .pv-cook-head b{font-size:14px;font-weight:820;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#faf5f0}
#cook .pv-cook-head small{font-size:11px;color:#c3ada0;margin-top:4px}
#cook .pv-cook-head>button{flex:0 0 36px;width:36px;height:36px;padding:0;
 background:#302820;border:1px solid #49382c;border-radius:12px;color:#f8f3ec;
 display:grid;place-items:center}
#cook .pv-cook-step-meter{padding:0 16px 12px;background:#17130ff2}
#cook .pv-cook-segments{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:5px;height:6px}
#cook .pv-cook-segments>span{height:6px;border-radius:6px;background:#42372e}
#cook .pv-cook-segments>span.completed{background:linear-gradient(90deg,#f6a15a,#f07545)}
#cook .pv-cook-step-meter>small{display:block;text-align:center;color:#d4b8a3;font-size:11px;margin-top:7px}
#cook .pv-cook-body{padding:9px 13px 18px;display:flex;flex:1;min-height:0;flex-direction:column;gap:13px;overflow-y:auto;overscroll-behavior:contain;
 background:transparent;color:#f8f3ec}
#cook .pv-cook-hero{position:relative;overflow:hidden;border-radius:18px;background:#493027;min-height:178px;height:clamp(178px,29vh,250px);flex:0 0 auto}
#cook .pv-cook-hero img{display:block;width:100%;height:100%;object-fit:cover}
#cook .pv-cook-hero:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(17,12,9,.66))}
#cook .pv-cook-hero>span{position:absolute;bottom:12px;left:14px;z-index:1;color:#f6e7de;font-size:10px;font-weight:700;letter-spacing:.01em}
#cook .pv-cook-step-card{background:#221c18;border:1px solid #48382e;border-radius:17px;padding:15px 15px 17px}
#cook .pv-cook-step-label{display:block;color:#ffb17e;font-size:11px;font-weight:840;letter-spacing:.07em;margin-bottom:10px}
#cook .pv-cook-step-card h2{color:#f9f5ef;font-size:clamp(17px,4.4vw,24px);line-height:1.45;font-weight:760;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
#cook .timer-hint{display:flex;justify-content:space-between;align-items:center;min-height:41px;
 padding:8px 14px;background:#372a23;border:1px solid #594032;border-radius:13px;color:#ffc29a;
 font-size:12px;font-weight:760;width:100%}
#cook .pv-cook-timer{padding:11px 13px 13px;background:#211b17;border:1px solid #493a2f;border-radius:17px;flex:0 0 auto}
#cook .pv-cook-timer-intro{display:flex;gap:7px;align-items:center;color:#cfbcae;font-size:11px;font-weight:740}
#cook .pv-cook-timer-content{display:flex;gap:13px;align-items:center;justify-content:space-between;margin:6px 0 8px}
#cook #timerDisplay{display:block;margin:0;color:#fff2e8;font-size:34px;font-weight:850;line-height:1;letter-spacing:.03em;font-variant-numeric:tabular-nums}
#cook .pv-cook-timer-play{width:49px;height:43px;flex:0 0 49px;display:grid;place-items:center;
 background:#ef7c4f;border:0;border-radius:13px;color:white;font-size:17px;font-weight:850}
#cook .timer-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#cook .timer-actions button{min-height:34px;padding:6px 8px;background:#342923;border:1px solid #4d3b2e;color:#f3ddd0;
 border-radius:10px;font-size:11px}
#cook .pv-cook-footer{display:grid;grid-template-columns:1fr 1.75fr;gap:9px;align-items:center;
 background:#17130f;padding:10px 13px calc(11px + env(safe-area-inset-bottom));
 border-top:1px solid #463329}
#cook .pv-cook-footer button{min-height:49px;border-radius:13px;border:1px solid #594034;
 font-size:13px;font-weight:830;background:#32271f;color:#f5e7da;padding:11px}
#cook .pv-cook-footer .cook-next{background:#ef7c4f;border-color:#ef7c4f;color:#fff;box-shadow:0 4px 10px rgba(239,116,65,.16)}
#cook .pv-cook-footer button:disabled{opacity:.42;cursor:not-allowed}
/* Distinct call-to-action on the recipe card itself. */
#detail .detail-action-bar .detail-primary,#detail .start-cook{
 border-radius:16px;background:linear-gradient(105deg,#ef854f,#ee6b45);color:white;border:0;
 box-shadow:0 5px 14px rgba(212,93,52,.19);
}
#detail .detail-action-bar .detail-primary{min-height:53px;font-weight:850;letter-spacing:-.01em}
#detail .start-cook{padding:13px 16px}
#detail .start-cook strong,#detail .start-cook small,#detail .start-cook .go-arrow{color:white}
#detail .start-cook>span:first-child{background:rgba(255,255,255,.18);color:white}
#detail .start-cook small{color:#fff4ed;opacity:.94}
@media (min-width:580px){
 .pv-week-heading h1,.pv-shopping-heading h1{font-size:31px}
 .pv-week-meal-open{grid-template-columns:132px minmax(0,1fr) 25px;min-height:116px}
 .pv-week-dashboard .week-meal-photo{width:132px;height:98px}
 .pv-week-dashboard .week-meal b{font-size:17px}
 .pv-shopping-mini-icon{width:62px;height:62px;font-size:31px}
 #cook .pv-cook-body{padding:16px 22px 20px}
}
@media(max-width:360px){
 .pv-week-heading h1,.pv-shopping-heading h1{font-size:23px}
 .pv-week-switch button,.pv-shopping-toolbar button{font-size:11px}
 .pv-week-dashboard .week-strip{gap:3px}
 .pv-week-dashboard .week-strip button{border-radius:10px;min-height:63px}
 .pv-week-dashboard .week-strip button small{font-size:10px}
 .pv-week-dashboard .week-strip button strong{font-size:15px}
 .pv-week-meal-open{grid-template-columns:81px minmax(0,1fr) 15px;gap:8px;min-height:90px}
 .pv-week-dashboard .week-meal-photo{width:81px;height:77px}
 .pv-week-dashboard .week-meal b{font-size:12px}
 .pv-shopping-mini-icon{width:40px;height:40px;font-size:24px}
 .pv-shopping-mini-label{font-size:9px}
 #cook .pv-cook-hero{height:185px}
}
@media(prefers-reduced-motion:reduce){
 #cook .pv-cook-segments span,.pv-week-dashboard button,.pv-shopping-dashboard button{transition:none}
}
