:root {
  --mg-font: "Manrope", Arial, sans-serif;
  --mg-header-desktop: 165px;
  --mg-header-mobile: 115px;
  --mg-mobile-nav: 70px;
  --mg-place-card-desktop: 112px;
  --mg-place-card-mobile: 100px;
  --mg-place-card-ready-mobile: 190px;
  --mg-place-card-route-mobile: 140px;
  --mg-border: #d9d9dd;
  --mg-text: #171719;
  --mg-muted: #66666a;
  --mg-active: #63ce3a;
  --mg-selected-fill: #d2f8b1;
  --mg-control-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background: #111;
  color: var(--mg-text);
  font-family: var(--mg-font);
  font-size: 16px;
  line-height: 1.4;
}

.mg-map-title {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--mg-text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.mg-map-title__icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  color: #171719;
}

.mg-map-title__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.mg-shell {
  position: relative;
  display: grid;
  grid-template-rows: var(--mg-header-desktop) minmax(0, 1fr);
  width: 100%;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 24px 24px;
}

.mg-header {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-rows: 59px 46px;
  gap: 21px;
  height: var(--mg-header-desktop);
  padding: 24px 30px 18px;
  background: #fff;
}

.mg-header__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(360px, 600px) minmax(150px, 1fr);
  align-items: start;
  gap: 28px;
}

.mg-logo {
  display: inline-flex;
  position: relative;
  width: 177px;
  max-width: 100%;
  height: 42px;
  align-items: center;
  text-decoration: none;
}

.mg-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* img.mg-logo__dark: yukarıdaki ".mg-logo img" (0,1,1) kuralını ezebilmek için
   (0,2,1) özgüllük gerekir; koyu logo yalnızca dark mod / liquid header
   kuralları (0,3,0) tarafından görünür yapılır. */
.mg-logo img.mg-logo__dark {
  display: none;
}

.mg-logo::after {
  position: absolute;
  inset: 0;
  display: none;
  content: "";
  background: url("assets/kanyon-logo-dark.svg") left center / contain no-repeat;
}

.mg-search {
  position: relative;
  z-index: 6;
  width: 100%;
  margin: 0 auto;
}

.mg-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mg-search__icon {
  position: absolute;
  top: 50%;
  left: 21px;
  z-index: 3;
  display: inline-flex;
  width: 23px;
  height: 23px;
  color: #111;
  transform: translateY(-50%);
  pointer-events: none;
}

.mg-search__icon svg,
.mg-pill__icon svg,
.mg-icon-button svg,
.mg-accessibility svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.mg-search input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 59px;
  padding: 0 24px 1px 60px;
  border: 1px solid var(--mg-border);
  border-radius: 999px;
  outline: 0;
  background: #fff;
  color: var(--mg-text);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  appearance: none;
}

.is-search-open .mg-search input {
  border-color: transparent;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

.mg-search input::placeholder {
  color: #151519;
  opacity: 1;
}

.mg-search input:focus {
  border-color: #b7b7bd;
  box-shadow: none;
}

.mg-language-switcher {
  position: relative;
  z-index: 30;
  justify-self: end;
  isolation: isolate;
}

.mg-language {
  display: inline-flex;
  position: relative;
  z-index: 2;
  justify-self: end;
  min-width: 132px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--mg-border);
  border-radius: 999px;
  background: #fff;
  color: var(--mg-text);
  font-size: 20px;
  font-weight: 500;
}

.mg-language__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-language__chevron {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: transform 180ms ease;
}

.is-language-open .mg-language__chevron {
  transform: rotate(180deg);
}

.mg-language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 3;
  display: grid;
  min-width: max(100%, 164px);
  overflow: hidden;
  padding: 5px;
  border: 1px solid var(--mg-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 180ms ease;
  visibility: hidden;
}

.is-language-open .mg-language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.mg-language-option {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--mg-text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.mg-language-option:hover,
.mg-language-option:focus-visible,
.mg-language-option.is-active {
  background: #111;
  color: #fff;
}

.mg-category-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.is-search-open .mg-header > .mg-category-nav {
  visibility: hidden;
  pointer-events: none;
}

.mg-pill {
  display: inline-flex;
  height: 46px;
  min-width: 144px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--mg-border);
  border-radius: 999px;
  background: #fff;
  color: var(--mg-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.38;
  white-space: nowrap;
}

.is-search-open .mg-pill.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.mg-pill__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.mg-pill.is-active .mg-pill__icon img {filter:brightness(0) invert(1)}

.mg-search-panel {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: min(688px, calc(100dvh - 98px));
  overflow: hidden;
  padding: 79px 46px 36px;
  border: 1px solid var(--mg-border);
  border-radius: 8px;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transform-origin: top center;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
  visibility: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.is-search-open .mg-search-panel {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mg-panel-categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding-bottom: 32px;
}

.mg-results {
  min-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 220ms ease 60ms,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1) 60ms;
}

.is-search-open .mg-results {
  opacity: 1;
  transform: translateY(0);
}

.mg-results__title {
  margin: 0 0 16px 1px;
  color: #050507;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.mg-results__list {
  max-height: calc(min(688px, calc(100dvh - 98px)) - 197px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 1px;
  scrollbar-width: thin;
  scrollbar-color: #d7d7d7 transparent;
}

.mg-results__list::-webkit-scrollbar {
  width: 6px;
}

.mg-results__list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d7d7d7;
}

.mg-result-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 11px;
  width: 100%;
  min-height: 95px;
  align-items: center;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #ededed;
  background: #fff;
  color: var(--mg-text);
  text-align: left;
}

.mg-result-item:last-child {
  border-bottom: 0;
}

