/* Десктопная витрина клиента (≥1024px). Адаптация макета "страница заказа (десктоп)"
   под токены темы Foodino — бренд-цвета применяются автоматически. Всё под scope .dk. */

.dk { display: none; }

/* Десктоп включаем ТОЛЬКО на страницах с блоком .dk (пока — меню). :has() ограничивает
   правила этой страницей, чтобы корзина/успех (ещё без .dk) на десктопе не пропали. */
@media (min-width: 1024px) {
  .dk { display: block; }
  body:has(.dk) .screen.client { display: none !important; }   /* прячем мобильную колонку только здесь */
  html:has(.dk), body:has(.dk) { height: auto; overflow: visible; }  /* длинная скроллируемая страница */
  body:has(.dk) { background: var(--cbg); }
}

/* локальные алиасы дизайна → наши токены (остальное наследует --card/--ink/--ink70/--ink45/--line/--green) */
.dk {
  --accent: var(--orange);
  --accent-deep: color-mix(in srgb, var(--orange) 86%, #000);
  --accent-wash: color-mix(in srgb, var(--orange) 13%, var(--card));
  --accent-soft: color-mix(in srgb, var(--orange) 6%, var(--card));
  --ink30: color-mix(in srgb, var(--ink) 32%, var(--cbg));
  --lineSoft: var(--line-soft);
  --greenWash: var(--green-wash);
  --fdisp: var(--font-display); --ftext: var(--font-text); --fmono: var(--font-mono);
  --shadow: 0 1px 2px rgba(23,22,31,0.05);
  --shadow-lift: 0 18px 40px rgba(23,22,31,0.13);
  --glow: color-mix(in srgb, var(--orange) 30%, transparent);
  color: var(--ink); font-family: var(--ftext);
}
.dk *{ box-sizing: border-box; }
.dk h1, .dk h2, .dk h3 { font-family: var(--fdisp); font-weight: 700; margin: 0; letter-spacing: -0.6px; line-height: 1.05; }
.dk p { margin: 0; }
.dk button { font-family: inherit; cursor: pointer; }
.dk .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.dk .price { font-family: var(--fdisp); font-weight: 700; letter-spacing: -0.3px; }
.dk .logo { border-radius: 26%; background: #16140F; flex-shrink: 0; display: block; }

/* header */
.dk header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--cbg) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.dk .hbar { display: flex; align-items: center; gap: 18px; height: 74px; }
.dk .brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.dk .brand .meta { min-width: 0; }
.dk .brand .byline { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink45); font-weight: 500; line-height: 1; margin-bottom: 4px; }
.dk .brand .byline .fd { font-family: var(--fdisp); font-weight: 700; color: var(--accent); letter-spacing: -0.2px; }
.dk .brand .dot { width: 3px; height: 3px; border-radius: 9px; background: var(--ink30); }
.dk .brand h1 { font-size: 21px; letter-spacing: -0.7px; }
.dk .hstatus { display: flex; align-items: center; gap: 9px; margin-left: 6px; }
.dk .pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; white-space: nowrap; border-radius: 999px; padding: 7px 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink70); }
.dk .pill.open { background: var(--greenWash); border-color: transparent; color: var(--green); }
.dk .pill .led { width: 7px; height: 7px; border-radius: 9px; background: currentColor; }
.dk .hspace { flex: 1; }
.dk .search { display: flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; width: 230px; color: var(--ink45); font-size: 14px; }
.dk .search input { border: none; background: transparent; outline: none; font-family: inherit; font-size: 14px; color: var(--ink); width: 100%; }
.dk .hcart { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; border: none; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 14.5px; white-space: nowrap; box-shadow: 0 8px 20px var(--glow); transition: transform .14s, box-shadow .14s; }
.dk .hcart #dkHcartTotal { font-family: var(--fdisp); letter-spacing: -0.2px; }
.dk .hcart:hover { transform: translateY(-1px); }
.dk .hcart .ct-count { background: rgba(255,255,255,0.22); border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; padding: 0 6px; }

