:root {
  --blue: #003893;
  --ink: #162c48;
  --yellow: #fcd116;
  --green: #05662f;
  --paper: #fafaf7;
  --muted: #617082;
  --line: #e4e8e7;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
button {
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
button:hover {
  background: #002965;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.4rem, 4.3vw, 3.9rem);
  letter-spacing: -0.055em;
  line-height: 1.09;
  font-weight: 760;
}
h2 {
  font-size: 1.6rem;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
h3 {
  line-height: 1.3;
}
.demo {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.025em;
  background: var(--yellow);
  color: #162c48;
  padding: 7px 12px;
}
.site-header {
  min-height: 104px;
  padding: 17px max(24px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  display: block;
  flex-shrink: 0;
}
.brand img {
  width: 153px;
  height: 61px;
  object-fit: contain;
}
.brand-caption {
  display: block;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-align: center;
}
.site-header nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a[aria-current='page'] {
  color: var(--blue);
  border-color: var(--yellow);
}
.header-tools {
  margin-left: auto;
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.languages {
  display: flex;
  gap: 3px;
}
.languages a {
  padding: 5px 7px;
  font-size: 11px;
  color: var(--muted);
  border-radius: 5px;
}
.languages [aria-current='true'] {
  background: #edf2fa;
  color: var(--blue);
}
.list-link {
  display: flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}
.header-tools > a:last-child {
  background: #eef3f9;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--blue);
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 0 24px 70px;
  min-height: 60vh;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 35px;
  min-height: 435px;
  align-items: center;
  padding: 46px 0 52px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 17px;
}
.hero h1 {
  margin-bottom: 23px;
}
.hero-intro {
  max-width: 480px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.hero-proof {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 27px;
}
.hero-proof strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  margin-top: 2px;
}
.sun {
  font-size: 42px;
  color: var(--green);
  line-height: 1;
}
.hero-art {
  position: relative;
  height: 322px;
  background: #ecf0dc;
  border-radius: 70px 20px 90px 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  transform: rotate(-2deg);
  padding: 17px;
}
.hero-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  min-height: 0;
  box-shadow: 0 8px 18px #172c4412;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-0 {
  grid-row: span 2;
}
.hero-photo figcaption {
  position: absolute;
  bottom: 0;
  background: linear-gradient(transparent, #122a45d9);
  color: #fff;
  width: 100%;
  padding: 35px 12px 12px;
  font-size: 10px;
  font-weight: 600;
}
.hero-letter {
  font-size: 145px;
  font-weight: 900;
  color: var(--blue);
  grid-column: span 2;
  line-height: 1.2;
  text-align: center;
  padding-top: 26px;
}
.hero-letter span {
  display: block;
  font-size: 22px;
  letter-spacing: -0.05em;
}
.local-badge {
  position: absolute;
  right: -4px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  padding: 15px 23px;
  border-radius: 14px;
  box-shadow: 0 5px 15px #21302710;
  transform: rotate(7deg);
  font-size: 12px;
  line-height: 1.2;
}
.local-badge strong {
  font-size: 21px;
}
.search-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 34px #1a304a08;
  padding: 0 26px 16px;
  margin-bottom: 55px;
}
.search-tabs {
  margin: 0;
  padding: 0;
  display: flex;
  border: 0;
  border-bottom: 1px solid var(--line);
  gap: 33px;
}
.search-tab {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 19px 6px 16px;
  font-weight: 650;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.search-tab input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.search-tab:has(:checked) {
  color: var(--blue);
  border-bottom-color: var(--yellow);
}
.search-tab:has(:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.search-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 15px;
  margin-top: 21px;
  align-items: end;
}
.search-fields label > span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
  display: block;
  margin-bottom: 7px;
}
.search-fields input,
.search-fields select {
  width: 100%;
  padding: 12px 11px;
  background: #f9faf9;
  border: 1px solid #e0e5e5;
  border-radius: 8px;
  color: var(--ink);
  font-size: 12px;
  height: 44px;
  min-width: 0;
}
.search-fields button {
  height: 44px;
  font-size: 12px;
  padding: 0 23px;
}
.reset-link {
  display: block;
  text-align: right;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
  text-decoration: underline;
}
.discovery-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 40px;
}
.discovery-aside {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.discovery-aside h2 {
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.discovery-aside > h2:not(:first-child) {
  margin-top: 33px;
}
.category-links {
  display: grid;
  gap: 5px;
}
.category-links a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  padding: 8px 0;
}
.category-links a > svg {
  width: 13px;
  margin-left: auto;
}
.category-dot {
  border-radius: 9px;
  padding: 7px;
  display: flex;
  background: #fff3da;
  color: #7c5720;
}
.category-dot svg {
  width: 15px;
  height: 15px;
}
.dot-2 {
  background: #f6e9df;
  color: #96582e;
}
.dot-3 {
  background: #eaeafa;
  color: #5b56a3;
}
.dot-4 {
  background: #e5eff8;
  color: #346784;
}
.dot-5 {
  background: #e7f3e8;
  color: #46704f;
}
.discovery-aside > a {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  margin-top: 10px;
}
.discovery-aside > a svg {
  width: 13px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.section-heading h2 {
  margin: 0;
  font-size: 25px;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
  font-size: 9px;
}
.section-intro {
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 25px;
}
.availability {
  display: flex;
  gap: 14px;
  background: #eff3f7;
  border: 1px solid #dde4ed;
  border-radius: 12px;
  padding: 22px;
  font-size: 13px;
  margin: 25px 0;
}
.availability strong {
  font-weight: 650;
}
.availability p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.availability > svg {
  color: var(--blue);
  margin-top: 3px;
}
.page-heading {
  padding: 55px 0 15px;
}
.page-heading h1 {
  font-size: 40px;
}
.editorial {
  max-width: 780px;
}
.editorial section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.editorial h2 {
  font-size: 24px;
}
.editorial p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
footer {
  background: #102b4a;
  color: #fff;
  padding: 48px max(24px, calc((100vw - 1192px) / 2)) 18px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
}
footer a {
  display: block;
  font-size: 12px;
  color: #d2ddeb;
  margin: 10px 0;
}
footer a:hover {
  text-decoration: underline;
}
footer h2 {
  font-size: 13px;
  letter-spacing: 0;
}
.footer-brand strong {
  font-size: 32px;
  letter-spacing: -0.055em;
}
.footer-brand strong span {
  font-size: 12px;
  color: var(--yellow);
  vertical-align: top;
}
.footer-brand p {
  font-size: 12px;
  margin: 7px 0;
  color: #d2ddeb;
}
.footer-brand small {
  font-size: 10px;
  color: #a9bbd0;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #ffffff20;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 9px;
  color: #a9bbd0;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 10000;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
    min-height: 480px;
  }
}
@media (max-width: 1050px) {
  .site-header {
    gap: 25px;
  }
  .site-header nav {
    gap: 18px;
  }
  .header-tools {
    gap: 14px;
  }
  .hero {
    gap: 22px;
  }
  .hero-art {
    height: 285px;
  }
  .search-fields {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .search-fields button {
    grid-column: 1/-1;
  }
  .discovery-grid {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 23px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 14px 20px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .brand img {
    width: 128px;
    height: 49px;
  }
  .brand-caption {
    font-size: 6px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    font-size: 12px;
    gap: 30px;
  }
  .site-header nav a {
    padding: 7px 0;
  }
  .header-tools {
    gap: 9px;
  }
  .header-tools > a:last-child {
    padding: 8px;
    white-space: nowrap;
    font-size: 12px;
  }
  .languages a {
    padding: 5px;
  }
  .list-link span {
    display: none;
  }
  .demo {
    font-size: 9px;
    padding: 6px;
  }
  .hero {
    display: block;
    padding: 33px 0 24px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 42px;
    max-width: 390px;
  }
  .hero-intro {
    font-size: 14px;
    max-width: 440px;
  }
  .hero-proof {
    margin-top: 20px;
  }
  .hero-art {
    height: 190px;
    margin-top: 25px;
    border-radius: 35px 12px 45px 12px;
    transform: none;
    padding: 10px;
    gap: 9px;
  }
  .hero-letter {
    font-size: 70px;
    padding-top: 12px;
  }
  .hero-letter span {
    font-size: 16px;
  }
  .hero-photo {
    border-radius: 10px;
  }
  .hero-photo figcaption {
    font-size: 8px;
    padding: 25px 8px 8px;
  }
  .local-badge {
    padding: 10px 16px;
    right: 0;
  }
  .local-badge strong {
    font-size: 18px;
  }
  main {
    padding: 0 20px 45px;
  }
  .search-panel {
    padding: 0 14px 12px;
    margin-top: 10px;
    margin-bottom: 35px;
    border-radius: 12px;
  }
  .search-tabs {
    gap: 0;
    justify-content: space-between;
  }
  .search-tab {
    font-size: 10px;
    padding: 16px 3px 13px;
    gap: 4px;
  }
  .search-tab svg {
    width: 14px;
    height: 14px;
  }
  .search-fields {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
  }
  .keyword-field {
    grid-column: 1/-1;
  }
  .search-fields input,
  .search-fields select {
    font-size: 11px;
  }
  .discovery-grid {
    display: block;
  }
  .discovery-aside {
    padding: 0;
    border: 0;
    margin-bottom: 24px;
  }
  .category-links {
    display: flex;
    overflow: auto;
    gap: 8px;
    padding-bottom: 8px;
  }
  .category-links a {
    flex-direction: column;
    min-width: 64px;
    font-size: 10px;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 7px;
  }
  .category-links a > svg {
    display: none;
  }
  .category-dot svg {
    width: 18px;
    height: 18px;
  }
  .discovery-aside > h2:not(:first-child),
  #comuna-map,
  .discovery-aside > a {
    display: none;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .page-heading {
    padding-top: 35px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .editorial h2 {
    font-size: 21px;
  }
  footer {
    padding: 34px 20px 18px;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    display: block;
    line-height: 2;
  }
  .footer-bottom span {
    display: block;
  }
}

@media (max-width: 700px) {
  .hero-art,
  .hero-proof {
    display: none;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero-intro {
    font-size: 15px;
  }
}
.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
}
.result-toolbar h2 {
  font-size: 20px;
  margin: 0;
}
.view-switch {
  display: flex;
  border: 1px solid #d5dde6;
  border-radius: 8px;
  padding: 4px;
  gap: 3px;
}
.view-switch a {
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}
.view-switch a[aria-current='true'] {
  background: #103f85;
  color: white;
  border-radius: 5px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.result-card {
  background: white;
  border: 1px solid #e0e4e8;
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.result-card:hover {
  box-shadow: 0 5px 22px #16396417;
}
.card-picture {
  height: 174px;
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3f1e9;
}
.card-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business-card .card-picture img {
  object-fit: contain;
  padding: 20px;
}
.card-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 4px;
  background: #fffdf4;
  color: #314c66;
  font-size: 11px;
  font-weight: 700;
}
.card-copy {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.card-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #72603c;
  font-weight: 700;
  margin: 0 0 8px;
}
.card-copy h3 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 9px;
}
.card-copy h3 a {
  color: #163d6c;
}
.card-copy .description {
  font-size: 13px;
  line-height: 1.6;
  color: #5c6978;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #edf0f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #607186;
  gap: 8px;
}
.card-bottom span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-bottom a {
  border-radius: 50%;
  background: #f0f5fa;
  padding: 6px;
  display: flex;
}
.price {
  color: #123f80;
  font-size: 17px;
}
.price del {
  display: block;
  color: #828a94;
  font-size: 12px;
  font-weight: 400;
}
.price small {
  font-size: 11px;
  color: #607186;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 35px 0;
  align-items: center;
}
.pagination a,
.primary-link {
  background: #103f85;
  color: white;
  padding: 10px 18px;
  border-radius: 7px;
}
.pagination span {
  font-size: 13px;
}
.source-label {
  font-size: 11px;
  color: #766343;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  margin: 25px 0;
  color: #627389;
  font-size: 13px;
}
.store-heading {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 32px 0;
}
.store-heading img {
  object-fit: contain;
  background: white;
  border: 1px solid #e0e4e8;
  border-radius: 12px;
  padding: 10px;
}
.store-heading h1 {
  margin: 8px 0;
  font-size: 34px;
  color: #123f80;
}
.store-heading p {
  max-width: 750px;
}
.store-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #dce3e9;
  margin: 15px 0 30px;
  overflow: auto;
}
.store-tabs a {
  padding: 13px 20px;
  white-space: nowrap;
}
.store-tabs a[aria-current='page'] {
  border-bottom: 3px solid #e6b422;
  font-weight: 700;
  color: #123f80;
}
.store-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 55px;
}
.store-info h2 {
  font-size: 22px;
}
.store-info .description {
  white-space: pre-line;
  line-height: 1.8;
}
.business-card-image {
  width: 100%;
  max-width: 400px;
  object-fit: contain;
  border-radius: 12px;
}
.store-info li {
  margin: 12px 0;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  margin-top: 20px;
}
.product-detail > img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 14px;
  background: white;
}
.product-detail .price {
  font-size: 26px;
}
.product-detail .description {
  line-height: 1.8;
  white-space: pre-line;
}
.empty-results {
  padding: 40px 20px;
  text-align: center;
  background: #f3f6f9;
  border-radius: 12px;
}
.empty-results > svg {
  width: 35px;
  height: 35px;
}
.event-detail {
  max-width: 800px;
  line-height: 1.8;
}
.contact-panel {
  background: white;
  border: 1px solid #e0e4e8;
  padding: 25px;
  border-radius: 12px;
}
@media (max-width: 1000px) {
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-picture {
    height: 132px;
  }
  .card-copy {
    padding: 12px;
  }
  .card-copy h3 {
    font-size: 15px;
  }
  .card-copy .description {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  .card-bottom {
    font-size: 10px;
  }
  .card-badge {
    font-size: 9px;
    max-width: 90%;
  }
  .store-heading {
    gap: 15px;
    align-items: flex-start;
  }
  .store-heading h1 {
    font-size: 26px;
  }
  .store-heading img {
    width: 64px;
    height: 64px;
  }
  .store-tabs {
    gap: 0;
  }
  .store-tabs a {
    padding: 12px;
  }
  .store-info,
  .product-detail {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .price {
    font-size: 15px;
  }
  .result-toolbar {
    gap: 8px;
  }
  .result-toolbar h2 {
    font-size: 17px;
  }
}
@media (max-width: 360px) {
  .result-grid {
    grid-template-columns: 1fr;
  }
}
#results-map {
  height: 440px;
  border-radius: 12px;
  border: 1px solid #dae1e5;
  margin-top: 15px;
  background: #edf0e8;
  z-index: 0;
}
.paisa-marker {
  background: #103f85;
  border: 2px solid white;
  border-radius: 50% 50% 50% 0;
  transform-origin: 50% 100%;
  box-shadow: 0 2px 5px #16396440;
  color: #fcd116;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.user-position {
  font-size: 28px;
  color: #003893;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 0 8px #00389328;
  line-height: 1;
  text-align: center;
}
.leaflet-popup-content a {
  font-family: inherit;
  font-weight: 700;
  color: #003893;
}
.leaflet-control-attribution {
  font-size: 10px !important;
}
.leaflet-container {
  font-family: inherit;
}
.neighborhoods {
  margin: 28px 0 15px;
}
.neighborhoods summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.comuna-diagram {
  width: 100%;
  height: auto;
  max-width: 230px;
  display: block;
  margin: 10px auto;
}
.comuna-diagram polygon {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2;
}
.comuna-diagram a:hover polygon,
.comuna-diagram a:focus polygon {
  fill: #fcd11655;
  stroke: #003893;
}
.diagram-caption {
  text-align: center;
  font-size: 10px;
  color: #617082;
}
.neighborhoods summary:focus-visible {
  outline: 3px solid #003893;
  outline-offset: 3px;
}
[data-map-status] {
  min-height: 24px;
  font-size: 13px;
  margin: 10px 0 20px;
}
@media (max-width: 700px) {
  #results-map {
    height: 360px;
  }
  .discovery-aside .neighborhoods {
    display: block;
    width: 100%;
    margin: 14px 0;
  }
  .discovery-aside #comuna-map {
    display: block;
  }
  .comuna-diagram {
    max-width: 230px;
  }
  .neighborhoods summary {
    font-size: 13px;
    margin: 0 0 12px;
  }
  .diagram-caption {
    display: block;
  }
  .discovery-aside {
    flex-wrap: wrap;
  }
}
.map-popup-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 200px;
  overflow: auto;
  min-width: 160px;
}
.map-popup-links a {
  display: block;
  padding: 4px;
}
.auth-panel {
  max-width: 650px;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
}
.auth-panel form {
  display: grid;
  gap: 18px;
}
.auth-panel label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.auth-panel input {
  width: 100%;
  border: 1px solid #bac7d4;
  background: #fff;
  border-radius: 7px;
  padding: 11px;
  color: var(--ink);
}
.auth-panel button {
  justify-self: start;
}
.auth-panel [role='status'] {
  margin: 15px 0 0;
}
.auth-panel nav {
  margin: 15px 0;
}
.auth-panel ul {
  padding-left: 20px;
}
.auth-panel li {
  margin: 10px 0;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.auth-panel .consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.auth-panel .consent input {
  width: auto;
  flex: none;
  margin-top: 0.4rem;
}
.auth-panel select {
  padding: 0.6rem;
  width: 100%;
}
.auth-panel details {
  margin-top: 1rem;
}

/* DC-25/26 : les filtres restent en place pendant la mise à jour des résultats. */
.search-fields {
  grid-template-columns: 1.4fr 1fr 1fr;
}
.search-tabs {
  margin-top: 1rem;
  margin-bottom: 0;
}
button.search-tab {
  border: 0;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
}
button.search-tab[aria-selected='true'] {
  background: var(--blue);
  color: white;
}
button.search-tab:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .search-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.seller-panel {
  max-width: 950px;
  margin: 2rem auto;
}
.seller-panel label {
  display: grid;
  gap: 0.4rem;
  margin: 0.8rem 0;
}
.seller-panel input,
.seller-panel select,
.seller-panel textarea {
  max-width: 100%;
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  font: inherit;
}
.seller-panel .check-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.seller-panel .check-line input {
  width: auto;
}
.seller-panel fieldset {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1rem;
  min-width: 0;
}
.wizard-steps,
.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.wizard-steps [aria-current='step'] {
  background: var(--blue);
  color: white;
}
.media-preview {
  max-width: 180px;
  max-height: 150px;
  object-fit: contain;
}
.position-editor {
  height: 300px;
  margin-top: 1rem;
}
[data-gallery] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.field-error {
  color: #9e2525;
  display: block;
}
.product-editor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.detail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.detail-gallery img {
  width: min(100%, 240px);
  height: 180px;
  object-fit: contain;
}
[data-product-editor] {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.multilingual-fields > fieldset {
  display: grid;
  gap: 1rem;
  margin-block: 1rem;
}
.multilingual-fields textarea {
  width: 100%;
  min-height: 5rem;
}
[data-translation-preview] {
  padding: 1rem;
  border: 2px solid var(--brand, #31574a);
  margin-block: 1rem;
}
[data-translation-preview] fieldset {
  display: grid;
  gap: 1rem;
}

.terms-content {
  max-width: 880px;
  margin: 2rem auto;
  padding: 1rem;
  line-height: 1.7;
}
.terms-content h3 {
  margin-top: 2rem;
}
.currency-selector {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin: 1rem 0;
}
.currency-selector label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.currency-selector select {
  width: auto;
  max-width: 14rem;
  padding: 0.4rem;
  font-size: 0.875rem;
}
.currency-selector label {
  font-size: 0.875rem;
}
[data-add-basket] {
  display: grid;
  gap: 0.7rem;
  max-width: 24rem;
  margin: 1rem 0;
}
.basket-business {
  background: var(--paper, #fff);
  border: 1px solid #ddd;
  border-radius: 1rem;
  padding: 1.2rem;
  margin: 1rem 0;
}
.basket-line {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(3rem, 1fr) 7rem auto;
  gap: 0.8rem;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 0.8rem 0;
}
.basket-business > label {
  display: block;
  max-width: 25rem;
  margin: 0.8rem 0;
}
[data-approx] {
  display: block;
}
@media (max-width: 600px) {
  .basket-line {
    grid-template-columns: 1fr 1fr;
  }
  .currency-selector {
    justify-content: flex-start;
  }
}
.checkout {
  max-width: 48rem;
  margin: 1rem auto;
}
.checkout form {
  display: grid;
  gap: 0.85rem;
}
.checkout .consent {
  display: flex;
  gap: 0.8rem;
  align-items: start;
}
.checkout .consent input {
  width: auto;
  margin-top: 0.3rem;
}
.order-summary {
  background: #f3f4ed;
  border-radius: 0.8rem;
  padding: 1rem;
  margin: 1rem 0;
}
.order-summary li {
  margin: 0.5rem 0;
}
dialog {
  max-width: min(44rem, 92vw);
  max-height: 85vh;
  border: 1px solid #ddd;
  border-radius: 1rem;
  padding: 1.3rem;
}
dialog::backdrop {
  background: #0007;
}
dialog button {
  margin: 0.5rem;
}
.seller-orders {
  margin: 1.5rem 0;
}
.order-list {
  padding: 0;
  list-style: none;
}
.order-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}
.order-list span {
  font-size: 0.8rem;
  color: #666;
}
[data-order-state-form] {
  display: grid;
  gap: 0.8rem;
  max-width: 32rem;
}

[data-event-dates] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  grid-column: 1/-1;
}

.offline-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}
.offline-panel p {
  margin: 0;
}

.local-drafts {
  max-width: 56rem;
  margin: 0 auto;
}
.local-drafts [data-draft-status] {
  padding: 0.8rem;
  border-left: 0.3rem solid var(--blue, #003893);
  background: #eef3fa;
  min-height: 3rem;
}
.local-editor fieldset {
  border: 1px solid #ccd4df;
  border-radius: 0.6rem;
  margin: 1.2rem 0;
  padding: 1rem;
  min-width: 0;
  display: grid;
  gap: 1rem;
}
.local-editor legend {
  font-weight: 700;
  padding: 0 0.4rem;
}
.draft-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.draft-field input,
.draft-field textarea,
.draft-field select {
  max-width: 100%;
  width: 100%;
  min-height: 2.75rem;
}
.draft-field input[type='checkbox'] {
  width: 1.5rem;
  min-height: 1.5rem;
}
.draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}
.secondary-button {
  background: white;
  color: #003893;
  border: 1px solid #003893;
}
.draft-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.draft-comparison section {
  background: #f4f6f8;
  padding: 0.8rem;
  min-width: 0;
}
.draft-comparison dt {
  font-weight: 700;
}
.draft-comparison dd {
  margin: 0.2rem 0 0.8rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.draft-list {
  list-style: none;
  padding: 0;
}
.draft-list a {
  display: block;
  border: 1px solid #ccd4df;
  border-radius: 0.6rem;
  padding: 1rem;
  margin: 0.6rem 0;
}
.draft-logout {
  max-width: min(36rem, 92vw);
  border: 0;
  border-radius: 0.8rem;
  padding: 1.3rem;
}
@media (max-width: 600px) {
  .draft-comparison {
    grid-template-columns: 1fr;
  }
  .draft-actions {
    flex-direction: column;
  }
  .draft-actions button {
    width: 100%;
  }
}

.page-heading.draft-heading {
  margin: 1rem auto;
  max-width: 56rem;
}
.page-heading.draft-heading h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}
.local-editor .draft-actions {
  position: sticky;
  top: 0;
  background: white;
  padding: 0.5rem;
  z-index: 2;
}
.local-editor [data-draft-conflict] {
  scroll-margin-top: 12rem;
}

.page-heading.draft-heading {
  padding: 0.5rem 0;
}
@media (max-width: 600px) {
  .local-editor .draft-actions {
    flex-direction: row;
  }
  .local-editor .draft-actions .secondary-button {
    flex: 1;
    width: auto;
    padding: 0.5rem;
    font-size: 0.85rem;
  }
}
.local-editor:has([data-draft-conflict]:not([hidden])) .draft-actions {
  display: none;
}

/* Contact et rappel : une action visible, coordonnées puis demande. */
.contact-panel {
  max-width: 760px;
  margin: 0 auto 2rem;
}
.contact-panel fieldset {
  border: 1px solid #d4ded7;
  border-radius: 12px;
  padding: 1.1rem;
  margin: 1rem 0;
  min-width: 0;
}
.contact-panel legend {
  font-weight: 700;
  padding: 0 0.4rem;
}
.contact-panel label:not(.consent):not(.form-trap) {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.contact-panel input:not([type='checkbox']),
.contact-panel textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0.75rem;
  border: 1px solid #73857c;
  border-radius: 8px;
  font: inherit;
}
.contact-tabs {
  display: flex;
  overflow: auto;
  gap: 0.5rem;
  padding: 0.5rem 0;
}
.contact-tabs a {
  padding: 0.75rem;
  flex-shrink: 0;
}
.contact-tabs [aria-current] {
  background: #e5f0e8;
  border-radius: 8px;
  font-weight: 700;
}
.contact-actions {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.5rem 0;
  background: #fff;
}
.contact-actions button {
  width: 100%;
  min-height: 48px;
}
.contact-card {
  border: 1px solid #d4ded7;
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
  overflow-wrap: anywhere;
  background: white;
}
.contact-text {
  white-space: pre-wrap;
}
.chat-message {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  border: 1px solid #cad8d0;
  overflow-wrap: anywhere;
}
.chat-staff {
  background: #e7f2eb;
}
.chat-visitor {
  background: #f3f5f8;
}
.chat-link {
  display: grid;
  gap: 0.5rem;
  text-decoration: none;
}
.chat-panel .secondary-button {
  margin: 0.5rem 0.5rem 0.5rem 0;
  min-height: 44px;
}
.chat-panel [data-chat-messages] {
  max-height: 50vh;
  overflow: auto;
}

.detail-gallery button {
  padding: 0;
  overflow: hidden;
  background: var(--paper, #fff);
  border: 1px solid #d8dee6;
  border-radius: 12px;
}
.detail-gallery button img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
[data-gallery-dialog] {
  width: min(900px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 16px;
  border: 0;
  border-radius: 16px;
}
[data-gallery-dialog]::backdrop {
  background: #081c38cc;
}
[data-gallery-full] {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 180px);
  margin: auto;
  object-fit: contain;
}
.gallery-toolbar,
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gallery-controls {
  margin-top: 12px;
}

[data-privacy-panel] {
  margin-top: 24px;
}
[data-privacy-panel] hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
[data-privacy-confirm][hidden] {
  display: none;
}
[data-privacy-panel] [aria-invalid='true'] {
  border-color: #a82424;
}
[data-privacy-password-error] {
  color: #8d2020;
  margin: 0;
}
[data-privacy-show] svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}
[data-privacy-panel] .secondary-button:hover,
[data-privacy-panel] .secondary-button:focus-visible {
  background: #eaf0fa;
  color: #003b8b;
}
