#collections {
  --card-border: #cfd9d6;
  --card-gutter: clamp(.85rem, 1.5vw, 1.35rem);
  color: var(--ink, #172d33);
}
.am-row {
  padding: 0 0 clamp(1.65rem, 3vw, 3rem);
  margin: 0 0 clamp(1.55rem, 2.6vw, 2.7rem);
  border-bottom: 1px solid var(--line, #d4dcd8);
  min-width: 0;
}
.am-row:last-child { margin-bottom: 0; border-bottom: 0; }
.am-row__head, .am-row__labels, .am-row__actions, .am-controls, .am-card__features, .am-card__feature {
  display: flex;
  align-items: center;
}
.am-row__head { justify-content: space-between; gap: 1rem; margin: 0 0 1.05rem; }
.am-row__labels { gap: .8rem; flex-wrap: wrap; min-width: 0; }
.am-row__title {
  margin: 0;
  font-family: var(--sans, Arial, sans-serif);
  font-weight: 650;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -.052em;
  color: var(--ink, #172d33);
}
.am-row__count { color: var(--muted, #586b69); font-size: .85rem; line-height: 1.35; white-space: nowrap; }
.am-row__actions { gap: 1.05rem; flex-shrink: 0; }
.am-view, .am-back {
  font: 600 .85rem/1.35 var(--sans, Arial, sans-serif);
  color: var(--ink, #172d33);
}
.am-view { padding: .5rem 0; text-decoration: underline; text-underline-offset: .22em; text-decoration-color: #8c9e9c; }
.am-view:hover { color: var(--red, #bd1133); text-decoration-color: currentColor; }
.am-back {
  background: white; border: 1px solid var(--card-border); border-radius: 999px;
  padding: .6rem 1rem; cursor: pointer; min-height: 40px; white-space: nowrap;
}
.am-controls { gap: .42rem; }
.am-controls[hidden] { display: none; }
.am-control {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid #c6d0cd; border-radius: 50%; background: transparent;
  color: var(--ink, #172d33); padding: 0; cursor: pointer;
}
.am-control svg { width: 18px; height: 18px; }
.am-control:enabled:hover, .am-back:hover { background: #e9f0ed; border-color: #8fa4a0; }
.am-control:disabled { opacity: .35; cursor: default; }
.am-strip, .am-grid { display: grid; gap: var(--card-gutter); min-width: 0; }
.am-strip {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--card-gutter) * 3) / 3.35);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 1px .35rem;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #c3cfca transparent;
}
.am-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 2px 1px; }
.am-card {
  min-width: 0; display: flex; flex-direction: column; color: var(--ink, #172d33);
  text-decoration: none; background: #fff;
  border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden;
  scroll-snap-align: start; scroll-snap-stop: normal;
  transition: border-color .18s ease, box-shadow .18s ease;
}
a.am-card:hover { color: var(--ink, #172d33); border-color: #91a39e; box-shadow: 0 2px 6px #182e2b0a; }
.am-card__photo {
  aspect-ratio: 1.6 / 1; overflow: hidden; position: relative; flex: 0 0 auto;
  background: #dfe8e5; isolation: isolate;
}
.am-card__photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
@media (hover: hover) { a.am-card:hover .am-card__photo img { transform: scale(1.025); } }
.am-card__type {
  position: absolute; right: .65rem; bottom: .65rem; max-width: calc(100% - 1.3rem);
  border: 1px solid #ffffff62; padding: .22rem .53rem .24rem; border-radius: 999px;
  color: white; background: #172d33e8;
  font: 550 .75rem/1.25 var(--sans, Arial, sans-serif);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.am-card__no-photo { display: grid; width: 100%; height: 100%; place-items: center; color: #435652; font-size: .88rem; }
.am-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: .93rem 1rem .82rem; }
.am-card__price {
  margin: 0; font: 650 clamp(1.06rem, 1.45vw, 1.28rem)/1.28 var(--sans, Arial, sans-serif);
  color: var(--ink, #172d33); letter-spacing: -.035em; overflow-wrap: anywhere;
}
.am-card__address {
  font: 500 .97rem/1.35 var(--sans, Arial, sans-serif); letter-spacing: -.012em;
  color: var(--ink, #172d33); margin: .29rem 0 .6rem; overflow-wrap: anywhere;
}
.am-card__features { gap: .75rem; flex-wrap: wrap; color: #4e6160; margin: 0 0 .79rem; }
.am-card__feature { gap: .21rem; white-space: nowrap; font: 500 .8rem/1.25 var(--sans, Arial, sans-serif); }
.am-card__feature svg { width: 18px; height: 18px; }
.am-card__agency {
  align-self: stretch; margin: auto 0 0; padding-top: .59rem; border-top: 1px solid #e3e9e5;
  color: #51665f; font: 500 .78rem/1.35 var(--sans, Arial, sans-serif);
  white-space: normal;
}
.am-empty { padding: 2.25rem 1.2rem; text-align: center; border: 1px solid var(--card-border); border-radius: 16px; background: #fff; }
.am-empty h2 { font: 650 1.5rem/1.2 var(--sans, Arial, sans-serif); margin: 0; }
.am-empty p { color: var(--muted,#586b69); margin: .55rem 0 1rem; }
#collections :is(a,button,[tabindex]):focus-visible { outline: 2px solid #087c8c; outline-offset: 2px; }
#collections .am-card:focus-visible, #collections .am-strip:focus-visible { outline-offset: -3px; }
@media (min-width: 1510px) {
  .am-strip { grid-auto-columns: calc((100% - var(--card-gutter) * 3) / 4); }
  .am-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1000px) {
  .am-strip { grid-auto-columns: calc((100% - var(--card-gutter) * 2) / 2.55); }
  .am-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 690px) {
  .am-strip { grid-auto-columns: calc((100% - var(--card-gutter)) / 1.33); }
  .am-row__head { gap: .6rem; margin-bottom: .7rem; }
  .am-row__labels { column-gap: .55rem; row-gap: .15rem; }
  .am-row__actions { gap: .55rem; }
  .am-controls { gap: .25rem; }
  .am-control { width: 33px; height: 33px; }
  .am-view { font-size: .82rem; }
  .am-card__body { padding: .84rem .84rem .77rem; }
}
@media (max-width: 480px) {
  .am-strip { grid-auto-columns: calc((100% - var(--card-gutter)) / 1.11); }
  .am-grid { grid-template-columns: minmax(0,1fr); }
  .am-row__labels { flex-direction: column; align-items: flex-start; }
  .am-row__count { font-size: .78rem; }
  .am-row__actions { gap: .62rem; }
  .am-card__price { font-size: 1.13rem; }
}
@media (prefers-reduced-motion: reduce) {
  .am-card, .am-card__photo img { transition: none; }
}

.am-more { display: flex; justify-content: center; padding: .2rem 0 1.5rem; }
.am-more__button {
  min-height: 44px; border: 1px solid #9aafaa; border-radius: 999px;
  background: transparent; color: var(--ink, #172d33); padding: .65rem 1.35rem;
  cursor: pointer; font: 650 .91rem/1.35 var(--sans, Arial, sans-serif);
}
.am-more__button:hover { background: #e6efeb; border-color: #748c87; }