/* hero */
.dk .hero { position: relative; margin-top: 24px; }
.dk .hero-card { position: relative; border-radius: 28px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.dk .hero-cover { position: relative; height: 300px; background: var(--accent-soft); }
.dk .hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk .hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,10,28,0) 30%, rgba(13,10,28,0.16) 58%, rgba(13,10,28,0.74) 100%); pointer-events: none; }
.dk .hero-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dk .hero-id { display: flex; align-items: flex-end; gap: 18px; min-width: 0; }
.dk .hero-logo { width: 78px; height: 78px; box-shadow: 0 10px 26px rgba(0,0,0,0.3); }
.dk .hero-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 26%; display: block; }
.dk .hero-txt h2 { font-size: 46px; color: #fff; letter-spacing: -1.6px; text-shadow: 0 2px 20px rgba(0,0,0,0.28); }
.dk .hero-txt .row { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.dk .hero-txt .htag { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 7px 13px; }
.dk .hero-txt .htag.open { background: var(--green); border-color: transparent; }

/* layout */
.dk .shell { display: grid; grid-template-columns: minmax(0,1fr) 372px; gap: 32px; align-items: start; padding: 32px 0 64px; }

/* category nav */
.dk .catnav { position: sticky; top: 74px; z-index: 40; background: color-mix(in srgb, var(--cbg) 90%, transparent); backdrop-filter: blur(10px); margin: 0 -32px; padding: 14px 32px; }
.dk .cattabs { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.dk .cattabs::-webkit-scrollbar { display: none; }
.dk .cattab { white-space: nowrap; border: 1px solid var(--line); background: var(--card); color: var(--ink70); border-radius: 999px; padding: 10px 18px; font-size: 14.5px; font-weight: 600; transition: .14s; }
.dk .cattab:hover { border-color: var(--accent); color: var(--accent); }
.dk .cattab.on { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px var(--glow); }

/* menu */
.dk .menu-sec { padding-top: 34px; scroll-margin-top: 150px; }
.dk .menu-sec h3 { font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink45); font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.dk .menu-sec h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dk .cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.dk .card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s, border-color .16s; }
.dk .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: transparent; }
.dk .card.out { opacity: .62; }
.dk .card-photo { position: relative; height: 182px; background: var(--accent-soft); }
.dk .card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk .card-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--fmono); font-size: 12px; color: var(--ink45); text-align: center; padding: 0 14px; }
.dk .badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; color: #fff; background: var(--orange); box-shadow: 0 4px 12px color-mix(in srgb, var(--orange) 40%, transparent); }
.dk .card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.dk .card-body .nm { font-weight: 700; font-size: 18px; letter-spacing: -0.3px; line-height: 1.2; color: var(--ink); }
.dk .card-body .ds { font-size: 13.5px; color: var(--ink45); margin-top: 5px; line-height: 1.4; flex: 1; }
.dk .card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; gap: 12px; }
.dk .card-foot .pr { display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.dk .card-foot .pr .from { font-size: 12.5px; color: var(--ink45); }
.dk .card-foot .pr .val { font-size: 20px; }
.dk .add { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--accent); color: #fff; border: none; border-radius: 13px; height: 44px; padding: 0 16px; font-weight: 700; font-size: 14.5px; box-shadow: 0 6px 16px var(--glow); transition: transform .12s, background .12s; text-decoration: none; }
.dk .add:hover { transform: translateY(-1px); background: var(--accent-deep); }
.dk .add svg { display: block; }
.dk .add.iconly { width: 44px; padding: 0; }
.dk .stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); border-radius: 13px; height: 44px; padding: 0 6px; box-shadow: 0 6px 16px var(--glow); }
.dk .stepper button { width: 34px; height: 34px; border: none; background: rgba(255,255,255,0.18); color: #fff; border-radius: 9px; font-size: 20px; font-weight: 600; display: flex; align-items: center; justify-content: center; line-height: 1; }
.dk .stepper button:hover { background: rgba(255,255,255,0.3); }
.dk .stepper .q { color: #fff; font-family: var(--fdisp); font-weight: 700; font-size: 16px; min-width: 22px; text-align: center; }
.dk .soldout { font-size: 13px; font-weight: 600; color: var(--ink45); background: var(--lineSoft); padding: 9px 14px; border-radius: 11px; }

/* cart panel */
.dk .cart { position: sticky; top: 98px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 122px); }
.dk .cart-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--lineSoft); display: flex; align-items: center; justify-content: space-between; }
.dk .cart-head h3 { font-size: 20px; letter-spacing: -0.5px; }
.dk .cart-head .n { font-size: 13px; color: var(--ink45); font-weight: 600; margin-top: 3px; }
.dk .cart-mode { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-wash); border-radius: 999px; padding: 6px 11px; }
.dk .cart-items { overflow-y: auto; padding: 8px 0; flex: 1; }
.dk .citem { display: flex; gap: 13px; padding: 13px 22px; align-items: flex-start; }
.dk .citem .thumb { width: 54px; height: 54px; border-radius: 13px; flex-shrink: 0; overflow: hidden; background: var(--accent-soft); }
.dk .citem .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk .citem .info { flex: 1; min-width: 0; }
.dk .citem .info .nm { font-weight: 600; font-size: 15px; letter-spacing: -0.2px; color: var(--ink); }
.dk .citem .info .op { font-size: 12.5px; color: var(--ink45); margin-top: 2px; }
.dk .citem .info .pr { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dk .citem .info .pr .price { font-size: 15px; color: var(--ink); }
.dk .cstep { display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid var(--line); border-radius: 11px; padding: 5px 9px; }
.dk .cstep button { width: 24px; height: 24px; border: none; background: transparent; color: var(--ink70); font-size: 17px; line-height: 1; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.dk .cstep button:hover { background: var(--lineSoft); color: var(--ink); }
.dk .cstep .q { font-family: var(--fdisp); font-weight: 700; font-size: 14px; min-width: 14px; text-align: center; color: var(--ink); }
.dk .cart-empty { padding: 48px 28px; text-align: center; color: var(--ink45); }
.dk .cart-empty .ic { width: 60px; height: 60px; border-radius: 18px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.dk .cart-empty .t { font-family: var(--fdisp); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.3px; }
.dk .cart-empty .s { font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.dk .cart-foot { border-top: 1px solid var(--line); padding: 18px 22px; background: var(--card); }
.dk .crow { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink70); margin-bottom: 9px; }
.dk .crow.total { margin: 13px 0 0; padding-top: 13px; border-top: 1px dashed var(--line); color: var(--ink); }
.dk .crow.total .lbl { font-weight: 600; font-size: 15px; }
.dk .crow.total .val { font-family: var(--fdisp); font-weight: 800; font-size: 26px; letter-spacing: -0.8px; }
.dk .checkout { margin-top: 16px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--accent); color: #fff; border: none; border-radius: 15px; padding: 16px; font-family: var(--fdisp); font-weight: 700; font-size: 16.5px; box-shadow: 0 10px 24px var(--glow); transition: transform .14s; text-decoration: none; }
.dk .checkout:hover { transform: translateY(-2px); }
.dk .checkout:disabled { opacity: .5; box-shadow: none; transform: none; cursor: not-allowed; }
.dk .pay-note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 12.5px; color: var(--ink45); margin-top: 12px; }

/* footer */
.dk footer { border-top: 1px solid var(--line); background: var(--card); }
.dk .foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 0; }
.dk .foot .info { display: flex; align-items: center; gap: 14px; }
.dk .foot .cols { display: flex; gap: 46px; flex-wrap: wrap; }
.dk .foot .col .h { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink45); font-weight: 700; margin-bottom: 9px; }
.dk .foot .col .v { font-size: 14px; color: var(--ink70); line-height: 1.7; }
.dk .foot .made { font-family: var(--fmono); font-size: 12px; color: var(--ink45); }
.dk .foot .made .fd { font-family: var(--fdisp); font-weight: 700; color: var(--accent); }

