﻿:root {
  --green: #4b7f34;
  --green-dark: #315d25;
  --green-light: #eef5ea;
  --text: #252525;
  --muted: #6b6b6b;
  --border: #dddddd;
  --background: #ffffff;
  --surface: #fafafa;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
}

body {
  margin: 0;
  line-height: 1.5;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--green-dark);
  font-size: 29px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -1px;
}

.back-link {
  color: var(--green-dark);
  font-size: 14px;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.hero {
  background: var(--green-light);
  padding: 62px 0 54px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.intro {
  max-width: 740px;
  margin: 22px 0 0;
  color: #455042;
  font-size: 17px;
}

.content {
  padding-top: 42px;
  padding-bottom: 70px;
}

.status,
.empty {
  padding: 30px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.controls {
  display: grid;
  grid-template-columns: 210px 210px minmax(260px, 1fr);
  gap: 18px;
  margin-bottom: 25px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

select,
input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background: white;
  color: var(--text);
  border: 1px solid #cfcfcf;
  border-radius: 5px;
  font: inherit;
}

select:focus,
input:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.result-count {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.stores {
  display: grid;
  gap: 12px;
}

.store {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
  padding: 21px 22px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: white;
}

.store-main {
  min-width: 0;
}

.store-city {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.store-address {
  margin: 2px 0;
  font-size: 18px;
  font-weight: 700;
}

.store-type,
.store-meta {
  color: var(--muted);
  font-size: 13px;
}

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 43px;
  padding: 10px 17px;
  background: var(--green);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.download:hover {
  background: var(--green-dark);
}

.footer {
  padding: 24px 0;
  color: #fff;
  background: var(--green-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.hidden {
  display: none !important;
}

@media (max-width: 760px) {

  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 64px;
  }

  .hero {
    padding: 42px 0 38px;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .store {
    grid-template-columns: 1fr;
  }

  .download {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}
