/* Geo-detail composition only; shared cards/categories live in their owners. */
body#main .gbc-geo-page { --gbc-store-photo-ratio: 8 / 5; padding: 0; font-family: var(--gbc-font-family); color: var(--gbc-color-text); }
body#main:has(.gbc-geo-page) .page-top .topic:not(:has(h1)) { display: none; }
body#main:has(.gbc-geo-page) #content .page-top { min-height: 0; margin-bottom: 20px; }
body#main .gbc-geo-page .gbc-geo-hero { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); align-items: center; gap: var(--gbc-space-5); padding: var(--gbc-space-6); overflow: hidden; border-radius: var(--gbc-radius-dialog); background: var(--gbc-color-brand-soft); }
.gbc-geo-hero__content, .gbc-geo-hero__visual { min-width: 0; }
.gbc-geo-hero__place { display: inline-flex; align-items: center; gap: var(--gbc-space-2); margin-bottom: var(--gbc-space-4); color: var(--gbc-color-brand-text); font-size: var(--gbc-font-size-small); font-weight: var(--gbc-font-weight-medium); }
body#main .gbc-geo-page .gbc-geo-hero__title { margin: 0 0 var(--gbc-space-4); color: var(--gbc-color-text); font-size: clamp(28px,3vw,36px); line-height: 1.2; font-weight: var(--gbc-font-weight-medium); letter-spacing: -.02em; overflow-wrap: anywhere; text-wrap: balance; }
body#main .gbc-geo-page .gbc-geo-hero__description { margin: 0; max-width: 530px; font-size: var(--gbc-font-size-ui); line-height: var(--gbc-line-height-ui); color: var(--gbc-color-text-muted); }
.gbc-geo-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--gbc-space-3) var(--gbc-space-5); margin-top: var(--gbc-space-5); }
body#main .gbc-geo-page .gbc-geo-hero__button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--gbc-control-height); padding: var(--gbc-space-3) var(--gbc-space-5); border-radius: 999px; background: var(--gbc-color-buy); color: var(--gbc-color-on-buy); font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small); font-weight: var(--gbc-font-weight-semibold); text-decoration: none; }
body#main .gbc-geo-page .gbc-geo-hero__button:hover { background: var(--gbc-color-buy-hover); }
body#main .gbc-geo-page .gbc-geo-hero__stores { display: inline-flex; align-items: center; gap: var(--gbc-space-2); min-height: var(--gbc-touch-target); color: var(--gbc-color-text); font-size: var(--gbc-font-size-small); text-decoration: underline; text-underline-offset: 4px; }
.gbc-geo-hero__visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; margin-bottom: calc(-1 * var(--gbc-space-6)); }
.gbc-geo-hero__visual picture { display: block; width: 100%; }
.gbc-geo-hero__visual picture img { display: block; width: 100%; height: auto; max-height: 302px; margin: 0; object-fit: contain; object-position: center bottom; }
.gbc-geo-hero__accent { position: absolute; right: 0; top: 0; margin: 0; text-align: center; font-size: 11px; }
.gbc-geo-hero__notes { display: flex; flex-wrap: wrap; gap: var(--gbc-space-3) var(--gbc-space-5); margin: var(--gbc-space-4) 0 var(--gbc-space-7); color: var(--gbc-color-text-muted); font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small); }
.gbc-geo-hero__notes span::before { content: '✓'; margin-right: var(--gbc-space-2); color: var(--gbc-color-buy); }
.gbc-geo-page :is(a,button,summary):focus-visible { outline: 2px solid var(--gbc-color-focus); outline-offset: 3px; }
body#main .gbc-geo-page > :is(.ordered-block,.wraps,.advantages,.main-branches,.gbc-geo-stores) { margin: var(--gbc-space-7) 0 0; }
body#main .gbc-geo-page .ordered-block__title { margin: 0 0 var(--gbc-space-5); padding: 0; font-size: 22px; line-height: 1.35; font-weight: var(--gbc-font-weight-heading); }
body#main .gbc-geo-page :is(.container,.content_wrapper_block,.maxwidth-theme) { width: 100%; max-width: none; margin-inline: 0; padding-inline: 0; }
body#main .gbc-geo-page .line-after { display: none; }
body#main .gbc-geo-page > .ordered-block.blog { display: block; }
body#main .gbc-geo-page > :is(.ymreview-block,.ordered-block.blog) { border-top: 1px solid var(--gbc-color-border); padding-top: var(--gbc-space-6); }
body#main .gbc-geo-page .gbc-editorial-cards { margin: 0; }
body#main .gbc-geo-page .gbc-editorial-card { display: grid; grid-template-columns: 104px minmax(0,1fr); grid-template-rows: auto auto 1fr; align-content: start; gap: 6px 14px; }
body#main .gbc-geo-page .gbc-editorial-card__image { grid-column: 1; grid-row: 1 / 4; width: 104px; height: 112px; margin: 0; aspect-ratio: auto; }
body#main .gbc-geo-page .gbc-editorial-card__image img { display: block; margin: 0; }
body#main .gbc-geo-page :is(.gbc-editorial-card__category,.gbc-editorial-card__title,.gbc-editorial-card__meta) { grid-column: 2; margin: 0; }
body#main .gbc-geo-page .gbc-editorial-card__title { font-size: 14px; line-height: 20px; }
body#main .gbc-geo-page :is(.gbc-editorial-card__category,.gbc-editorial-card__meta,.gbc-editorial-card time) { font-size: 11px; line-height: 16px; }
body#main .gbc-geo-page .gbc-editorial-card__meta { align-content: start; gap: 4px 8px; }
body#main .gbc-geo-page .gbc-geo-stores > .ordered-block__title:has(+ .gbc-geo-stores__note) { margin-bottom: 8px; }
body#main .gbc-geo-page .gbc-geo-stores__note { margin: 0 0 20px; color: var(--gbc-color-text-muted); font-size: 13px; line-height: 20px; }
body#main .gbc-geo-page .ymreview-block { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: start; gap: var(--gbc-space-6); }
body#main .gbc-geo-page :is(.ymreviewLeft,.ymreviewRight) { width: auto; margin: 0; min-width: 0; }
body#main .gbc-geo-page .ymreviewRight iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.gbc-geo-delivery__search { display: grid; gap: 8px; margin: 0 0 24px; font-size: 13px; font-weight: 400; }
body#main .gbc-geo-page .gbc-geo-delivery__search input { width: 100%; min-height: 48px; margin: 0; padding: 12px 16px; border: 1px solid var(--gbc-color-border); border-radius: 12px; background: var(--gbc-color-surface-soft); font: inherit; font-size: 14px; color: var(--gbc-color-text); }
.gbc-geo-delivery__groups { display: grid; gap: 24px; }
.gbc-geo-delivery__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.gbc-geo-delivery__label span { color: var(--gbc-color-text-muted); font-size: 13px; font-weight: 400; }
.gbc-geo-delivery__links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 12px; }
body#main .gbc-geo-page .gbc-geo-delivery__links a { display: flex; align-items: center; min-height: 32px; padding: 4px 8px; border-radius: 8px; font-size: 14px; line-height: 18px; overflow-wrap: anywhere; text-decoration: none; color: var(--gbc-color-text); }
body#main .gbc-geo-page .gbc-geo-delivery__links a:hover { background: var(--gbc-color-brand-soft); color: var(--gbc-color-brand-text); }
body#main .gbc-geo-page .gbc-geo-delivery__more { min-height: 44px; margin: 4px 0 0; padding: 8px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--gbc-color-brand-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gbc-geo-delivery__empty,.gbc-geo-delivery__status { font-size: 13px; color: var(--gbc-color-text-muted); }
.gbc-geo-delivery__status:empty { display: none; }
body#main .gbc-geo-page .getLinkedCityDesc { margin-top: 24px; }
.gbc-geo-page .ymreviewLeft { min-width: 0; flex: 1; }
body#main .gbc-geo-page .getLinkedCityt_text { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--gbc-space-1) var(--gbc-space-4); }
body#main .gbc-geo-page .getLinkedCityt_text a { display: flex; align-items: center; min-width: 0; width: auto; min-height: var(--gbc-touch-target); margin: 0; font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.gbc-geo-page .advantages { padding: 0; }
/* Phones use the shared homepage swipe row; retain this grid only above it. */
@media (min-width: 768px) {
body#main .gbc-geo-page .advantages__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--gbc-space-4); width: 100%; max-width: none; margin: 0; padding: 0; overflow: visible; }
body#main .gbc-geo-page .advantages__item { min-width: 0; width: auto; flex: none; padding: var(--gbc-space-4); border-radius: var(--gbc-radius-card); background: var(--gbc-color-surface-soft); }
body#main .gbc-geo-page .advantages__title { margin: var(--gbc-space-3) 0 var(--gbc-space-2); font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small); font-weight: var(--gbc-font-weight-semibold); }
body#main .gbc-geo-page .advantages__text { margin: 0; font-size: var(--gbc-font-size-small); line-height: var(--gbc-line-height-small); color: var(--gbc-color-text-muted); }
body#main .gbc-geo-page .advantages__icon { height: 80px; max-width: 100%; }
}
.gbc-geo-page .advantages__icon img { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.gbc-geo-page .swipeIco { display: none; }
body#main .gbc-geo-page .flowers-block__image { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: flex-end; width: 100%; height: 75%; }
body#main .gbc-geo-page .flowers-block__image picture { display: flex; align-items: flex-end; justify-content: flex-end; width: 100%; height: 100%; }
body#main .gbc-geo-page .flowers-block__image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; margin-block: 0; object-fit: contain; }
.gbc-geo-stores { scroll-margin-top: 120px; }
.gbc-geo-stores .gbc-store-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.gbc-geo-stores .gbc-store-group__heading .gbc-store-city-title { margin: 0; font-size: 18px; line-height: 26px; }
.gbc-geo-stores .gbc-store-separator { display: none; }
.gbc-geo-page [hidden] { display: none !important; }
@media (max-width: 991px) {
  .gbc-geo-delivery__links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body#main .gbc-geo-page .gbc-editorial-cards { grid-template-columns: minmax(0,1fr); gap: 20px; }
  body#main .gbc-geo-page .getLinkedCityt_text { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gbc-geo-stores .gbc-store-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 768px) and (max-width: 991px) {
  body#main .gbc-geo-page .advantages__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  body#main .gbc-geo-page > :is(.ymreview-block,.ordered-block.blog) { padding-top: var(--gbc-space-5); }
  body#main:has(.gbc-geo-page) #content .page-top { margin-bottom: 16px; }
  body#main .gbc-geo-page .gbc-geo-delivery__links a { min-height: 44px; padding-block: 8px; }
  body#main .gbc-geo-page .ymreview-block { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body#main .gbc-geo-page .gbc-geo-hero { grid-template-columns: minmax(0,1fr); gap: var(--gbc-space-4); padding: var(--gbc-space-5); }
  body#main .gbc-geo-page .gbc-geo-hero__title { font-size: 28px; line-height: 1.2; }
  .gbc-geo-hero__place { margin-bottom: var(--gbc-space-3); }
  body#main .gbc-geo-page .gbc-geo-hero__visual { display: none; }
  body#main .gbc-geo-page .gbc-geo-hero__description { font-size: var(--gbc-font-size-small); line-height: 22px; }
  .gbc-geo-hero__actions { gap: var(--gbc-space-2); }
  body#main .gbc-geo-page .gbc-geo-hero__button { padding-inline: var(--gbc-space-4); min-height: var(--gbc-touch-target); }
  .gbc-geo-hero__notes { margin-bottom: var(--gbc-space-6); gap: var(--gbc-space-2); font-size: 12px; }
  body#main .gbc-geo-page > :is(.ordered-block,.wraps,.advantages,.main-branches,.gbc-geo-stores) { margin-top: var(--gbc-space-6); }
  body#main .gbc-geo-page .ordered-block__title { font-size: 20px; margin-bottom: var(--gbc-space-4); }
  body#main .gbc-geo-page .flowers-block__items { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gbc-space-3); margin: 0; padding: 0; overflow: visible; }
  body#main .gbc-geo-page :is(.flowers-block__item,.flowers-block__item_wide) { grid-column: auto; width: auto !important; min-width: 0; min-height: 180px; max-height: none; padding: var(--gbc-space-3); }
  body#main .gbc-geo-page .flowers-block__title { font-size: 14px; line-height: 19px; padding-right: 0; }
  body#main .gbc-geo-page .getLinkedCityt_text { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gbc-geo-stores .gbc-store-grid { grid-template-columns: minmax(0,1fr); }
}