/* ░░ ДЕСКТОП-ОФОРМЛЕНИЕ (.dk-cart) ░░ */
.dk-cart .wrap { max-width: 1080px; }
.dk .back { width: 46px; height: 46px; border-radius: 999px; flex-shrink: 0; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: .14s; }
.dk .back:hover { background: var(--accent-soft); border-color: var(--accent); }
.dk .steps { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink45); font-weight: 600; }
.dk .steps .s { display: flex; align-items: center; gap: 7px; }
.dk .steps .s .num { width: 22px; height: 22px; border-radius: 999px; background: var(--accent-wash); color: var(--accent); font-family: var(--fdisp); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.dk .steps .s.done .num { background: var(--green); color: #fff; }
.dk .steps .s.active { color: var(--ink); }
.dk .steps .s.active .num { background: var(--accent); color: #fff; }
.dk .steps .sep { width: 18px; height: 1.5px; background: var(--line); }

.dk .pagehead { padding: 34px 0 6px; }
.dk .pagehead h2 { font-size: 34px; letter-spacing: -1.2px; color: var(--ink); }
.dk .pagehead .sub { font-size: 15px; color: var(--ink45); margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.dk-cart .shell { grid-template-columns: minmax(0,1fr) 384px; padding: 24px 0 70px; }
.dk .block { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.dk .block + .block { margin-top: 18px; }
.dk .block-h { padding: 18px 22px 0; font-family: var(--fdisp); font-weight: 700; font-size: 13px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--ink45); }

/* позиции в оформлении (крупнее, чем в боковой корзине меню) */
.dk-cart .citem { display: flex; gap: 15px; padding: 16px 22px; align-items: center; border-top: 1px solid var(--lineSoft); }
.dk-cart .citem:first-child { border-top: none; }
.dk-cart .citem .thumb { width: 66px; height: 66px; border-radius: 15px; flex-shrink: 0; overflow: hidden; background: var(--accent-soft); }
.dk-cart .citem .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-cart .citem .info { flex: 1; min-width: 0; }
.dk-cart .citem .badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; border-radius: 999px; padding: 3px 8px; color: #fff; background: var(--orange); margin-right: 7px; vertical-align: middle; }
.dk-cart .citem .nm { font-weight: 600; font-size: 16.5px; letter-spacing: -0.3px; display: inline; color: var(--ink); }
.dk-cart .citem .op { font-size: 13px; color: var(--ink45); margin-top: 3px; }
.dk-cart .citem .pr { font-size: 16px; margin-top: 7px; color: var(--ink); }
.dk-cart .cstep { display: inline-flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 13px; padding: 8px 12px; flex-shrink: 0; }
.dk-cart .cstep button { width: 28px; height: 28px; border: none; background: transparent; color: var(--ink70); font-size: 19px; line-height: 1; display: flex; align-items: center; justify-content: center; border-radius: 7px; }
.dk-cart .cstep button:hover { background: var(--lineSoft); color: var(--ink); }
.dk-cart .cstep .q { font-family: var(--fdisp); font-weight: 700; font-size: 17px; min-width: 18px; text-align: center; color: var(--ink); }
.dk .additem { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 16px; color: var(--accent); font-weight: 700; font-size: 15px; border-top: 1px solid var(--lineSoft); transition: .14s; }
.dk .additem:hover { background: var(--accent-soft); }

.dk .commentbox { padding: 18px 22px 22px; }
.dk .commentbox textarea { width: 100%; border: none; outline: none; resize: none; font-family: var(--ftext); font-size: 15.5px; color: var(--ink); background: transparent; line-height: 1.5; min-height: 54px; }
.dk .commentbox textarea::placeholder { color: var(--ink45); }

.dk .fields { padding: 8px 22px 22px; display: grid; gap: 12px; }
.dk .field { display: flex; align-items: center; gap: 14px; background: var(--cbg); border: 1.5px solid transparent; border-radius: 15px; padding: 13px 16px; transition: .14s; }
.dk .field:focus-within { border-color: var(--accent); background: var(--card); }
.dk .field.err { border-color: #E0653F; }
.dk .field .fic { color: var(--ink45); flex-shrink: 0; display: flex; }
.dk .field .fbody { flex: 1; }
.dk .field label { display: block; font-size: 12px; color: var(--ink45); font-weight: 600; margin-bottom: 2px; }
.dk .field label .req { color: var(--accent); }
.dk .field input { border: none; outline: none; background: transparent; font-family: var(--ftext); font-weight: 600; font-size: 16px; color: var(--ink); width: 100%; }
.dk .field input::placeholder { color: var(--ink30); font-weight: 500; }

.dk .modetoggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 22px 14px; }
.dk .modebtn { display: flex; align-items: center; justify-content: center; gap: 9px; border: 1.5px solid var(--line); background: var(--card); border-radius: 15px; padding: 15px; font-family: var(--fdisp); font-weight: 700; font-size: 16px; color: var(--ink70); transition: .14s; }
.dk .modebtn:hover { border-color: var(--accent); }
.dk .modebtn.on { background: var(--ink); border-color: var(--ink); color: var(--cbg); }
.dk .modeinfo { margin: 0 22px 22px; background: var(--cbg); border-radius: 16px; overflow: hidden; }
.dk .modeinfo .top { display: flex; align-items: center; gap: 13px; padding: 15px 16px; }
.dk .modeinfo .top .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-wash); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.dk .modeinfo .top .t { flex: 1; }
.dk .modeinfo .top .t .a { font-weight: 700; font-size: 16px; color: var(--ink); }
.dk .modeinfo .top .t .b { font-size: 13.5px; color: var(--ink45); margin-top: 2px; }
.dk .modeinfo .top .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--greenWash); border-radius: 999px; padding: 6px 11px; white-space: nowrap; }
.dk .modeinfo .bottom { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-top: 1px solid var(--lineSoft); font-size: 13.5px; color: var(--ink70); font-weight: 500; }
.dk .modeinfo .bottom .led { width: 6px; height: 6px; border-radius: 9px; background: var(--ink30); }

.dk .summary { position: sticky; top: 98px; }
.dk .sum-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.dk .sum-card .h { padding: 20px 22px 14px; font-size: 20px; font-family: var(--fdisp); font-weight: 700; letter-spacing: -0.5px; color: var(--ink); }
.dk .sum-rows { padding: 0 22px 4px; }
.dk .srow { display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; color: var(--ink70); padding: 8px 0; }
.dk .srow .nm { display: flex; gap: 8px; min-width: 0; }
.dk .srow .nm .x { color: var(--ink45); font-family: var(--fmono); font-size: 13px; }
.dk .srow.total { margin: 8px 0 0; padding: 16px 0 4px; border-top: 1px dashed var(--line); color: var(--ink); }
.dk .srow.total .lbl { font-weight: 600; font-size: 16px; }
.dk .srow.total .val { font-family: var(--fdisp); font-weight: 800; font-size: 28px; letter-spacing: -0.8px; }
.dk .sum-foot { padding: 6px 22px 22px; }
.dk .guarantee { margin-top: 16px; background: var(--accent-soft); border-radius: 16px; padding: 14px 16px; display: flex; gap: 11px; align-items: flex-start; }
.dk .guarantee .ic { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.dk .guarantee .tx { font-size: 13px; color: var(--ink70); line-height: 1.45; }
.dk .guarantee .tx b { color: var(--ink); }

/* ░░ ДЕСКТОП-СТАТУС/УСПЕХ (.dk-status) ░░ */
.dk-status .wrap { max-width: 1080px; }
.dk-status .shell { grid-template-columns: minmax(0,1fr) 372px; padding: 36px 0 70px; }
.dk-status .steps .s .num { background: var(--green); color: #fff; }
.dk-status .steps .s.active .num { background: var(--accent); }

.dk .status { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: 40px 38px 36px; text-align: center; position: relative; overflow: hidden; }
.dk .status::before { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 420px; height: 240px; background: radial-gradient(closest-side, var(--accent-soft), transparent); pointer-events: none; }
.dk .badge-ic { width: 84px; height: 84px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; position: relative; }
.dk .badge-ic .inner { width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.dk .badge-ic.cook { background: var(--accent-wash); } .dk .badge-ic.cook .inner { background: var(--accent); }
.dk .badge-ic.ready { background: var(--greenWash); } .dk .badge-ic.ready .inner { background: var(--green); }
.dk .badge-ic.cancel { background: var(--line-soft); } .dk .badge-ic.cancel .inner { background: var(--ink45); }
.dk .status h2 { font-size: 30px; letter-spacing: -1px; position: relative; color: var(--ink); }
.dk .status .sub { font-size: 15px; color: var(--ink70); margin-top: 11px; line-height: 1.5; max-width: 380px; margin-left: auto; margin-right: auto; position: relative; }
.dk .numbox { margin: 28px auto 6px; max-width: 360px; padding: 22px; background: var(--accent-soft); border-radius: 22px; position: relative; }
.dk .numbox .l { font-size: 12.5px; color: var(--ink45); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.dk .numbox .v { font-family: var(--fdisp); font-weight: 800; font-size: 72px; letter-spacing: -2.5px; line-height: 1.02; color: var(--accent); }

.dk .tracker { margin: 34px auto 8px; max-width: 480px; position: relative; }
.dk .track-line { position: relative; display: flex; justify-content: space-between; align-items: center; margin: 0 22px; }
.dk .track-line .bar { position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: var(--line); border-radius: 2px; transform: translateY(-50%); }
.dk .track-line .bar-fill { position: absolute; left: 0; top: 50%; height: 3px; background: var(--green); border-radius: 2px; transform: translateY(-50%); transition: width .6s cubic-bezier(.4,0,.2,1); }
.dk .node { position: relative; z-index: 2; width: 18px; height: 18px; border-radius: 999px; background: var(--cbg); border: 3px solid var(--line); transition: .4s; }
.dk .node.done { background: var(--green); border-color: var(--green); }
.dk .node.active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-wash); animation: dkpulse 1.6s infinite; }
@keyframes dkpulse { 0%,100% { box-shadow: 0 0 0 5px var(--accent-wash); } 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--orange) 12%, transparent); } }
.dk .track-labels { display: flex; justify-content: space-between; margin-top: 14px; }
.dk .track-labels span { flex: 1; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ink45); transition: .3s; }
.dk .track-labels span.done { color: var(--green); }
.dk .track-labels span.active { color: var(--ink); font-weight: 700; }
.dk .hint { margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink70); background: var(--cbg); border-radius: 999px; padding: 10px 18px; }
.dk .hint .led { width: 8px; height: 8px; border-radius: 9px; background: var(--accent); }
.dk .hint.ready .led { background: var(--green); }