.mg-result-group {
  border-bottom: 1px solid #ededed;
}

.mg-result-group .mg-result-item {
  border-bottom: 0;
}

.mg-result-item__logo {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ececef;
  border-radius: 50%;
  background: #fff;
}

.mg-result-text-logo {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 50%;
  color: #050507;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.mg-result-item__content {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mg-result-item__name-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.mg-result-item__name {
  overflow: hidden;
  color: #060608;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-result-count {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 8px;
  border-radius: 999px;
  background: #ff4c55;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.mg-result-dropdown-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #10182d;
  transition: transform 180ms ease;
}

.mg-result-dropdown-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mg-result-group.is-open .mg-result-dropdown-icon {
  transform: rotate(180deg);
}

.mg-result-floor-list {
  display: none;
  padding: 0 0 12px 69px;
}

.mg-result-group.is-open .mg-result-floor-list {
  display: grid;
}

.mg-result-floor-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  width: 100%;
  min-height: 74px;
  align-items: center;
  gap: 18px;
  padding: 0 0 0 0;
  border: 0;
  border-bottom: 1px solid #ededed;
  background: #fff;
  color: #171719;
  font-size: 23px;
  font-weight: 500;
  text-align: left;
}

.mg-result-floor-option:last-child {
  border-bottom: 0;
}

