/* ===========================
   CARRY — Client Site CSS
   Matches Tilda carry.ck.ua visual style
   Primary: #EE5342 | Font: PT Sans | BG: #fcfcfc
=========================== */

/* ── Design tokens (redesign 2026) ── */
:root {
    --red: #EE5342;
    --red-d: #D63D2D;
    --coral: #EF6A52;
    --coral-2: #E8543E;
    --coral-soft: #FFF1EE;
    --ink: #1A1A1A;
    --mut: #6B6B70;
    --dim: #9A9AA0;
    --line: #ECEBE9;
    --field: #F5F3F1;
    --green: #27AE60;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'PT Sans', Arial, sans-serif;
    color: #020202;
    background: #fcfcfc;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
a:hover { color: #EE5342; }

img { max-width: 100%; display: block; }

/* ── Container ── */
.c-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Buttons ── */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 5px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity .18s, background-color .18s;
    white-space: nowrap;
}
.c-btn--red {
    background: #EE5342;
    color: #fff;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 16px;
}
.c-btn--red:hover { opacity: .88; color: #fff; }

/* Hero CTA — white button */
.c-btn--hero {
    background: #fff;
    color: #EE5342;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 16px;
}
.c-btn--hero:hover { background: rgba(255,255,255,.9); color: #EE5342; }

/* ── HOW IT WORKS ── */
.c-how {
    background: #fff;
    padding: 44px 20px;
    border-bottom: 1px solid #f0ece9;
}
.c-how__steps {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.c-how__step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}
.c-how__icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}
.c-how__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #EE5342;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.c-how__title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}
.c-how__desc {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}
.c-how__arrow {
    font-size: 24px;
    color: #ddd;
    padding-top: 28px;
    flex-shrink: 0;
    align-self: flex-start;
}

/* Product card buttons */
.c-btn--detail {
    background: #000;
    color: #fff;
    flex: 1;
}
.c-btn--detail:hover { background: #c49300; color: #fff; }

.c-btn--cart {
    background: transparent;
    color: #000;
    border: 1px solid #000;
    flex: 1;
}
.c-btn--cart:hover { background: #000; color: #fff; }

/* ── Badges ── */
.c-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.c-badge--new   { background: #EE5342; color: #fff; }
.c-badge--open  { background: #27ae60; color: #fff; }
.c-badge--closed{ background: rgba(0,0,0,.55); color: #fff; }
.c-badge--info  { background: rgba(0,0,0,.45); color: #fff; }
.c-badge--sale  { background: #EE5342; color: #fff; }
.c-badge--combo { background: #f39c12; color: #fff; }

/* ── TOPBAR ── */
.c-topbar {
    background: #fdf5f3;
    border-bottom: 1px solid #f0e6e3;
    padding: 9px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    font-family: 'PT Sans', sans-serif;
}
.c-topbar__icon { font-size: 15px; line-height: 1; }
.c-topbar__text { font-weight: 400; }

/* ── HEADER ── */
.c-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.c-header__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    height: 74px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.c-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    text-decoration: none;
}
.c-header__logo-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}
.c-header__logo-carry {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.5px;
    line-height: 1;
    font-style: normal;
}
.c-header__nav {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: auto;
}
.c-header__nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    padding: 7px 14px;
    border-radius: 50px;
    transition: color .15s, background .15s;
    white-space: nowrap;
}
.c-header__nav-link:hover {
    color: #EE5342;
    background: rgba(238,83,66,0.08);
}
.c-header__nav-link--login {
    color: #EE5342;
    border: 2px solid #EE5342;
    padding: 5px 14px;
    margin-left: 8px;
}
.c-header__nav-link--login:hover {
    background: #EE5342;
    color: #fff;
}

.c-header__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 12px;
    flex-shrink: 0;
}
.c-header__burger span {
    display: block;
    height: 2px;
    background: #444;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.c-header__burger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.c-header__burger.is-active span:nth-child(2) { opacity: 0; }
.c-header__burger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.c-header__mobile-nav {
    display: none;
    flex-direction: column;
    padding: 12px 20px 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
    gap: 4px;
    background: #fff;
}
.c-header__mobile-nav.is-open { display: flex; }
.c-header__mobile-nav .c-header__nav-link {
    color: #444;
    border-radius: 10px;
}

/* ── HERO ── */
.c-hero {
    background: linear-gradient(160deg, var(--coral) 0%, var(--coral-2) 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 52px 0 60px;
    position: relative;
    overflow: hidden;
}
.c-hero::before {
    content: '';
    position: absolute;
    right: -100px; top: -120px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    pointer-events: none;
}
.c-hero::after {
    content: '';
    position: absolute;
    right: 40px; bottom: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}
.c-hero__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.c-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.c-hero__text { flex: 1; }
.c-hero__title {
    font-size: clamp(34px, 5.2vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 14px;
}
.c-hero__sub {
    font-size: 18px;
    color: rgba(255,255,255,.82);
    margin-bottom: 0;
}
.c-hero__stats {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.c-hero__stat {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 22px;
    padding: 20px 26px;
    text-align: center;
    backdrop-filter: blur(8px);
    min-width: 140px;
    transition: background .2s;
}
.c-hero__stat:hover { background: rgba(255,255,255,.22); }
.c-hero__stat-val {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}
.c-hero__stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.8);
    line-height: 1.3;
}

/* ══════════════════════════════════
   PROMOS / BANNERS SECTION
══════════════════════════════════ */
.c-promos {
    background: #f7f5f3;
    padding: 56px 0 64px;
    border-bottom: 1px solid #ece8e5;
}

.c-promos__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}
.c-promos__title {
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 700;
    color: #111;
    line-height: 1.25;
}
.c-promos__title span {
    color: #EE5342;
}
.c-promos__nav {
    display: flex;
    gap: 10px;
}
.c-promos__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: border-color .15s, color .15s;
    flex-shrink: 0;
}
.c-promos__arrow:hover {
    border-color: #EE5342;
    color: #EE5342;
}

.c-promos__track-wrap {
    overflow-x: clip;
    margin: 0 -20px;
    padding: 0 20px;
}
.c-promos__track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 20px 20px 28px; /* 10.09: запас під тінь карток, щоб overflow не різав */
    margin: -20px -20px -10px;
    scroll-padding: 0 20px; /* snap першої картки — по контенту, не по краю треку */
}
.c-promos__track::-webkit-scrollbar { display: none; }

/* Promo card */
.c-promo-card {
    flex-shrink: 0;
    width: calc((100% - 44px) / 3); /* 12.09: 3 картки на ширину контейнера, gap 22 як у сітці закладів */
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    transition: transform .2s, box-shadow .2s;
}
.c-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}
.c-promo-card__img {
    width: 100%;
    aspect-ratio: 1040 / 800; /* WEB-68: Картка 1,3:1 з image_card (спека MKT-11 §6.1) */
    background-size: cover;
    background-position: center;
    background-color: #e8705e;
}
/* Картки для сайту не завантажили — Стрічка 2:1 цілком поверх розмитої копії себе (§6.3) */
.c-promo-card__img--fit { position: relative; overflow: hidden; }
.c-promo-card__img--fit::before,
.c-promo-card__img--fit::after { content: ''; position: absolute; inset: 0; background: var(--img) center / cover no-repeat; }
.c-promo-card__img--fit::before { inset: -24px; filter: blur(18px); }
.c-promo-card__img--fit::after { background-size: contain; }
.c-promo-card__body {
    position: relative;
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.c-promo-card__text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    flex: 1;
}
.c-promo-card__btn {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 50px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 700;
    margin-top: auto;
}

/* Лого закладу, коли logo_overlay (§6.2): коло на нижньому краї картинки — половина на фото, половина на тілі.
   Спокійний варіант (Danylo 29.09: кільце з сяйвом «занадто яскраво») — біле коло з тінню, лого всередині.
   «Вискакує» при першій появі на екрані (js-logo-pop / is-in ставить carry-ui.js), на hover картки підстрибує.
   Остаточний стиль — за вибором Danylo (спека §5.2/§6.2). */
.c-promo-card__body--logo { padding-top: 44px; }
.c-promo-card__logo {
    position: absolute;
    top: -32px;
    left: 20px;
    width: 64px;
    height: 64px;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .25s ease;
}
.c-promo-card__glow { display: none; }
.c-promo-card__ring { position: absolute; inset: 0; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.c-promo-card__logo img {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 0 0 2px #fff;
}
.js-logo-pop .c-promo-card__logo:not(.is-in) { opacity: 0; transform: scale(.6); }
@keyframes c-logo-hop { 0%, 100% { transform: none; } 50% { transform: translateY(-4px) rotate(-6deg); } }
.c-promo-card:hover .c-promo-card__logo { animation: c-logo-hop .3s ease; }
@media (max-width: 560px) {
    .c-promo-card__body--logo { padding-top: 38px; }
    .c-promo-card__logo { top: -26px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
    .c-promo-card__logo { transition: none; animation: none !important; }
}

/* ── CONTACT SECTION ── */
.c-contact {
    background: #fdf5f3;
    padding: 48px 0;
    border-top: 1px solid #f0e6e3;
}
.c-contact__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}
.c-contact__block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 180px;
}
.c-contact__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #EE5342;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.c-contact__icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.c-contact__label {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
    font-weight: 700;
}
.c-contact__value {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}
.c-contact__value:hover {
    color: #EE5342;
}
.c-contact__divider {
    width: 1px;
    height: 52px;
    background: #e8d8d5;
    align-self: center;
}

@media (max-width: 768px) {
    .c-promo-card { width: calc((100% - 22px) / 2); }
    .c-contact__divider { display: none; }
    .c-contact__inner { grid-template-columns: 1fr; gap: 20px; }
}

/* ── RESTAURANTS SECTION ── */
.c-restaurants { padding: 56px 0 40px; background: #fcfcfc; }

/* ── SEARCH (hero) ── */
.c-search {
    position: relative;
    width: 100%;
}
.c-search__icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #EE5342;
    pointer-events: none;
    flex-shrink: 0;
}
.c-search__input {
    width: 100%;
    padding: 17px 50px 17px 56px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    color: #020202;
    background: rgba(255,255,255,.95);
    box-shadow: 0 8px 32px rgba(0,0,0,.20);
    transition: background .15s, box-shadow .15s, border-color .15s;
    outline: none;
}
.c-search__input::placeholder { color: #aaa; }
.c-search__input:focus {
    background: #fff;
    border-color: rgba(255,255,255,.5);
    box-shadow: 0 8px 36px rgba(0,0,0,.22);
}
.c-search__clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #bbb;
    font-size: 22px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 50%;
    transition: color .15s, background .15s;
}
.c-search__clear:hover { color: #555; background: rgba(0,0,0,.06); }

/* ── SEARCH BAR + SUGGESTIONS ── */
.c-search__bar {
    position: relative;
    width: 100%;
}
.c-search__suggestions {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.26), 0 4px 16px rgba(0,0,0,.12);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height .34s cubic-bezier(.4,0,.2,1),
                opacity .22s ease,
                transform .22s ease,
                margin-top .22s ease;
    margin-top: 0;
    pointer-events: none;
    z-index: 50;
}
.c-search--open .c-search__suggestions {
    max-height: 440px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 10px;
    pointer-events: auto;
    overflow-y: auto;
}
.c-search__sug-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 16px;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid #f3f3f3;
    color: inherit;
    transition: background .1s;
}
.c-search__sug-item:last-child { border-bottom: none; }
.c-search__sug-item:hover,
.c-search__sug-item.is-active {
    background: #fff5f3;
    color: inherit;
    text-decoration: none;
}
.c-search__sug-avatar {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #EE5342 0%, #e87d68 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 17px; font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.c-search__sug-avatar img { width: 100%; height: 100%; object-fit: cover; }
.c-search__sug-body { flex: 1; min-width: 0; }
.c-search__sug-name {
    font-size: 14px; font-weight: 600; color: #1a1a1a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.3;
}
.c-search__sug-name mark { background: none; color: #EE5342; font-weight: 700; }
.c-search__sug-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.c-search__sug-tag {
    font-size: 11px; color: #888; background: #f3f3f3;
    border-radius: 4px; padding: 1px 7px; line-height: 1.7;
}
.c-search__sug-arrow {
    color: #ddd; font-size: 18px; flex-shrink: 0;
    transition: color .12s, transform .12s;
    line-height: 1;
}
.c-search__sug-item:hover .c-search__sug-arrow,
.c-search__sug-item.is-active .c-search__sug-arrow {
    color: #EE5342;
    transform: translateX(3px);
}
.c-search__sug-empty {
    padding: 28px 20px; color: #bbb; font-size: 14px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.c-search__sug-empty-icon { font-size: 28px; opacity: .55; }

.c-no-results {
    text-align: center;
    padding: 60px 0;
    color: #aaa;
    font-size: 17px;
    display: none;
}
.c-no-results strong { color: #555; }

/* ── FILTER TABS ── */
.c-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 0;
    border-bottom: none;
}
.c-filter__btn {
    padding: 9px 20px;
    border-radius: 50px;
    border: 2px solid #e8e8e8;
    background: #fff;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: color .15s, background .15s, border-color .15s;
    white-space: nowrap;
}
.c-filter__btn:hover {
    color: #EE5342;
    border-color: #EE5342;
    background: rgba(238,83,66,.05);
}
.c-filter__btn.is-active {
    color: #fff;
    background: #EE5342;
    border-color: #EE5342;
}

/* ── FOOD CATEGORIES (is_top, як на головній апки) ── */
.c-filter { margin-bottom: 16px; }
.c-foodcats {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: thin;
}
.c-foodcats::-webkit-scrollbar { height: 4px; }
.c-foodcats::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 4px; }
.c-foodcat {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 10px;
    border-radius: 50px;
    border: 2px solid #e8e8e8;
    background: #fff;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s, background .15s, border-color .15s;
}
.c-foodcat__icon {
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px; line-height: 1;
}
.c-foodcat__icon img {
    width: 26px; height: 26px; object-fit: contain; border-radius: 6px;
}
.c-foodcat:hover { color: #EE5342; border-color: #EE5342; background: rgba(238,83,66,.05); }
.c-foodcat.is-active { color: var(--red); background: var(--coral-soft); border-color: var(--red); }

/* ── RESTAURANT GRID ── */
.c-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* ── RESTAURANT CARD — white card (redesign 2026, mockup home.html) ── */
.c-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform .15s, box-shadow .15s;
}
.c-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.10); }

.c-card__cover {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #E8B93B;
}
.c-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.c-card:hover .c-card__img { transform: scale(1.05); }
.c-card__img--placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--coral), var(--coral-2));
}