.dk .recap { position: sticky; top: 98px; display: flex; flex-direction: column; gap: 18px; }
.dk .orow { display: flex; align-items: center; justify-content: space-between; padding: 11px 22px; gap: 12px; }
.dk .orow .nm { display: flex; gap: 9px; align-items: baseline; min-width: 0; }
.dk .orow .nm .x { font-family: var(--fmono); font-size: 13.5px; color: var(--ink45); flex-shrink: 0; }
.dk .orow .nm .t { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.dk .orow.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 15px; padding-bottom: 18px; }
.dk .orow.total .lbl { font-weight: 700; font-size: 16px; color: var(--ink); }
.dk .orow.total .val { font-family: var(--fdisp); font-weight: 800; font-size: 22px; letter-spacing: -0.6px; color: var(--ink); }
.dk .irow { display: flex; gap: 13px; padding: 14px 22px; align-items: center; border-top: 1px solid var(--line-soft); }
.dk .irow:first-child { border-top: none; }
.dk .irow .ic { color: var(--ink45); flex-shrink: 0; display: flex; }
.dk .irow .a { font-weight: 600; font-size: 15px; color: var(--ink); }
.dk .irow .b { font-size: 13px; color: var(--ink45); margin-top: 1px; }
.dk .ghostbtn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; background: var(--card); color: var(--ink); border: 1.5px solid var(--line); border-radius: 15px; padding: 14px; font-family: var(--fdisp); font-weight: 700; font-size: 15px; transition: .14s; }
.dk .ghostbtn:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.dk .foot a.made { transition: opacity .14s; }
.dk .foot a.made:hover { opacity: .7; }

