/* Композиция «Доставка еды». Общие карточки, формы и галерея остаются компонентами профиля. */
.food-delivery-profile {
    --food-ink:#222820;
    --food-muted:#71776d;
    --food-paper:#fafbf8;
    --food-line:#e6eae2;
    --food-brand:#0073b8;
    padding-bottom:64px;
    font-size:14px;
    line-height:1.6;
}
.food-delivery-profile a:focus-visible,.food-delivery-profile button:focus-visible { outline-color:var(--food-brand) }
.food-delivery-profile .food-preview { background:#edf5fa; color:#385a70 }
.food-delivery-profile .food-breadcrumb { display:flex; padding:12px 0; font-size:11px }
.food-delivery-profile .food-button { border-radius:9px; min-height:44px; font-size:12px; padding:10px 16px }
.food-delivery-profile .food-button:hover { background:#005f96 }
.food-delivery-profile .food-button--quiet { background:#fff; border-color:var(--food-line); color:var(--food-ink)!important }
.food-delivery-profile .food-button--quiet:hover { background:#f0f5f6 }
.food-delivery-profile .food-dialog { background:#fff }
.food-delivery-profile .food-dialog-body p + p { margin-top:12px }
.food-delivery-profile .food-about-text { font-size:13px; line-height:1.8 }
.food-delivery-profile .food-about-text a { color:var(--food-brand) }
.food-delivery-profile .food-review { background:#fff; border:1px solid var(--food-line); border-radius:12px; padding:18px; min-width:0 }
.food-delivery-profile .food-review-avatar { background:#eff4ed }
.food-delivery-profile .food-review-meta strong { overflow-wrap:anywhere }
.food-delivery-profile .food-review-score { color:#b68d30; white-space:nowrap }
.food-delivery-profile .food-review-text { font-size:13px; overflow-wrap:anywhere }
.food-delivery-profile .food-company-response { background:#f2f6f7 }
.delivery-intro { padding:0 0 20px; display:grid; gap:28px; align-items:center }
.delivery-intro.has-gallery { grid-template-columns:minmax(0,1fr) 330px }
.delivery-intro > div { min-width:0 }
.delivery-title-row { display:flex; align-items:center; gap:14px }
.delivery-title-row h1 { font-size:clamp(28px,3vw,42px); font-weight:800; letter-spacing:-1px; line-height:1.15; overflow-wrap:anywhere }
.delivery-title-row > .delivery-text-link { margin-left:auto; flex:none }
.delivery-logo { width:48px; height:48px; object-fit:contain; border-radius:10px; flex:none }
.delivery-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; color:var(--food-muted); font-size:12px; margin-top:10px }
.delivery-rating { color:#987016; font-weight:600 }
.delivery-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:16px }
.delivery-cover { overflow:hidden; padding:0; border:0; border-radius:14px; height:122px; background:#f1f3ed }
.delivery-cover img { width:100%; height:100%; object-fit:cover }
.food-delivery-profile .delivery-text-link { color:var(--food-brand); font-size:12px; font-weight:600; text-decoration:none; background:none; border:0; padding:0; display:inline-block; text-align:left }
.delivery-text-link:hover { text-decoration:underline!important }
.delivery-fulfilment { display:flex; align-items:center; gap:24px; border:1px solid var(--food-line); border-radius:12px; background:#fff; padding:14px 16px; margin-bottom:26px }
.delivery-receipt { display:flex; padding:4px; background:#f1f4ef; border-radius:9px; flex:none }
.delivery-receipt a { padding:8px 12px; border-radius:7px; font-size:12px; min-height:40px; display:flex; align-items:center }
.delivery-receipt a:hover { background:#e6f4ff; color:var(--food-brand) }
.delivery-terms { display:flex; align-items:start; gap:24px; flex:1; min-width:0 }
.delivery-terms div { display:flex; flex-direction:column; min-width:0 }
.delivery-terms strong { font-size:13px; font-weight:650; overflow-wrap:anywhere }
.delivery-terms span { font-size:10px; color:var(--food-muted) }
.delivery-order-note { background:#edf5fa; border-radius:10px; padding:14px; margin-bottom:24px!important }
.delivery-layout { display:grid; grid-template-columns:194px minmax(0,1fr); gap:30px; align-items:start }
.delivery-layout:not(:has(.delivery-sidebar)) { grid-template-columns:minmax(0,1fr) }
.delivery-content { min-width:0 }
.food-delivery-profile #menu { scroll-margin-top:calc(var(--food-header-height) + var(--food-nav-height) + 24px) }
.delivery-profile-actions { display:flex; justify-content:flex-end; margin-top:32px; font-size:12px; color:var(--food-muted) }
.delivery-profile-actions button { border:0; background:none; padding:0 }
.delivery-sidebar { align-self:stretch }
.delivery-sidebar-inner { position:sticky; top:calc(var(--food-header-height) + 20px) }
.delivery-eyebrow { display:block; color:#738077; text-transform:uppercase; letter-spacing:1.6px; font-size:9px; font-weight:600; margin-bottom:14px }
.delivery-category-nav [data-food-categories] { display:flex; flex-direction:column; gap:5px; max-height:50vh; overflow:auto; overscroll-behavior:contain }
.delivery-category-nav a { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 12px; min-height:44px; font-size:12px; border-radius:8px }
.delivery-category-nav a span { overflow-wrap:anywhere }
.delivery-category-nav a small { color:var(--food-muted); font-size:10px }
.delivery-category-nav a[aria-current] { background:#e6f4ff; color:#17465f }
.delivery-secondary-nav { border-top:1px solid var(--food-line); margin-top:28px; padding:14px 12px; display:grid; gap:4px }
.delivery-secondary-nav a { padding:9px 0; font-size:11px; color:var(--food-muted) }
.delivery-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px }
.delivery-section-heading > div { display:flex; align-items:baseline; flex-wrap:wrap; gap:12px }
.delivery-section-heading p { color:var(--food-muted); font-size:11px }
.delivery-content h2 { font-size:25px; font-weight:700; letter-spacing:-.65px; line-height:1.25 }
.delivery-content h2 small { color:var(--food-muted); font-size:14px; font-weight:400; margin-left:8px }
.delivery-menu-section { padding-bottom:32px; scroll-margin-top:calc(var(--food-header-height) + 22px) }
.delivery-menu-section > h3 { font-size:18px; font-weight:650; margin-bottom:14px; overflow-wrap:anywhere }
.delivery-products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px }
.food-delivery-profile .food-product { border-radius:13px; background:#fff; border-color:var(--food-line); padding:6px; min-width:0 }
.food-delivery-profile .food-product-photo { aspect-ratio:1.45; border-radius:9px; background:#f1f3ed }
.food-delivery-profile .food-product-photo--empty { color:#8b9383; font-size:12px }
.food-delivery-profile .food-product-body { padding:10px 6px 6px; min-width:0 }
.food-delivery-profile .food-product-name h3 { font-size:14px; font-weight:650; line-height:1.45; letter-spacing:0 }
.food-delivery-profile .food-description { order:1; font-size:11px; line-height:1.6; margin-top:7px!important; -webkit-line-clamp:3 }
.food-delivery-profile .food-packing { order:2; margin-top:8px }
.food-delivery-profile .food-product-bottom { order:3; padding-top:20px; gap:6px; flex-wrap:wrap }
.food-delivery-profile .food-price strong { font-size:16px }
.food-delivery-profile .food-price { flex:1 }
.food-delivery-profile .food-quantity { background:#f0f5f3; border-radius:8px; border:0; color:#315564 }
.food-delivery-profile .food-quantity button { width:36px; height:40px; font-size:22px }
.food-delivery-profile .food-quantity[data-count-empty] button[data-food-change="plus"] { width:auto; padding:0 10px; font-size:11px; font-weight:600 }
.food-delivery-profile .food-product-select { border:0; background:#f0f5f3; color:#315564; min-height:40px; border-radius:8px }
.food-delivery-profile .food-product-error { font-size:11px; margin:8px 6px; overflow-wrap:anywhere }
.delivery-section { margin-top:36px; scroll-margin-top:calc(var(--food-header-height) + 20px) }
.delivery-section > h2 { margin-bottom:20px }
.delivery-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:start }
.delivery-news-card { border:1px solid var(--food-line); border-radius:12px; background:#fff; overflow:hidden; min-width:0 }
.delivery-news-card img { width:100%; aspect-ratio:1.6; object-fit:cover }
.delivery-news-card > div { padding:14px }
.delivery-news-card time { color:var(--food-muted); font-size:10px }
.delivery-news-card h3 { font-size:14px; font-weight:650; line-height:1.45; margin:9px 0; overflow-wrap:anywhere }
.delivery-news-card p { color:var(--food-muted); font-size:12px; margin-bottom:14px; overflow-wrap:anywhere }
.delivery-events { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px }
.delivery-promotion { margin-top:36px; background:#e6f4ff; border-radius:14px; padding:26px; display:flex; align-items:center; justify-content:space-between; gap:24px; scroll-margin-top:calc(var(--food-header-height) + 20px) }
.delivery-promotion > div { min-width:0 }
.delivery-promotion .delivery-eyebrow { color:#4585a7; margin-bottom:8px }
.delivery-promotion h2 { font-size:23px; overflow-wrap:anywhere }
.delivery-promotion p { margin:10px 0!important; font-size:12px; overflow-wrap:anywhere }
.delivery-promotion small { color:#5d747b; font-size:11px }
.delivery-promotion .food-button { flex:none }
.delivery-about { display:grid; grid-template-columns:1fr 1.4fr; gap:36px }
.delivery-about .delivery-eyebrow { color:#4585a7; margin-bottom:8px }
.delivery-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px }
.delivery-gallery button { padding:0; border:0; background:#f1f3ed; border-radius:12px; overflow:hidden }
.delivery-gallery img { width:100%; aspect-ratio:1.35; object-fit:cover }
.delivery-reviews { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px }
.delivery-contacts { border-top:1px solid var(--food-line); padding-top:32px; margin-top:48px }
.delivery-contact-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px }
.delivery-contact-grid h3 { font-size:13px; font-weight:650; margin-bottom:12px }
.delivery-contact-grid p { font-size:12px; color:var(--food-muted); margin-bottom:6px; overflow-wrap:anywhere }
.delivery-contact-actions { display:flex; flex-direction:column; align-items:start; gap:9px; overflow-wrap:anywhere }
.delivery-contact-actions h3 { margin-bottom:3px }
.delivery-empty { padding:24px; border:1px solid var(--food-line); border-radius:12px; background:#fff }
.delivery-mobile-cart { display:none }
.food-delivery-profile .cart-drawer-pv { background:#fff }
.food-delivery-profile .cart-drawer-pv > [class*="bg-"] { background:#fff }
@media(max-width:1000px) and (min-width:640px) {
    .delivery-layout { grid-template-columns:160px minmax(0,1fr); gap:20px }
    .delivery-products { grid-template-columns:repeat(2,minmax(0,1fr)) }
    .delivery-fulfilment { gap:14px; flex-wrap:wrap }
    .delivery-intro.has-gallery { grid-template-columns:minmax(0,1fr) 240px }
    .delivery-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media(max-width:639px) {
    .food-delivery-profile { padding-bottom:32px }
    .food-delivery-profile.has-food-cart { padding-bottom:92px }
    .food-delivery-profile .food-wrap { width:calc(100% - 32px) }
    .food-delivery-profile .food-breadcrumb { font-size:9px; gap:7px; padding:10px 0 }
    .food-delivery-profile .food-preview { font-size:10px }
    .food-delivery-profile .food-preview .food-wrap { padding-block:5px }
    .delivery-intro,.delivery-intro.has-gallery { display:block; padding-bottom:16px }
    .delivery-cover { display:none }
    .delivery-logo { width:34px; height:34px }
    .delivery-title-row { gap:9px; flex-wrap:wrap }
    .delivery-title-row h1 { font-size:27px; flex:1; min-width:0 }
    .delivery-title-row > .delivery-text-link { font-size:10px }
    .delivery-meta { font-size:10px; gap:7px 10px; margin-top:8px }
    .delivery-actions { margin-top:12px; gap:8px }
    .food-delivery-profile .food-button { min-height:42px; padding:10px 13px; font-size:11px }
    .delivery-fulfilment { flex-wrap:wrap; gap:12px; padding:10px; margin-bottom:16px }
    .delivery-receipt { order:0 }
    .delivery-receipt a { padding:6px 10px; font-size:11px }
    .delivery-fulfilment > .delivery-text-link { order:1; margin-left:auto; font-size:11px }
    .delivery-terms { order:2; width:100%; flex-basis:100%; gap:14px; flex-wrap:wrap }
    .delivery-terms strong { font-size:12px }
    .delivery-terms span { font-size:9px }
    .delivery-layout { display:block }
    .delivery-sidebar { position:sticky; top:var(--food-header-height); z-index:35; margin:0 -16px; padding:8px 16px; background:#fafbf8f5; border-block:1px solid var(--food-line); backdrop-filter:blur(10px) }
    .delivery-sidebar-inner { position:static }
    .delivery-sidebar .delivery-eyebrow,.delivery-secondary-nav { display:none }
    .delivery-category-nav [data-food-categories] { flex-direction:row; gap:5px; max-height:none; scrollbar-width:none }
    .delivery-category-nav a { flex:none; white-space:nowrap; min-height:40px; padding:9px 12px; font-size:11px; background:#f0f3ed; border-radius:7px }
    .delivery-category-nav a small { display:none }
    .delivery-category-nav a[aria-current] { color:#fff; background:var(--food-brand) }
    #menu > .delivery-section-heading { margin-top:18px }
    #menu > .delivery-section-heading h2 { font-size:23px }
    #menu > .delivery-section-heading .food-button { display:none }
    .delivery-menu-section { padding-bottom:22px; scroll-margin-top:calc(var(--food-header-height) + var(--food-nav-height) + 24px) }
    .delivery-menu-section > h3 { font-size:17px; margin-bottom:4px }
    .delivery-products { display:block }
    .food-delivery-profile .food-product { display:grid; grid-template-columns:minmax(0,1fr) 106px; grid-template-rows:auto auto; gap:0 14px; padding:17px 0; border:0; border-bottom:1px solid var(--food-line); border-radius:0; background:transparent; box-shadow:none }
    .food-delivery-profile .food-product-photo { grid-column:2; grid-row:1; width:106px; height:90px; aspect-ratio:auto; border-radius:9px }
    .food-delivery-profile .food-product-photo--empty { font-size:10px }
    .food-delivery-profile .food-product-body { display:contents }
    .food-delivery-profile .food-product-name { grid-column:1; grid-row:1; align-self:start; padding-right:0 }
    .food-delivery-profile .food-product-name h3 { font-size:13px }
    .food-delivery-profile .food-description { grid-column:1; grid-row:2; -webkit-line-clamp:3; font-size:10px; margin:6px 0!important }
    .food-delivery-profile .food-packing { grid-column:1; grid-row:3; font-size:10px; margin-top:0 }
    .food-delivery-profile .food-product-photo { grid-row:1 / 4 }
    .food-delivery-profile .food-product-bottom { grid-column:1 / 3; grid-row:4; padding-top:10px; flex-wrap:nowrap }
    .food-delivery-profile .food-price strong { font-size:14px }
    .food-delivery-profile .food-product-error { grid-column:1 / 3 }
    .food-delivery-profile .food-quantity button { height:40px; width:36px }
    .food-delivery-profile .food-quantity[data-count-empty] button[data-food-change="plus"] { min-width:106px }
    .food-delivery-profile .food-product-select { min-width:106px; text-align:center }
    .delivery-section { margin-top:26px; scroll-margin-top:calc(var(--food-header-height) + 72px) }
    .delivery-content h2 { font-size:22px }
    .delivery-section-heading { flex-wrap:wrap; gap:8px; margin-bottom:15px }
    .delivery-news-grid { grid-template-columns:1fr; gap:16px }
    .delivery-news-card img { aspect-ratio:1.8 }
    .delivery-news-card h3 { font-size:16px }
    .delivery-news-card p { font-size:12px }
    .delivery-promotion { display:block; padding:20px; margin-top:26px }
    .delivery-promotion h2 { font-size:21px }
    .delivery-promotion .food-button { margin-top:16px }
    .delivery-about { display:block }
    .delivery-about > div + div { margin-top:14px }
    .delivery-gallery { gap:8px }
    .delivery-gallery img { aspect-ratio:1 }
    .delivery-gallery button { border-radius:9px }
    .delivery-reviews { grid-template-columns:1fr }
    .delivery-contact-grid { grid-template-columns:1fr; gap:22px }
    .delivery-contacts { margin-top:32px; padding-top:25px }
    .delivery-mobile-cart { position:fixed; display:flex; align-items:center; justify-content:space-between; gap:14px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); left:16px; right:16px; z-index:45; background:var(--food-brand); color:#fff!important; padding:14px 18px; border-radius:12px; box-shadow:0 6px 24px #12486b30; min-height:52px; font-size:13px; font-weight:600 }
    .delivery-mobile-cart [data-food-basket-count] { border-radius:6px; padding:2px 8px; background:#ffffff26 }
}