/* status pill (top-left) */
.c-card__status {
    position: absolute;
    left: 12px; top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.94);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    padding: 5px 11px;
    z-index: 2;
}
.c-card__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.c-card__status--closed { color: var(--mut); }
.c-card__status--closed .c-card__dot { background: var(--dim); }

/* "Новинка" badge (top-right) */
.c-card__new {
    position: absolute;
    right: 12px; top: 12px;
    background: var(--red);
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    z-index: 2;
}

/* small restaurant logo — overlaps cover into body */
.c-card__logo {
    position: absolute;
    left: 14px; top: 120px; /* 10.09: обкладинка 150px, лого 52px, виступ 22px; сам елемент тепер поза cover */
    width: 52px; height: 52px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid var(--line);
    object-fit: contain;
    box-shadow: 0 6px 16px rgba(0,0,0,.10);
    z-index: 2;
}

/* body */
.c-card__body { padding: 16px; }
/* reserve room for the overlapping logo (:has supported in all current browsers) */
.c-card:has(.c-card__logo) .c-card__body { padding-top: 30px; }
.c-card__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    text-transform: none;
}
.c-card__cuisine {
    font-size: 12.5px;
    color: var(--mut);
    margin-top: 3px;
    line-height: 1.35;
}
.c-card__chips {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.c-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--field);
    border-radius: 50px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}
.c-card__chip svg { width: 13px; height: 13px; }
.c-card__chip--star { color: var(--red); }

/* dimmed cover when the restaurant is closed */
.c-card--closed .c-card__img,
.c-card--closed .c-card__img--placeholder { filter: grayscale(.55) brightness(.97); }

/* ── SORT BAR (restaurant count) ── */
.c-sortbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 15px;
}
.c-sortbar__cnt { font-weight: 700; color: var(--mut); }
.c-sortbar__cnt b { color: var(--red); }

/* ── EMPTY STATE ── */
.c-empty { text-align: center; padding: 80px 0; color: #aaa; font-size: 18px; }

/* ── MAIN ── */
.c-main { min-height: calc(100vh - 70px - 80px); }

/* ── CART ICON in HEADER ── */
.c-header__cart {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background .15s, color .15s;
    flex-shrink: 0;
    margin-left: 4px;
}
.c-header__cart:hover { background: rgba(238,83,66,0.08); color: #EE5342; }
.c-header__cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #EE5342;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ── CART SIDEBAR ── */
.c-cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 199;
}
.c-cart-overlay.is-visible { display: block; }

.c-cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    z-index: 200;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,.12);
    transition: right .28s cubic-bezier(.4,0,.2,1);
}
.c-cart-sidebar.is-open { right: 0; }

.c-cart__head {
    padding: 20px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.c-cart__title { font-size: 20px; font-weight: 700; color: #111; }
.c-cart__close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .15s;
}
.c-cart__close:hover { background: #f5f5f5; color: #333; }

.c-cart__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.c-cart__empty {
    text-align: center;
    color: #aaa;
    font-size: 16px;
    margin-top: 60px;
}
.c-cart__restaurant {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f4f4f4;
}

.c-cart__item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f4f4f4;
}
.c-cart__item-name { font-size: 14px; font-weight: 600; color: #111; }
.c-cart__item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.c-cart__qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: border-color .15s;
    flex-shrink: 0;
}
.c-cart__qty-btn:hover { border-color: #EE5342; color: #EE5342; }
.c-cart__qty { font-size: 15px; font-weight: 700; min-width: 20px; text-align: center; }
.c-cart__item-price { font-size: 14px; font-weight: 700; color: #111; white-space: nowrap; }

.c-cart__footer {
    padding: 16px 20px 20px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.c-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}
.c-cart__total-val { color: #EE5342; font-size: 20px; }
.c-cart__total-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.c-cart__total-original {
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 400;
}

/* Promo hint (upsell nudge) */
.c-cart__promo-hint {
    background: #f0faf0;
    border: 1px solid #c3e6c3;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: #2a7a2a;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.4;
}

/* Promo discount row */
.c-cart__promo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    margin-bottom: 4px;
    border-top: 1px dashed #e8e8e8;
}
.c-cart__promo-name {
    font-size: 13px;
    color: #27ae60;
    font-weight: 600;
}
.c-cart__promo-save {
    font-size: 13px;
    color: #27ae60;
    font-weight: 700;
}

.c-cart__checkout-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 50px;
    justify-content: center;
}

/* ── FOOTER ── */
.c-footer {
    background: #201A18;
    color: #B7B2AE;
    padding: 56px 0 32px;
    font-size: 14px;
}
.c-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}
.c-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
}
.c-footer__logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.c-footer__logo img { width: 30px; height: 30px; object-fit: contain; }
.c-footer__about { margin-top: 14px; max-width: 280px; opacity: .85; line-height: 1.55; }
.c-footer__col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.c-footer__col a { display: block; margin-bottom: 9px; opacity: .85; transition: opacity .15s, color .15s; }
.c-footer__col a:hover { opacity: 1; color: #fff; }
.c-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
    opacity: .85;
}
@media (max-width: 720px) {
    .c-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .c-footer__brand { grid-column: 1 / -1; }
    .c-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 420px) {
    .c-footer__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════
   RESTAURANT PAGE
══════════════════════════════════ */

/* Cover band + overlapping info card (redesign 2026, mockup restaurant.html) */
.c-rpage__cover {
    position: relative;
    height: 220px;
    background: #201A18 center/cover no-repeat;
}
.c-rpage__cover::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.12));
    pointer-events: none;
}
.c-rpage__crumbs {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 24px 0;
    color: rgba(255,255,255,.92);
    font-size: 14px;
    font-weight: 700;
}
.c-rpage__crumbs a:hover { color: #fff; text-decoration: underline; }
.c-rpage__crumbs span { opacity: .75; }

.c-rpage__infobar {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: -56px auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.c-rpage__logo {
    width: 76px; height: 76px;
    border-radius: 18px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    flex: 0 0 auto;
}
.c-rpage__ident { flex: 1; min-width: 0; }
.c-rpage__name {
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
}
.c-rpage__cuisine { font-size: 14px; color: var(--mut); margin-top: 4px; }
.c-rpage__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.c-rpage__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--field);
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 13px; font-weight: 700; color: var(--ink);
}
.c-rpage__badge--star { color: var(--red); }
.c-rpage__badge--star svg { width: 14px; height: 14px; }
.c-rpage__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.c-rpage__badge--closed { color: var(--mut); }
.c-rpage__badge--closed .c-rpage__dot { background: var(--dim); }
.c-rpage__stats {
    display: flex;
    gap: 24px;
    flex: 0 0 auto;
    padding-left: 22px;
    border-left: 1px solid var(--line);
}
.c-rpage__stat { text-align: center; }
.c-rpage__stat b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.c-rpage__stat span { font-size: 12px; color: var(--mut); }
@media (max-width: 760px) {
    .c-rpage__infobar { flex-direction: column; align-items: flex-start; gap: 14px; }
    .c-rpage__stats { padding-left: 0; border-left: 0; gap: 12px 20px; flex-wrap: wrap; }
}

/* ── Category tabs ── */
.c-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 16px 0 16px;
    border-bottom: none;
    margin-bottom: 24px;
    position: sticky;
    top: 74px;
    background: #fcfcfc;
    z-index: 50;
    -webkit-overflow-scrolling: touch;
}
.c-tabs::-webkit-scrollbar { display: none; }

.c-tabs__btn {
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid #e8e8e8;
    background: #fff;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: color .15s, background .15s, border-color .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.c-tabs__btn:hover {
    color: #EE5342;
    border-color: #EE5342;
    background: rgba(238,83,66,.05);
}
.c-tabs__btn.is-active {
    color: #fff;
    background: #EE5342;
    border-color: #EE5342;
}

/* ── Menu sections ── */
.c-menu { padding-bottom: 80px; }
.c-menu__section { margin-bottom: 48px; }
.c-menu__section-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}
.c-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* ── Menu dish card — horizontal (redesign 2026, mockup restaurant.html) ── */
.c-product {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: box-shadow .2s;
}
.c-product:hover { box-shadow: 0 12px 28px rgba(0,0,0,.08); }

.c-product__open {
    display: flex;
    gap: 14px;
    padding: 16px;
    cursor: pointer;
    align-items: stretch;
}
.c-product__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.c-product__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.c-product__badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
}
.c-product__badge--new { background: var(--green); }
.c-product__name { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.c-product__desc {
    font-size: 13px; color: var(--mut); margin-top: 5px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.c-product__price-row { margin-top: auto; padding-top: 10px; font-size: 16px; font-weight: 700; color: var(--ink); }
.c-product__price-old { color: var(--dim); font-weight: 400; font-size: 13px; margin-left: 6px; text-decoration: line-through; }
/* WEB-75 (як R-254/AND-172, рішення Danylo 30.09 у спеці §3): акційна страва помітна — більша плашка,
   нова ціна ЗВИЧАЙНИМ кольором («червона — забагато») поруч із закресленою; ледь помітна червона «дихаюча»
   рамка, цикл 2,5 с (підйом 30 %, згасання до 70 %, спокій; було 7 с — «втричі частіше», як iOS/Android) —
   лише в категоріях меню, у секції «Акції» ні; «Зменшення руху» — статична рамка */
.c-product__badge { font-size: 12px; padding: 3px 9px; }
.c-product--promo { animation: c-promo-breathe 2.5s ease-in-out infinite; }
#section-promo .c-product--promo { animation: none; }
@keyframes c-promo-breathe {
    0%, 70%, 100% { border-color: var(--line); box-shadow: 0 0 0 0 rgba(238,83,66,0); }
    30% { border-color: rgba(238,83,66,.35); box-shadow: 0 0 0 3px rgba(238,83,66,.10); }
}
@media (prefers-reduced-motion: reduce) {
    .c-product--promo { animation: none; border-color: rgba(238,83,66,.35); }
    #section-promo .c-product--promo { border-color: var(--line); }
}

.c-product__thumb {
    position: relative;
    width: 110px; height: 110px;
    border-radius: 14px;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #efe9e2, #e0d7c9);
}
.c-product__img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.c-product__add {
    position: absolute;
    right: -8px; bottom: -8px;
    width: 36px; height: 36px;
    padding: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(238,83,66,.4);
    cursor: pointer;
    z-index: 2;
}
.c-product__add:hover { background: var(--red-d); }
.c-product__add svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 2.4; }
/* WEB-73: відгук «додано» на круглій «+» — галочка й пульс замість тексту */
.c-product__add.is-added { animation: c-add-pop .36s cubic-bezier(.34,1.56,.64,1); }
@keyframes c-add-pop { 0% { transform: scale(1); } 45% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .c-product__add.is-added { animation: none; } }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */

@media (max-width: 1024px) {
    .c-grid { grid-template-columns: repeat(3, 1fr); }
    .c-menu__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .c-topbar { display: none; }
    .c-header__nav { display: none; }
    .c-header__burger { display: flex; }
    .c-header__cart { margin-left: auto; } /* 17.09 (Danylo): без nav (там margin-left:auto) кошик і меню липли до лого */
    .c-header__inner { height: 60px; }

    .c-hero { min-height: 200px; padding: 36px 0 44px; }
    .c-hero__inner { gap: 20px; }
    .c-hero__top { flex-direction: column; align-items: flex-start; gap: 16px; }
    .c-hero__stats { gap: 10px; }
    .c-hero__stat { padding: 12px 16px; min-width: 90px; border-radius: 16px; }
    .c-hero__stat-val { font-size: 22px; }
    .c-hero__title { font-size: 32px; }
    .c-hero__sub { font-size: 16px; }
    .c-search__input { font-size: 15px; padding: 14px 44px 14px 50px; }
    .c-how__arrow { display: none; }
    .c-how__steps { flex-wrap: wrap; gap: 24px; }

    .c-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .c-tabs { top: 103px; } /* 18.09: шапка на телефоні у два рядки (адреса) — 103px; на 60px категорії ховались під неї */

    .c-rpage__name { font-size: 24px; }
    .c-menu__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
    .c-hero__title { font-size: 26px; }
    .c-hero__sub { font-size: 14px; }
    .c-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .c-menu__grid { grid-template-columns: 1fr; }
    .c-rpage__hero { min-height: 220px; }
    .c-tabs { top: 103px; }
    .c-card { border-radius: 14px; }
}

/* ══════════════════════════════
   CHECKOUT PAGE
══════════════════════════════ */
.c-checkout {
    min-height: calc(100vh - 70px);
    padding: 48px 20px 80px;
    background: #FBFAF8;
}
.c-checkout__inner {
    max-width: 1160px;
    margin: 0 auto;
}
.c-checkout__title {
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--ink);
}
.c-checkout__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* ── Form column ── */
.c-checkout__section {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 16px;
}
.c-checkout__section-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
    margin-bottom: 18px;
}
.c-form-group {
    margin-bottom: 16px;
}
.c-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
}
.c-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    font-family: 'PT Sans', sans-serif;
    font-size: 15px;
    color: #020202;
    background: #fff;
    transition: border-color .15s;
}
.c-form-control:focus {
    outline: none;
    border-color: #EE5342;
    box-shadow: 0 0 0 3px rgba(238,83,66,.1);
}
.c-form-control.has-error,
.has-error .c-form-control { border-color: #e74c3c; }
.help-block { font-size: 12px; color: #e74c3c; margin-top: 4px; }

/* ── Delivery switch ── */
.c-delivery-switch {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.c-delivery-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    user-select: none;
}
.c-delivery-option input[type="radio"] { display: none; }
.c-delivery-option.is-active {
    border-color: var(--red);
    background: var(--coral-soft);
}
.c-delivery-option__icon { font-size: 22px; }
.c-delivery-option__label { font-size: 14px; font-weight: 700; }

/* ── Payment note ── */
.c-checkout__payment-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #fff;
    border-radius: 9px;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.c-checkout__payment-icon { font-size: 20px; }

/* ── Payment method selection ── */
.c-pay-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.c-pay-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    user-select: none;
    outline: none;
}
.c-pay-option:hover {
    border-color: var(--red);
    background: #fff8f7;
}
.c-pay-option.is-active {
    border-color: var(--red);
    background: var(--coral-soft);
}
.c-pay-option__icon { font-size: 26px; flex-shrink: 0; }
.c-pay-option__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.c-pay-option__name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}
.c-pay-option__desc {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}
.c-pay-option__check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    flex-shrink: 0;
    position: relative;
    transition: border-color .15s, background .15s;
}
.c-pay-option.is-active .c-pay-option__check {
    border-color: #EE5342;
    background: #EE5342;
}
.c-pay-option.is-active .c-pay-option__check::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -56%) rotate(45deg);
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
}