/* промо-обложка: фикс. пропорция 32:9 — картинка 1920×540 (или кратная) встаёт ровно, без обрезки */
.dk .hero-card.has-cover .hero-cover { height: auto; aspect-ratio: 32 / 9; }
.dk .hero-card.has-cover .hero-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* инфо-строка под промо-баннером (статус/время/адрес) */
.dk .hero-info { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ── модалка товара с добавками (десктоп) ─────────────────────────── */
.dk .dk-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 28px; }
.dk .dk-modal[hidden] { display: none; }
.dk .dk-modal__backdrop { position: absolute; inset: 0; background: rgba(23,22,31,0.5); backdrop-filter: blur(6px); animation: dkmFade .16s ease; }
@keyframes dkmFade { from { opacity: 0; } }
@keyframes dkmPop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.dk .dk-modal__card { position: relative; z-index: 1; width: 100%; max-width: 540px; max-height: calc(100vh - 56px);
    display: flex; flex-direction: column; background: var(--card); border-radius: 28px; overflow: hidden;
    box-shadow: var(--shadow-lift); border: 1px solid var(--line); animation: dkmPop .2s cubic-bezier(.2,.8,.3,1); }
.dk .dk-modal__x { position: absolute; top: 16px; right: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 999px;
    border: none; background: var(--card); box-shadow: 0 4px 14px rgba(23,22,31,0.14); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform .14s; }
