/* /gde-kupit/ — список городов и страницы городов (aandem), 15.10.2026 */
.gk, .gk *, .gk *::before, .gk *::after { box-sizing: border-box; }
.gk {
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
    color: var(--ink, #20242d);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
.gk h2 {
    margin: 0 0 20px;
    font-family: "Philosopher", Georgia, serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.15;
}
.gk p { margin: 0 0 12px; }
.gk p:last-child { margin-bottom: 0; }
.gk a { color: var(--red, #f14850); }
.gk ul { margin: 0; padding: 0; list-style: none; }
.gk li { margin: 0; padding: 0; }
.gk li::before { display: none; }

/* Первый экран */
.gk-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 40px;
    padding: 36px 40px;
    background: linear-gradient(135deg, var(--rose, #fdecee), #fff 62%);
    border: 1px solid var(--line, #e6e8ee);
    border-radius: var(--radius-lg, 24px);
    box-shadow: 0 6px 22px rgba(30, 36, 48, .06);
}
.gk-hero__text { flex: 1 1 520px; }
.gk-lead { max-width: 680px; font-size: 18px; margin-bottom: 18px !important; }
.gk-hero--city .gk-lead { margin-top: 12px !important; }
.gk-city {
    display: inline-flex;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--line, #e6e8ee);
    border-radius: 999px;
    font-size: 15px;
}
.gk-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.gk-facts li {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--line, #e6e8ee);
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.4;
}
.gk-facts b { color: var(--red, #f14850); }

/* Поиск города */
.gk-find { flex: 0 1 340px; display: grid; gap: 6px; }
.gk-find span { font-size: 14px; font-weight: 600; color: var(--muted, #6b7280); }
.gk-find input {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    background: #fff;
    border: 1.5px solid var(--line, #e6e8ee);
    border-radius: 999px;
    outline: none;
    font: inherit;
    color: inherit;
    transition: border-color .2s ease;
}
.gk-find input:focus { border-color: var(--red, #f14850); }

/* Кнопки */
.gk-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.gk .gk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}
.gk .gk-btn:hover { transform: translateY(-1px); }
.gk .gk-btn--red { color: #fff; background: var(--red, #f14850); }
.gk .gk-btn--red:hover { color: #fff; background: var(--red-dark, #d8323a); }
.gk .gk-btn--max { color: #fff; background: #7b4dff; }
.gk .gk-btn--max:hover { color: #fff; background: #6a3cf0; }
.gk .gk-btn--tg { color: #fff; background: #2aabee; }
.gk .gk-btn--tg:hover { color: #fff; background: #1d97d8; }

/* Белые блоки */
.gk-block {
    padding: 32px 36px;
    background: #fff;
    border: 1px solid var(--line, #e6e8ee);
    border-radius: var(--radius-lg, 24px);
    box-shadow: 0 6px 22px rgba(30, 36, 48, .06);
}
.gk-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.gk .gk-more { font-weight: 600; text-decoration: none; }

/* Города по буквам */
.gk-letters {
    column-count: 4;
    column-gap: 28px;
}
.gk-letter {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    break-inside: avoid;
}
.gk-letter__char {
    flex: 0 0 28px;
    font-family: "Philosopher", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--red, #f14850);
}
.gk-letter ul { flex: 1; }
.gk-letter a {
    display: inline-block;
    padding: 2px 0;
    color: var(--ink, #20242d);
    text-decoration: none;
    transition: color .2s ease;
}
.gk-letter a:hover { color: var(--red, #f14850); }
.gk-empty { margin-top: 8px !important; color: var(--muted, #6b7280); }

/* Текст */
.gk-text { color: var(--ink, #20242d); }
.gk-text p, .gk-text { font-size: 16px; line-height: 1.7; }
.gk-text > *:first-child { margin-top: 0; }

/* Факты о доставке */
.gk-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.gk-info__item {
    display: grid;
    gap: 4px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--line, #e6e8ee);
    border-radius: var(--radius-md, 16px);
}
.gk-info__item b { font-size: 17px; }
.gk-info__item span { font-size: 14px; line-height: 1.45; color: var(--muted, #6b7280); }
.gk-note { margin: -8px 0 0 !important; font-size: 14px; color: var(--muted, #6b7280); }

/* Разделы */
.gk-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gk .gk-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 10px;
    color: var(--ink, #20242d);
    background: var(--bg, #f5f6fa);
    border-radius: var(--radius-md, 16px);
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
.gk .gk-cat:hover { color: var(--red, #f14850); background: var(--rose, #fdecee); }
.gk-cat__img { flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; background: #fff; border-radius: 12px; }
.gk-cat__img img { width: 100%; height: 100%; object-fit: contain; }

/* Товары */
.gk-goods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gk .gk-good {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    color: var(--ink, #20242d);
    border: 1px solid var(--line, #e6e8ee);
    border-radius: var(--radius-md, 16px);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.gk .gk-good:hover { border-color: var(--red, #f14850); box-shadow: 0 12px 30px rgba(30, 36, 48, .1); }
.gk-good__img { display: block; aspect-ratio: 1; }
.gk-good__img img { width: 100%; height: 100%; object-fit: contain; }
.gk-good__name { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.35; }
.gk-good__price { font-size: 19px; font-weight: 700; }

.gk .gk-back { justify-self: start; font-weight: 600; text-decoration: none; }

/* Адаптив */
@media (max-width: 1100px) {
    .gk-letters { column-count: 3; }
    .gk-info, .gk-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gk-goods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .gk-hero, .gk-block { padding: 22px; }
    .gk-lead { font-size: 16px; }
    .gk-find { flex-basis: 100%; }
    .gk-letters { column-count: 2; column-gap: 16px; }
    .gk-goods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gk-btns .gk-btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
    .gk-info, .gk-cats { grid-template-columns: 1fr; }
}
