/* mock-food: разделы «Корма» (fd-) и «Скидки и акции» (pr-) */

/* ---------------------------------------------------------------- общие элементы раздела */
.fd-kind { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 3px 8px; border-radius: 999px; color: #fff; white-space: nowrap; }
.fd-kind.tb { background: #2E7D52; }
.fd-kind.cm { background: #1E4FA0; }
.fd-kind.vt { background: #B3322E; }
.fd-promo { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--fm-orange); color: #fff; white-space: nowrap; }
.fd-new { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--fm-navy); border: 1px solid var(--fm-line-input-2); }
.fd-line { display: block; font-size: 12px; font-weight: 600; color: var(--fm-muted); letter-spacing: .02em; }
.fd-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.fd-save { color: var(--fm-green-text); font-weight: 600; }
.fd-promo-t { color: var(--fm-orange-text); }
.fd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.fd-now { font-size: 20px; font-weight: 700; color: var(--fm-ink); font-variant-numeric: tabular-nums; }
.fd-now.promo { color: var(--fm-orange-text); }
.fd-price > s { color: var(--fm-muted); font-size: 14px; }
.fd-rrc { flex-basis: 100%; font-size: 12px; color: var(--fm-muted); }
.fd-price.big .fd-now { font-size: 28px; }
.fd-seg { display: inline-flex; background: var(--fm-surface-2); border: 1px solid var(--fm-line-input-2); border-radius: 10px; padding: 3px; gap: 3px; }
.fd-seg button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; font-size: 14px; font-weight: 600; color: var(--fm-ink-2); }
.fd-seg button[aria-pressed="true"] { background: #fff; color: var(--fm-navy); box-shadow: 0 1px 3px rgba(11, 74, 120, .18); }
.fd-stepper { display: inline-flex; align-items: center; justify-content: space-between; gap: 4px; height: 44px; border: 1px solid var(--fm-line-input); border-radius: var(--r-sm); background: #fff; padding: 0 4px; }
.fd-stepper button { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--fm-navy); display: grid; place-items: center; }
.fd-stepper button:hover { background: var(--fm-sky); }
.fd-stepper span { min-width: 34px; text-align: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fd-vetnote, .fd-split, .fd-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-md); font-size: 14px; line-height: 1.45; }
.fd-vetnote { background: #FBEDEC; color: #7A1F1C; border: 1px solid #F1C9C6; }
.fd-vetnote svg, .fd-warn svg, .fd-split svg { flex: none; margin-top: 1px; }
.fd-vetnote a { color: #7A1F1C; font-weight: 600; }
.fd-split { background: var(--fm-sky); color: var(--fm-navy); border: 1px solid var(--fm-line); }
.fd-warn { background: var(--fm-orange-soft); color: var(--fm-orange-soft-text); }
.fd-empty-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.r { text-align: right; }
.c { text-align: center; }

/* ---------------------------------------------------------------- каталог */
.fd-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fd-kindcard { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: #fff; border: 1px solid var(--fm-line); border-radius: var(--r-lg); text-decoration: none; color: var(--fm-ink-2); font-size: 14px; line-height: 1.4; transition: box-shadow .15s, border-color .15s; }
.fd-kindcard:hover { box-shadow: var(--shadow-soft); color: var(--fm-ink-2); }
.fd-kindcard b { color: var(--fm-navy); font-size: 17px; line-height: 1.25; }
.fd-kindcard-b { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; color: #fff; }
.fd-kindcard.tb .fd-kindcard-b { background: #2E7D52; }
.fd-kindcard.cm .fd-kindcard-b { background: #1E4FA0; }
.fd-kindcard.vt .fd-kindcard-b { background: #B3322E; }
.fd-kindcard[aria-selected="true"] { border-color: var(--fm-navy); box-shadow: inset 0 0 0 1px var(--fm-navy), var(--shadow-soft); }
.fd-kindcard.tb[aria-selected="true"] { border-color: #2E7D52; box-shadow: inset 0 0 0 1px #2E7D52, var(--shadow-soft); }
.fd-kindcard.cm[aria-selected="true"] { border-color: #1E4FA0; box-shadow: inset 0 0 0 1px #1E4FA0, var(--shadow-soft); }
.fd-kindcard.vt[aria-selected="true"] { border-color: #B3322E; box-shadow: inset 0 0 0 1px #B3322E, var(--shadow-soft); }
.fd-promo-strip { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-md); background: var(--fm-orange-soft); color: var(--fm-orange-soft-text); text-decoration: none; font-size: 14px; }
.fd-promo-strip span { flex: 1; }
.fd-promo-strip:hover { color: var(--fm-orange-soft-text); background: #F9E0CB; }
.fd-bar { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.fd-species { display: inline-flex; background: #fff; border: 1px solid var(--fm-line-input-2); border-radius: 12px; padding: 3px; gap: 3px; }
.fd-species a { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--fm-ink-2); }
.fd-species a[aria-pressed="true"] { background: var(--fm-navy); color: #fff; }
.fd-ftoggle { display: none; }
.fd-found { color: var(--fm-muted); font-size: 14px; }
.fd-sort { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fm-muted); }
.fd-sort .select { height: 40px; }
.fd-view { display: inline-flex; border: 1px solid var(--fm-line-input-2); border-radius: 10px; overflow: hidden; background: #fff; }
.fd-view button { width: 40px; height: 38px; border: 0; background: transparent; color: var(--fm-muted); display: grid; place-items: center; }
.fd-view button[aria-pressed="true"] { background: var(--fm-navy); color: #fff; }
.fd-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 20px; align-items: start; }
.fd-filters { background: #fff; border: 1px solid var(--fm-line); border-radius: var(--r-lg); padding: 14px 16px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
.fd-filters-head { display: flex; justify-content: space-between; align-items: center; }
.fd-filters-head .btn { height: 28px; font-size: 13px; }
.fd-filters legend { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--fm-muted); margin-bottom: 4px; }
.fd-chk { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; cursor: pointer; line-height: 1.3; }
.fd-chk input { width: 18px; height: 18px; accent-color: var(--fm-navy); flex: none; }
.fd-chk small { margin-left: auto; color: var(--fm-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fd-promo-chk { background: var(--fm-orange-soft); border-radius: 10px; padding: 6px 10px; color: var(--fm-orange-soft-text); font-weight: 600; }
.fd-promo-chk span { display: inline-flex; align-items: center; gap: 4px; }
.fd-promo-chk input { accent-color: var(--fm-orange); }
.fd-filters-done { display: none; }
.fd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.fd-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fd-tile { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); transition: box-shadow .15s; }
.fd-tile:hover { box-shadow: var(--shadow-soft); }
.fd-tile-ph { position: relative; background: linear-gradient(180deg, #F7FAFC, #EEF4F8); aspect-ratio: 1 / .76; display: grid; place-items: center; }
.fd-tile-ph a { display: grid; place-items: center; width: 100%; height: 100%; }
.fd-tile-ph img { max-height: 82%; max-width: 78%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(11, 74, 120, .14)); transition: transform .2s; }
.fd-tile:hover .fd-tile-ph img { transform: scale(1.03); }
.fd-tile-badges { position: absolute; top: 10px; left: 10px; right: 48px; display: flex; flex-wrap: wrap; gap: 4px; }
.fd-fav { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--fm-muted); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(11, 74, 120, .15); }
.fd-fav:hover { color: #D1344B; }
.fd-fav[aria-pressed="true"] { color: #D1344B; }
.fd-fav[aria-pressed="true"] svg { fill: currentColor; }
.fd-tile-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fd-tile h3 { font-size: 15px; line-height: 1.3; font-weight: 600; min-height: 2.6em; }
.fd-tile h3 a { color: var(--fm-ink); text-decoration: none; }
.fd-tile h3 a:hover { color: var(--fm-navy); text-decoration: underline; }
.fd-packs { display: flex; flex-wrap: wrap; gap: 4px; }
.fd-packs button { height: 28px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--fm-line-input-2); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--fm-ink-2); }
.fd-packs button[aria-pressed="true"] { border-color: var(--fm-navy); background: var(--fm-sky); color: var(--fm-navy); }
.fd-packs.lg button { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.fd-tile .fd-price { margin-top: auto; }
.fd-add { height: 40px; font-size: 14px; }
.fd-tile .fd-stepper { height: 40px; }
.fd-tile .fd-stepper span { font-size: 13px; color: var(--fm-green-text); }
.fd-more { align-self: center; margin-top: 16px; }
.fd-list { display: flex; flex-direction: column; min-width: 0; }

.fd-table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
.fd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fd-table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--fm-muted); padding: 10px 12px; border-bottom: 1px solid var(--fm-line); white-space: nowrap; background: var(--fm-surface-3); }
.fd-table th.r { text-align: right; }
.fd-table td { padding: 8px 12px; border-bottom: 1px solid var(--fm-line-soft); vertical-align: middle; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fd-table tbody tr:hover td { background: #FAFCFE; }
.fd-tname { white-space: normal !important; min-width: 240px; }
.fd-tname { display: table-cell; }
.fd-tname img { float: left; width: 44px; height: 44px; object-fit: contain; margin-right: 10px; }
.fd-tname span { display: grid; gap: 2px; }
.fd-tname a { font-weight: 600; color: var(--fm-ink); text-decoration: none; }
.fd-tname a:hover { color: var(--fm-navy); text-decoration: underline; }
.fd-tname small { font-size: 12px; color: var(--fm-muted); }
.fd-table .btn.sm { width: 36px; height: 34px; padding: 0; }
.fd-incart { display: inline-flex; align-items: center; gap: 4px; color: var(--fm-green-text); font-weight: 600; font-size: 13px; text-decoration: none; }

/* ---------------------------------------------------------------- карточка корма */
.fd-prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; }
.fd-prod-ph { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .92; background: linear-gradient(180deg, #F7FAFC, #E9F1F7); border-radius: var(--r-xl); position: sticky; top: 84px; }
.fd-prod-ph img { max-height: 84%; max-width: 76%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(11, 74, 120, .16)); }
.fd-prod-ph .fd-tile-badges { top: 16px; left: 16px; }
.fd-prod-info { display: flex; flex-direction: column; gap: 14px; }
.fd-intro { font-size: 16px; color: var(--fm-ink-2); }
.fd-care { display: flex; flex-wrap: wrap; gap: 6px; }
.fd-buy { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; border-radius: var(--r-lg); }
.fd-buy-l { font-size: 13px; font-weight: 600; color: var(--fm-muted); }
.fd-ladder { margin: 0; display: grid; gap: 0; border: 1px solid var(--fm-line-soft); border-radius: var(--r-sm); overflow: hidden; }
.fd-ladder div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--fm-line-soft); font-size: 14px; }
.fd-ladder div:last-child { border-bottom: 0; }
.fd-ladder dt { color: var(--fm-ink-2); }
.fd-ladder dd { margin: 0; font-variant-numeric: tabular-nums; }
.fd-ladder dd b { font-size: 20px; color: var(--fm-ink); }
.fd-ladder dd s { color: var(--fm-muted); }
.fd-ladder div.promo { background: var(--fm-orange-soft); }
.fd-ladder div.promo dt, .fd-ladder div.promo dd b { color: var(--fm-orange-soft-text); }
.fd-saveline { font-size: 14px; color: var(--fm-ink-2); }
.fd-saveline b { color: var(--fm-green-text); }
.fd-buy-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fd-buy-row .fd-stepper { height: 52px; }
.fd-fav-b[aria-pressed="true"] { color: #D1344B; border-color: #F1B9C2; }
.fd-fav-b[aria-pressed="true"] svg { fill: currentColor; }
.fd-incart-line { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fm-green-text); }
.fd-calc { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-lg); text-decoration: none; color: var(--fm-ink); }
.fd-calc > svg:first-child { color: var(--fm-orange); flex: none; }
.fd-calc span { flex: 1; display: grid; }
.fd-calc small { color: var(--fm-muted); font-size: 13px; }
.fd-details { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.fd-details > section { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fd-allpacks { overflow-x: auto; }
.fd-details p { font-size: 14px; color: var(--fm-ink-2); }
.fd-allpacks { grid-column: 1 / -1; }
.fd-nutr { width: 100%; border-collapse: collapse; font-size: 14px; }
.fd-nutr td { padding: 7px 0; border-bottom: 1px solid var(--fm-line-soft); }
.fd-energy { font-size: 13px !important; }
.fd-similar { display: flex; flex-direction: column; gap: 12px; }
.fd-mini { display: flex; flex-direction: column; gap: 6px; padding: 14px; text-decoration: none; color: var(--fm-ink); border-radius: var(--r-lg); }
.fd-mini img { height: 120px; width: 100%; object-fit: contain; margin-bottom: 4px; }
.fd-mini b { font-size: 14px; line-height: 1.3; }
.fd-mini .fd-now { font-size: 17px; }

/* ---------------------------------------------------------------- шаги заказа, корзина */
.fd-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; align-items: center; counter-reset: s; }
.fd-steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--fm-muted); }
.fd-steps li:not(:last-child)::after { content: ""; width: 40px; height: 2px; background: var(--fm-line); margin-left: 4px; }
.fd-steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--fm-line-input); font-size: 13px; }
.fd-steps li.cur { color: var(--fm-navy); }
.fd-steps li.cur span { background: var(--fm-navy); border-color: var(--fm-navy); color: #fff; }
.fd-steps li.done { color: var(--fm-green-text); }
.fd-steps li.done span { background: var(--fm-ok); border-color: var(--fm-ok); color: #fff; }
.fd-steps li.done::after { background: var(--fm-ok); }
.fd-cart, .fd-co { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.fd-lines { list-style: none; margin: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; }
.fd-lines li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 120px 44px; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--fm-line-soft); }
.fd-lines li:last-child { border-bottom: 0; }
.fd-line-ph img { width: 72px; height: 72px; object-fit: contain; background: var(--fm-surface-3); border-radius: 10px; padding: 4px; }
.fd-line-main { display: grid; gap: 2px; min-width: 0; }
.fd-line-main a { color: var(--fm-ink); text-decoration: none; }
.fd-line-main a:hover b { color: var(--fm-navy); text-decoration: underline; }
.fd-line-meta { font-size: 13px; color: var(--fm-muted); display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.fd-line-sum { display: grid; text-align: right; font-variant-numeric: tabular-nums; }
.fd-line-sum s { font-size: 13px; }
.fd-sum { padding: 20px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 84px; border-radius: var(--r-lg); }
.fd-sum h2 { font-size: 18px; color: var(--fm-navy); }
.fd-sum dl, .fd-ord-tot { margin: 0; display: grid; gap: 8px; }
.fd-sum dl div, .fd-ord-tot div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; align-items: baseline; }
.fd-sum dt { display: inline-flex; align-items: center; gap: 6px; color: var(--fm-ink-2); }
.fd-sum dd, .fd-ord-tot dd { margin: 0; font-variant-numeric: tabular-nums; }
.fd-sum .tot, .fd-ord-tot .tot { border-top: 1px solid var(--fm-line); padding-top: 10px; margin-top: 2px; }
.fd-sum .tot dt, .fd-ord-tot .tot dt { font-weight: 600; color: var(--fm-ink); }
.fd-sum .tot dd, .fd-ord-tot .tot dd { font-size: 22px; font-weight: 700; }
.fd-sum-note { font-size: 13px; }
.fd-sum .btn.lg { width: 100%; white-space: normal; height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; text-align: center; line-height: 1.3; }

/* ---------------------------------------------------------------- наличие */
.fd-dists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fd-dist { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--dc); border-radius: var(--r-md); opacity: .72; }
.fd-dist.on { opacity: 1; box-shadow: var(--shadow-soft); }
.fd-dist small { color: var(--fm-muted); font-size: 13px; }
.fd-dist > span { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.fd-av-wrap { overflow-x: auto; border-radius: var(--r-lg); }
.fd-av { width: 100%; border-collapse: collapse; font-size: 14px; }
.fd-av th { padding: 12px; font-size: 13px; font-weight: 700; color: var(--fm-ink-2); border-bottom: 1px solid var(--fm-line); background: var(--fm-surface-3); text-align: left; white-space: nowrap; }
.fd-av th.c { text-align: center; }
.fd-av th .fd-dot { margin-right: 6px; }
.fd-av td { padding: 10px 12px; border-bottom: 1px solid var(--fm-line-soft); }
.fd-av td.na { color: var(--fm-muted); font-size: 13px; }
.fd-av-name { display: flex; gap: 10px; align-items: center; min-width: 240px; }
.fd-av-name img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.fd-av-name span { display: grid; }
.fd-av-name b { font-weight: 600; font-size: 14px; }
.fd-av-name small { color: var(--fm-muted); font-size: 13px; }
.fd-pick { display: inline-grid; justify-items: center; gap: 1px; min-width: 132px; padding: 8px 10px; border: 1px solid var(--fm-line-input-2); border-radius: 10px; cursor: pointer; position: relative; background: #fff; }
.fd-pick input { position: absolute; opacity: 0; pointer-events: none; }
.fd-pick-q { font-weight: 700; font-variant-numeric: tabular-nums; }
.fd-pick small { font-size: 12px; color: var(--fm-muted); }
.fd-pick.ok .fd-pick-q { color: var(--fm-green-text); }
.fd-pick.low .fd-pick-q { color: var(--fm-orange-text); }
.fd-pick:hover { border-color: var(--fm-blue); }
.fd-pick.on { border-color: var(--fm-navy); background: var(--fm-sky); box-shadow: inset 0 0 0 1px var(--fm-navy); }
.fd-pick:focus-within { outline: 2px solid var(--fm-blue); outline-offset: 2px; }
.fd-av-cards { display: none; }
.fd-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- оформление и заказы */
.fd-co-groups { display: flex; flex-direction: column; gap: 16px; }
.fd-co-g { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--dc); border-radius: var(--r-lg); }
.fd-co-g > header { display: flex; align-items: center; gap: 12px; }
.fd-co-g > header div { flex: 1; display: grid; }
.fd-co-g h2 { font-size: 18px; color: var(--fm-navy); }
.fd-co-g header small { color: var(--fm-muted); font-size: 13px; }
.fd-co-g header > b { font-size: 18px; font-variant-numeric: tabular-nums; }
.fd-co-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fd-co-items li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--fm-line-soft); font-size: 14px; }
.fd-co-items li:last-child { border-bottom: 0; }
.fd-co-items img { object-fit: contain; }
.fd-co-items span { display: grid; }
.fd-co-items small { color: var(--fm-muted); font-size: 13px; }
.fd-co-items a { color: var(--fm-ink); font-weight: 600; text-decoration: none; }
.fd-co-items b { font-variant-numeric: tabular-nums; }
.fd-co-ship { display: flex; flex-direction: column; gap: 10px; }
.fd-pickup { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; background: var(--fm-surface-3); border-radius: 10px; font-size: 14px; }
.fd-pickup svg { flex: none; color: var(--fm-orange); margin-top: 2px; }
.fd-sent { align-items: flex-start; max-width: 760px; }
.fd-sent p { color: var(--fm-ink-2); }
.fd-sent-list { list-style: none; margin: 4px 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.fd-sent-list a { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--fm-line); border-radius: var(--r-md); text-decoration: none; color: var(--fm-ink); }
.fd-sent-list span:nth-child(2) { color: var(--fm-muted); font-size: 14px; }
.fd-orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fd-orders li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-lg); }
.fd-ord-main { flex: 1; display: grid; grid-template-columns: 130px minmax(160px, 1fr) minmax(150px, 1fr) 130px 120px; gap: 12px; align-items: center; text-decoration: none; color: var(--fm-ink); min-width: 0; }
.fd-ord-main:hover .fd-ord-id b { color: var(--fm-navy); text-decoration: underline; }
.fd-ord-id, .fd-ord-dist { display: grid; }
.fd-ord-id small, .fd-ord-dist small { color: var(--fm-muted); font-size: 13px; }
.fd-ord-dist { grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.fd-ord-dist small { grid-column: 2; font-weight: 400; }
.fd-ord-imgs { display: flex; align-items: center; gap: 2px; }
.fd-ord-imgs img { width: 36px; height: 36px; object-fit: contain; background: var(--fm-surface-3); border-radius: 8px; }
.fd-ord-imgs small { margin-left: 8px; color: var(--fm-muted); font-size: 13px; }
.fd-orders .pill { justify-self: start; }
.fd-ord-sum { text-align: right; font-variant-numeric: tabular-nums; }
.fd-ord { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.fd-ord-col { display: flex; flex-direction: column; gap: 16px; }
.fd-ord-col .mk-box { display: flex; flex-direction: column; gap: 10px; }
.fd-ord-db { border-top: 4px solid var(--dc); }
.fd-ord-db a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.fd-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fd-timeline li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; position: relative; color: var(--fm-muted); }
.fd-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 32px; bottom: -8px; width: 2px; background: var(--fm-line); }
.fd-timeline li.done:not(:last-child)::after { background: var(--fm-ok); }
.fd-tl-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--fm-line-input); background: #fff; display: grid; place-items: center; color: #fff; }
.fd-timeline li.done .fd-tl-dot { background: var(--fm-ok); border-color: var(--fm-ok); }
.fd-timeline li.cancel .fd-tl-dot { background: #8E3B46; border-color: #8E3B46; }
.fd-timeline li.done { color: var(--fm-ink); }
.fd-timeline li.cur b { color: var(--fm-navy); }
.fd-timeline small { font-size: 13px; color: var(--fm-muted); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- скидки и акции */
.pr-mine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.pr-level { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(135deg, var(--fm-navy), #155A8E); color: var(--fm-on-navy); border: 0; border-radius: var(--r-xl); }
.pr-level-k { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fm-on-navy-2); }
.pr-level-row { display: flex; align-items: baseline; gap: 16px; }
.pr-level-name { font-size: 40px; line-height: 1; color: #fff; }
.pr-level-pct { font-size: 40px; line-height: 1; font-weight: 700; color: #FFB37A; }
.pr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); }
.pr-stats dt { font-size: 12px; color: var(--fm-on-navy-2); }
.pr-stats dd { margin: 0; font-size: 18px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.pr-next { display: flex; flex-direction: column; gap: 12px; }
.pr-goal { display: grid; gap: 6px; font-size: 14px; }
.pr-hint { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--fm-ink-2); background: var(--fm-surface-3); border-radius: 10px; padding: 10px 12px; }
.pr-hint svg { flex: none; margin-top: 1px; color: var(--fm-blue); }
.pr-levels { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pr-levels li { padding: 16px; display: flex; flex-direction: column; gap: 6px; border-radius: var(--r-lg); position: relative; }
.pr-levels li b { font-size: 26px; color: var(--fm-navy); }
.pr-levels li small { font-size: 13px; color: var(--fm-muted); }
.pr-lv-k { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--fm-ink-2); }
.pr-levels li.cur { border-color: var(--fm-orange); box-shadow: inset 0 0 0 1px var(--fm-orange); }
.pr-levels li.past { opacity: .7; }
.pr-levels .pill { align-self: flex-start; }
.pr-strip { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; color: var(--fm-ink); border-left: 5px solid var(--pc); border-radius: var(--r-lg); }
.pr-strip > svg:first-child { color: var(--pc); }
.pr-strip span { flex: 1; display: grid; }
.pr-strip small { color: var(--fm-muted); }
.pr-banner { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 28px 30px; border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--pc), color-mix(in srgb, var(--pc) 70%, #000)); color: #fff; }
.pr-banner-art { position: absolute; right: -10px; top: -10px; width: 260px; height: 260px; pointer-events: none; }
.pr-banner-txt { position: relative; display: flex; flex-direction: column; gap: 6px; max-width: 620px; }
.pr-banner-k { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.pr-banner h2 { font-size: 32px; line-height: 1.15; }
.pr-mech { font-size: 18px; font-weight: 600; }
.pr-per { display: inline-flex; gap: 6px; align-items: center; opacity: .9; }
.pr-banner-side { position: relative; display: grid; gap: 6px; }
.pr-banner-side small { font-size: 13px; opacity: .85; }
.pr-timer { display: flex; gap: 6px; }
.pr-timer span { display: grid; justify-items: center; min-width: 60px; padding: 8px 6px; background: rgba(255, 255, 255, .16); border-radius: 12px; backdrop-filter: blur(4px); }
.pr-timer b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pr-timer small { font-size: 11px; opacity: .85; }
.pr-cols { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.pr-cols > .card { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 84px; }
.pr-cols .btn { align-self: flex-start; }
.pr-list { padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pr-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.pr-terms li { display: flex; gap: 8px; align-items: flex-start; }
.pr-terms svg { color: var(--fm-ok); flex: none; margin-top: 3px; }
.pr-dl { margin: 0; display: grid; gap: 8px; font-size: 14px; }
.pr-dl div { display: flex; justify-content: space-between; gap: 10px; }
.pr-dl dt { color: var(--fm-muted); }
.pr-dl dd { margin: 0; font-weight: 600; text-align: right; }
.pr-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.pr-item { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; text-decoration: none; color: var(--fm-ink); border-radius: var(--r-lg); }
.pr-item:hover { box-shadow: var(--shadow-soft); color: var(--fm-ink); }
.pr-item img { height: 120px; width: 100%; object-fit: contain; margin-bottom: 6px; }
.pr-item-b { position: absolute; top: 10px; left: 10px; }
.pr-item > b { font-size: 14px; line-height: 1.3; }
.pr-item-p { display: flex; gap: 8px; align-items: baseline; margin-top: auto; padding-top: 4px; }
.pr-item-p b { font-size: 18px; color: var(--fm-orange-text); font-variant-numeric: tabular-nums; }
.pr-item-p s { font-size: 13px; color: var(--fm-muted); }
.pr-soon { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; border-left: 5px solid var(--fm-blue); border-radius: var(--r-lg); }
.pr-soon-h { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pr-soon h2 { font-size: 20px; color: var(--fm-navy); }
.pr-soon > p { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--fm-ink-2); }
.pr-soon-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.pr-arch { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pr-arch a { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 0; text-decoration: none; color: var(--fm-ink); border-radius: var(--r-lg); overflow: hidden; }
.pr-arch-bar { align-self: stretch; width: 5px; background: var(--pc); margin: -14px 0; }
.pr-arch-main { flex: 1; display: grid; }
.pr-arch-main small { color: var(--fm-muted); font-size: 13px; }
.pr-arch-mech { font-size: 14px; color: var(--fm-ink-2); }
.pr-mail { display: flex; flex-direction: column; gap: 12px; }
.pr-mail-h { display: grid; gap: 2px; font-size: 13px; color: var(--fm-ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--fm-line-soft); }
.pr-mail-body { border: 1px solid var(--fm-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 0 0 18px; }
.pr-mail-body > *:not(.pr-mail-top) { margin: 0 22px; }
.pr-mail-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; background: var(--fm-navy); color: #fff; font-size: 13px; }
.pr-mail-top b { font-size: 18px; }
.pr-mail-body h3 { font-size: 20px; color: var(--fm-navy); line-height: 1.3; }
.pr-mail-body ul { padding-left: 20px; margin-top: 0; margin-bottom: 0; }
.pr-mail-btn { align-self: flex-start; background: var(--fm-orange); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 600; }
.pr-mail-body small { color: var(--fm-muted); font-size: 12px; }

/* ---------------------------------------------------------------- адаптив */
@media (max-width: 1180px) {
  .fd-cart, .fd-co, .fd-ord { grid-template-columns: minmax(0, 1fr); }
  .fd-sum { position: static; }
  .fd-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-ord-main { grid-template-columns: 120px minmax(140px, 1fr) 120px 110px; }
  .fd-ord-imgs { display: none; }
  .pr-cols { grid-template-columns: minmax(0, 1fr); }
  .pr-cols > .card { position: static; }
}
@media (max-width: 900px) {
  .fd-kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .fd-kindcard { padding: 8px; gap: 4px; border-radius: var(--r-md); }
  .fd-kindcard b { font-size: 12px; hyphens: auto; overflow-wrap: anywhere; }
  .fd-kindcard-b { font-size: 9.5px; padding: 3px 6px; letter-spacing: .02em; }
  .fd-kindcard > span:last-child { display: none; }
  .fd-layout { grid-template-columns: minmax(0, 1fr); }
  .fd-ftoggle { display: inline-flex; }
  .fd-filters { display: none; }
  .fd-filters.open { display: flex; position: fixed; inset: 60px 0 64px; z-index: 47; max-height: none; border-radius: 0; top: 60px; }
  .fd-filters-done { display: inline-flex; position: sticky; bottom: 0; }
  .fd-sort { margin-left: 0; }
  .fd-sort { font-size: 0; }
  .fd-found { flex-basis: 100%; order: 9; }
  .fd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fd-tile-body { padding: 10px; gap: 6px; }
  .fd-tile h3 { font-size: 14px; }
  .fd-now { font-size: 17px; }
  .fd-add { height: 38px; font-size: 13px; padding: 0 8px; }
  .fd-tile .fd-stepper span { font-size: 12px; min-width: 0; }
  .fd-tile .fd-stepper button { width: 30px; }
  .fd-tile-badges { left: 6px; top: 6px; }
  .fd-prod { grid-template-columns: minmax(0, 1fr); }
  .fd-prod-ph { position: relative; top: 0; aspect-ratio: 1 / .7; }
  .fd-details { grid-template-columns: minmax(0, 1fr); }
  .fd-buy-row .btn.lg { flex: 1; }
  .fd-steps li:not(:last-child)::after { width: 16px; }
  .fd-steps li:not(.cur) { font-size: 0; gap: 0; }
  .fd-steps li:not(.cur) span { font-size: 13px; }
  .fd-steps li:not(:last-child)::after { margin-left: 8px; }
  .fd-allpacks .fd-table td, .fd-allpacks .fd-table th { padding: 8px 6px; }
  .fd-lines li { grid-template-columns: 56px minmax(0, 1fr) 40px; grid-template-areas: "ph main del" "ph step sum"; row-gap: 8px; }
  .fd-line-ph { grid-area: ph; align-self: start; }
  .fd-line-ph img { width: 56px; height: 56px; }
  .fd-line-main { grid-area: main; }
  .fd-lines .fd-stepper { grid-area: step; justify-self: start; }
  .fd-line-sum { grid-area: sum; grid-column: 2 / 4; justify-self: end; }
  .fd-lines .icon-btn { grid-area: del; width: 40px; height: 40px; }
  .fd-dists { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .fd-dist { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 8px; padding: 10px 12px; }
  .fd-dist small { flex-basis: 100%; order: 3; }
  .fd-av-wrap { display: none; }
  .fd-co-g > header .fd-dot { display: none; }
  .fd-av-cards { display: flex; flex-direction: column; gap: 10px; }
  .fd-avc { padding: 12px; display: flex; flex-direction: column; gap: 8px; border-radius: var(--r-lg); }
  .fd-pick.row { display: grid; grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; column-gap: 8px; min-width: 0; width: 100%; }
  .fd-pick.row small { grid-column: 2 / 4; }
  .fd-pick.row .fd-pick-q { justify-self: end; }
  .fd-nav .btn { flex: 1; }
  .fd-orders li { flex-direction: column; align-items: stretch; }
  .fd-ord-main { grid-template-columns: 1fr auto; row-gap: 8px; }
  .fd-ord-dist { grid-column: 1; }
  .fd-orders .pill { grid-row: 1; grid-column: 2; justify-self: end; }
  .fd-ord-sum { grid-column: 2; grid-row: 2; }
  .fd-sent-list a { grid-template-columns: 1fr auto; }
  .pr-mine { grid-template-columns: minmax(0, 1fr); }
  .pr-level-name, .pr-level-pct { font-size: 32px; }
  .pr-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-banner { padding: 22px 20px; }
  .pr-banner h2 { font-size: 24px; }
  .pr-timer span { min-width: 54px; }
  .pr-timer b { font-size: 22px; }
  .pr-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-arch a { flex-wrap: wrap; gap: 6px 12px; }
  .pr-arch-mech { flex-basis: 100%; order: 3; padding-left: 21px; }
  .pr-arch-main { padding-left: 4px; }
}
