/* ==========================================================================
   enflowers.com — City subsite page module (/{country}/city/{slug}/)
   Page-specific styles extracted verbatim from ui/assets/seo-page-city.css
   (the shared chrome — breadcrumb, header, footer, FAQ, product-card — lives
   in base.css). Load order: base.css → city.css. Zero visual change.
   ========================================================================== */

/* ---------- Current-city state in the footer city list ---------- */

.footer-col a[aria-current="page"] {
  color: var(--paper);
  border-bottom: 1px solid #d98f6e;
}

/* ---------- Page head (two-col editorial pattern from products.css) ---------- */

.page-head {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 52rem) {
  .page-head { grid-template-columns: 1.15fr 0.85fr; }
}

.page-head-media {
  margin: 0;
}

.page-head-media img {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.page-head-media figcaption {
  margin-top: 0.55rem;
  padding-left: 0.7rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.page-intro {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- Delivery facts band (4 facts on paper-deep) ---------- */

.city-facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.city-facts ul {
  list-style: none;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  display: grid;
  gap: var(--space-lg);
}

.city-facts li {
  padding-left: var(--space-md);
  border-left: 1px solid var(--line-strong);
}

.city-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.city-facts span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (min-width: 48rem) {
  .city-facts ul { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .city-facts ul { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Popular in {city}: product grid 1 → 2 → 4 ---------- */

.city-products {
  padding: var(--space-xxl) 0;
}

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

@media (min-width: 34rem) {
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .city-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- View-more block after the city grid ---------- */

.grid-more {
  max-width: var(--max-width);
  margin: var(--space-xl) auto;
  padding: 0 var(--space-md);
  text-align: center;
}

.grid-more-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.grid-more-link:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.grid-more-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: var(--space-sm) 0 0;
}

/* ---------- Editorial block (seo-block pattern from products.css) ---------- */

.city-editorial {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  padding: var(--space-xxl) 0;
}

.city-editorial-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.city-editorial h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: var(--space-md);
}

.city-editorial p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.city-editorial a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.city-editorial a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Other-cities strip (hairline link row) ---------- */

.other-cities {
  border-top: 1px solid var(--line);
}

.other-cities-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.other-cities h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

.other-cities ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem var(--space-lg);
}

.other-cities a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.other-cities a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Catalogue CTA ---------- */

.city-bottom-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-sm);
  padding: 0 var(--space-md) var(--space-md);
}

.city-bottom-cta .btn-primary {
  width: min(100%, 22rem);
  padding: 0.95rem 2rem;
  text-align: center;
}
