body {
  margin:0;
  font-family:system-ui,-apple-system,sans-serif;
  color:#1f2937;
}

.topbar {
  position:sticky; top:0;
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  padding:.75rem 1rem;
  display:flex; align-items:center;
}

.menu-btn { font-size:1.4rem; cursor:pointer; }
#menu-toggle { display:none; }

.mobile-menu {
  display:none;
  position:absolute;
  top:3.5rem; left:0;
  width:100%;
  background:#fff;
  border-top:1px solid #e5e7eb;
}
#menu-toggle:checked ~ .mobile-menu { display:block; }

.container { padding:0.5rem; }

.price-summary {
  display:block; 
  justify-content:space-between;
  margin:1rem 0;
}
.price-summary strong { color:#1ac099; }

.station {
  position:relative;
  display:flex;
  justify-content:space-between;
  padding:.75rem 0;
  border-bottom:1px solid #e5e7eb;
}

.station-price {
  font-weight:600;
  color:#0d6efd;
}

.ad-slot {
  margin:1rem 0;
  padding:1rem;
  border:1px dashed #e5e7eb;
  text-align:center;
}
.intro {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 1.5rem;
}

.home-actions {
  display: grid;
  gap: 1rem;
}

.home-card {
  display: block;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.home-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #0d6efd;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-nav a {
  text-decoration: none;
  color: #0d6efd;
}
/* BASE */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
}

.menu-btn {
  font-size: 1.4rem;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* OVERLAY */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 998;
}

/* SIDE MENU */
.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 260px;
  max-width: 80%;
  height: 100vh;
  background: #fff;
  padding: 1rem;
  box-shadow: 4px 0 12px rgba(0,0,0,.15);
  transition: left .3s ease;
  z-index: 999;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.4rem;
  cursor: pointer;
}

/* OPEN STATE */
#menu-toggle:checked ~ .menu-overlay {
  display: block;
}

#menu-toggle:checked ~ .side-menu {
  left: 0;
}

.side-menu a:first-of-type {
  margin-top: 2.5rem;
}
.side-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.side-menu a {
  display: block;
  font-weight: 700;          /* BOLD come prima */
  font-size: 1rem;
  color: #0d6efd;
  text-decoration: none;
}

.side-menu a:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}
.search-toggle {
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
  font-size: 1rem;
  color: #0d6efd;
  text-align: left;
}

.search-panel {
  display: none;
  margin-top: 0.75rem;
}

.search-card.open .search-panel {
  display: block;
}

#search-input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #d1d5db;
  border-radius: 0.4rem;
  font-size: 1rem;
}

#search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#search-results li {
  padding: 0.6rem;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
}

#search-results li:last-child {
  border-bottom: none;
}

#search-results li:hover {
  background: #f3f4f6;
}
.locate-card button {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.locate-card small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
}
/* ==============================
   LISTA DISTRIBUTORI
============================== */
ul#summary-grid {
    margin: 0;
    display: inline-flex;
    text-align: center;
    padding-inline-start: 0;
    list-style-type: none;
}
ul#summary-grid li {
    margin: 2px 3px;
    padding: 3px;
    border: 1px solid #1ac099;
    border-radius: 5px;
    width: 100px;
    max-width: 100px;
    float: initial;
    display: inline-flex;
}

.stations-list {
  margin-top: 1.5rem;
}

.stations-list h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.stations {
  list-style: none;
  margin: 0;
  padding: 0;
}

.station {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  align-items: center;
}

.station-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.station-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.station-location {
  font-size: 0.75rem;
  color: #565758;
}

.station-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 80px;
}

.station-price .price {
  font-size: 1rem;
  font-weight: 700;
  color: #0d6efd;
}

.station-price .updated {
  font-size: 0.65rem;
  color: #6b7280;
}

.station-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 7px 4px;
  background-color: #efeded;
  border: 1px solid #aeb5b3;
  border-radius: 10px;
}

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

.pagination {
  display: block;
  margin: 1.75rem 0 2.5rem;
}
.pagination a {
  text-decoration:none;
  color: #000000;
}
.pagination ul {
    list-style-type: none;
	margin-block-start: 0.2em;
    margin-block-end: 0.2em;
	padding-inline-start:0;
    padding: 0;
    text-align: center;
}
.pagination li {
  min-width: 40px;
  height: 40px;
  padding: 0 0.40rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;

  font-size: 0.8rem;
  text-decoration: none;
  color: #374151;
  background: #fff;
}

.pagination a:hover {
  background: #f3f4f6;
}

.pagination .active {
  background: #0d6efd;
  color: #fff; 
  border-color: #0d6efd;
  font-weight: 700;
}
.top-search {
  position: relative;
  margin-left: auto;
  max-width: 160px;
}

.top-search input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 0.4rem;
}

.top-search ul {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1001;
}

.top-search li {
  padding: 0.6rem;
  cursor: pointer;
  border-bottom: 1px solid #e5e7eb;
}

.top-search li:last-child {
  border-bottom: none;
}

.top-search li:hover {
  background: #f3f4f6;
}
.src {
	width:93%;
}