/* Single method note (when only 1 method available) */
.c-pay-single-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #f7f9fc;
    border: 1.5px solid #e3eaf3;
    border-radius: 9px;
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}
.c-pay-single-note__icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.c-pay-single-note__desc { font-size: 12px; color: #888; }

/* ── Payment page (WayForPay redirect) ── */
.c-pay-page {
    min-height: calc(100vh - 70px);
    padding: 60px 20px 80px;
    background: #f8f8f8;
}
.c-pay-page__inner {
    max-width: 520px;
    margin: 0 auto;
}
.c-pay-page__header {
    text-align: center;
    margin-bottom: 28px;
}
.c-pay-page__icon { font-size: 56px; margin-bottom: 12px; }
.c-pay-page__title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.c-pay-page__order-num { font-size: 15px; color: #888; }
.c-pay-page__card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    margin-bottom: 20px;
}
.c-pay-page__methods-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 22px;
    padding: 10px 14px;
    background: #f0faf5;
    border-radius: 8px;
}
.c-pay-page__methods-icon { font-size: 18px; }
.c-pay-page__form { text-align: center; }
.c-pay-page__back { text-align: center; }
.c-pay-page__back-link {
    font-size: 14px;
    color: #888;
    text-decoration: none;
}
.c-pay-page__back-link:hover { color: #EE5342; }

/* ── Payment result page (success / failed) ── */
.c-pay-result {
    min-height: calc(100vh - 70px);
    padding: 60px 20px 80px;
    background: #f8f8f8;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.c-pay-result__inner {
    max-width: 540px;
    width: 100%;
    text-align: center;
}
.c-pay-result__icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 900;
    margin: 0 auto 20px;
}
.c-pay-result__icon--success {
    background: #e8f8ef;
    color: #27ae60;
    border: 2.5px solid #27ae60;
}
.c-pay-result__icon--failed {
    background: #fdf0ef;
    color: #EE5342;
    border: 2.5px solid #EE5342;
}
.c-pay-result__title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}
.c-pay-result__sub {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}
.c-pay-result__card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
    margin-bottom: 28px;
    text-align: left;
}
.c-pay-result__detail {
    font-size: 14px;
    color: #555;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}
.c-pay-result__detail-icon { font-size: 20px; flex-shrink: 0; }
.c-pay-result__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    border-radius: 9px;
    margin-bottom: 16px;
    text-decoration: none;
}
.c-pay-result__back-link {
    font-size: 14px;
    color: #999;
    text-decoration: none;
}
.c-pay-result__back-link:hover { color: #EE5342; }
.c-pay-result__error-msg {
    font-size: 14px;
    color: #c0392b;
    background: #fdf0ef;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 20px;
}
/* Failed options */
.c-pay-result__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}
.c-pay-result__option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    text-decoration: none;
    transition: border-color .15s, background .15s;
    cursor: pointer;
}
.c-pay-result__option--primary {
    border-color: #EE5342;
    background: #fff5f4;
}
.c-pay-result__option--primary:hover { background: #ffedeb; border-color: #b04530; }
.c-pay-result__option--cash { background: #fff; }
.c-pay-result__option--cash:hover { border-color: #bbb; background: #fafafa; }
.c-pay-result__option-icon { font-size: 28px; flex-shrink: 0; }
.c-pay-result__option-body {
    flex: 1;
    display: flex; flex-direction: column; gap: 3px;
}
.c-pay-result__option-body strong { font-size: 15px; color: #1a1a1a; }
.c-pay-result__option-body span { font-size: 13px; color: #888; line-height: 1.4; }
.c-pay-result__option-btn {
    padding: 9px 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
}
.c-pay-result__option-btn:hover { background: #333; }
.c-pay-result__option-btn:disabled { background: #aaa; cursor: default; }
.c-pay-result__later-hint {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}
.c-pay-result__later-hint a { color: #EE5342; }

/* ── Account: unpaid online order badge ── */
.c-order-card-wrap { position: relative; margin-bottom: 12px; }
.c-order-card--unpaid { border: 2px solid #f0a580; }
.c-order-card__unpaid-bar {
    margin-top: 10px;
    padding: 7px 12px;
    background: #fff8f4;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #EE5342;
}
.c-order-card__pay-btn {
    display: block;
    margin-top: 6px;
    padding: 10px 16px;
    background: #EE5342;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s;
}
.c-order-card__pay-btn:hover { background: #b04530; color: #fff; }
.c-pay-page__error-msg {
    font-size: 16px;
    color: #c0392b;
    margin-bottom: 12px;
    font-weight: 600;
}
.c-pay-page__error-hint { font-size: 14px; color: #666; }

/* ── Submit button ── */
.c-checkout__submit {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    border-radius: 9px;
    border: none;
}

/* ── Summary column ── */
.c-checkout__summary {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    position: sticky;
    top: 96px;
}
.c-checkout__summary-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}
.c-checkout__summary-restaurant {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}
.c-checkout__summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.c-checkout__summary-item-name { flex: 1; line-height: 1.4; }
.c-checkout__summary-item-qty { color: #aaa; font-size: 13px; }
.c-checkout__summary-item-price { font-weight: 700; white-space: nowrap; }
.c-checkout__summary-divider {
    height: 1px;
    background: #eee;
    margin: 14px 0;
}
.c-checkout__summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}
.c-checkout__summary-row--total {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.c-checkout__summary-row--discount { color: #27ae60; }
.c-checkout__summary-row--promo { color: #2980b9; }
.c-checkout__summary-discount-val { font-weight: 600; }
.c-checkout__back-link {
    display: block;
    margin-top: 20px;
    font-size: 13px;
    color: #aaa;
    text-align: center;
}
.c-checkout__back-link:hover { color: #EE5342; }
.c-checkout__summary-skeleton { color: #ccc; font-size: 14px; padding: 8px 0; }

/* ── Address details row ── */
.c-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}
.c-form-row-3 .c-form-group { margin-bottom: 0; }
@media (max-width: 480px) {
    .c-form-row-3 { grid-template-columns: 1fr 1fr; }
    .c-form-row-3 .c-form-group:last-child { grid-column: 1 / -1; }
}
.c-address-verified {
    font-size: 12px;
    color: #27ae60;
    margin-top: 5px;
    display: none;
}
.c-address-verified.is-visible { display: block; }

/* ── Alert ── */
.c-alert--error {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    background: #fff5f4;
    border: 1.5px solid #fcc;
    border-left: 4px solid #e74c3c;
    border-radius: 10px;
    padding: 14px 18px 14px 42px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #c0392b;
    animation: c-alert-in .25s ease;
    position: relative;
}
.c-alert--error::before {
    content: '✕';
    font-weight: 700;
    position: absolute;
    left: 16px;
    top: 15px;
}
.c-alert__support {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #fcc;
    font-size: 13px;
    color: #a93226;
    line-height: 1.5;
}
.c-alert__link {
    color: #c0392b;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.c-alert__link:hover { color: #96281b; }

/* ── Empty state ── */
.c-checkout__empty {
    text-align: center;
    padding: 80px 20px;
}
.c-checkout__empty-icon { font-size: 56px; margin-bottom: 20px; }
.c-checkout__empty h2 { font-size: 22px; margin-bottom: 10px; }
.c-checkout__empty p { color: #888; margin-bottom: 28px; }

/* ── Success page ── */
.c-checkout__success {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}
.c-checkout__success-icon { font-size: 64px; margin-bottom: 24px; }
.c-checkout__success-title { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.c-checkout__success-code {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #EE5342;
    background: #fff5f3;
    border: 2px solid #f4c5bb;
    border-radius: 10px;
    padding: 8px 24px;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}
.c-checkout__success-text { font-size: 16px; color: #555; line-height: 1.6; margin-bottom: 32px; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .c-checkout__layout { grid-template-columns: 1fr; }
    .c-checkout__summary { position: static; }
    .c-checkout { padding: 24px 12px 60px; }
}

/* ══════════════════════════════
   AUTH PAGES (login / register)
══════════════════════════════ */
.c-auth {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: #f8f8f8;
}
.c-auth__box {
    background: #fff;
    border-radius: 14px;
    padding: 40px 36px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.c-auth__box--wide { max-width: 480px; }
.c-auth__logo {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #EE5342;
    letter-spacing: -.5px;
    margin-bottom: 28px;
}
.c-auth__back {
    display: block;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 16px;
}
.c-auth__back:hover { color: #EE5342; }
.c-auth__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}
.c-auth__sub {
    font-size: 14px;
    color: #777;
    margin-bottom: 24px;
    line-height: 1.5;
}
.c-auth__error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff5f4;
    border: 1.5px solid #fcc;
    border-left: 4px solid #e74c3c;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #c0392b;
    margin-bottom: 16px;
    animation: c-alert-in .25s ease;
}
.c-auth__error::before {
    content: '✕';
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}
.c-auth__form { display: flex; flex-direction: column; gap: 0; }
.c-form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
}
.c-form-hint {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}
.c-auth__btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 8px;
    border: none;
    border-radius: 8px;
}
.c-auth__footer-link {
    margin-top: 20px;
    font-size: 13px;
    color: #888;
    text-align: center;
}
.c-auth__footer-link a { color: #EE5342; font-weight: 700; }

/* OTP input */
.c-auth__otp-group {
    margin-bottom: 16px;
    text-align: center;
}
.c-auth__otp-input {
    width: 140px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 10px;
    padding: 14px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    transition: border-color .15s;
}
.c-auth__otp-input:focus { border-color: #EE5342; }

/* ══════════════════════════════
   ACCOUNT / CABINET
══════════════════════════════ */
.c-account {
    min-height: calc(100vh - 70px);
    padding: 40px 20px 80px;
    background: #f8f8f8;
}
.c-account__inner {
    max-width: 720px;
    margin: 0 auto;
}

/* Profile card */
.c-account__profile {
    background: #fff;
    border-radius: 14px;
    padding: 28px 28px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.c-account__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #EE5342;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.c-account__info { flex: 1; min-width: 0; }
.c-account__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.c-account__phone,
.c-account__email { font-size: 14px; color: #888; }
.c-account__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

/* Buttons */
.c-btn--outline {
    background: transparent;
    border: 2px solid #020202;
    color: #020202;
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.c-btn--outline:hover { background: #020202; color: #fff; }
.c-btn--ghost {
    background: transparent;
    border: 2px solid #ddd;
    color: #888;
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}
.c-btn--ghost:hover { border-color: #e74c3c; color: #e74c3c; }

/* Orders section */
.c-account__section-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #888;
    margin-bottom: 16px;
}
.c-account__empty {
    text-align: center;
    padding: 48px 20px;
    background: #fff;
    border-radius: 12px;
}
.c-account__empty-icon { font-size: 40px; margin-bottom: 12px; }
.c-account__empty p { color: #888; margin-bottom: 20px; }

/* Order cards */
.c-order-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.c-order-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.c-order-card__meta { display: flex; align-items: center; gap: 10px; }
.c-order-card__id { font-weight: 700; font-size: 14px; }
.c-order-card__date { font-size: 13px; color: #aaa; }
.c-order-card__restaurant {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}
.c-order-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.c-order-card__type { color: #888; }
.c-order-card__total { font-weight: 700; font-size: 16px; }

/* Status badges */
.c-order-card__status {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.status--new     { background: #fff3cd; color: #856404; }
.status--process { background: #cce5ff; color: #004085; }
.status--courier { background: #d4edda; color: #155724; }
.status--done    { background: #e8f5e9; color: #2e7d32; }
.status--cancel  { background: #f8d7da; color: #721c24; }

/* Alert success */
.c-alert--success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-left: 4px solid #27ae60;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    color: #166534;
    margin-bottom: 16px;
    animation: c-alert-in .25s ease;
}
.c-alert--success::before {
    content: '✓';
    font-weight: 700;
    flex-shrink: 0;
}

/* Header account link */
.c-header__nav-link--account {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    margin-left: 8px;
}
.c-header__nav-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #EE5342;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────
   TOAST NOTIFICATIONS
───────────────────────────────────────── */
.c-toast-container {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
    max-width: 400px;
}

.c-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1c1c1e;
    color: #fff;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 8px 32px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.12);
    opacity: 0;
    transform: translateX(20px) scale(.97);
    transition: opacity .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1);
    pointer-events: all;
    cursor: default;
}
.c-toast.is-visible { opacity: 1; transform: translateX(0) scale(1); }

.c-toast__icon { flex-shrink: 0; display: flex; }
.c-toast__text { flex: 1; }
.c-toast__close {
    background: none;
    border: none;
    color: rgba(255,255,255,.45);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color .15s;
    margin-left: 4px;
}
.c-toast__close:hover { color: #fff; }

/* ─────────────────────────────────────────
   CONFIRM DIALOG
───────────────────────────────────────── */
.c-dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity .18s;
}
.c-dialog-overlay.is-open { opacity: 1; }

.c-dialog {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px 24px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
    transform: scale(.95) translateY(8px);
    transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
.c-dialog-overlay.is-open .c-dialog { transform: scale(1) translateY(0); }

.c-dialog__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #020202;
}
.c-dialog__text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}
.c-dialog__actions { display: flex; gap: 10px; justify-content: flex-end; }
.c-dialog__cancel {
    background: #f2f2f2;
    color: #333;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
}
.c-dialog__cancel:hover { background: #e8e8e8; color: #333; }
.c-dialog__ok { padding: 10px 20px !important; border-radius: 10px !important; }

/* ─────────────────────────────────────────
   SPINNER / BUTTON LOADING
───────────────────────────────────────── */
.c-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 8px;
    animation: c-spin .7s linear infinite;
    flex-shrink: 0;
}
@keyframes c-spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────
   ALERT ANIMATION
───────────────────────────────────────── */
@keyframes c-alert-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Order card link ── */
.c-order-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.c-order-card-link:hover .c-order-card {
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
    transform: translateY(-1px);
}
.c-order-card {
    transition: box-shadow .18s, transform .18s;
}

/* ── Product modal ── */
.c-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.c-modal-overlay.is-open { display: flex; }

.c-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.c-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.08);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .15s;
}
.c-modal__close:hover { background: rgba(0,0,0,.18); }

.c-modal__img-wrap {
    width: 100%;
    max-height: 260px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.c-modal__img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.c-modal__body { padding: 24px; }

.c-modal__name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-right: 32px;
}
.c-modal__desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}
.c-modal__weight {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}
.c-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}
.c-modal__price {
    font-size: 26px;
    font-weight: 700;
}
.c-modal__add-btn { white-space: nowrap; }

/* ── Order detail ── */
.c-order-detail {
    max-width: 680px;
}
.c-order-detail__back {
    display: inline-block;
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
}
.c-order-detail__back:hover { color: #EE5342; }

.c-order-detail__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.c-order-detail__title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}
.c-order-detail__meta {
    font-size: 14px;
    color: #888;
}

.c-order-detail__section {
    margin-bottom: 28px;
}
.c-order-detail__section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #888;
    margin-bottom: 14px;
}

.c-order-detail__items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.c-order-detail__item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 15px;
}
.c-order-detail__item-name { flex: 1; }
.c-order-detail__item-qty  { color: #999; white-space: nowrap; }
.c-order-detail__item-price { font-weight: 700; white-space: nowrap; }

.c-order-detail__totals {
    border-top: 1px solid #eee;
    padding-top: 16px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.c-order-detail__total-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #444;
}
.c-order-detail__total-row--bold {
    font-size: 18px;
    font-weight: 700;
    color: #020202;
    margin-top: 4px;
}

.c-order-detail__info-line {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.c-order-detail__footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

/* ── Success page actions ── */
.c-checkout__success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 600px) {
    .c-account__profile { flex-wrap: wrap; }
    .c-account__actions { flex-direction: row; align-items: center; width: 100%; }
    .c-auth__box { padding: 28px 20px; }
    .c-modal__body { padding: 20px 16px; }
    .c-modal__name { font-size: 18px; }
    .c-modal__footer { flex-direction: column; align-items: stretch; }
    .c-modal__add-btn { width: 100%; }
}

/* ══════════════════════════════════════
   HOW IT WORKS — redesigned
══════════════════════════════════════ */
.c-how {
    background: #fff;
    padding: 64px 0;
    border-top: 1px solid #f0ece9;
    border-bottom: 1px solid #f0ece9;
}
.c-how__heading {
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    margin-bottom: 24px;
}
/* 12.09: кроки = три картки на сітці контейнера (gap 22 як у закладів), без стрілок */
.c-how__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.c-how__step {
    background: #fcfcfc;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px 20px 26px;
    text-align: left;
}
.c-how__pic { width: 200px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; margin: 0 auto 16px; display: block; }
.c-how__step { text-align: center; }
.c-how__icon-wrap { display: none; }
.c-how__arrow { display: none; }
.c-how__steps { max-width: none; margin: 0; } /* перебиває старе .c-how__steps{max-width:860px} на початку файлу */
.c-how__icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fdf2ef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
}
.c-how__emoji { font-size: 34px; line-height: 1; }
.c-how__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #EE5342;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}
.c-how__title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}
.c-how__desc {
    font-size: 13px;
    color: #888;
    line-height: 1.55;
}
.c-how__arrow {
    font-size: 22px;
    color: #ddd;
    padding-top: 24px;
    flex-shrink: 0;
    align-self: flex-start;
}

/* ══════════════════════════════════════
   FEEDBACK FORM
══════════════════════════════════════ */
.c-feedback {
    background: linear-gradient(110deg, #EE5342 60%, #D63D2D 100%);
    padding: 64px 0;
}
.c-feedback__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 44px;
    align-items: start;
}
.c-feedback__badge {
    display: inline-block;
    background: rgba(0,0,0,.18);
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.c-feedback__title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.c-feedback__sub {
    font-size: 15px;
    color: rgba(255,255,255,.5);
    line-height: 1.65;
    margin-bottom: 28px;
}
.c-feedback__deco {
    display: flex;
    gap: 4px;
    font-size: 22px;
    opacity: .7;
}
.c-feedback__form {
    background: rgba(0,0,0,.18);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(4px);
}
.c-feedback__form .c-form-label { color: rgba(255,255,255,.8); font-size: 13px; }
.c-feedback__form .c-form-control {
    background: rgba(0,0,0,.15);
    border-color: rgba(255,255,255,.25);
    color: #fff;
}
.c-feedback__form .c-form-control::placeholder { color: rgba(255,255,255,.45); }
.c-feedback__form .c-form-control:focus {
    border-color: rgba(255,255,255,.6);
    background: rgba(0,0,0,.2);
}
.c-feedback__textarea { resize: vertical; min-height: 120px; }
.c-feedback__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.c-feedback__stars-wrap { margin-bottom: 4px; }
.c-feedback__stars-label {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    margin-bottom: 10px;
}
.c-feedback__submit {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    background: #fff;
    color: #EE5342;
    border-radius: 50px;
}
.c-feedback__submit:hover { opacity: .9; color: #EE5342; }

/* CSS Stars */
.c-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
    width: fit-content;
}
.c-stars input { display: none; }
.c-stars label {
    font-size: 36px;
    color: #444;
    cursor: pointer;
    transition: color .12s;
    line-height: 1;
}
.c-stars label:hover,
.c-stars label:hover ~ label,
.c-stars input:checked ~ label { color: #f5a623; }

/* ══════════════════════════════════════
   PARTNER CTA SECTION
══════════════════════════════════════ */
.c-partners { padding: 64px 0; }
.c-partners__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.c-partners__card {
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 380px;
    border-radius: 24px;
}
.c-partners__card--courier {
    background: linear-gradient(140deg, #EE5342 0%, #D63D2D 100%);
}
.c-partners__card--restaurant {
    background: #111;
}
.c-partners__card-inner {
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 1;
    width: 100%;
}
.c-partners__card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: .06;
    right: -60px;
    top: -60px;
}
.c-partners__card--courier::before { background: #fff; }
.c-partners__card--restaurant::before { background: #fff; }
.c-partners__emoji {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 4px;
}
.c-partners__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
.c-partners__desc {
    font-size: 15px;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
    max-width: 340px;
}
.c-partners__perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.c-partners__perks li {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    font-weight: 600;
}
.c-partners__btn {
    border-radius: 50px;
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 700;
    margin-top: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform .15s, opacity .15s;
}
.c-partners__btn:hover { transform: translateY(-2px); opacity: .92; }
.c-partners__btn--light {
    background: #fff;
    color: #111;
}
.c-partners__btn--dark {
    background: rgba(0,0,0,.25);
    color: #fff;
    border: 2px solid rgba(255,255,255,.4);
}
.c-partners__btn--dark:hover { background: rgba(0,0,0,.35); color: #fff; }

@media (max-width: 768px) {
    .c-how__heading { font-size: 22px; }
    .c-how__arrow { display: none; }
    .c-how__steps { grid-template-columns: 1fr; gap: 12px; }
    .c-how__step { padding: 22px; }

    .c-feedback__inner { grid-template-columns: 1fr; gap: 36px; }
    .c-feedback__title { font-size: 26px; }
    .c-feedback__form { padding: 24px 20px; }
    .c-feedback__row { grid-template-columns: 1fr; }

    .c-partners { padding: 48px 0; }
    .c-partners__grid { grid-template-columns: 1fr; gap: 12px; }
    .c-partners__card { min-height: 0; }
    .c-partners__card-inner { padding: 36px 26px; }
    .c-partners__title { font-size: 24px; }
}

/* ── Bonus points — account page ── */
.c-account__bonus {
    margin-bottom: 24px;
}
.c-account__bonus-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.c-account__bonus-balance {
    font-size: 28px;
    font-weight: 800;
    color: #020202;
    line-height: 1.1;
}
.c-account__bonus-uah {
    font-size: 18px;
    font-weight: 600;
    color: #EE5342;
}
.c-account__bonus-hint {
    font-size: 13px;
    color: #888;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.c-account__bonus-hint-sep { color: #ccc; }
.c-account__bonus-empty {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    font-size: 14px;
    color: #888;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
}

/* ── Bonus points — checkout ── */
/* Guest teaser */
.c-checkout__bonus-teaser {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff8f4;
    border: 1.5px solid #f0ddd7;
    border-radius: 9px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}
.c-checkout__bonus-teaser-icon { font-size: 20px; }
.c-checkout__bonus-teaser-link { color: #EE5342; font-weight: 700; text-decoration: none; }
.c-checkout__bonus-teaser-link:hover { text-decoration: underline; }

/* Zero points informational */
.c-checkout__bonus-zero {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid #ebebeb;
    border-radius: 9px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.c-checkout__bonus-zero-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.c-checkout__bonus-zero-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.c-checkout__bonus-zero-body strong { font-size: 14px; color: #333; }
.c-checkout__bonus-zero-hint { font-size: 12px; color: #999; line-height: 1.4; }

/* Interactive block (has points) */
.c-checkout__bonus-block {
    background: #fff;
    border-radius: 9px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.c-checkout__bonus-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.c-checkout__bonus-checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #EE5342;
    cursor: pointer;
}
.c-checkout__bonus-toggle-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex-wrap: wrap;
}
.c-checkout__bonus-icon { font-size: 18px; }
.c-checkout__bonus-available {
    font-weight: 400;
    color: #888;
    font-size: 13px;
}
.c-checkout__bonus-input-wrap {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.c-checkout__bonus-input-label {
    font-size: 13px;
    font-weight: 700;
    color: #444;
}
.c-checkout__bonus-input {
    max-width: 220px;
}
.c-checkout__bonus-calc {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    min-height: 18px;
}
.c-checkout__bonus-calc strong { color: #EE5342; }

/* ── Promo code block ──────────────────────────────────────── */
.c-promo-block {
    background: #f9f9f9;
    border: 1.5px solid #ebebeb;
    border-radius: 9px;
    margin-bottom: 20px;
    overflow: hidden;
}
.c-promo-block__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: left;
    transition: background .15s;
}
.c-promo-block__toggle:hover { background: #f2f2f2; }
.c-promo-block__toggle-icon { font-size: 18px; flex-shrink: 0; }
.c-promo-block__toggle-arrow {
    margin-left: auto;
    font-size: 20px;
    font-weight: 400;
    color: #aaa;
    transition: transform .2s ease;
    line-height: 1;
}
.c-promo-block__body {
    padding: 0 18px 16px;
}
.c-promo-input-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}
.c-promo-input {
    flex: 1;
    letter-spacing: 2px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}
.c-promo-apply-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    background: #EE5342;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
}
.c-promo-apply-btn:hover { opacity: .88; }
.c-promo-apply-btn:disabled { opacity: .5; cursor: default; }
.c-promo-result {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
}
.c-promo-result--success {
    background: #eafaf1;
    color: #1e8449;
}
.c-promo-result--error {
    background: #fdecea;
    color: #c0392b;
}
.c-promo-result__icon { font-size: 15px; flex-shrink: 0; }
.c-promo-result__msg { flex: 1; line-height: 1.4; }
.c-promo-remove-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #1e8449;
    cursor: pointer;
    font-size: 16px;
    padding: 0 4px;
    opacity: .6;
    transition: opacity .15s;
}
.c-promo-remove-btn:hover { opacity: 1; }

/* Promo code row in order summary */
.c-checkout__summary-row--promo { color: #1e8449; }

/* Apply Modal styles moved to inline <style> in index.php */
.c-checkout__summary-row--promo .c-checkout__summary-discount-val { font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   STATIC PAGES — About / Contact / Error  (redesign 2026)
══════════════════════════════════════════════════════════ */

/* neutral soft button (light backgrounds, secondary action) */
.c-btn--soft {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--line);
    border-radius: 50px;
    padding: 12px 26px;
    font-size: 15px;
}
.c-btn--soft:hover { border-color: var(--red); color: var(--red); }

/* ── ABOUT ── */
.c-about__hero {
    background: linear-gradient(160deg, var(--coral), var(--coral-2));
    color: #fff;
    text-align: center;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}
.c-about__hero::after {
    content: '';
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.12);
    right: -120px; top: -120px;
    pointer-events: none;
}
.c-about__k { font-size: 15px; font-weight: 700; opacity: .9; letter-spacing: .04em; }
.c-about__hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 700;
    margin-top: 12px;
    line-height: 1.05;
    position: relative;
}
.c-about__hero p { font-size: 18px; opacity: .95; margin: 16px auto 0; max-width: 600px; position: relative; }

.c-about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}
.c-about__stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.c-about__stat b { font-size: 34px; font-weight: 700; color: var(--red); display: block; }
.c-about__stat span { font-size: 14px; color: var(--mut); }

.c-about__section { padding: 64px 0; }
.c-about__sec-h { text-align: center; max-width: 600px; margin: 0 auto 40px; }
.c-about__sec-h .c-about__k { color: var(--red); }
.c-about__sec-h h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin-top: 10px; }
.c-about__sec-h p { color: var(--mut); font-size: 16px; margin-top: 10px; }

.c-about__cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.c-about__step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.c-about__n {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--coral-soft);
    color: var(--red);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
}
.c-about__step h3 { font-size: 20px; margin-top: 16px; }
.c-about__step p { color: var(--mut); font-size: 15px; margin-top: 8px; }

.c-about__vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.c-about__val { text-align: center; padding: 24px 14px; }
.c-about__ic {
    width: 60px; height: 60px;
    border-radius: 18px;
    background: var(--coral-soft);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.c-about__ic svg { width: 28px; height: 28px; stroke: var(--red); fill: none; stroke-width: 1.7; }
.c-about__val h3 { font-size: 17px; }
.c-about__val p { font-size: 13.5px; color: var(--mut); margin-top: 6px; }

.c-about__band {
    background: linear-gradient(160deg, var(--coral), var(--coral-2));
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.c-about__band h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 700; }
.c-about__band p { font-size: 16px; opacity: .95; margin: 12px auto 24px; max-width: 520px; }
.c-about__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
    .c-about__stats, .c-about__vals { grid-template-columns: repeat(2, 1fr); }
    .c-about__cols3 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .c-about__stats, .c-about__vals { grid-template-columns: 1fr; }
    .c-about__band { padding: 36px 22px; }
    .c-about__hero { padding: 54px 0 50px; }
}

/* ── CONTACT ── */
.c-contact { padding: 48px 0; }
.c-contact__lead { margin-bottom: 28px; }
.c-contact__lead h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; }
.c-contact__lead p { color: var(--mut); font-size: 16px; margin-top: 8px; }
.c-contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: start; }

.c-contact__cc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    transition: box-shadow .15s;
}
a.c-contact__cc:hover { box-shadow: 0 8px 22px rgba(0,0,0,.07); }
.c-contact__ic {
    width: 52px; height: 52px;
    border-radius: 15px;
    background: var(--coral-soft);
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
}
.c-contact__ic svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.8; }
.c-contact__t { font-size: 13px; color: var(--mut); }
.c-contact__v { font-size: 18px; font-weight: 700; }
.c-contact__go { margin-left: auto; color: var(--red); font-weight: 700; font-size: 14px; white-space: nowrap; }

.c-contact__hours { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-top: 14px; }
.c-contact__r { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.c-contact__op { color: var(--green); font-weight: 700; }

.c-contact__form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.c-contact__form h3 { font-size: 20px; font-weight: 700; }
.c-contact__sub { font-size: 14px; color: var(--mut); margin: 6px 0 20px; }
.c-contact__frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-contact__submit { width: 100%; margin-top: 6px; }
.c-contact__captcha { display: flex; gap: 12px; align-items: center; }
.c-contact__captcha img { border-radius: 10px; border: 1px solid var(--line); cursor: pointer; }
.c-contact__captcha input { flex: 1; }

.c-contact__map {
    height: 280px;
    border-radius: 20px;
    margin-top: 26px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(#E9E5DE 1.5px, transparent 1.5px) 0 0 / 52px 52px,
        linear-gradient(90deg, #E9E5DE 1.5px, transparent 1.5px) 0 0 / 52px 52px,
        #F2EFE9;
}
.c-contact__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); }
.c-contact__p {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--red);
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(238,83,66,.5);
}
.c-contact__lbl {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, 14px);
    background: #fff;
    border-radius: 50px;
    padding: 7px 14px;
    font-size: 13px; font-weight: 700;
    box-shadow: 0 6px 16px rgba(0,0,0,.14);
}

/* generic form fields — used by the contact ActiveForm */
.c-field { margin-bottom: 14px; }
.c-field label, .c-field .c-label { font-size: 12.5px; color: var(--mut); display: block; margin-bottom: 5px; font-weight: 400; }
.c-field input:not([type=checkbox]):not([type=radio]),
.c-field textarea,
.c-input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; font-family: inherit; font-size: 15px; outline: 0; color: var(--ink); resize: none; background: #fff; }
.c-field input:focus, .c-field textarea:focus, .c-input:focus { border-color: var(--red); }
.c-field.has-error input:not([type=checkbox]):not([type=radio]),
.c-field.has-error textarea { border-color: var(--red); background: var(--coral-soft); }
.c-field .help-block { font-size: 12.5px; color: var(--red); margin-top: 6px; }

@media (max-width: 820px) { .c-contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .c-contact__frow { grid-template-columns: 1fr; } }

/* ── ERROR PAGE (single) ── */
.c-errpage { padding: 60px 20px 80px; display: flex; justify-content: center; }
.c-errpage__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 44px 36px;
    text-align: center;
    max-width: 520px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
}
.c-errpage__ic {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: var(--coral-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.c-errpage__ic svg { width: 40px; height: 40px; stroke: var(--red); fill: none; stroke-width: 1.7; }
.c-errpage__big { font-size: 32px; font-weight: 700; color: var(--red); }
.c-errpage__card h1 { font-size: 24px; font-weight: 700; }
.c-errpage__msg { font-size: 15px; color: var(--mut); margin-top: 10px; max-width: 400px; word-break: break-word; }
.c-errpage__btns { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }

/* ══════════════════════════════════════════════════════════
   SUCCESS icon + ORDER TRACKING  (redesign 2026)
══════════════════════════════════════════════════════════ */
.c-success__ok {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--coral-soft);
    color: var(--red);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.c-success__ok svg { width: 44px; height: 44px; }

.c-track__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 22px; }
.c-track__title { font-size: clamp(24px, 4vw, 30px); font-weight: 700; color: var(--ink); }
.c-track__pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--coral-soft); color: var(--red);
    border-radius: 50px; padding: 7px 14px; font-size: 14px; font-weight: 700;
}
.c-track__pill .c-track__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.c-track__pill--done { background: #eafaf1; color: var(--green); }
.c-track__pill--done .c-track__dot { background: var(--green); }
.c-track__pill--cancel { background: #fdecea; color: #c0392b; }
.c-track__pill--cancel .c-track__dot { background: #c0392b; }

.c-track { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.c-track__main { display: flex; flex-direction: column; gap: 20px; }
.c-track__aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.c-track__card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.c-track__card-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }

/* stepper */
.c-track__steps { display: flex; flex-direction: column; }
.c-track__step { display: flex; gap: 14px; position: relative; padding-bottom: 24px; }
.c-track__step:last-child { padding-bottom: 0; }
.c-track__step::before {
    content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line);
}
.c-track__step:last-child::before { display: none; }
.c-track__marker {
    width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    background: var(--field); color: var(--dim);
    border: 2px solid var(--line);
    z-index: 1;
}
.c-track__marker svg { width: 16px; height: 16px; }
.c-track__step--done .c-track__marker { background: var(--green); border-color: var(--green); color: #fff; }
.c-track__step--done::before { background: var(--green); }
.c-track__step--now .c-track__marker { background: var(--red); border-color: var(--red); color: #fff; }
.c-track__step-body { padding-top: 5px; }
.c-track__step-label { font-size: 15px; font-weight: 700; color: var(--ink); }
.c-track__step--pending .c-track__step-label { color: var(--dim); }
.c-track__step-time { font-size: 13px; color: var(--mut); margin-top: 2px; }
.c-track__canceled { text-align: center; color: #c0392b; font-weight: 700; padding: 18px; }

/* decorative map (real live courier map = future backend/JS) */
.c-track__map {
    height: 240px; border-radius: 20px; position: relative; overflow: hidden;
    border: 1px solid var(--line);
    background:
        linear-gradient(#E9E5DE 1.5px, transparent 1.5px) 0 0 / 48px 48px,
        linear-gradient(90deg, #E9E5DE 1.5px, transparent 1.5px) 0 0 / 48px 48px,
        #F2EFE9;
}
.c-track__map-pin { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -100%); }
.c-track__map-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--red); border: 4px solid #fff; box-shadow: 0 8px 20px rgba(238,83,66,.5); }
.c-track__map-chip { position: absolute; left: 22px; top: 20px; background: #fff; border-radius: 50px; padding: 8px 14px; font-size: 13px; font-weight: 700; box-shadow: 0 6px 16px rgba(0,0,0,.12); }

/* aside summary */
.c-track__item { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.c-track__item-name { flex: 1; }
.c-track__item-qty { color: var(--mut); }
.c-track__item-price { font-weight: 700; white-space: nowrap; }
.c-track__totals { margin-top: 14px; }
.c-track__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--mut); margin-bottom: 8px; }
.c-track__row--promo { color: var(--green); }
.c-track__row--total { font-size: 18px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }

/* delivery card */
.c-track__addr { display: flex; gap: 12px; margin-bottom: 16px; }
.c-track__addr svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.8; flex: 0 0 auto; }
.c-track__addr-main { font-size: 15px; font-weight: 700; color: var(--ink); }
.c-track__addr-sub { font-size: 13px; color: var(--mut); margin-top: 3px; }

@media (max-width: 900px) {
    .c-track { grid-template-columns: 1fr; }
    .c-track__aside { position: static; }
}

/* ══════════════════════════════════════════════════════════
   ACCOUNT — sidebar layout + coral cashback  (redesign 2026)
══════════════════════════════════════════════════════════ */
.c-account__inner { max-width: 1160px; }
.c-account__head { font-size: clamp(24px, 4vw, 30px); font-weight: 700; color: var(--ink); margin-bottom: 22px; }
.c-account__grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.c-account__side { position: sticky; top: 96px; }
.c-account__nav {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: 10px; display: flex; flex-direction: column; gap: 2px;
}
.c-account__nav-logout { margin: 0; }
.c-account__nav-item {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px; font-weight: 700; color: var(--ink);
    background: none; border: none; cursor: pointer; text-align: left; font-family: inherit;
    transition: background .15s, color .15s;
}
.c-account__nav-item svg { width: 19px; height: 19px; flex: 0 0 auto; stroke-linecap: round; stroke-linejoin: round; }
.c-account__nav-item:hover { background: var(--field); }
.c-account__nav-item.is-active { background: var(--coral-soft); color: var(--red); }
.c-account__nav-item--logout { color: var(--red); }
.c-account__nav-item--logout:hover { background: #fdecea; }
.c-account__content { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.c-account__bonus, .c-account__orders { margin: 0; }

/* cashback → coral gradient card */
.c-account__bonus-card {
    background: linear-gradient(135deg, var(--coral), var(--coral-2));
    color: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(238,83,66,.22);
}
.c-account__bonus-balance { font-size: 34px; font-weight: 700; color: #fff; line-height: 1; }
.c-account__bonus-uah { font-size: 16px; opacity: .92; margin-top: 8px; color: #fff; }
.c-account__bonus-hint { font-size: 13px; opacity: .85; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: #fff; }
.c-account__bonus-hint-sep { opacity: .6; }

@media (max-width: 860px) {
    .c-account__grid { grid-template-columns: minmax(0, 1fr); }
    .c-account__side { position: static; min-width: 0; }
    .c-account__nav { flex-direction: row; overflow-x: auto; max-width: 100%; }
    .c-account__nav-item { white-space: nowrap; }
}

/* ══════════════════════════════════════════════════════════
   AUTH — login / register polish  (redesign 2026)
══════════════════════════════════════════════════════════ */
.c-auth__box {
    max-width: 400px;
    border-radius: 22px;
    padding: 30px 26px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(0,0,0,.05);
}
.c-auth__logo {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%;
    font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
    margin-bottom: 22px;
}
.c-auth__mk {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--red); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px; flex: 0 0 auto;
}
.c-auth__title { font-size: 22px; font-weight: 700; color: var(--ink); }
.c-auth__sub { font-size: 13.5px; color: var(--mut); margin-top: 6px; margin-bottom: 20px; }
.c-auth__btn { border-radius: 50px; padding: 15px; font-size: 15px; font-weight: 700; }
.c-auth .c-form-control { border-radius: 12px; border: 1.5px solid var(--line); }
.c-auth .c-form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--coral-soft); }
.c-auth .c-form-label { font-size: 12.5px; font-weight: 400; color: var(--mut); }
.c-auth__otp-input {
    width: 100%;
    border-radius: 14px; border: 1.5px solid var(--line);
    text-align: center; font-size: 26px; font-weight: 700; letter-spacing: 12px;
    padding: 16px; color: var(--ink);
}
.c-auth__otp-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--coral-soft); outline: none; }
.c-auth__error {
    background: var(--coral-soft); color: var(--red);
    border-radius: 12px; padding: 11px 14px; font-size: 13.5px; font-weight: 700;
    margin-bottom: 16px; text-align: center;
}

/* ── WEB-6: блок застосунку на головній (як на carry.ck.ua) ── */
/* ── Блок застосунку (12.09, вибір Danylo): десктоп — живий екран апки + плаваючі сповіщення + один QR;
   телефон — діагональна темніша панель з екраном (варіант 3), без QR. Екран = макет редизайну design/app. ── */
.c-app { background: #fff; padding: 64px 0 48px; }
.c-app__card { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--coral) 0%, var(--coral-2) 100%); border-radius: 24px; padding: 48px 52px; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 460px; box-shadow: 0 20px 50px rgba(238,83,66,.22); }
.c-app__card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 320px at 68% 0%, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); pointer-events: none; }
.c-app__text { position: relative; z-index: 2; }
.c-app__eyebrow { color: rgba(255,255,255,.9); font-weight: 700; font-size: 14px; letter-spacing: .3px; margin-bottom: 8px; }
.c-app__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; margin: 0 0 12px; color: #fff; text-wrap: balance; }
.c-app__sub { color: rgba(255,255,255,.92); font-size: 16px; margin: 0 0 22px; max-width: 420px; line-height: 1.5; }
.c-app__stores { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.c-app__store { display: inline-flex; align-items: center; gap: 8px; background: #1a1a1a; color: #fff; border-radius: 12px; padding: 10px 18px; font-weight: 700; font-size: 15px; text-decoration: none; }
.c-app__store small { display: block; font-weight: 400; font-size: 10.5px; opacity: .8; line-height: 1; margin-bottom: 2px; }
.c-app__store:hover { background: #fff; color: var(--red); }
.c-app__pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.c-app__pay span, .c-app__pay img { height: 28px; display: inline-flex; align-items: center; padding: 0 10px; background: #fff; border-radius: 8px; color: #1a1a1a; font-weight: 700; font-size: 12.5px; }
.c-app__pay img { padding: 5px 8px; width: auto; }
.c-app__oneqr { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 14px 10px 10px; margin-top: 18px; box-shadow: 0 10px 26px rgba(0,0,0,.14); }
.c-app__oneqr img { width: 64px; height: 64px; }
.c-app__oneqr b { display: block; font-size: 14px; }
.c-app__oneqr span { font-size: 12.5px; color: var(--mut); }
.c-app__visual { position: relative; height: 100%; min-height: 380px; }
.c-app__frame { position: absolute; left: 34%; top: -24px; width: 246px; background: #1C1C1E; border-radius: 40px; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.c-app__frame::after { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #1C1C1E; z-index: 3; }
.c-app__screen { border-radius: 31px; overflow: hidden; background: #fff; height: 460px; display: flex; flex-direction: column; }
.c-app__screen img { width: 100%; height: auto; max-width: none; display: block; } /* height:auto — атрибут height розтягував картинку (Danylo 12.09) */
/* 13.09: статус-бар і таб-бар нерухомі, стрічка гортається «пальцем»: ривок з інерцією → пауза → ще ривок → назад угору */
.c-app__bar, .c-app__tabs { flex: none; position: relative; z-index: 2; background: #fff; }
.c-app__feed { flex: 1; min-height: 0; overflow: hidden; }
.c-app__feed img { animation: c-app-scroll 11s infinite; }
@keyframes c-app-scroll { /* 17.09: кадри перерізано з макета на всю ширину (раніше правий край був обрізаний) — 226px ширина → стрічка 523px, видно ~397 */
    0%, 16%  { transform: translateY(0);      animation-timing-function: cubic-bezier(.15,.75,.25,1); }
    25%, 45% { transform: translateY(-65px);  animation-timing-function: cubic-bezier(.15,.75,.25,1); }
    54%, 80% { transform: translateY(-125px); animation-timing-function: cubic-bezier(.5,0,.2,1); }
    89%, 100% { transform: translateY(0); }
}
.c-app__float { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: 0 14px 34px rgba(0,0,0,.18); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 10px; z-index: 4; white-space: nowrap; animation: c-app-float 4.2s ease-in-out infinite; }
.c-app__float i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; background: var(--coral-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.c-app__float small { display: block; font-weight: 400; color: var(--mut); font-size: 12px; }
.c-app__float--1 { left: -6%; top: 22px; }
.c-app__float--2 { right: -4%; top: 46%; animation-delay: -1.4s; }
.c-app__float--3 { left: 2%; bottom: 44px; animation-delay: -2.6s; }
@keyframes c-app-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.c-app__mascot { position: absolute; right: -8px; bottom: -14px; height: 92px; width: auto; z-index: 5; transform: rotate(6deg); }
@media (max-width: 900px) {
    .c-app { padding: 40px 0 32px; }
    .c-app__card { grid-template-columns: 1fr; gap: 0; padding: 32px 0 0; min-height: 0; border-radius: 22px; }
    .c-app__text { padding: 0 26px; }
    .c-app__oneqr { display: none; } /* свій екран не відскануєш */
    .c-app__stores { margin-bottom: 14px; }
    .c-app__pay { margin-bottom: 8px; }
    /* варіант 3 на телефоні: темніша панель з діагональним зрізом, екран по центру, зрізаний знизу */
    .c-app__visual { min-height: 0; height: 250px; margin: 20px 0 0; background: linear-gradient(160deg, var(--red-d), #B8301F); clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%); overflow: hidden; }
    .c-app__frame { left: 50%; top: 52px; width: 210px; transform: translateX(-50%); border-radius: 34px; padding: 8px; }
    .c-app__frame::after { top: 14px; width: 70px; height: 18px; }
    .c-app__screen { height: 240px; border-radius: 27px; }
    .c-app__feed img { animation-name: c-app-scroll-m; }
    @keyframes c-app-scroll-m { /* 194px → стрічка 449px, екран обрізаний панеллю — видно ~165 */
        0%, 16%  { transform: translateY(0);      animation-timing-function: cubic-bezier(.15,.75,.25,1); }
        25%, 45% { transform: translateY(-125px); animation-timing-function: cubic-bezier(.15,.75,.25,1); }
        54%, 80% { transform: translateY(-245px); animation-timing-function: cubic-bezier(.5,0,.2,1); }
        89%, 100% { transform: translateY(0); }
    }
    .c-app__float { display: none; }
    .c-app__mascot { right: 10px; bottom: -8px; height: 76px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .c-app__feed img, .c-app__float { animation: none; } }

/* ── 10.09: герой як на Tilda — фото (експорт carry.ck.ua) з діагональним зрізом праворуч ── */
.c-hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); pointer-events: none; z-index: 0; }
.c-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.c-hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(232,84,62,.45), rgba(232,84,62,0) 45%); }
.c-hero__content { max-width: 54%; display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 1; }
.c-hero .c-hero__top { flex-direction: column; align-items: flex-start; gap: 22px; }
@media (max-width: 768px) {
    .c-hero { flex-direction: column; align-items: stretch; padding-bottom: 0; }
    .c-hero__content { max-width: none; }
    .c-hero__photo { position: relative; order: 2; width: auto; height: 190px; margin: 40px 0 0; clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%); }
    .c-hero__photo::after { display: none; }
}

/* ── 10.09: маскот Tilda біля заголовка акцій ── */
.c-promos__mascot { display: inline-block; height: 64px; width: auto; vertical-align: middle; margin-right: 14px; }
@media (max-width: 600px) { .c-promos__mascot { height: 48px; margin-right: 10px; } }

/* ── 10.09: посадочні під рекламу — /kuryeram, /restoranam, /spetsialna-dostavka ── */
.c-land__hero { color: #fff; padding: 56px 0 64px; position: relative;
    /* кола — фоном, а не ::before/::after: тоді герою не потрібен overflow:hidden і тінь форми не ріжеться */
    background:
        radial-gradient(circle 260px at 60px 100%, rgba(255,255,255,.06) 99%, transparent 100%),
        radial-gradient(circle 210px at calc(100% - 90px) 70px, transparent 207px, rgba(255,255,255,.12) 208px, rgba(255,255,255,.12) 210px, transparent 211px),
        linear-gradient(160deg, var(--coral), var(--coral-2)); }
.c-land__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.c-land__copy h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 700; line-height: 1.05; margin-top: 12px; }
.c-land__copy > p { font-size: 18px; opacity: .95; margin-top: 16px; max-width: 520px; line-height: 1.5; }
.c-land__perks { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 700; }
.c-land__perks li { display: flex; align-items: center; gap: 12px; }
.c-land__perks li::before { content: '✓'; flex: 0 0 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--red); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.c-land__note { margin-top: 22px; font-size: 14px; opacity: .85; }
.c-land__form { scroll-margin-top: 90px; }
.c-land__form .ap-card { background: #fff; max-width: none; margin: 0; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.c-land__faq { max-width: 820px; margin: 0 auto; }
.c-land__faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.c-land__faq details:last-of-type { border-bottom: 1px solid var(--line); }
.c-land__faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.c-land__faq summary::-webkit-details-marker { display: none; }
.c-land__faq summary::after { content: '+'; color: var(--red); font-size: 22px; line-height: 1; flex-shrink: 0; }
.c-land__faq details[open] summary::after { content: '–'; }
.c-land__faq p { margin: 10px 0 0; color: var(--mut); line-height: 1.6; font-size: 15px; }
.c-land__sticky { display: none; }
@media (max-width: 900px) {
    .c-land__hero { padding: 44px 0 48px; }
    .c-land__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
    .c-land__sticky { display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; justify-content: center; padding: 15px; border-radius: 50px; background: var(--red); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 10px 30px rgba(238,83,66,.4); transition: transform .25s, opacity .25s; }
    .c-land__sticky.is-hidden { transform: translateY(120%); opacity: 0; }
}

/* ── 10.09: клікабельне й легкі анімації ── */
.c-btn--red, .c-btn--hero, .am-btn, .c-app__store, .c-app__qr, .c-partners__btn, .c-filter__btn, .c-foodcat, .c-search__sug-tag {
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s, color .18s, border-color .18s, opacity .18s;
}
.c-btn--red:hover, .c-btn--hero:hover, .am-btn:hover, .c-app__store:hover, .c-app__qr:hover, .c-partners__btn:hover {
    transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.14);
}
.c-filter__btn:hover, .c-foodcat:hover { transform: translateY(-2px); }
.c-btn--red:active, .c-btn--hero:active, .am-btn:active, .c-app__store:active, .c-app__qr:active, .c-partners__btn:active,
.c-filter__btn:active, .c-foodcat:active, .c-land__sticky:active, .c-card:active, .c-promo-card:active {
    transform: translateY(0) scale(.98); box-shadow: none;
}
.c-header__nav .c-header__nav-link:not(.c-header__nav-link--login):not(.c-header__nav-link--account) { position: relative; }
.c-header__nav .c-header__nav-link:not(.c-header__nav-link--login):not(.c-header__nav-link--account)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.c-header__nav .c-header__nav-link:hover::after { transform: scaleX(1); }
.c-header__cart { transition: transform .15s ease, color .15s; }
.c-header__cart:hover { transform: scale(1.12); color: var(--red); }
.c-header__logo { transition: transform .2s ease; }
.c-header__logo:hover { transform: rotate(-4deg) scale(1.03); }
.c-hero__stat { transition: background .2s, transform .2s; }
.c-hero__stat:hover { transform: translateY(-2px); }

/* поява блоків при скролі — клас .c-reveal ставить carry-ui.js лише там, де є IntersectionObserver */
.c-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.c-reveal.is-in { opacity: 1; transform: none; }

@keyframes c-kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.c-hero__photo img { animation: c-kenburns 26s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes c-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
.c-promos__mascot { animation: c-bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes c-fade-up { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.c-land__faq details[open] > p, #faq details[open] > p { animation: c-fade-up .28s ease; }

@media (prefers-reduced-motion: reduce) {
    .c-hero__photo img, .c-promos__mascot { animation: none; }
    .c-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── 12.09: єдина сітка головної — контейнер 1180/20, gap 22, один розмір h2, секції 64px ── */
.c-sec-h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; color: #111; line-height: 1.2; margin: 0 0 20px; }
.c-cuisines { padding: 0 0 64px; }
.c-cuisines__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-cuisines__chip { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 700; transition: transform .16s, border-color .16s, color .16s; }
.c-cuisines__chip:hover { transform: translateY(-2px); border-color: var(--red); color: var(--red); }
.c-filter__btn, .c-foodcat { min-height: 42px; }
.c-foodcat { padding: 6px 14px 6px 8px; }
.c-faq { padding: 64px 0; }
.c-faq__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 44px; align-items: start; }
.c-faq__lead p { margin-top: 4px; font-size: 15px; }
.c-faq__lead a { color: var(--red); font-weight: 700; }
.c-faq__list details { border-top: 1px solid var(--line); padding: 14px 0; }
.c-faq__list details:last-of-type { border-bottom: 1px solid var(--line); }
.c-faq__list summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.c-faq__list summary::-webkit-details-marker { display: none; }
.c-faq__list summary::after { content: '+'; color: var(--red); font-size: 22px; line-height: 1; flex-shrink: 0; }
.c-faq__list details[open] summary::after { content: '–'; }
.c-faq__list p { margin: 10px 0 0; color: var(--mut); line-height: 1.6; font-size: 15px; }
@media (max-width: 900px) { .c-faq__grid { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 768px) { .c-cuisines, .c-faq { padding-bottom: 48px; } .c-faq { padding-top: 48px; } .c-restaurants { padding-top: 40px; } .c-how { padding: 48px 0; } .c-feedback { padding: 48px 0; } }
@media (max-width: 560px) { .c-promo-card { width: 84%; } }

/* 12.09, Danylo: маленькі лого закладів на картках поки сховати; повернути = видалити ці два рядки
   (розмітка в site/_agent_card.php і правило .c-card:has(.c-card__logo) лишаються). */
.c-card__logo { display: none; }
.c-card:has(.c-card__logo) .c-card__body { padding-top: 16px; }

/* ── 12.09: секція закладів на головній — коралове полотно як на Tilda (білі картки, білі чипи) ── */
.c-restaurants--coral { background: linear-gradient(180deg, var(--coral) 0%, var(--coral-2) 100%); padding-bottom: 64px; }
.c-restaurants--coral .c-filter__btn, .c-restaurants--coral .c-foodcat { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); color: #fff; }
.c-restaurants--coral .c-filter__btn:hover, .c-restaurants--coral .c-foodcat:hover { background: rgba(255,255,255,.28); border-color: #fff; color: #fff; }
.c-restaurants--coral .c-filter__btn.is-active, .c-restaurants--coral .c-foodcat.is-active { background: #fff; border-color: #fff; color: var(--red); }
.c-restaurants--coral .c-foodcat__icon { background: rgba(255,255,255,.9); }
.c-restaurants--coral .c-foodcats { scrollbar-color: rgba(255,255,255,.5) transparent; }
.c-restaurants--coral .c-addr-bar { border-color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.c-restaurants--coral .c-sortbar, .c-restaurants--coral .c-sortbar__cnt, .c-restaurants--coral .c-no-results { color: #fff; }
.c-restaurants--coral .c-sortbar__cnt b, .c-restaurants--coral .c-no-results strong { color: #fff; }
.c-restaurants--coral .c-card { border-color: transparent; box-shadow: 0 8px 22px rgba(120,30,20,.18); }
.c-restaurants--coral .c-card:hover { box-shadow: 0 18px 40px rgba(120,30,20,.28); }
.c-restaurants--coral + .c-cuisines { padding-top: 56px; }
@media (max-width: 768px) { .c-restaurants--coral { padding-bottom: 48px; } }

/* ── 12.09: єдиний стиль FAQ на кухнях і /dostavka (як на головній) ── */
.c-cuisine__faq details, .c-dost details { border-top: 1px solid var(--line); padding: 14px 0; }
.c-cuisine__faq details:last-of-type, .c-dost details:last-of-type { border-bottom: 1px solid var(--line); }
.c-cuisine__faq summary, .c-dost summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.c-cuisine__faq summary::-webkit-details-marker, .c-dost summary::-webkit-details-marker { display: none; }
.c-cuisine__faq summary::after, .c-dost summary::after { content: '+'; color: var(--red); font-size: 22px; line-height: 1; flex-shrink: 0; }
.c-cuisine__faq details[open] summary::after, .c-dost details[open] summary::after { content: '–'; }
.c-cuisine__faq details[open] > p, .c-dost details[open] > p { animation: c-fade-up .28s ease; }

/* ── 12.09: страви на десктопі — фото зверху, 3 колонки (як на Tilda); в кінці файлу, щоб перебити базові .c-product__* ── */
/* 12.09: на десктопі страви як на Tilda — велике фото зверху, 3 колонки; на планшеті/телефоні лишаються рядки з мініатюрою */
@media (min-width: 901px) {
    .c-menu__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .c-product__open { flex-direction: column-reverse; gap: 12px; padding: 12px 12px 16px; height: 100%; }
    .c-product__info { padding: 0 6px; }
    .c-product__thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; }
    .c-product__add { right: 10px; bottom: 10px; width: 40px; height: 40px; }
    .c-product__name { font-size: 17px; }
    .c-product__desc { -webkit-line-clamp: 3; }
    .c-product { display: flex; }
    .c-product__price-row { font-size: 18px; }
}

/* ── 12.09: кошик — прогрес до безкоштовної доставки / мінімального замовлення ── */
.c-cart__free { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--coral-soft); }
.c-cart__free-txt { font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 7px; }
.c-cart__free-track { height: 6px; border-radius: 6px; background: rgba(238,83,66,.18); overflow: hidden; }
.c-cart__free-track i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--red); transition: width .35s ease; }
.c-cart__free--done { background: #EAF8EF; }
.c-cart__free--done .c-cart__free-txt { color: var(--green); }
.c-cart__free--done .c-cart__free-track i { background: var(--green); }
.c-cart__free--min .c-cart__free-txt { color: var(--ink); }

/* ── 12.09: липка кнопка кошика на телефоні ── */
.c-cartbar { display: none; }
@media (max-width: 768px) {
    .c-cartbar { position: fixed; left: 14px; right: 14px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 13px 16px 13px 14px; border: 0; border-radius: 50px; background: var(--red); color: #fff; font: inherit; font-weight: 700; font-size: 16px; box-shadow: 0 2px 6px rgba(238,83,66,.35), 0 -4px 18px -6px rgba(238,83,66,.3); cursor: pointer; }
    /* 30.09 WEB-77: тінь не сягає нижче 8px від кнопки — iOS Safari ріже все, що нижче краю вьюпорта, рівною лінією (було 0 10px 30px ≈ 40px униз) */
    /* 30.09 WEB-78: кнопка нижче — 8px від низу (було 14), тінь WEB-77 у ці 8px вміщується */
    .c-cartbar[style*="display: none"] { display: none; }
    .c-cartbar__qty { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px; background: rgba(255,255,255,.22); font-size: 14px; }
    .c-cartbar__label { flex: 1; text-align: left; }
    .c-cartbar__total { font-weight: 700; }
    .c-land__sticky ~ .c-cartbar { bottom: 74px; }
}

/* ── 12.09: пошук по меню закладу + підказка прокрутки табів ── */
.c-msearch { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; margin: 18px 0 4px; transition: border-color .15s, box-shadow .15s; }
.c-msearch:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(238,83,66,.12); }
.c-msearch svg { width: 18px; height: 18px; color: var(--dim); flex: 0 0 auto; }
.c-msearch__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); padding: 12px 0; }
.c-msearch__input::placeholder { color: var(--dim); }
.c-msearch__empty { color: var(--mut); font-size: 15px; padding: 18px 0 0; }
/* 30.09 WEB-78: затухання — липким псевдоелементом поверх суцільного фону ряду; mask-image робив прозорим і фон, і крізь нього просвічували страви */
.c-tabs::after { content: ''; position: sticky; right: 0; flex: 0 0 56px; margin-left: -64px; background: linear-gradient(90deg, rgba(252,252,252,0), #fcfcfc); pointer-events: none; opacity: 0; transition: opacity .2s; }
.c-tabs.is-more::after { opacity: 1; }
/* 30.09 WEB-78: на телефоні ряд — на всю ширину екрана, поле 20px усередині скролу (як ряди на головній, 13.09); кінцеве поле дає ::after (56 − 44 − 8 gap = 20px) */
@media (max-width: 768px) {
    .c-tabs { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 0; scroll-padding-inline: 20px; }
    .c-tabs::after { margin-left: -44px; }
}

/* ── 30.09 WEB-79: допродажі — ряд міні-карток (вікно й сторінка страви, кошик); спека upsell-site-2026-09-30-spec.md ── */
.c-ups { --ups-pad: 0px; margin: 4px 0 18px; }
.c-ups__h { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.c-ups__track { display: flex; gap: 10px; overflow-x: auto; margin: 0 calc(-1 * var(--ups-pad)); padding: 0 var(--ups-pad) 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.c-ups__track::-webkit-scrollbar { display: none; }
/* поле в кінці — псевдоелементом: padding-right у скрол-контейнері Safari ігнорує (як 13.09) */
.c-ups__track::after { content: ''; flex: 0 0 max(0px, calc(var(--ups-pad) - 10px)); }
.c-ups__card { position: relative; flex: 0 0 118px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.c-ups__img { display: block; width: 100%; height: 86px; object-fit: cover; border-radius: 10px; background: var(--field); }
.c-ups__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 7px; min-height: 31px; font-size: 12.5px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.c-ups__price { display: block; margin-top: 4px; padding-right: 30px; font-size: 13px; font-weight: 700; color: var(--ink); }
.c-ups__price s { margin-left: 4px; font-size: 11.5px; font-weight: 400; color: var(--dim); }
.c-ups__add { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 3px 8px rgba(238,83,66,.35); }
.c-ups__add:hover { background: var(--red-d); }
.c-ups__add svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2.6; }
.c-ups__add.is-added { animation: c-add-pop .36s cubic-bezier(.34,1.56,.64,1); }
@media (prefers-reduced-motion: reduce) { .c-ups__add.is-added { animation: none; } }
.c-modal__body .c-ups { --ups-pad: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.c-cart__body .c-ups { --ups-pad: 20px; margin-top: 20px; }
.c-dish__body .c-ups { margin-top: 22px; }
@media (max-width: 600px) { .c-modal__body .c-ups { --ups-pad: 16px; } }

/* 12.09: на телефоні тости піднімаємо над липкою кнопкою кошика */
@media (max-width: 768px) { .c-toast-container { bottom: 84px; right: 14px; left: 14px; } }

/* 12.09: контакти на телефоні — довгий email розтягував картку за екран */
.c-contact__grid > * { min-width: 0; }
.c-contact__cc { min-width: 0; }
.c-contact__cc b, .c-contact__cc span, .c-contact__cc a { overflow-wrap: anywhere; }
.c-app__oneqr--band { margin-top: 20px; }
.c-contact__cc > div { min-width: 0; flex: 1; }
@media (max-width: 480px) { .c-contact__go { display: none; } .c-contact__v { font-size: 16px; } }

/* ── 13.09, Danylo (з телефона): картки закладів рівні й компактні; категорії закладів сховано, лишились категорії їжі ── */
.c-card__chips { gap: 6px; margin-top: 10px; }
.c-card__chip { padding: 4px 9px; font-size: 12px; line-height: 16px; gap: 4px; }
.c-card__chip--promo { background: var(--coral-soft); color: var(--red); }
.c-card__cuisine { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-restaurants--coral .c-filter { display: none; } /* категорії закладів — сховані за словом Danylo 13.09 (JS фільтра лишається, активний «Всі») */
.c-restaurants--coral { padding-top: 40px; }
.c-restaurants--coral .c-foodcats { margin-bottom: 20px; padding-bottom: 4px; }
.c-restaurants--coral .c-foodcat { background: #fff; border-color: #fff; color: var(--ink); }
.c-restaurants--coral .c-foodcat:hover { background: #fff; border-color: #fff; color: var(--red); }
.c-restaurants--coral .c-foodcat.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
/* 13.09: іконки категорій — білі силуети (як в апці), тому кладемо їх на кораловий кружок, інакше біле на білому */
.c-restaurants--coral .c-foodcat__icon { background: var(--red); color: #fff; border-radius: 50%; }
.c-restaurants--coral .c-foodcat__icon img { width: 18px; height: 18px; border-radius: 0; background: transparent; }
/* виділена/натиснута категорія піднімається на 2px — запас зверху, щоб скрол-контейнер її не різав */
.c-restaurants--coral .c-foodcats { padding-top: 4px; margin-top: -4px; }
.c-restaurants--coral .c-addr-bar { margin-top: 0; }
@media (max-width: 768px) {
    .c-restaurants--coral { padding-top: 24px; }
    .c-card__body { padding: 12px; }
    .c-card__name { font-size: 15px; }
    .c-card__cuisine { -webkit-line-clamp: 1; font-size: 12px; }
    .c-card__chips { gap: 5px; margin-top: 8px; }
    .c-card__chip { padding: 3px 8px; font-size: 11.5px; }
    .c-card__cover { height: 120px; }
}
/* картки в ряду рівні: чипи притиснуті до низу */
.c-card { display: flex; flex-direction: column; }
.c-card__body { flex: 1; display: flex; flex-direction: column; }
.c-card__chips { margin-top: auto; padding-top: 10px; }
/* WEB-71: рядок чипів завжди один і однакової висоти (10 + чип 24) — картки рівні з чипами й без */
.c-card__chips { min-height: 34px; flex-wrap: nowrap; overflow: hidden; }
.c-restaurants--coral .c-foodcat__icon svg { display: block; width: 16px; height: 16px; }
@media (max-width: 768px) {
    /* 13.09: категорії гортаються до краю екрана, а не до поля контейнера */
    .c-restaurants--coral .c-foodcats { scrollbar-width: none; }
    .c-restaurants--coral .c-foodcats::-webkit-scrollbar { display: none; }
    /* заголовок акцій в один рядок: стрілки на телефоні зайві — гортається пальцем, сусідня картка визирає */
    .c-promos__nav { display: none; }
    .c-promos__title { font-size: 23px; white-space: nowrap; display: flex; align-items: center; }
    .c-promos__title span { margin-left: .25em; }
}
/* 13.09 (3): категорії й акції гортаються до країв екрана на будь-якій ширині (Danylo — «не обрізати»).
   --c-bleed = відстань від краю контенту .c-container до краю екрана (контейнер 1180, поля 20).
   Секції ріжуть зайве по горизонталі (100vw на Windows включає смугу прокрутки). */
.c-promos, .c-restaurants--coral { overflow-x: clip; --c-bleed: max(20px, calc((100vw - 1140px) / 2)); }
.c-promos__track-wrap { overflow-x: visible; }
.c-promos__track { margin-left: calc(-1 * var(--c-bleed)); margin-right: calc(-1 * var(--c-bleed)); padding-left: var(--c-bleed); padding-right: 0; scroll-padding: 0 var(--c-bleed); }
.c-restaurants--coral .c-foodcats { margin-left: calc(-1 * var(--c-bleed)); margin-right: calc(-1 * var(--c-bleed)); padding-left: var(--c-bleed); padding-right: 0; scroll-padding-left: var(--c-bleed); }
/* поле в кінці — псевдоелементом: padding-right у скрол-контейнері Safari ігнорує */
.c-promos__track::after { content: ''; flex: 0 0 calc(var(--c-bleed) - 22px); }
.c-restaurants--coral .c-foodcats::after { content: ''; flex: 0 0 calc(var(--c-bleed) - 10px); }

/* ── 13.09: вхід або реєстрація — один екран (номер → ім'я для нових → код) + м'яко про застосунок ── */
.c-auth { background: var(--bg, #F6F3F0); align-items: flex-start; padding-top: 48px; }
.c-auth__wrap { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.c-auth__box { max-width: none; }
.c-auth__logo img { width: 34px; height: 34px; }
.c-auth__sub a { color: var(--red); font-weight: 700; }
.c-auth__nowrap { white-space: nowrap; color: var(--ink); }
.c-auth__field { margin-bottom: 4px; }
.c-auth__form .c-form-label { margin-bottom: 6px; }
.c-auth__hint { font-size: 12.5px; color: var(--mut); margin: 8px 2px 6px; }
.c-auth__ok { background: #EAF6EE; color: #1a7f37; border-radius: 12px; padding: 11px 14px; font-size: 13.5px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.c-phone { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.c-phone:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--coral-soft); }
.c-phone__cc { display: flex; align-items: center; padding: 0 12px 0 16px; font-size: 17px; font-weight: 700; color: var(--ink); background: #F8F4F1; border-right: 1.5px solid var(--line); }
.c-phone__input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 15px 14px; font: 700 17px/1.2 'PT Sans', sans-serif; letter-spacing: .04em; color: var(--ink); background: transparent; }
.c-phone__input::placeholder { color: #C9C2BC; font-weight: 400; }
.c-auth__otp-input { margin-bottom: 4px; font-size: 28px; letter-spacing: 14px; }
.c-auth__otp-input::placeholder { color: #D5CEC8; letter-spacing: 8px; }
.c-auth__resend { text-align: center; margin-top: 14px; }
.c-auth__resend button { background: none; border: 0; font: 700 13.5px 'PT Sans', sans-serif; color: var(--red); cursor: pointer; padding: 6px; }
.c-auth__resend button:disabled { color: var(--mut); font-weight: 400; cursor: default; }
.c-auth-app { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.c-auth-app__icon { width: 44px; height: 44px; border-radius: 12px; grid-row: span 2; align-self: start; }
.c-auth-app__text b { display: block; font-size: 14px; color: var(--ink); }
.c-auth-app__text span { display: block; font-size: 12.5px; color: var(--mut); line-height: 1.35; margin-top: 2px; }
.c-auth-app__stores { display: flex; gap: 8px; margin-top: 8px; }
.c-auth-app__stores a { font-size: 12.5px; font-weight: 700; color: #fff; background: #1a1a1a; border-radius: 999px; padding: 7px 13px; transition: background .15s; }
.c-auth-app__stores a:hover { background: var(--red); color: #fff; }
@media (max-width: 480px) { .c-auth { padding: 20px 14px 110px; } .c-auth__box { padding: 26px 20px; } }
.c-auth-app--success { text-align: left; margin-top: 12px; }
.c-auth-app__icon--emoji { display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--coral-soft); }
.c-auth-app__stores a.c-auth-app__red { background: var(--red); }
.c-appbar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; background: #fff; border-bottom: 1px solid var(--line); font-family: 'PT Sans', sans-serif; }
.c-appbar img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.c-appbar__text { flex: 1; min-width: 0; line-height: 1.2; }
.c-appbar__text b { display: block; font-size: 13.5px; color: var(--ink); }
.c-appbar__text span { display: block; font-size: 11.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-appbar__open { flex: none; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 7px 14px; }
.c-appbar__open:hover { color: #fff; }
.c-appbar__close { flex: none; width: 28px; height: 28px; border: 0; background: none; color: #A9A29C; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
@media (min-width: 769px) { .c-appbar { display: none; } }
.c-appbar[hidden] { display: none; }

/* ── 13.09 (5): іконка застосунку як на iPhone (справжня AppIcon з ios-app), кнопка «Хочу їсти!» на першому екрані, компактний банер апки на телефоні ── */
.c-appbar img, .c-auth-app__icon, .c-app__icon { border-radius: 22.5%; box-shadow: 0 2px 8px rgba(238,83,66,.25); }
.c-app__icon { display: none; }
.c-hero__go { display: none; }
@media (max-width: 768px) {
    #restaurants, #foodCategoryFilter, #promos { scroll-margin-top: 116px; } /* 17.09: шапка на телефоні у два рядки — з адресою; #promos — WEB-72, якір «Акції» з бургера */
    .c-hero__go { display: flex; flex-direction: column; gap: 12px; margin-top: -8px; }
    .c-hero__cta { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 20px; padding: 12px 14px 12px 12px; box-shadow: 0 14px 30px rgba(120,30,15,.28); text-decoration: none; }
    .c-hero__cta:active { transform: scale(.98); }
    .c-hero__cta-emoji { width: 48px; height: 48px; flex: none; border-radius: 14px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 28px; animation: c-cta-wiggle 3.6s ease-in-out infinite; }
    .c-hero__cta-text { flex: 1; min-width: 0; line-height: 1.15; }
    .c-hero__cta-text b { display: block; font-size: 20px; color: #fff; }
    .c-hero__cta-text small { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-top: 3px; }
    .c-hero__photo { margin-top: 24px; }
    .c-hero__cta-arrow { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; animation: c-cta-nudge 1.8s ease-in-out infinite; }

    /* банер застосунку — компактна картка замість панелі на пів екрана */
    .c-app { padding: 24px 0 8px; }
    .c-app__card { display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; padding: 18px; border-radius: 20px; min-height: 0; align-items: center; }
    .c-app__text { display: contents; }
    .c-app__icon { display: block; width: 56px; height: 56px; grid-row: 1 / 3; box-shadow: 0 0 0 2px rgba(255,255,255,.55), 0 4px 14px rgba(0,0,0,.18); }
    .c-app__eyebrow { display: none; }
    .c-app__title { font-size: 18px; line-height: 1.2; margin: 0; align-self: end; }
    .c-app__sub { font-size: 13px; margin: 2px 0 0; align-self: start; }
    .c-app__sub b { display: none; }
    .c-app__stores { grid-column: 1 / -1; margin: 14px 0 0; gap: 8px; flex-wrap: nowrap; }
    .c-app__store { flex: 1; justify-content: center; padding: 8px 10px; font-size: 14px; border-radius: 12px; }
    .c-app__pay, .c-app__visual { display: none; }
}
@keyframes c-cta-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes c-cta-wiggle { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(10deg); } 96% { transform: rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .c-hero__cta-emoji, .c-hero__cta-arrow { animation: none; } }
/* Сторінка страви /<заклад>/<страва> (SEO: Tilda мала 907 таких сторінок, 403k показів) */
.c-dish { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin: 0 0 8px; }
.c-dish__img { width: 480px; max-width: 100%; height: auto; border-radius: 16px; object-fit: cover; }
.c-dish__body { flex: 1 1 320px; min-width: 280px; }
.c-dish__weight { color: #6E6862; font-size: 15px; margin: 0 0 8px; }
.c-dish__desc { color: #1F1B17; font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.c-dish__price { font-size: 28px; font-weight: 700; color: #1F1B17; margin: 0 0 16px; }
.c-dish__price s { font-size: 18px; font-weight: 400; color: #6E6862; margin-left: 8px; }
.c-dish__add { width: auto; min-width: 200px; height: 48px; padding: 0 24px; border-radius: 12px; font-size: 16px; font-weight: 700; }
.c-dish__out { color: #6E6862; font-size: 15px; line-height: 1.6; }
.c-dish__note { color: #6E6862; font-size: 14px; line-height: 1.6; margin: 16px 0 0; }
@media (max-width: 640px) {
    .c-dish { gap: 16px; }
    .c-dish__price { font-size: 24px; }
    .c-dish__add { width: 100%; }
}
.c-product__name .c-product__link { color: inherit; text-decoration: none; }
.c-product__name .c-product__link:hover { text-decoration: underline; }

/* ── 17.09 (Danylo): адреса доставки в шапці (була рядком у списку закладів) ── */
.c-headaddr { position: relative; flex: 0 1 auto; min-width: 0; margin-left: 4px; }
.c-headaddr__btn { display: flex; align-items: center; gap: 7px; max-width: 280px; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-family: inherit; color: var(--ink); cursor: pointer; }
.c-headaddr__btn:hover { border-color: var(--red); }
.c-headaddr__pin { color: var(--red); flex: none; }
.c-headaddr__ch { color: var(--dim); flex: none; }
.c-headaddr__val { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mut); }
.c-headaddr.is-set .c-headaddr__val { color: var(--ink); }
.c-headaddr.is-open .c-headaddr__btn { border-color: var(--red); }
.c-headaddr__pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 120; width: 320px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(0,0,0,.16); padding: 14px; }
.c-headaddr__label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.c-headaddr__input { width: 100%; box-sizing: border-box; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: 15px; font-family: inherit; color: var(--ink); outline: none; }
.c-headaddr__input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--coral-soft); }
.c-headaddr__hint { font-size: 12px; color: var(--mut); margin: 8px 0 0; line-height: 1.4; }
.c-headaddr__clear { margin-top: 10px; border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--red); cursor: pointer; }
/* випадайка Google Places малюється в body */
.pac-container { z-index: 10000; }
@media (max-width: 768px) {
    /* на телефоні адреса — окремим рядком під лого: у ряд із кошиком і меню вона не влізе */
    .c-header__inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 8px; }
    .c-headaddr { order: 5; flex: 0 0 100%; max-width: 100%; margin-left: 0; }
    .c-headaddr__btn { max-width: 100%; width: 100%; }
    .c-headaddr__val { flex: 1; text-align: left; }
    .c-headaddr__pop { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   WEB-43 (23.09) — посадочні під платний трафік: /kuryeram, /restoranam.
   Окремий namespace .c-ld*, бо ці сторінки живуть на layout `landing` і не
   мають нічого спільного з шапкою/сіткою клієнтського сайту. Старі .c-land__*
   лишаються: на них досі стоїть /spetsialna-dostavka.
   ═══════════════════════════════════════════════════════════════════════════ */
.c-ld-body { background: #fff; }

/* ── липка шапка ── */
.c-ldhead { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.c-ldhead.is-stuck { box-shadow: 0 2px 16px rgba(31,27,23,.10); }
.c-ldhead__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.c-ldhead__logo { display: flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 800; color: var(--ink); }
.c-ldhead__logo img { border-radius: 8px; }
.c-ldhead__right { display: flex; align-items: center; gap: 14px; }
.c-ldhead__tel { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.c-ldhead__tel:hover { color: var(--red); }
.c-ldhead__cta { display: inline-flex; align-items: center; padding: 11px 22px; border-radius: 50px; background: var(--red); color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; }
.c-ldhead__cta:hover { background: var(--red-d); color: #fff; }

/* ── герой ── */
.c-ld-hero { position: relative; color: #fff; padding: 56px 0 96px; }
.c-ld-hero--courier { background:
    radial-gradient(circle 240px at 12% 108%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(circle 200px at 88% -8%, rgba(255,255,255,.12), transparent 70%),
    linear-gradient(155deg, #F07257, #D63D2D); }
.c-ld-hero--partner { background:
    radial-gradient(circle 260px at 10% 110%, rgba(238,83,66,.35), transparent 70%),
    radial-gradient(circle 220px at 92% -6%, rgba(255,255,255,.10), transparent 70%),
    linear-gradient(150deg, #241E1A 8%, #4A2A22 52%, #C6432F); }
.c-ld-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.c-ld-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: 50px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22);
    font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.c-ld-hero__copy h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.06; margin: 18px 0 0; letter-spacing: -.01em; }
.c-ld-hero__lead { font-size: 18px; line-height: 1.55; opacity: .93; margin: 18px 0 0; max-width: 520px; }
.c-ld-perks { list-style: none; margin: 26px 0 0; display: flex; flex-direction: column; gap: 11px; font-size: 16px; font-weight: 700; }
.c-ld-perks li { display: flex; align-items: flex-start; gap: 12px; }
.c-ld-perks li::before { content: '✓'; flex: 0 0 25px; height: 25px; margin-top: 1px; border-radius: 50%;
    background: #fff; color: var(--red); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.c-ld-hero__note { margin: 24px 0 0; font-size: 14px; opacity: .8; }
.c-ld-hero__form { scroll-margin-top: 80px; }
.c-ld-hero__form .ap-card { background: #fff; max-width: none; margin: 0; box-shadow: 0 28px 70px rgba(0,0,0,.24); }

/* ── стрічка фактів: біла картка, що заходить на герой ── */
.c-ld-strip { position: relative; z-index: 2; margin-top: -48px; }
.c-ld-strip__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
    background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(31,27,23,.08); }
.c-ld-strip__row:has(> .c-ld-strip__item:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.c-ld-strip__item { background: #fff; padding: 22px 20px; text-align: center; }
.c-ld-strip__item b { display: block; font-size: 30px; font-weight: 800; color: var(--red); line-height: 1.1; }
.c-ld-strip__item span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--mut); }

/* ── секції ── */
.c-ld-sec { padding: 64px 0; }
.c-ld-sec--soft { background: #FBF7F3; }
.c-ld-sech { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.c-ld-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.c-ld-sech h2 { font-size: clamp(25px, 3.6vw, 36px); font-weight: 800; line-height: 1.15; margin-top: 10px; letter-spacing: -.01em; }

/* ── кроки ── */
.c-ld-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-ld-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px 26px; }
.c-ld-sec--soft .c-ld-step { border-color: #EFE6DC; }
.c-ld-step__n { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border-radius: 50%; background: var(--coral-soft); color: var(--red); font-size: 17px; font-weight: 800; }
.c-ld-step h3 { font-size: 19px; font-weight: 800; margin-top: 16px; }
.c-ld-step p { color: var(--mut); font-size: 15px; line-height: 1.55; margin-top: 8px; }

/* ── картки з іконками ── */
.c-ld-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-ld-cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.c-ld-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px 26px; }
.c-ld-sec--soft .c-ld-card { border-color: #EFE6DC; }
.c-ld-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border-radius: 14px; background: var(--coral-soft); color: var(--red); }
.c-ld-card__ic svg { width: 24px; height: 24px; }
.c-ld-card h3 { font-size: 19px; font-weight: 800; margin-top: 16px; }
.c-ld-card p { color: var(--mut); font-size: 15px; line-height: 1.55; margin-top: 8px; }

/* ── порівняння ── */
.c-ld-cmp { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid #EFE6DC; border-radius: 20px; overflow: hidden; }
.c-ld-cmp__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; align-items: center; gap: 12px;
    padding: 15px 22px; border-top: 1px solid var(--line); font-size: 15px; }
.c-ld-cmp__row:first-child { border-top: none; }
.c-ld-cmp__row span { color: var(--mut); }
.c-ld-cmp__row b { color: var(--ink); font-weight: 700; }
.c-ld-cmp__row i { color: var(--dim); font-style: normal; }
.c-ld-cmp__row--head { background: #FBF7F3; padding-top: 13px; padding-bottom: 13px; font-size: 13px;
    font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.c-ld-cmp__row--head b { color: var(--red); }
.c-ld-cmp__row--head i { color: var(--dim); }
.c-ld-cmp__note { max-width: 860px; margin: 14px auto 0; font-size: 12.5px; color: var(--dim); text-align: center; }

/* ── чипи закладів ── */
.c-ld-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; max-width: 900px; margin: 0 auto; }
.c-ld-chip { padding: 9px 16px; border-radius: 50px; background: #fff; border: 1px solid #EFE6DC;
    font-size: 14.5px; font-weight: 700; color: var(--ink); }

/* ── FAQ ── */
.c-ld-faq { max-width: 780px; }
.c-ld-faq details { border-top: 1px solid #EDE4DA; padding: 15px 0; }
.c-ld-faq details:last-of-type { border-bottom: 1px solid #EDE4DA; }
.c-ld-faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.c-ld-faq summary::-webkit-details-marker { display: none; }
.c-ld-faq summary::after { content: '+'; color: var(--red); font-size: 22px; line-height: 1; flex-shrink: 0; }
.c-ld-faq details[open] summary::after { content: '–'; }
.c-ld-faq details[open] > p { animation: c-fade-up .28s ease; }
.c-ld-faq p { margin: 10px 0 0; color: var(--mut); line-height: 1.6; font-size: 15px; }

/* ── фінальний CTA ── */
.c-ld-band { border-radius: 26px; padding: 48px 32px; text-align: center; color: #fff;
    background: linear-gradient(150deg, #F07257, #D63D2D); }
.c-ld-band h2 { font-size: clamp(25px, 3.6vw, 34px); font-weight: 800; }
.c-ld-band p { font-size: 16.5px; opacity: .93; margin: 12px auto 26px; max-width: 520px; }
.c-ld-band__btns { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.c-ld-band__btn { display: inline-flex; align-items: center; padding: 16px 40px; border-radius: 50px;
    background: #fff; color: var(--red); font-size: 16.5px; font-weight: 800; }
.c-ld-band__btn:hover { background: rgba(255,255,255,.9); color: var(--red); }
.c-ld-band__tel { font-size: 15px; font-weight: 700; color: #fff; opacity: .9; }
.c-ld-band__tel:hover { color: #fff; opacity: 1; }

/* ── підвал ── */
.c-ldfoot { background: #201B18; color: #C9C1B9; padding: 40px 0 0; margin-top: 8px; }
.c-ldfoot__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.c-ldfoot__brand a { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 19px; font-weight: 800; }
.c-ldfoot__brand img { border-radius: 7px; }
.c-ldfoot__brand p { margin-top: 12px; font-size: 14px; line-height: 1.6; max-width: 320px; }
.c-ldfoot__links, .c-ldfoot__contacts { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.c-ldfoot__links a, .c-ldfoot__contacts a { color: #C9C1B9; }
.c-ldfoot__links a:hover, .c-ldfoot__contacts a:hover { color: #fff; }
.c-ldfoot__bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 16px 0; text-align: center; font-size: 13px; color: #8E857D; }

@media (max-width: 900px) {
    .c-ld-hero { padding: 40px 0 88px; }
    .c-ld-hero__grid { grid-template-columns: 1fr; gap: 30px; }
    .c-ld-hero__lead { max-width: none; }
    .c-ld-steps, .c-ld-cards, .c-ld-cards--2 { grid-template-columns: 1fr; }
    .c-ld-strip__row, .c-ld-strip__row:has(> .c-ld-strip__item:nth-child(3):last-child) { grid-template-columns: repeat(2, 1fr); }
    .c-ldfoot__inner { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 768px) {
    .c-ldhead__tel span { display: none; }
    .c-ldhead__tel { width: 42px; height: 42px; justify-content: center; border-radius: 50%; border: 1.5px solid var(--line); }
    .c-ldhead__cta { padding: 10px 18px; font-size: 14.5px; }
    .c-ld-sec { padding: 46px 0; }
    .c-ld-sech { margin-bottom: 28px; }
    .c-ld-band { padding: 36px 22px; border-radius: 20px; }
    /* липка кнопка знизу не має перекривати кінець сторінки */
    .c-ldfoot__bottom { padding-bottom: 82px; }
}
@media (max-width: 600px) {
    .c-ld-strip { margin-top: -40px; }
    .c-ld-strip__item { padding: 18px 12px; }
    .c-ld-strip__item b { font-size: 25px; }
    .c-ld-strip__item span { font-size: 12.5px; }
    .c-ld-cmp__row { grid-template-columns: 1fr; gap: 3px; padding: 14px 18px; }
    .c-ld-cmp__row--head { display: none; }
    .c-ld-cmp__row b::before { content: 'Carry: '; color: var(--red); font-weight: 800; }
    .c-ld-cmp__row i::before { content: 'Агрегатори: '; }
}

/* ── 30.09 WEB-81: картка закладу — варіант C (щільніше, фото без міток поверх); спека agent-card-badges-2026-09-30-spec.md ──
   Назва й кухня — по 1 рядку всюди, рядок міток один і фіксованої висоти: картки рівні з мітками й без.
   Мітка, що не влазить у ширину, переноситься в прихований другий рядок — ховається ціла, а не обрізається. */
.c-card__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-card__cuisine { -webkit-line-clamp: 1; }
.c-card__chips { flex-wrap: wrap; height: 34px; min-height: 0; padding-top: 10px; overflow: hidden; }
.c-card__chip { height: 24px; }
.c-card__chip--new { background: var(--ink); color: #fff; }
.c-card__chip--free { background: #EAF8EF; color: #1a7f37; }
@media (max-width: 768px) {
    .c-card__cover { height: 112px; }
    .c-card__body, .c-card:has(.c-card__logo) .c-card__body { padding: 10px 12px 12px; }
    .c-card__chips { height: 30px; padding-top: 8px; }
    .c-card__chip { height: 22px; }
}