.mg-result-floor-option span {
  min-width: 0;
  overflow: hidden;
  padding-left: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-result-floor-option svg {
  width: 28px;
  height: 28px;
  color: #10182d;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mg-result-floor-option:hover,
.mg-result-floor-option:focus-visible {
  color: #050507;
}

.mg-result-item__floor {
  overflow: hidden;
  color: #8a8a8e;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-adidas-mark {
  position: relative;
  display: block;
  width: 33px;
  height: 25px;
}

.mg-adidas-mark::before,
.mg-adidas-mark::after,
.mg-adidas-mark {
  background-repeat: no-repeat;
}

.mg-adidas-mark {
  background-image: linear-gradient(64deg, transparent 0 34%, #050507 35% 100%);
  background-size: 9px 19px;
  background-position: 0 6px;
}

.mg-adidas-mark::before,
.mg-adidas-mark::after {
  position: absolute;
  bottom: 0;
  content: "";
  transform: skewX(26deg);
  transform-origin: bottom left;
  background: #050507;
}

.mg-adidas-mark::before {
  left: 11px;
  width: 9px;
  height: 25px;
}

.mg-adidas-mark::after {
  left: 23px;
  width: 9px;
  height: 18px;
}

.mg-map-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e9e9e9;
}

.mg-floor-map {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.mg-store-selection {
  position: absolute;
  top: 17%;
  left: 49%;
  z-index: 3;
  display: block;
  width: 28%;
  height: 69%;
  min-width: 330px;
  min-height: 330px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mg-text);
  text-align: center;
}

.mg-store-selection__area {
  position: absolute;
  inset: 0;
  display: block;
  background: #111;
  clip-path: polygon(28% 0, 100% 0, 100% 51%, 72% 68%, 72% 91%, 44% 91%, 41% 93%, 39% 91%, 23% 91%, 0 70%, 12% 39%);
  filter: drop-shadow(0 0 0 #111);
  opacity: 0;
  visibility: hidden;
}

.mg-store-selection__area::before {
  position: absolute;
  inset: 1px;
  content: "";
  background: var(--mg-selected-fill);
  clip-path: inherit;
}

.mg-store-marker {
  position: absolute;
  top: 34%;
  left: 50%;
  display: grid;
  justify-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  pointer-events: none;
}

.is-location-selected .mg-store-selection__area,
.is-location-selected .mg-store-marker {
  opacity: 1;
  visibility: visible;
}

.is-location-selected .mg-store-marker {
  transform: translateX(-50%) translateY(0);
}

.mg-store-marker__card {
  position: relative;
  display: grid;
  width: 183px;
  height: 122px;
  align-content: center;
  justify-items: center;
  gap: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 30px rgba(255, 255, 255, 0.28);
}

.mg-store-marker__card::after {
  position: absolute;
  bottom: -11px;
  left: 50%;
  width: 22px;
  height: 22px;
  content: "";
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.is-route-guidance .mg-store-marker__card {
  display: none;
}

.is-route-guidance .mg-store-marker {
  top: 51%;
}

.is-route-guidance .mg-store-marker__caption {
  margin-top: 0;
}

.mg-store-marker__name,
.mg-store-marker__caption {
  position: relative;
  z-index: 1;
  color: #050507;
  font-weight: 800;
  line-height: 1.1;
}

.mg-store-marker__name {
  font-size: 21px;
}

.mg-store-marker__caption {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 500;
}

.mg-brand-logo {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #ececef;
  border-radius: 50%;
  background: #fff;
  color: #050507;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.mg-brand-logo--vakko {
  position: relative;
}

.mg-brand-logo--vakko::before,
.mg-brand-logo--vakko::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.mg-brand-logo--vakko::before {
  inset: 5px;
  border: 1.5px solid #050507;
}

.mg-brand-logo--vakko::after {
  inset: 10px;
  border: 1px solid #050507;
}

.mg-place-card {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: block;
  height: var(--mg-place-card-desktop);
  background: #fff;
  color: var(--mg-text);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  visibility: hidden;
}

.is-location-selected .mg-place-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.mg-place-card__handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 116px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  touch-action: none;
}

.mg-place-card__handle::before {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 60px;
  height: 5px;
  content: "";
  border-radius: 999px;
  background: #9b9b9b;
  transform: translateX(-50%);
}

.mg-place-card__inner {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(626px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  padding-top: 10px;
}

.mg-place-card__inner--picker,
.mg-place-card__inner--route,
.mg-place-card__inner--guidance {
  display: none;
}

.is-route-picking .mg-place-card__inner--default,
.is-route-ready .mg-place-card__inner--default,
.is-route-guidance .mg-place-card__inner--default {
  display: none;
}

.is-route-picking .mg-place-card__inner--picker,
.is-route-ready .mg-place-card__inner--route,
.is-route-guidance .mg-place-card__inner--guidance {
  display: grid;
}

.mg-place-card__inner--picker {
  grid-template-columns: minmax(0, 392px);
  justify-content: center;
}

.mg-route-select {
  display: inline-flex;
  width: 100%;
  height: 60px;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid var(--mg-border);
  border-radius: 999px;
  background: #fff;
  color: #171719;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  text-align: left;
}

.is-route-picking .mg-route-select {
  border-color: #ff3b3b;
}

.mg-route-select span {
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 4px 0 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-route-select svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mg-place-card__inner--route {
  grid-template-columns: minmax(0, 470px) auto auto;
  justify-content: center;
  gap: 58px;
}

.mg-route-summary {
  display: grid;
  grid-template-columns: minmax(0, 158px) 26px minmax(0, 178px);
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.mg-route-point {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mg-route-point .mg-result-item__logo,
.mg-route-point .mg-brand-logo {
  width: 58px;
  height: 58px;
}

.mg-route-point .mg-brand-logo {
  font-size: 31px;
}

.mg-route-point__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
  text-align: left;
}

.mg-route-point__copy strong,
.mg-route-point__copy span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-route-point__copy strong {
  color: #050507;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.mg-route-point__copy span {
  color: #7f7f84;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.mg-route-arrow {
  display: inline-flex;
  width: 26px;
  height: 26px;
  color: #1f2a44;
}

.mg-route-arrow svg,
.mg-start-route-button svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mg-route-arrow svg {
  stroke-width: 1.7;
}

.mg-start-route-button {
  display: inline-flex;
  width: 123px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #91d764 0%, #6da044 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.mg-route-options {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 24px;
  padding: 0;
  border: 0;
  margin: 0;
}

.mg-route-option {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #171719;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.mg-route-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mg-route-option__control {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 1.5px solid #111;
  border-radius: 50%;
  background: #fff;
}

.mg-route-option input:checked + .mg-route-option__control {
  background: #111;
}

.mg-route-option input:focus-visible + .mg-route-option__control {
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.14);
}

.mg-route-option__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg-route-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mg-route-loading-button {
  display: inline-flex;
  width: 137px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #c9c9c9;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
}

.mg-start-route-button svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}

.mg-place-card__inner--guidance {
  grid-template-columns: minmax(0, 410px) minmax(320px, 1fr) auto;
  gap: clamp(28px, 4vw, 74px);
  width: min(1380px, calc(100% - 60px));
  justify-content: center;
  padding-top: 10px;
}

.mg-guidance-route,
.mg-guidance-message,
.mg-guidance-actions {
  min-width: 0;
}

.mg-guidance-route .mg-route-summary {
  grid-template-columns: minmax(0, 158px) 24px minmax(0, 178px);
  gap: 20px;
}

.mg-guidance-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.mg-guidance-message__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  color: #050507;
}

.mg-guidance-message__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.mg-guidance-message p {
  min-width: 0;
  margin: 0;
  color: #050507;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.mg-guidance-message strong {
  font-weight: 800;
}

.mg-guidance-message em {
  color: #15bf39;
  font-style: normal;
  font-weight: 800;
}

.mg-guidance-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.mg-repeat-route-button,
.mg-finish-route-button {
  display: inline-flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.mg-repeat-route-button {
  min-width: 109px;
  padding: 0 22px;
  background: #535353;
}

.mg-finish-route-button {
  min-width: 74px;
  padding: 0 21px;
  background: #ff333a;
}

.mg-place-card__inner .mg-brand-logo {
  width: 58px;
  height: 58px;
  font-size: 31px;
}

.mg-place-card__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.mg-place-card__copy strong {
  overflow: hidden;
  color: #050507;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-place-card__copy span {
  overflow: hidden;
  color: #8b8b90;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-route-button {
  display: inline-flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  background: #101012;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.mg-map-controls {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  gap: 17px;
  width: 60px;
}

.mg-floor-switcher,
.mg-zoom-controls {
  display: grid;
  width: 60px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--mg-control-shadow);
}

.mg-floor-switcher {
  max-height: min(45vh, 360px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.mg-floor-switcher::-webkit-scrollbar {
  display: none;
}

.mg-floor-button,
.mg-icon-button {
  display: inline-flex;
  width: 60px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #fff;
  color: #050507;
}

.mg-floor-button {
  min-height: 43px;
  padding: 0;
  font-size: 20px;
  font-weight: 800;
}

.mg-floor-button.is-active {
  color: var(--mg-active);
}

.mg-icon-button {
  height: 38px;
  padding: 8px 0;
}

.mg-icon-button svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.7;
}

.mg-icon-button:focus-visible,
.mg-floor-button:focus-visible,
.mg-pill:focus-visible,
.mg-language:focus-visible,
.mg-accessibility:focus-visible {
  outline: 3px solid rgba(23, 23, 25, 0.18);
  outline-offset: 2px;
}

.mg-accessibility {
  position: absolute;
  right: 15px;
  top: 47.5%;
  z-index: 3;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: rgba(93, 93, 93, 0.86);
  color: #fff;
}

.mg-accessibility svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

@media (min-width: 1025px) {
  .mg-place-card__inner--route {
    grid-template-columns: minmax(0, 660px) minmax(0, 290px) auto;
    gap: clamp(28px, 3vw, 48px);
    width: min(1080px, calc(100% - 60px));
  }

  .mg-route-summary {
    grid-template-columns: minmax(0, 260px) 26px minmax(0, 260px);
    gap: 22px;
  }

  .mg-guidance-route .mg-route-summary {
    grid-template-columns: minmax(0, 220px) 24px minmax(0, 220px);
    gap: 18px;
  }

  .mg-place-card__inner--guidance {
    grid-template-columns: minmax(0, 540px) minmax(300px, 1fr) auto;
    gap: clamp(24px, 3vw, 56px);
  }
}

@media (max-width: 1024px) {
  .mg-header__top {
    grid-template-columns: minmax(130px, 1fr) minmax(300px, 520px) minmax(120px, 1fr);
    gap: 20px;
  }

  .mg-search input {
    font-size: 18px;
  }

  .mg-category-nav {
    gap: 12px;
  }

  .mg-map-title {
    gap: 12px;
    font-size: 21px;
  }

  .mg-map-title__icon {
    width: 46px;
    height: 46px;
  }

  .mg-panel-categories {
    gap: 12px;
  }

  .mg-search-panel {
    padding-right: 29px;
    padding-left: 29px;
  }

  .mg-store-selection {
    left: 46%;
    width: 36%;
    min-width: 300px;
  }

  .mg-store-marker__card {
    width: 166px;
  }
}

@media (max-width: 767px) {
  .mg-shell {
    grid-template-rows: var(--mg-header-mobile) minmax(0, 1fr);
    min-height: 560px;
    border-radius: 0 0 18px 18px;
  }

  .mg-header {
    grid-template-rows: 32px 40px;
    gap: 13px;
    height: var(--mg-header-mobile);
    padding: 14px 20px 15px;
  }

  .mg-header__top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }

  .mg-logo {
    width: 136px;
    height: 32px;
  }

  .mg-map-title {
    gap: 9px;
    font-size: 18px;
  }

  .mg-map-title__icon {
    width: 34px;
    height: 34px;
  }

  .mg-language-switcher {
    justify-self: end;
  }

  .mg-language {
    min-width: 104px;
    height: 32px;
    gap: 5px;
    padding: 0 12px;
    font-size: 14px;
  }

  .mg-language__chevron {
    width: 11px;
    height: 11px;
  }

  .mg-language-menu {
    top: calc(100% + 6px);
    min-width: 122px;
    border-radius: 12px;
  }

  .mg-language-option {
    min-height: 38px;
    padding-right: 13px;
    padding-left: 13px;
    font-size: 13px;
  }

  .mg-search {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
  }

  .mg-search__icon {
    left: 14px;
    width: 23px;
    height: 23px;
  }

  .mg-search input {
    height: 40px;
    padding: 0 17px 1px 43px;
    font-size: 16px;
  }

  .is-search-open .mg-search input {
    border-color: transparent;
    border-radius: 0;
  }

  .mg-search-panel {
    top: -4px;
    left: 50%;
    width: calc(100vw - 24px);
    height: min(560px, calc(100dvh - 132px));
    padding: 74px 22px 24px;
    border-radius: 8px;
  }

  .mg-panel-categories {
    display: none;
  }

  .mg-results__title {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .mg-results__list {
    max-height: calc(min(560px, calc(100dvh - 132px)) - 132px);
  }

  .mg-result-item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    min-height: 80px;
    gap: 10px;
    padding: 12px 0;
  }

  .mg-result-item__logo {
    width: 52px;
    height: 52px;
  }

  .mg-result-item__name {
    font-size: 19px;
  }

  .mg-result-item__floor {
    font-size: 14px;
  }

  .mg-result-count {
    min-width: 30px;
    height: 30px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 15px;
  }

  .mg-result-dropdown-icon {
    width: 24px;
    height: 24px;
  }

  .mg-result-floor-list {
    padding-left: 62px;
  }

  .mg-result-floor-option {
    grid-template-columns: minmax(0, 1fr) 24px;
    min-height: 52px;
    font-size: 18px;
  }

  .mg-result-floor-option svg {
    width: 24px;
    height: 24px;
  }

  .mg-category-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    justify-content: space-between;
    gap: 8px;
    min-height: var(--mg-mobile-nav);
    padding: 18px 21px 20px;
    background: #fff;
    border-radius: 0 0 18px 18px;
  }

  .is-search-open .mg-header > .mg-category-nav {
    visibility: visible;
    pointer-events: auto;
  }

  .mg-pill {
    height: 32px;
    min-width: 0;
    flex: 1 1 0;
    gap: 8px;
    padding: 0 10px;
    font-size: 14px;
  }

  .mg-pill__icon {
    width: 18px;
    height: 18px;
  }

  .mg-map-stage {
    padding-bottom: var(--mg-mobile-nav);
  }

  .is-location-selected .mg-map-stage {
    padding-bottom: 0;
  }

  .mg-floor-map {
    height: calc(100% + var(--mg-mobile-nav));
    object-position: 51% center;
  }

  .is-location-selected .mg-floor-map {
    height: 100%;
    object-position: 53% center;
  }

  .mg-store-selection {
    top: 18%;
    left: -6%;
    width: 105%;
    height: 67%;
    min-width: 0;
    min-height: 360px;
  }

  .mg-store-selection__area {
    clip-path: polygon(49% 0, 100% 0, 100% 55%, 71% 73%, 71% 96%, 43% 96%, 39% 99%, 37% 96%, 22% 96%, 0 76%, 11% 46%);
  }

  .mg-store-marker {
    top: 26%;
    left: 58%;
  }

  .mg-store-marker__card {
    width: 183px;
    height: 120px;
  }

  .mg-store-marker__caption {
    margin-top: 20px;
    font-size: 22px;
  }

  .mg-map-controls {
    top: 50%;
    left: 11px;
    transform: translateY(-50%);
    gap: 19px;
    width: 60px;
  }

  .mg-accessibility {
    display: none;
  }

  .is-location-selected .mg-category-nav {
    display: none;
  }

  .mg-place-card {
    position: fixed;
    height: var(--mg-place-card-mobile);
    border-radius: 0 0 18px 18px;
  }

  .is-route-ready .mg-place-card {
    height: var(--mg-place-card-ready-mobile);
  }

  .is-route-guidance .mg-place-card {
    height: var(--mg-place-card-route-mobile);
  }

  .mg-place-card__handle {
    top: 8px;
  }

  .mg-place-card__inner {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    width: 100%;
    padding: 17px 20px 8px;
  }

  .mg-place-card__inner--picker {
    grid-template-columns: minmax(0, 100%);
    padding-right: 20px;
    padding-left: 20px;
  }

  .mg-route-select {
    height: 58px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 17px;
  }

  .mg-place-card__inner--route {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    justify-content: stretch;
    align-content: start;
    gap: 17px;
    padding: 25px 21px 15px;
  }

  .mg-place-card__inner--guidance {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    gap: 12px;
    width: 100%;
    padding: 25px 20px 10px;
  }

  .mg-guidance-route {
    grid-row: 2;
  }

  .mg-guidance-message {
    grid-row: 1;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .mg-guidance-message__icon {
    width: 24px;
    height: 24px;
    margin-top: 3px;
  }

  .mg-guidance-message p {
    font-size: 14px;
    line-height: 1.45;
  }

  .mg-guidance-actions {
    position: absolute;
    right: 16px;
    bottom: 15px;
    gap: 12px;
  }

  .mg-repeat-route-button,
  .mg-finish-route-button {
    height: 44px;
    font-size: 18px;
  }

  .mg-repeat-route-button {
    min-width: 109px;
  }

  .mg-finish-route-button {
    min-width: 76px;
  }

  .mg-guidance-route .mg-route-summary {
    grid-template-columns: 45px 22px 45px;
    width: auto;
    gap: 16px;
  }

  .mg-guidance-route .mg-route-point {
    grid-template-columns: 45px;
  }

  .mg-guidance-route .mg-route-point__copy {
    display: none;
  }

  .mg-route-summary {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    gap: 13px;
    width: 100%;
  }

  .mg-route-options {
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  .mg-route-option {
    gap: 8px;
    font-size: 16px;
  }

  .mg-route-option__control {
    width: 20px;
    height: 20px;
  }

  .mg-route-actions {
    justify-content: center;
    width: 100%;
  }

  .mg-route-point {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 8px;
  }

  .mg-route-point .mg-result-item__logo,
  .mg-route-point .mg-brand-logo {
    width: 45px;
    height: 45px;
  }

  .mg-route-point .mg-brand-logo {
    font-size: 25px;
  }

  .mg-route-point__copy {
    gap: 2px;
  }

  .mg-route-point__copy strong {
    font-size: 16px;
  }

  .mg-route-point__copy span {
    font-size: 13px;
  }

  .mg-route-arrow {
    width: 22px;
    height: 22px;
  }

  .mg-start-route-button {
    justify-self: center;
    width: 187px;
    height: 44px;
    font-size: 18px;
  }

  .mg-route-loading-button {
    width: 187px;
    height: 44px;
    font-size: 18px;
  }

  .mg-place-card__inner .mg-brand-logo {
    width: 48px;
    height: 48px;
    font-size: 26px;
  }

  .mg-place-card__copy strong {
    font-size: 20px;
  }

  .mg-place-card__copy span {
    font-size: 16px;
  }

  .mg-route-button {
    height: 46px;
    padding: 0 19px;
    font-size: 16px;
  }
}

@media (max-width: 374px) {
  .mg-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .mg-logo {
    width: 124px;
  }

  .mg-language {
    min-width: 96px;
    padding: 0 10px;
    font-size: 13px;
  }

  .mg-map-title {
    font-size: 16px;
  }

  .mg-map-title__icon {
    width: 30px;
    height: 30px;
  }

  .mg-search-panel {
    width: calc(100vw - 16px);
    padding-right: 16px;
    padding-left: 16px;
  }

  .mg-category-nav {
    gap: 6px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .mg-pill {
    gap: 6px;
    padding-right: 7px;
    padding-left: 7px;
    font-size: 13px;
  }

  .mg-store-marker {
    left: 60%;
  }

  .mg-store-marker__card {
    width: 168px;
    height: 112px;
  }

  .mg-place-card__inner {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 9px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .mg-place-card__inner--picker,
  .mg-place-card__inner--route {
    grid-template-columns: minmax(0, 1fr);
  }

  .mg-place-card__inner--route {
    grid-template-rows: auto auto;
    gap: 13px;
  }

  .mg-place-card__inner .mg-brand-logo {
    width: 44px;
    height: 44px;
  }

  .mg-route-button {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 15px;
  }

  .mg-place-card__inner--route {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mg-route-summary {
    gap: 8px;
  }

  .mg-route-point {
    grid-template-columns: 41px minmax(0, 1fr);
    gap: 7px;
  }

  .mg-route-point .mg-result-item__logo,
  .mg-route-point .mg-brand-logo {
    width: 41px;
    height: 41px;
  }

  .mg-route-point__copy strong {
    font-size: 15px;
  }

  .mg-route-point__copy span {
    font-size: 12px;
  }

  .mg-guidance-actions {
    right: 12px;
    gap: 10px;
  }

  .mg-repeat-route-button {
    min-width: 104px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .mg-finish-route-button {
    min-width: 72px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 767px) {
  .mg-guidance-route .mg-route-summary {
    grid-template-columns: 45px 22px 45px;
    width: auto;
    gap: 16px;
  }

  .mg-guidance-route .mg-route-point {
    grid-template-columns: 45px;
  }

  .mg-guidance-route .mg-route-point__copy {
    display: none;
  }
}

@media (max-width: 374px) {
  .mg-guidance-route .mg-route-summary {
    grid-template-columns: 41px 20px 41px;
    gap: 13px;
  }

  .mg-guidance-route .mg-route-point {
    grid-template-columns: 41px;
  }
}

@media (max-width: 767px) {
  .mg-place-card__inner.mg-place-card__inner--guidance {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    width: 100%;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-guidance-message {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-guidance-route {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    justify-self: start;
  }
}

@media (max-width: 374px) {
  .mg-place-card__inner.mg-place-card__inner--guidance {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-guidance-message {
    grid-template-columns: 24px minmax(0, 1fr);
  }
}

.mg-shell.is-location-selected .mg-place-card {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  visibility: visible;
}

.mg-shell:not(.is-location-selected) .mg-place-card {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 100%, 0);
  visibility: hidden;
}

/* LIQUID GLASS HEADER START */
.mg-header-liquid .mg-header {
  overflow: visible;
  background: #171717;
  color: #fff;
}

.mg-header-liquid .mg-header::before,
.mg-header-liquid .mg-header::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.mg-header-liquid .mg-header::before {
  z-index: 0;
  background-image: url("assets/lq-background-kanyon.png");
  background-position: center;
  background-size: cover;
  filter: brightness(0.7);
}

.mg-header-liquid .mg-header::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 4, 5, 0.18), rgba(4, 4, 5, 0.42)),
    rgba(5, 5, 6, 0.18);
}

.mg-header-liquid .mg-header__top {
  position: relative;
  z-index: 40;
}

.mg-header-liquid .mg-logo__light {
  display: none;
}

.mg-header-liquid .mg-logo::after {
  display: block;
}

.mg-header-liquid .mg-map-title,
.mg-header-liquid .mg-map-title__icon {
  color: #fff;
}

.mg-header-liquid:not(.is-search-open) .mg-search input,
.mg-header-liquid .mg-language,
.mg-header-liquid .mg-language-menu {
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  backdrop-filter: blur(2px) saturate(145%);
  -webkit-backdrop-filter: blur(2px) saturate(145%);
}

.mg-header-liquid .mg-search-panel {
  z-index: 1;
}

.mg-header-liquid.is-search-open .mg-search input {
  background: #fff;
  color: var(--mg-text);
}

.mg-header-liquid.is-search-open .mg-search input::placeholder {
  color: #151519;
}

.mg-header-liquid:not(.is-search-open) .mg-search input::placeholder {
  color: #fff;
}

.mg-header-liquid:not(.is-search-open) .mg-search input:focus,
.mg-header-liquid .mg-language:focus-visible {
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 0 0 3px rgba(255, 255, 255, 0.1),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

.mg-header-liquid:not(.is-search-open) .mg-search__icon img,
.mg-header-liquid .mg-language__chevron,
.mg-header-liquid .mg-map-title__icon img {
  filter: brightness(0) invert(1);
}

.mg-header-liquid .mg-language-menu {
  background: rgba(24, 24, 25, 0.42);
}

.mg-header-liquid .mg-language-option {
  color: #fff;
}

.mg-header-liquid .mg-language-option:hover,
.mg-header-liquid .mg-language-option:focus-visible,
.mg-header-liquid .mg-language-option.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (min-width: 768px) {
  .mg-header-liquid .mg-header > .mg-category-nav {
    position: relative;
    z-index: 5;
  }

  .mg-header-liquid:not(.is-search-open) .mg-header > .mg-category-nav .mg-pill {
    border-color: rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    backdrop-filter: blur(2px) saturate(145%);
    -webkit-backdrop-filter: blur(2px) saturate(145%);
  }



  .mg-header-liquid:not(.is-search-open) .mg-header > .mg-category-nav .mg-pill__icon img {
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 767px) {
  .mg-header-liquid .mg-header::before {
    background-position: center top;
  }
}
/* LIQUID GLASS HEADER END */

/* PROJECT CSS OVERRIDES - 2026-07-19 START */
@media (min-width: 768px) {
  .mg-shell:not(:has(.mg-header > .mg-category-nav .mg-pill)),
  .mg-shell:has(.mg-header > .mg-category-nav[hidden]) {
    --mg-header-desktop: 106px;
  }

  .mg-shell:not(:has(.mg-header > .mg-category-nav .mg-pill)) .mg-header,
  .mg-shell:has(.mg-header > .mg-category-nav[hidden]) .mg-header {
    grid-template-rows: 1fr;
    gap: 0;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .mg-shell:not(:has(.mg-header > .mg-category-nav .mg-pill)) .mg-header__top,
  .mg-shell:has(.mg-header > .mg-category-nav[hidden]) .mg-header__top {
    align-items: center;
  }

  .mg-shell .mg-header > .mg-category-nav:not(:has(.mg-pill)),
  .mg-shell:has(.mg-header > .mg-category-nav[hidden]) .mg-category-nav {
    display: none;
  }

  .mg-logo {
    height: 72px;
  }

  .mg-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }
}

@media (min-width: 768px) {
  .is-search-open .mg-header__top {
    grid-template-columns: minmax(150px, 1fr) minmax(420px, 600px) minmax(150px, 1fr);
  }

  .is-search-open .mg-search {
    width: min(600px, 100%);
    max-width: 600px;
  }

  .is-search-open .mg-search-panel {
    left: 50%;
    width: min(600px, calc(100vw - 300px));
    min-width: 420px;
    max-width: 600px;
    padding-right: 28px;
    padding-left: 28px;
    transform: translateX(-50%);
  }

  .is-search-open .mg-panel-categories {
    justify-content: stretch;
    gap: 10px;
  }

  .is-search-open .mg-panel-categories .mg-pill {
    min-width: 0;
    flex: 1 1 0;
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 16px;
  }

  .is-search-open .mg-panel-categories .mg-pill__icon {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .is-search-open .mg-header__top {
    grid-template-columns: minmax(120px, 1fr) minmax(360px, 560px) minmax(112px, 1fr);
    gap: 18px;
  }

  .is-search-open .mg-search {
    width: min(560px, max(360px, calc(100vw - 360px)));
    max-width: 560px;
  }

  .is-search-open .mg-search-panel {
    width: min(560px, max(360px, calc(100vw - 360px)));
    min-width: 0;
    max-width: min(560px, calc(100vw - 360px));
    padding-right: 22px;
    padding-left: 22px;
  }

  .is-search-open .mg-panel-categories {
    gap: 8px;
  }

  .is-search-open .mg-panel-categories .mg-pill {
    height: 42px;
    gap: 7px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1280px) {
  .mg-place-card__inner--route {
    grid-template-columns: minmax(0, 520px) minmax(300px, auto) auto;
    gap: 24px;
    width: min(1120px, calc(100% - 40px));
  }

  .mg-route-summary {
    grid-template-columns: minmax(0, 220px) 24px minmax(0, 220px);
    gap: 18px;
  }

  .mg-route-options {
    justify-content: center;
    gap: 18px;
  }

  .mg-route-option {
    flex: 0 0 auto;
    gap: 8px;
    font-size: 16px;
  }

  .mg-route-option__label {
    overflow: visible;
    text-overflow: clip;
  }

  .mg-place-card__inner--guidance {
    grid-template-columns: minmax(0, 390px) minmax(260px, 1fr) auto;
    gap: 24px;
    width: min(1220px, calc(100% - 40px));
  }

  .mg-guidance-route .mg-route-summary {
    grid-template-columns: minmax(0, 170px) 22px minmax(0, 170px);
    gap: 14px;
  }

  .mg-guidance-message {
    align-items: center;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
  }

  .mg-guidance-message__icon {
    width: 30px;
    height: 30px;
    margin-top: 0;
  }

  .mg-guidance-message p {
    font-size: 16px;
    line-height: 1.38;
  }

  .mg-guidance-actions {
    gap: 12px;
  }

  .mg-repeat-route-button,
  .mg-finish-route-button {
    height: 42px;
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .mg-place-card__inner--route {
    grid-template-columns: minmax(0, 410px) minmax(260px, auto) auto;
    gap: 18px;
    width: min(930px, calc(100% - 32px));
  }

  .mg-route-summary {
    grid-template-columns: minmax(0, 174px) 22px minmax(0, 174px);
    gap: 12px;
  }

  .mg-route-options {
    gap: 14px;
  }

  .mg-route-option {
    font-size: 15px;
  }

  .mg-route-option__control {
    width: 18px;
    height: 18px;
  }

  .mg-start-route-button {
    width: 112px;
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .mg-place-card__inner.mg-place-card__inner--guidance {
    display: none;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(44px, auto);
    align-content: start;
    align-items: center;
    gap: 13px 14px;
    padding: 25px 18px 12px;
  }

  .is-route-guidance .mg-place-card__inner.mg-place-card__inner--guidance {
    display: grid;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-guidance-message {
    grid-column: 1 / -1;
    grid-row: 1;
    align-items: center;
    width: 100%;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-guidance-message__icon {
    margin-top: 0;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-guidance-message p {
    display: block;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.35;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-guidance-route {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    justify-self: start;
    width: auto;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-guidance-actions {
    position: static;
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    gap: 10px;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-repeat-route-button,
  .mg-place-card__inner.mg-place-card__inner--guidance .mg-finish-route-button {
    height: 44px;
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .mg-place-card__inner.mg-place-card__inner--guidance {
    gap: 12px 10px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-repeat-route-button {
    min-width: 104px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .mg-place-card__inner.mg-place-card__inner--guidance .mg-finish-route-button {
    min-width: 72px;
    padding-right: 16px;
    padding-left: 16px;
  }
}
/* PROJECT CSS OVERRIDES - 2026-07-19 END */

/* =========================================================
   Map Gateway entegrasyonu (mechanic-map + dinamik veri)
   -------------------------------------------------------
   Bu bölümün üstü tasarım teslimatının birebir kopyasıdır.
   Aşağıdaki kurallar; statik kat planı görselinin yerine
   MechanicMap SVG motorunu bağlamak ve dinamik içerik (uzun kat
   isimleri, gerçek logolar, bina seçici, kategori listesi, mall bazlı
   liquid header görseli) için eklenmiştir.
   NOT: Tasarımcıdan yeni styles.css geldiğinde dosyayı replace edin
   ve bu bölümü dosyanın sonuna yeniden ekleyin.
   ========================================================= */

/* MechanicMap konteyneri — mock'taki .mg-floor-map img yerine */
.mg-map-stage #svg-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  outline: none;
}

/* Gerçek kat isimleri uzun olabilir (örn. "Giriş Katı", "P1 Otopark") */
.mg-map-controls {
  width: auto;
  justify-items: start;
}

.mg-floor-switcher {
  width: auto;
  min-width: 60px;
}

.mg-floor-button {
  width: 100%;
  min-width: 60px;
  padding: 0 12px;
  font-size: 16px;
  white-space: nowrap;
}

/* Çoklu binada kattan/binadan çıkış butonu */
.mg-floor-button--exit {
  color: #b42318;
  font-size: 20px;
  line-height: 1;
}

/* ---------------------------------------------------------
   Bina seçici (tasarımda yoktu; kat listesinin üstünde dropdown)
   TODO(design): Tasarımcıdan çoklu bina senaryosu için tasarım talep
   edilecek. Bu blok tema diline uygun geçici bir uygulamadır.
   --------------------------------------------------------- */
.mg-building-select {
  position: relative;
}

.mg-building-select__toggle {
  display: inline-flex;
  width: 100%;
  min-width: 60px;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--mg-control-shadow);
  color: var(--mg-text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.mg-building-select__toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mg-building-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 6;
  display: none;
  min-width: 160px;
  padding: 6px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--mg-control-shadow);
}

.mg-building-select.is-open .mg-building-select__menu {
  display: grid;
}

.mg-building-select__option {
  display: block;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--mg-text);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.mg-building-select__option:hover,
.mg-building-select__option:focus-visible {
  background: #f0f0f2;
}

.mg-building-select__option.is-active {
  color: var(--mg-active);
}

/* Gerçek marka/servis görselleri (mock'ta inline svg idi) */
.mg-result-item__logo img,
.mg-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

/* Servis ikonları beyaz/transparan PNG'ler: haritadaki servis
   pinleriyle tutarlı olması için koyu zemin üzerinde gösterilir. */
.mg-result-item__logo.mg-result-item__logo--service,
.mg-brand-logo.mg-brand-logo--service {
  background: #111;
}

.mg-result-item__logo--service img,
.mg-brand-logo--service img {
  padding: 6px;
}

/* Arama sonucu bulunamadı mesajı */
.mg-results__empty {
  padding: 24px 12px;
  color: var(--mg-muted);
  font-size: 15px;
  text-align: center;
}

/* AVM logoları CMS'ten serbest boyutta yüklenir; logo alanına
   oran korunarak sığdırılır. */
.mg-logo img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Dış mekanda bina seçilince görünen "Binaya Gir" aksiyonu.
   TODO(design): İkincil buton stili tasarımcı onayı bekliyor. */
.mg-place-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mg-enter-building-button {
  display: inline-flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid #101012;
  border-radius: 999px;
  background: #fff;
  color: #101012;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.mg-enter-building-button[hidden],
.mg-route-loading-button[hidden],
.mg-route-button[hidden],
.mg-start-route-button[hidden] {
  display: none;
}

/* ---------------------------------------------------------
   Logo yönetimi: mock'taki hardcoded ::after logosu (kanyon svg)
   nötrlenir; koyu logo CMS'ten gelen <img class="mg-logo__dark">
   ile dinamiktir. mg-logo--has-dark sınıfı template'ten gelir.
   --------------------------------------------------------- */
.mg-logo::after {
  content: none !important;
  background-image: none !important;
}

.mg-header-liquid .mg-logo--has-dark .mg-logo__light {
  display: none;
}

.mg-header-liquid .mg-logo--has-dark .mg-logo__dark {
  display: block;
}

/* Koyu logo yüklenmemişse liquid header'da açık logo görünür kalır. */
.mg-header-liquid .mg-logo:not(.mg-logo--has-dark) .mg-logo__light {
  display: block;
}

/* Liquid header arka planı mall bazlıdır (CMS: mall_header_background);
   mock'taki hardcoded png yerine CSS değişkeni kullanılır. */
.mg-header-liquid .mg-header::before {
  background-image: var(--mg-header-liquid-bg, none);
}

/* Dil seçenekleri <a> olarak render edilir (sayfa /{lang}/language'e gider). */
a.mg-language-option {
  text-decoration: none;
}

/* Dinamik kategori pill etiketi uzun kategori adlarında taşmasın. */
.mg-pill__label {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Kategori listesi görünümü (pill: "Kategoriler")
   TODO(design): Kategori satırı ve geri dönüş satırı için nihai
   tasarım talep edilecek; result-item deseni yeniden kullanıldı.
   --------------------------------------------------------- */
.mg-result-back {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 0;
  background: transparent;
  color: var(--mg-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.mg-result-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mg-result-back:hover,
.mg-result-back:focus-visible {
  color: var(--mg-text);
}

/* ---------------------------------------------------------
   Banner (mg-header) gizli modu — mall.show_header_banner=false
   Header render edilmez; harita tüm yüksekliği kaplar. Kurallar
   media query'lerden SONRA durmalı (eşit özgüllükte kaynak sırası
   mobil grid tanımını ezmek için gerekli).
   --------------------------------------------------------- */
.mg-shell--no-header {
  grid-template-rows: minmax(0, 1fr);
}

/* Mobilde alt kategori nav'ı da header'la birlikte yok olur;
   harita sahnesindeki alt boşluk kaldırılır. */
.mg-shell--no-header .mg-map-stage {
  padding-bottom: 0;
}

/* ---------------------------------------------------------
   Arama ikonu artık tıklanabilir kapatma butonu (bkz. app.js).
   Designer tabanında .mg-search__icon dekoratif (pointer-events:none,
   <span>); burada override edilir. Kapatma svg'si zaten mevcut
   ".mg-search__icon svg" kuralından boyut/stroke alır.
   --------------------------------------------------------- */
.mg-search__icon {
  pointer-events: auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.mg-search__icon-close {
  display: none;
}

.is-search-open .mg-search__icon-open {
  display: none;
}

.is-search-open .mg-search__icon-close {
  display: block;
}
