/* /gaseste-ne/ — store-locator hero, retailer columns, Leaflet map.
   Values mirror the original styles.css (.plans-hero-* + .locator-simple blocks);
   colors via site.css tokens only. Breakpoints: 960 (orig 991), 430 (orig 600). */
@layer pages {
  /* Hero — original .plans-hero-head pattern (left breadcrumb, centered intro) */
  .plans-hero-head {
    max-width: var(--container);
    margin: 0 auto 72px;
    padding: 48px 24px 0;
    text-align: left;
  }

  .plans-hero-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }

  .plans-hero-head .section-eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
  }

  /* .plans-hero-title now lives in site.css (shared with abonament/jurnal/
     legal-doc - UI-02); this page's own copy was byte-identical. */

  .plans-hero-sub {
    margin: 0 auto;
    max-width: 38rem;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-soft);
  }

  /* List + map layout */
  .locator-simple {
    padding: 0 0 120px;
  }

  .locator-simple__container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
    align-items: start;
  }

  .locator-simple__list-section {
    order: 1;
    margin: 0;
    min-width: 0; /* prevent column children from forcing track to overflow */
  }

  .locator-simple__map-wrapper {
    order: 2;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(var(--green-deep-rgb), 0.05);
    position: sticky;
    top: 96px;
  }

  #simple-map {
    position: relative;
    width: 100%;
    height: 540px;
    background: var(--cream);
  }

  /* Static map snapshot under the Leaflet panes (z-index auto < panes' 100+);
     removed by js/gaseste-ne.js once live tiles load. */
  .map-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .locator-simple__subtitle {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--green-deep);
    margin: 0 0 24px;
  }

  /* CSS multi-column auto-balances 9 brand cards across 2 columns.
     Heights vary (1–7 stores per brand) so columns is cleaner than grid here. */
  .locator-simple__grid {
    column-count: 2;
    column-gap: 32px;
  }

  .locator-simple__col {
    break-inside: avoid;
    margin: 0 0 28px;
    display: block;
  }

  .locator-simple__col h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--green-deep);
    margin: 0 0 14px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }

  .locator-simple__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .locator-simple__list li {
    font-size: 14px;
    color: var(--text);
    line-height: 1.45;
  }

  .locator-simple__list li a {
    color: inherit;
    text-decoration: none;
    transition: color 150ms var(--cf-ease);
    display: block;
  }

  .locator-simple__list li a:hover {
    color: var(--green);
  }

  @media (max-width: 960px) {
    .locator-simple__container {
      grid-template-columns: 1fr;
      row-gap: 40px;
    }

    .locator-simple__list-section,
    .locator-simple__map-wrapper {
      order: initial;
    }

    .locator-simple__map-wrapper {
      position: static;
      top: auto;
    }

    .locator-simple__subtitle {
      text-align: center;
    }

    #simple-map {
      height: 420px;
    }
  }

  @media (max-width: 768px) {
    .plans-hero-head {
      margin-bottom: 48px;
    }
  }

  @media (max-width: 430px) {
    .locator-simple__container {
      grid-template-areas:
        "map"
        "list";
    }

    .locator-simple__map-wrapper {
      grid-area: map;
    }

    .locator-simple__list-section {
      grid-area: list;
    }

    .locator-simple__grid {
      column-count: 1;
    }

    .locator-simple__col {
      margin-bottom: 24px;
    }

    #simple-map {
      height: 320px;
    }
  }
}
