/* ==========================================
   OUTLETS — matches the All Items shop page
   Fraunces for titles, filters, names, and actions
   ========================================== */
.ot-page-body {
  background: #ffffff !important;
}

.ot-page {
  --ot-ink: #12384c;
  --ot-green: #076d9e;
  --ot-green-dark: #054e73;
  --ot-paper: #fffdf8;
  --ot-muted: #6b6458;
  --ot-line: rgba(7, 109, 158, 0.14);
  position: relative;
  padding: calc(var(--sf-header-h, 138px) + 12px) 0 4.5rem;
  overflow: clip;
  background: #ffffff;
  font-family: 'Fraunces', Georgia, serif;
}

.ot-page,
.ot-page button,
.ot-page a,
.ot-page p,
.ot-page h1,
.ot-page h2,
.ot-page span,
.ot-popup,
.ot-popup strong,
.ot-popup p,
.ot-popup a {
  font-family: 'Fraunces', Georgia, serif !important;
}

.ot-page .fa-solid,
.ot-page .fa-regular,
.ot-page .fa-brands,
.ot-page .fas,
.ot-page .far,
.ot-page .fab,
.ot-popup .fa-solid {
  font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
  font-weight: 900 !important;
}

.ot-container {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.ot-head {
  margin: 4px 0 22px;
  text-align: center;
}

.ot-title {
  margin: 0 !important;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(2.1rem, 4vw, 3rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em !important;
  color: #12384c !important;
  text-align: center !important;
  text-transform: none !important;
}

.ot-lead {
  margin: 12px auto 0;
  max-width: 36rem;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ot-muted);
}

.ot-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 22px;
  padding: 8px;
  background: #f6f3ec;
  border: 1px solid rgba(18, 56, 76, 0.07);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(18, 56, 76, 0.045);
}

.ot-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  justify-content: flex-start;
}

.ot-filter {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ot-ink);
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ot-filter:hover {
  background: rgba(7, 109, 158, 0.08);
  color: var(--ot-ink);
}

.ot-filter.is-active {
  background: var(--ot-green);
  color: #ffffff;
}

.ot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.ot-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.ot-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin: 0;
  padding: 10px;
  background: var(--ot-paper);
  border: 1px solid var(--ot-line);
  border-radius: 26px;
  box-shadow: 0 12px 28px rgba(47, 42, 28, 0.06);
  overflow: hidden;
  animation: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(47, 42, 28, 0.1);
}

.ot-card.is-active {
  border-color: var(--ot-green);
  box-shadow: 0 0 0 3px rgba(7, 109, 158, 0.14);
}

.ot-card[hidden] {
  display: none !important;
}

.ot-card > * {
  min-width: 0;
}

.ot-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 132px;
  align-self: stretch;
  border-radius: 18px;
  background: #f3eee4;
  overflow: hidden;
}

.ot-card__media img,
.ot-card__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.ot-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ot-green);
  font-size: 1.7rem;
  opacity: 0.7;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.7), transparent 45%),
    #f3eee4;
}

.ot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  right: auto;
  z-index: 2;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ot-green);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
}

.ot-badge--flagship {
  background: #0a3f5c;
}

.ot-badge--new {
  background: #b42318;
}

.ot-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 6px 8px 6px 0;
}

.ot-card__area {
  margin: 0 0 2px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ot-green);
}

.ot-card__name {
  margin: 0 0 8px;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ot-ink);
}

.ot-card__address,
.ot-card__phone {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ot-muted);
}

.ot-card__pin {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.ot-card__pin--static {
  cursor: default;
}

.ot-card__pin:hover span {
  color: var(--ot-ink);
}

.ot-card__pin i,
.ot-card__phone i {
  margin-top: 3px;
  color: var(--ot-green);
  flex-shrink: 0;
  font-size: 0.85rem;
}

.ot-card__phone a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.ot-card__phone a:hover {
  color: var(--ot-green);
}

.ot-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding: 8px 0 0;
}

.ot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.ot-btn:hover {
  transform: translateY(-1px);
}

.ot-btn--solid {
  background: var(--ot-green);
  color: #ffffff !important;
  box-shadow: 0 8px 16px rgba(7, 109, 158, 0.18);
}

.ot-btn--solid:hover {
  background: var(--ot-green-dark);
  color: #ffffff !important;
}

.ot-btn--ghost {
  background: #ffffff;
  color: var(--ot-ink) !important;
  border: 1px solid rgba(18, 56, 76, 0.12);
}

.ot-btn--ghost:hover {
  background: #f6f3ec;
  color: var(--ot-ink) !important;
}

.ot-empty {
  display: block;
  margin: 0;
  padding: 44px 24px;
  text-align: center;
  background: var(--ot-paper);
  border: 1px solid var(--ot-line);
  border-radius: 26px;
  color: var(--ot-muted);
}

.ot-empty[hidden] {
  display: none !important;
}

.ot-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3eee4;
  color: var(--ot-green);
  font-size: 1.4rem;
}

.ot-empty h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ot-ink);
}

.ot-empty p {
  margin: 0 0 16px;
  color: var(--ot-muted);
}

.ot-map {
  position: sticky;
  top: 128px;
  background: var(--ot-paper);
  border: 1px solid var(--ot-line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(47, 42, 28, 0.06);
}

.ot-map__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
}

.ot-map__head h2 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ot-ink);
}

.ot-map__external {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ot-green) !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.ot-map__external:hover {
  color: var(--ot-green-dark) !important;
}

.ot-map__frame {
  width: 100%;
  height: min(640px, calc(100vh - 220px));
  min-height: 420px;
  background: #f3eee4;
}

.ot-map__frame img,
.leaflet-container img {
  max-width: none !important;
  height: auto;
}

.ot-popup {
  min-width: 180px;
  font-family: 'Fraunces', Georgia, serif;
}

.ot-popup strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ot-ink, #12384c);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ot-popup p {
  margin: 0 0 8px;
  color: #6b6458;
  font-size: 0.85rem;
  line-height: 1.4;
}

.ot-popup a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: #076d9e;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .ot-page {
    padding: calc(var(--sf-header-h, 132px) + 8px) 0 3.5rem;
  }

  .ot-layout {
    grid-template-columns: 1fr;
  }

  .ot-map {
    position: static;
    order: 2;
  }

  .ot-map__frame {
    height: 380px;
    min-height: 320px;
  }
}

@media (max-width: 767px) {
  .ot-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .ot-toolbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
  }

  .ot-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .ot-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    border-radius: 20px;
    padding: 8px;
  }

  .ot-card__media {
    min-height: 104px;
    border-radius: 14px;
  }

  .ot-card__name {
    font-size: 1.08rem;
  }

  .ot-card__actions .ot-btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ot-card,
  .ot-btn {
    transition: none !important;
  }
}