.dk .dk-modal__x:hover { transform: scale(1.06); }
.dk .dk-modal__photo { height: clamp(200px, 30vh, 300px); flex-shrink: 0; background: var(--accent-soft); position: relative; }
.dk .dk-modal__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk .dk-modal__photo.is-empty { display: flex; align-items: center; justify-content: center; }
.dk .dk-modal__photo .cap { font-family: var(--fdisp); font-weight: 700; font-size: 26px; letter-spacing: -0.6px; color: var(--accent); opacity: .55; padding: 0 24px; text-align: center; }
.dk .dk-modal__body { flex: 1; overflow-y: auto; padding: 24px 28px 8px; }
.dk .dk-modal__title { font-size: 30px; letter-spacing: -1px; color: var(--ink); }
.dk .dk-modal__desc { font-size: 15px; color: var(--ink45); margin: 8px 0 0; line-height: 1.4; }
.dk .dkm-group { margin-top: 22px; }
.dk .dkm-group__h { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; margin-bottom: 4px; }
.dk .dkm-group__t { font-family: var(--fdisp); font-weight: 700; font-size: 19px; letter-spacing: -0.4px; color: var(--ink); }
.dk .dkm-group__hint { font-size: 12.5px; font-weight: 700; color: var(--ink45); background: var(--accent-soft); border-radius: 999px; padding: 4px 11px; }
.dk .dkm-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-soft); cursor: pointer; }
.dk .dkm-row:first-of-type { border-top: none; }
.dk .dkm-row__nm { flex: 1; font-size: 16px; font-weight: 600; color: var(--ink); }
.dk .dkm-row__pr { font-family: var(--fdisp); font-weight: 700; font-size: 15px; color: var(--ink70); white-space: nowrap; }
.dk .dkm-row__pr.inc { color: var(--green); }
.dk .dkm-ctl { width: 26px; height: 26px; flex-shrink: 0; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; transition: .12s; }
.dk .dkm-ctl--check { border-radius: 9px; }
.dk .dkm-ctl--radio { border-radius: 999px; }
.dk .dkm-ctl.on { background: var(--accent); border-color: var(--accent); }
.dk .dkm-ctl--radio .dot { width: 9px; height: 9px; border-radius: 999px; background: #fff; }
.dk .dkm-row:hover .dkm-ctl:not(.on) { border-color: var(--accent); }
.dk .dk-modal__foot { flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 16px 24px 22px; border-top: 1px solid var(--line); background: var(--card); }
.dk .dk-modal__qty { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; height: 56px; padding: 0 8px; }
.dk .dk-modal__qty button { width: 40px; height: 40px; border: none; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 11px; transition: .12s; }
.dk .dk-modal__qty button:hover { background: var(--accent-soft); }
.dk .dk-modal__qty span { font-family: var(--fdisp); font-weight: 700; font-size: 19px; min-width: 26px; text-align: center; color: var(--ink); }
.dk .dk-modal__add { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 24px;
    background: var(--accent); color: #fff; border: none; border-radius: 16px; font-family: var(--fdisp); font-weight: 700; font-size: 17px;
    box-shadow: 0 10px 24px var(--glow); cursor: pointer; transition: transform .14s; }
.dk .dk-modal__add:hover { transform: translateY(-2px); }

/* Переключатель адреса в шапке десктопа (сеть точек) */
.dk .dk-addr-switch { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 4px 10px 4px 8px;
  background: var(--accent-wash); border: 1px solid var(--accent-soft); border-radius: 999px; cursor: pointer;
  font-family: var(--font-text); font-weight: 600; font-size: 13px; color: var(--ink); transition: background .14s, border-color .14s; }
.dk .dk-addr-switch:hover { background: var(--accent-soft); border-color: var(--accent-deep); }
.dk .dk-addr-switch svg:last-child { color: var(--ink45); }
