
/* =========================================================
   HANSAE-MK STORE LOCATOR - FINAL REFACTOR
========================================================= */

.store-page {
  position: relative;
  background: var(--store-bg);
  color: var(--store-text);
  font-family: var(--font-family-base);
}

.store-page *,
.store-page *::before,
.store-page *::after { box-sizing: border-box; }
.store-page button,
.store-page input { outline: 0; }
.store-page button { border: 0; }

.store-locator {
  position: relative;
  min-height: calc(100vh - var(--gnb-height));
  background: linear-gradient(180deg, rgba(246,248,251,.1), rgba(246,248,251,.18)), #eef2f7;
  overflow: hidden;
}

.store-locator__map,
.store-map-fallback {
  width: 100%;
  top: var(--gnb-height);
  height: 100vh;
  min-height: 760px;
}

.store-locator__map { position: relative; z-index: 0; }

.store-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,248,251,.96));
  text-align: center;
  z-index: 1;
}

.store-map-fallback strong {
  font-size: var(--font-size-20);
  font-weight: var(--font-weight-bold);
  color: var(--store-navy);
}

.store-map-fallback p {
  margin: 0;
  font-size: var(--font-size-14);
  color: var(--store-text-soft);
}

.store-overlay {
  position: absolute;
  top: calc(var(--gnb-height) + 12px);
  left: 24px;
  width: var(--store-panel-width);
  max-height: var(--store-panel-height);
  background: var(--store-panel-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow: var(--store-shadow);
  z-index: 30;
  overflow: hidden;
}

.store-overlay__header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--store-line);
}

.store-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
}

.store-mode button,
.store-search-tabs button,
.store-transport button,
.store-brand-chips button,
.store-region-grid button,
.store-district-grid button { cursor: pointer; }

.store-mode button {
  min-height: 55px;
  background: var(--store-tab-bg);
  color: var(--store-tab-text);
  font-size: var(--font-size-15);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-base);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.store-mode button.is-active {
  background: var(--store-tab-bg-active);
  color: var(--store-tab-text-active);
}

.store-overlay__collapse {
  width: 66px;
  min-height: 55px;
  display: grid;
  place-items: center;
  background: transparent;
  border-left: 1px solid var(--store-line);
  color: var(--store-navy);
  font-size: 24px;
  cursor: pointer;
}

.store-overlay__collapse-icon {
  display: inline-flex;
  transition: transform .25s ease;
  width: 20px;
  height: 20px;

  background: url('/assets/images/store-overlay-collapse-icon.png') no-repeat center;
  background-size: contain;
}

.store-overlay.is-collapsed [data-collapse-button] .store-overlay__collapse-icon,
.store-overlay.is-collapsed .store-overlay__collapse--compact .store-overlay__collapse-icon {
  transform: rotate(180deg);
}

.store-overlay__collapsed-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  background: rgba(238, 238, 238, 0.96);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.store-overlay.is-collapsed .store-overlay__collapsed-bar {
  display: flex;
}

.store-overlay.is-collapsed .store-overlay__body {
  display: none;
}

.store-overlay__collapse--compact {
  width: 40px;
  min-height: 40px;
  border-left: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--store-shadow-soft);
  font-size: 20px;
}

.store-overlay__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-height: calc(var(--store-panel-height) - 56px);
  overflow: hidden;   /* 중요 */
}

.store-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

/* 매장명 */
.store-card__title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0;
}

/* 버튼 */
.store-card__route-btn {
  font-size: 10px;        /* 글자 작게 */
  padding: 1px 4px;       /* 내부 여백 줄이기 */
  min-height: 20px;       /* 높이 줄이기 */
  border-radius: 12px;    /* 살짝 둥글게 */

  background: #eee;       /* 너무 진하면 부담됨 */
  border: 1px solid #ddd;
  color: #333;
}

.store-controls { padding: 10px 10px 0; }
.store-filter-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.store-option-button,
.store-inline-button,
.store-current-button,
.store-floating-button,
.store-card__action,
.store-card__ghost,
.store-back-button,
.store-icon-button { cursor: pointer; }

.store-option-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.24);
  background: #fff;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--store-navy);
  box-shadow: 0 2px 5px rgba(0,0,0,.12);
}

.store-option-button--ghost {
  min-height: 38px;
  font-size: 13px;
  padding: 0 14px;
}

.store-option-button__check { color: #1d6b34; font-weight: 900; }

.store-filter-drawer {
  display: block;
  margin-bottom: 0;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  overflow: hidden;
  max-height: 0;
  flex-shrink: 0;   /* 줄어들지 않게 */
  transition: max-height .28s ease, padding .28s ease, margin .28s ease, border-color .28s ease;
}

.store-filter-drawer.is-open {
  max-height: 220px;
  margin-bottom: 12px;
  padding: 14px;
  border-color: var(--store-line);
}

.store-filter-section__head,
.store-results__head,
.store-card__meta,
.store-card__footer,
.store-region-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.store-filter-section__head strong,
.store-results__head strong,
.store-step,
.store-card__title { font-weight: var(--font-weight-bold); }
.store-filter-section__head strong { font-size: var(--font-size-13); color: var(--store-navy); }
.store-inline-button,
.store-back-button,
.store-icon-button { background: transparent; }
.store-inline-button { font-size: var(--font-size-9); font-weight: var(--font-weight-medium); color: var(--store-text-soft); }

.store-brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.store-brand-chips button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--store-line);
  background: #fff;
  font-size: var(--font-size-12);
  font-weight: var(--font-weight-bold);
  color: var(--store-navy-2);
}

.store-brand-chips button.is-active {
  background: rgba(106, 68, 80, 0.14);
  border-color: rgba(106, 68, 80, 0.28);
  color: #6a4450;
}

.store-search-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: transparent;
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--color-success-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--store-tab-bg-active);
}

.store-search-tabs button {
  min-height: 48px;
  font-size: var(--font-size-14);
  font-weight: var(--font-weight-bold);
  background: transparent;
  color: var(--store-tab-text);
}

.store-search-tabs button.is-active {
  background: var(--store-tab-bg-active) !important;
  color: #fff !important;
}

.store-search-panel {
  display: none;
  padding: 12px;
  background: var(--store-tab-bg-wide-active);
  border: 1px solid var(--color-success-soft);
  border-radius: 0 0 18px 18px;
  color: #fffaf8;
  margin-top: -1px;
}

.store-search-panel.is-active { display: block; }
.store-search-input { display: grid; grid-template-columns: 1fr 40px; gap: 6px; }

.store-search-panel--region.is-collapsed {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.store-search-panel--region.is-collapsed .store-region-container,
.store-search-panel--region.is-collapsed .store-step,
.store-search-panel--region.is-collapsed .store-region-breadcrumb {
  display: none !important;
}

.store-search-input input,
.store-direction-field input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d6dde6;
  background: #fff;
  color: var(--store-text);
  font-size: var(--font-size-13);
  font-weight: var(--font-weight-medium);
}

.store-search-input button,
.store-icon-button {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--store-navy);
  font-size: 20px;
}

.store-search-summary,
.store-direction-hint {
  margin-top: 10px;
  font-size: var(--font-size-13);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.store-step {
  font-size: var(--font-size-14);
  margin-bottom: 12px;
  color: #fff;
}

.store-region-container { position: relative; min-height: 220px; }
.store-region-container > div { position: relative; inset: auto; }
#storeRegionFilters[hidden],
#storeDistrictFilters[hidden] { display: none !important; }

.store-region-grid,
.store-district-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  color: var(--store-text);
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}

.store-region-grid button,
.store-district-grid button {
  min-height: 40px;
  padding: 11px 12px;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
  text-align: left;
  font-size: var(--font-size-13);
  font-weight: var(--font-weight-medium);
  color: var(--store-navy-2);
  line-height: 1.35;
}

.store-region-grid button:nth-child(odd),
.store-district-grid button:nth-child(odd) { border-right: 1px solid #edf1f5; }

.store-region-grid button.is-active,
.store-district-grid button.is-active {
  background: #f3f6fa;
  color: var(--store-navy);
  font-weight: var(--font-weight-bold);
}

.store-region-breadcrumb {
  margin-bottom: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
}

.store-back-button { font-size: 22px; color: #fff; }
.store-kakao-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--store-navy);
  font-size: var(--font-size-12);
  font-weight: var(--font-weight-bold);
}

.store-direction-form {
  padding: 16px;
  border-radius: 18px 18px 0 0;
  background: var(--store-tab-bg-active);
}

.store-direction-row + .store-direction-row { margin-top: 14px; }
.store-direction-row label { display: block; margin-bottom: 8px; color: #fff; font-weight: var(--font-weight-bold); font-size: var(--font-size-13); }
.store-direction-field { display: grid; grid-template-columns: auto 1fr 46px; gap: 8px; align-items: center; }
.store-direction-row:last-of-type .store-direction-field { grid-template-columns: 1fr 46px; }
.store-current-button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: var(--font-size-13);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.store-transport { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.store-transport button {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--font-size-13);
  font-weight: var(--font-weight-bold);
}
.store-transport button.is-active { background: #fff; color: var(--store-navy); }

.store-suggestion-box { display: grid; gap: 8px; margin-top: 10px; }
.store-suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--store-line);
  text-align: left;
}

.store-suggestion-item strong,
.store-card__title { font-size: var(--font-size-18); line-height: 1.25; }
.store-suggestion-item p,
.store-card__address,
.store-card__meta,
.store-card__tel,
.store-empty,
.store-card__distance { font-size: var(--font-size-13); }
.store-suggestion-item p { margin: 4px 0 0; color: var(--store-text-soft); }

.store-results {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: none;   /* ⭐ 제거 */
  padding: 12px 16px 16px;
  flex: 1;
  overflow-y: auto;
}
.store-results__head { margin-bottom: 12px; color: var(--store-navy); }
.store-results__head strong { font-size: var(--font-size-15); }
.store-results__head span { font-size: var(--font-size-13); color: var(--store-text-soft); }
.store-list {
  display: grid;
  gap: 12px;
  min-height: 160px;
  overflow: auto;
  padding-right: 2px;
  flex: 1;
  overflow-y: auto;
  max-height: none;   /* ⭐ 제거 */
}

.store-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
  cursor: pointer;
}

.store-card:hover,
.store-card.is-active {
  box-shadow: 0 18px 26px rgba(89, 62, 71, 0.10);
  border-color: rgba(106, 68, 80, 0.18);
}

.store-card__brand {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--store-accent-soft);
  color: var(--store-accent);
  font-size: var(--font-size-11);
  font-weight: var(--font-weight-bold);
}

.store-card__district { color: var(--store-text-muted); }
.store-card__title { margin: 10px 0 8px; color: var(--store-navy); }
.store-card__address { color: var(--store-text-soft); line-height: 1.65; }
.store-card__distance { margin-top: 8px; color: #3f5f7a; font-weight: var(--font-weight-bold); }
.store-card__tel { margin-top: 8px; color: var(--store-text-muted); }
.store-card__footer { margin-top: 14px; }
.store-card__action,
.store-card__ghost,
.store-floating-button {
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: var(--font-size-10);
  font-weight: var(--font-weight-bold);
}

.store-card__action,
.store-floating-button {
  background: var(--store-navy-2);
  color: #fffaf8;
}

.store-card__ghost {
  border: 1px solid #ddd3d7;
  background: #fff;
  color: #6f555d;
}

.store-empty {
  padding: 28px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--store-text-soft);
  text-align: center;
  line-height: 1.7;
}

.store-floating-toolbar {
  position: absolute;
  top: calc(var(--gnb-height) + 12px);
  right: 24px;
  z-index: 3;
}

.store-map-infowindow {
  min-width: 220px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.14);
  font-size: var(--font-size-13);
  line-height: 1.65;
  color: var(--store-text-soft);
}
.store-map-infowindow strong { display: block; margin-bottom: 6px; color: var(--store-navy); font-size: var(--font-size-15); }
.store-map-infowindow .brand {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--store-accent-soft);
  color: var(--store-accent);
  font-size: var(--font-size-11);
  font-weight: var(--font-weight-bold);
}


/* Grouped store/location cards */
.store-card__brand-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.store-map-infowindow .address {
  margin-bottom: 10px;
}

.store-map-brand-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.store-map-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  min-width: 0;
}

.store-map-brand-row .brand {
  flex: 0 0 auto;
  width: auto;
  max-width: 116px;
  margin: 0;
  white-space: nowrap;
  justify-content: center;
}

.store-map-brand-row .floor,
.store-map-brand-row .tel {
  flex: 0 0 auto;
  color: var(--store-text-soft);
  white-space: nowrap;
  font-size: var(--font-size-12);
}

.store-map-brand-row .tel:empty,
.store-map-brand-row .tel.is-empty {
  visibility: hidden;
}


.blind {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.store-locator__map.is-ready + .store-map-fallback,
.store-map-fallback[hidden] { display: none !important; }

#storeMap {
  opacity: 0;
  transition: opacity 0.4s ease;
}
#storeMap.is-ready { opacity: 1; }

.multi-store-popup {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  min-width: 180px;
}
.multi-store-popup .title { font-weight: bold; margin-bottom: 8px; }
.multi-store-popup .item { padding: 8px; cursor: pointer; border-radius: 6px; }
.multi-store-popup .item:hover { background: #f5f5f5; }


.region-search-wrap {
  display: none;
}
.region-search-wrap.active {
  display: block;
}
.quick-search-wrap.active {
  display: block;
}
.quick-search-wrap {
  display: none;
}

@media (max-width: 1024px) {
  .store-page { --store-panel-width: min(372px, calc(100vw - 28px)); }
}

@media (max-width: 768px) {
  .store-page{
    top: 0;
  }
  .store-locator__map,
  .store-map-fallback {
    min-height: calc(100vh - var(--gnb-height-mobile));
    height: calc(100vh - var(--gnb-height-mobile));
    top: 0px;
  }

  .store-overlay {
    left: 12px;
    right: 12px;
    width: var(--store-panel-width);
    top: calc(var(--gnb-height-mobile) + 10px);
    max-height: calc(100vh - var(--gnb-height-mobile) - 24px);
    background: var(--store-panel-bg);
    display: flex;                       /* ⭐ 추가 */
    flex-direction: column;              /* ⭐ 추가 */
    border-radius: 20px;
  }

  .store-controls { padding: 12px 12px 0; }
  .store-overlay__header,
  .store-mode button { min-height: 56px; }
  .store-overlay__body {
   display: flex;
   flex-direction: column;
   height: 100%;
  }
  .store-results {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }
  .store-region-grid,
  .store-district-grid { grid-template-columns: 1fr 1fr; }
  .store-list { max-height: none; }
  .store-floating-toolbar { top: auto; bottom: 16px; right: 16px; }
  .store-overlay__collapsed-bar {
   position: relative;
   z-index: 5; /* ✅ body보다 위로 */
   min-height: 50px; padding: 2px 12px; 
  }
}

@media (max-width: 480px) {
  .store-option-button { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .store-region-grid,
  .store-district-grid { grid-template-columns: 1fr; }
  .store-region-grid button:nth-child(odd),
  .store-district-grid button:nth-child(odd) { border-right: 0; }
}

.is-store-page footer { display: none !important; }

/* 20260512 store tab radius restore: active burgundy tabs connect to the panel below */
.store-page .store-mode button.is-active,
.store-page .store-search-tabs button.is-active {
  border-radius: 22px 22px 0 0 !important;
}

.store-page .store-mode button:not(.is-active),
.store-page .store-search-tabs button:not(.is-active) {
  border-radius: 0 !important;
}

.store-page .store-search-tabs {
  border-radius: 22px 22px 0 0 !important;
  overflow: hidden;
  border-bottom-color: var(--store-tab-bg-active) !important;
}

.store-page .store-search-panel.is-active {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  margin-top: -1px;
}

.store-page .store-mode button:first-child.is-active,
.store-page .store-search-tabs button:first-child.is-active {
  border-top-left-radius: inherit;
}

.store-page .store-mode button:last-child.is-active,
.store-page .store-search-tabs button:last-child.is-active {
  border-top-right-radius: inherit;
}

@media (max-width: 768px) {
  .store-page .store-mode button.is-active,
  .store-page .store-search-tabs button.is-active {
    border-radius: 20px 20px 0 0 !important;
  }

  .store-page .store-search-tabs {
    border-radius: 20px 20px 0 0 !important;
  }
}


/* 20260512 store mode seam fix: let the active top tab overlap the inactive tab slightly so the rounded corner is not cut off */
.store-page .store-overlay__header {
  overflow: visible;
}

.store-page .store-mode {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: var(--store-tab-bg);
  border-radius: 28px 28px 0 0;
}

.store-page .store-mode button {
  position: relative;
  z-index: 1;
  border-radius: 0 !important;
}

.store-page .store-mode button.is-active {
  z-index: 2;
  border-radius: 28px 28px 0 0 !important;
  box-shadow: none;
}

.store-page .store-mode button:first-child.is-active {
  margin-right: -18px;
  padding-right: 18px;
}

.store-page .store-mode button:last-child.is-active {
  margin-left: -18px;
  padding-left: 18px;
}

@media (max-width: 768px) {
  .store-page .store-mode {
    border-radius: 20px 20px 0 0;
  }

  .store-page .store-mode button.is-active {
    border-radius: 20px 20px 0 0 !important;
  }

  .store-page .store-mode button:first-child.is-active {
    margin-right: -16px;
    padding-right: 16px;
  }

  .store-page .store-mode button:last-child.is-active {
    margin-left: -16px;
    padding-left: 16px;
  }
}

/* Store grouped map UI fixes: route button no-wrap */
.store-card__route,
.store-card .route,
.store-card a[href*="map.kakao"],
.store-card a[href*="map.naver"],
.store-card button[class*="route"],
.store-card button[class*="direction"],
.store-card__action,
.store-card__actions a,
.store-card__actions button {
  min-width: 64px;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1.1;
  text-align: center;
}

.store-card__actions {
  flex: 0 0 auto;
}

/* Store info window compact brand/floor/tel alignment fix */
.store-map-infowindow {
  box-sizing: border-box;
  width: max-content;
  min-width: 258px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 14px;
}

.store-map-infowindow strong,
.store-map-infowindow .address {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.store-map-brand-list {
  display: grid;
  grid-template-columns: max-content 22px max-content;
  column-gap: 9px;
  row-gap: 0;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 10px;
}

.store-map-brand-row {
  display: contents;
}

.store-map-brand-row .brand,
.store-map-brand-row .floor,
.store-map-brand-row .tel {
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 7px;
  padding-bottom: 7px;
}

.store-map-brand-row .brand {
  width: auto;
  max-width: 108px;
  min-width: 0;
  margin: 0;
  padding-left: 9px;
  padding-right: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-self: start;
}

.store-map-brand-row .floor {
  width: 22px;
  text-align: left;
  white-space: nowrap;
  justify-self: start;
}

.store-map-brand-row .tel {
  width: auto;
  max-width: 110px;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-self: start;
}

.store-map-brand-row .tel:empty,
.store-map-brand-row .tel.is-empty {
  visibility: hidden;
}

@media (max-width: 480px) {
  .store-map-infowindow {
    width: auto;
    min-width: 248px;
    max-width: calc(100vw - 32px);
    padding: 13px 13px;
  }

  .store-map-brand-list {
    grid-template-columns: max-content 21px max-content;
    column-gap: 8px;
  }

  .store-map-brand-row .brand {
    max-width: 96px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .store-map-brand-row .floor {
    width: 21px;
  }

  .store-map-brand-row .tel {
    max-width: 96px;
  }
}


/* Store map popup displayText support for complex shopping malls */
.store-map-brand-list.has-display-text {
  display: block;
  width: 100%;
  max-width: 100%;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  width: 100%;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 7px 0;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .brand {
  border-top: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  max-width: 112px;
  align-self: center;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .detail {
  min-width: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display:first-child {
  margin-top: 0;
}

@media (min-width: 481px) {
  .store-map-brand-list.has-display-text .store-map-brand-row--display .detail {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .store-map-brand-list.has-display-text .store-map-brand-row--display {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 8px;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display .brand {
    max-width: 96px;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display .detail {
    font-size: 12px;
  }
}

/* Store popup final responsive layout: keep brand pill, split venue and floor/tel lines */
.store-map-infowindow {
  box-sizing: border-box;
  width: max-content;
  min-width: 320px;
  max-width: min(460px, calc(100vw - 28px));
}

.store-map-brand-list.has-display-text {
  width: 100%;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display {
  grid-template-columns: max-content minmax(190px, 1fr);
  column-gap: 10px;
  align-items: start;
  padding: 8px 0;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .brand {
  max-width: 118px;
  line-height: 1.1;
  margin-top: 1px;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.35;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .venue-line {
  display: block;
  color: #555;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .meta-line {
  display: block;
  color: #666;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

@media (min-width: 481px) {
  .store-map-infowindow {
    min-width: 340px;
    max-width: 520px;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display {
    grid-template-columns: max-content minmax(230px, 1fr);
  }
}

@media (max-width: 480px) {
  .store-map-infowindow {
    width: calc(100vw - 28px);
    min-width: 0;
    max-width: calc(100vw - 28px);
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 9px;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display .brand {
    max-width: 106px;
    font-size: 11px;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display .venue-line {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display .meta-line {
    white-space: normal;
  }
}

/* Store popup final alignment override: fixed brand column, venue+floor on first line */
.store-map-infowindow {
  box-sizing: border-box;
  width: max-content !important;
  min-width: 360px;
  max-width: min(560px, calc(100vw - 28px));
}

.store-map-infowindow .address {
  line-height: 1.45;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display {
  display: grid !important;
  grid-template-columns: 104px minmax(220px, 1fr) !important;
  column-gap: 8px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .brand {
  box-sizing: border-box;
  width: fit-content;
  max-width: 96px;
  justify-self: start;
  align-self: start;
  margin-top: 0;
  white-space: nowrap;
  line-height: 1.1;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .detail {
  display: block !important;
  min-width: 0;
  padding-top: 1px;
  color: #555;
  font-size: 12px;
  line-height: 1.42;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .venue-meta-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-map-brand-list.has-display-text .store-map-brand-row--display .tel-line {
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  color: #666;
}

@media (min-width: 481px) {
  .store-map-infowindow {
    min-width: 380px;
    max-width: 560px;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display {
    grid-template-columns: 108px minmax(260px, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .store-map-infowindow {
    width: calc(100vw - 28px) !important;
    min-width: 0;
    max-width: calc(100vw - 28px);
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    column-gap: 7px;
    padding: 8px 0;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display .brand {
    max-width: 82px;
    font-size: 11px;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display .detail {
    font-size: 12px;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display .venue-meta-line {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row--display .tel-line {
    white-space: nowrap;
  }
}

/* Store popup FINAL brand-column alignment override
   - Keep every row as a two-column grid.
   - Reserve the first column using the longest brand pill width so all details start at the same x position.
*/
.store-map-brand-list.has-display-text {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display {
  display: grid !important;
  grid-template-columns: 118px minmax(0, 1fr) !important;
  column-gap: 8px !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 0 !important;
  border-top: 1px solid rgba(0,0,0,0.07) !important;
}

.store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display .brand {
  grid-column: 1 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 112px !important;
  justify-self: start !important;
  align-self: start !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display .detail {
  grid-column: 2 !important;
  display: block !important;
  min-width: 0 !important;
  padding-top: 2px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #555 !important;
}

.store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display .venue-meta-line {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display .tel-line {
  display: block !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  color: #666 !important;
}

@media (min-width: 481px) {
  .store-map-infowindow {
    min-width: 390px !important;
    max-width: 580px !important;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display {
    grid-template-columns: 122px minmax(0, 1fr) !important;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display .brand {
    max-width: 116px !important;
  }
}

@media (max-width: 480px) {
  .store-map-infowindow {
    width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    column-gap: 7px !important;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display .brand {
    max-width: 106px !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 11px !important;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display .venue-meta-line {
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  .store-map-brand-list.has-display-text .store-map-brand-row.store-map-brand-row--display .tel-line {
    white-space: nowrap !important;
  }
}

/* Store popup FINAL responsive width/detail alignment override
   - Simple buildings: compact popup, brand / floor / tel separated into columns.
   - Complex buildings: wider popup, brand / venue+floor / tel separated across lines.
*/
.store-map-infowindow.is-simple-building {
  width: max-content !important;
  min-width: 300px !important;
  max-width: 420px !important;
}

.store-map-infowindow.is-complex-building {
  width: max-content !important;
  min-width: 390px !important;
  max-width: 580px !important;
}

.store-map-brand-list.has-display-text.is-simple-building .store-map-brand-row.store-map-brand-row--display {
  grid-template-columns: 118px max-content !important;
  column-gap: 10px !important;
  align-items: center !important;
  padding: 7px 0 !important;
}

.store-map-brand-list.has-display-text.is-simple-building .store-map-brand-row.store-map-brand-row--display .detail--simple {
  display: inline-grid !important;
  grid-template-columns: minmax(28px, auto) max-content !important;
  column-gap: 16px !important;
  align-items: center !important;
  padding-top: 0 !important;
  white-space: nowrap !important;
}

.store-map-brand-list.has-display-text.is-simple-building .store-map-brand-row.store-map-brand-row--display .floor-line,
.store-map-brand-list.has-display-text.is-simple-building .store-map-brand-row.store-map-brand-row--display .tel-line {
  display: inline-block !important;
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 1.35 !important;
}

.store-map-brand-list.has-display-text.is-complex-building .store-map-brand-row.store-map-brand-row--display {
  grid-template-columns: 122px minmax(0, 1fr) !important;
}

.store-map-brand-list.has-display-text.is-complex-building .store-map-brand-row.store-map-brand-row--display .detail--complex .venue-meta-line {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.store-map-brand-list.has-display-text.is-complex-building .store-map-brand-row.store-map-brand-row--display .detail--complex .tel-line {
  display: block !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
}

@media (max-width: 480px) {
  .store-map-infowindow.is-simple-building,
  .store-map-infowindow.is-complex-building {
    width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
  }

  .store-map-brand-list.has-display-text.is-simple-building .store-map-brand-row.store-map-brand-row--display,
  .store-map-brand-list.has-display-text.is-complex-building .store-map-brand-row.store-map-brand-row--display {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    column-gap: 8px !important;
  }

  .store-map-brand-list.has-display-text.is-simple-building .store-map-brand-row.store-map-brand-row--display .detail--simple {
    grid-template-columns: minmax(28px, auto) max-content !important;
    column-gap: 14px !important;
  }

  .store-map-brand-list.has-display-text.is-complex-building .store-map-brand-row.store-map-brand-row--display .detail--complex .venue-meta-line {
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }
}

/* 20260727 Store building/floor detail panel and map information action */
.store-card__info,
.store-map-info-button,
.store-detail-panel__close,
.store-detail-panel__route,
.store-detail-panel__google {
  appearance: none;
  border: 0;
  font: inherit;
}

.store-card__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(19, 92, 67, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #135c43;
  font-size: var(--font-size-10);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
  cursor: pointer;
}

.store-card__info:hover,
.store-card__info:focus-visible {
  border-color: #135c43;
  background: #eef7f3;
}

.store-map-infowindow__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 24, 39, 0.09);
}

.store-map-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: #135c43;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.store-map-info-button:hover,
.store-map-info-button:focus-visible {
  background: #0d4633;
}

.store-detail-layer {
  position: relative;
  z-index: 80;
}

.store-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 79;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  cursor: default;
}

.store-detail-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.store-detail-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(440px, 92vw);
  height: 100dvh;
  background: #fff;
  box-shadow: -20px 0 48px rgba(15, 23, 42, 0.18);
  transform: translateX(104%);
  visibility: hidden;
  transition: transform 220ms ease, visibility 220ms ease;
}

.store-detail-panel.is-open {
  transform: translateX(0);
  visibility: visible;
}

.store-detail-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 28px 22px;
  border-bottom: 1px solid #ece7e9;
}

.store-detail-panel__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #7b5c66;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-detail-panel__header h2 {
  margin: 0;
  color: #1d2939;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  word-break: keep-all;
}

.store-detail-panel__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f5f1f2;
  color: #392f33;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.store-detail-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px 28px 30px;
  overflow-y: auto;
}

.store-detail-summary {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: #f7f8f8;
}

.store-detail-summary__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.store-detail-summary__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e4f1eb;
  color: #135c43;
  font-weight: 800;
}

.store-detail-summary__item span:not(.store-detail-summary__icon) {
  display: block;
  margin-bottom: 3px;
  color: #7a7074;
  font-size: 11px;
  font-weight: 700;
}

.store-detail-summary__item strong {
  display: block;
  color: #27313f;
  font-size: 14px;
  line-height: 1.55;
  word-break: keep-all;
}

.store-detail-locations {
  margin-top: 26px;
}

.store-detail-locations > h3 {
  margin: 0 0 12px;
  color: #27313f;
  font-size: 15px;
}

.store-detail-location {
  padding: 17px 0;
  border-top: 1px solid #ece7e9;
}

.store-detail-location:last-child {
  border-bottom: 1px solid #ece7e9;
}

.store-detail-location__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.store-detail-location__brand {
  color: #5f0a3c;
  font-size: 14px;
  font-weight: 800;
}

.store-detail-location__floor {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f3e9ee;
  color: #5f0a3c;
  font-size: 11px;
}

.store-detail-location__line,
.store-detail-location__phone {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 7px;
  color: #596273;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
  word-break: keep-all;
}

.store-detail-location__line--note {
  color: #6d5660;
}

.store-detail-location__phone:hover {
  color: #135c43;
  text-decoration: underline;
}

.store-detail-panel__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px 28px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid #ece7e9;
  background: #fff;
}

.store-detail-panel__route,
.store-detail-panel__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.store-detail-panel__route {
  background: #5f0a3c;
  color: #fff;
}

.store-detail-panel__google {
  border: 1px solid #d7dadd;
  background: #fff;
  color: #27313f;
}

body.store-detail-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .store-detail-panel {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(78dvh, 720px);
    border-radius: 22px 22px 0 0;
    transform: translateY(104%);
  }

  .store-detail-panel.is-open {
    transform: translateY(0);
  }

  .store-detail-panel__header {
    padding: 21px 20px 17px;
  }

  .store-detail-panel__body {
    padding: 18px 20px 24px;
  }

  .store-detail-panel__footer {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  }

  .store-card__info > span:last-child {
    display: none;
  }

  .store-card__info {
    min-width: 30px;
    padding: 0 8px;
  }
}


/* 20260727 Google Place Details in store side panel */
.store-detail-panel__open-google,
.store-google-place__external,
.store-google-place__actions a {
  text-decoration: none;
}

.store-detail-panel__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.store-detail-panel__open-google,
.store-google-place__external {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d8e6ec;
  border-radius: 11px;
  background: #eef8fb;
  color: #176b87;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.store-detail-panel__open-google:hover,
.store-detail-panel__open-google:focus-visible,
.store-google-place__external:hover,
.store-google-place__external:focus-visible {
  border-color: #79bbd1;
  background: #dff3f9;
}

.store-detail-panel {
  width: min(480px, 94vw);
}

.store-google-place {
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid #e2e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.store-google-place__loading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 104px;
  padding: 20px;
  color: #647180;
  font-size: 13px;
  line-height: 1.5;
}

.store-google-place__spinner {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 3px solid #dce8ed;
  border-top-color: #176b87;
  border-radius: 50%;
  animation: store-google-place-spin 800ms linear infinite;
}

@keyframes store-google-place-spin {
  to { transform: rotate(360deg); }
}

.store-google-place__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #eef1f3;
}

.store-google-place__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-google-place__media figcaption {
  position: absolute;
  right: 8px;
  bottom: 7px;
  max-width: calc(100% - 16px);
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 9px;
  line-height: 1.35;
}

.store-google-place__media figcaption a {
  color: inherit;
}

.store-google-place__content {
  padding: 20px;
}

.store-google-place__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.store-google-place__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #176b87;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.store-google-place__heading h3 {
  margin: 0;
  color: #202b38;
  font-size: 20px;
  line-height: 1.35;
  word-break: keep-all;
}

.store-google-place__external {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 18px;
}

.store-google-place__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin-top: 11px;
  color: #687585;
  font-size: 12px;
}

.store-google-place__type {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f4f6;
}

.store-google-place__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #596273;
  text-decoration: none;
}

.store-google-place__rating > span:first-child {
  color: #f5a623;
  font-size: 15px;
}

.store-google-place__rating:hover {
  text-decoration: underline;
}

.store-google-place__open {
  font-weight: 800;
}

.store-google-place__open.is-open { color: #137a52; }
.store-google-place__open.is-closed { color: #a54747; }

.store-google-place__address,
.store-google-place__phone {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 13px 0 0;
  color: #4d5968;
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.store-google-place__phone {
  text-decoration: none;
}

.store-google-place__phone:hover {
  color: #176b87;
  text-decoration: underline;
}

.store-google-place__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.store-google-place__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dce3e7;
  border-radius: 10px;
  background: #f8fafb;
  color: #344152;
  font-size: 11px;
  font-weight: 800;
}

.store-google-place__actions a:hover,
.store-google-place__actions a:focus-visible {
  border-color: #8bbccc;
  background: #eef8fb;
  color: #176b87;
}

.store-google-place__hours {
  margin-top: 17px;
  border-top: 1px solid #edf0f2;
  padding-top: 15px;
}

.store-google-place__hours summary {
  color: #344152;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.store-google-place__hours ul,
.store-google-place__access ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: #687585;
  font-size: 12px;
  line-height: 1.5;
}

.store-google-place__access {
  margin-top: 17px;
  border-top: 1px solid #edf0f2;
  padding-top: 15px;
}

.store-google-place__access > strong {
  color: #344152;
  font-size: 13px;
}

.store-google-place__access li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.store-google-place__access li span {
  color: #176b87;
}

.store-google-place__attribution {
  margin-top: 18px;
  border-top: 1px solid #edf0f2;
  padding-top: 13px;
  color: #7a8592;
  font-size: 10px;
  line-height: 1.45;
}

.store-google-place__attribution a {
  color: #526978;
  font-weight: 800;
}

.store-google-place__attribution small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
}

.store-google-place.is-unavailable {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  background: #f8fafb;
  box-shadow: none;
}

.store-google-place__unavailable-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #e8f3f7;
  color: #176b87;
  font-weight: 900;
}

.store-google-place.is-unavailable strong {
  color: #344152;
  font-size: 13px;
}

.store-google-place.is-unavailable p {
  margin: 5px 0 9px;
  color: #687585;
  font-size: 12px;
  line-height: 1.5;
}

.store-google-place.is-unavailable a {
  color: #176b87;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 600px) {
  .store-detail-panel {
    height: min(86dvh, 820px);
  }

  .store-detail-panel__actions {
    gap: 6px;
  }

  .store-detail-panel__open-google,
  .store-detail-panel__close {
    width: 36px;
    height: 36px;
  }

  .store-google-place__content {
    padding: 17px;
  }

  .store-google-place__heading h3 {
    font-size: 18px;
  }
}

/* 20260727 Google/Kakao marker popup visual unification
   - Google uses the same content width, spacing and compact action button as Kakao.
   - Only the Google Maps native wrapper is neutralized; the shared popup component
     remains the single source of truth for desktop and mobile sizing.
*/
.gm-style .gm-style-iw-c {
  max-width: none !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: visible !important;
}

.gm-style .gm-style-iw-d {
  max-width: none !important;
  overflow: hidden !important;
}

.gm-style .store-map-infowindow.is-google-infowindow {
  overflow: hidden !important;
}

.gm-style .store-map-infowindow.is-google-infowindow .store-map-infowindow__actions {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-content: flex-end !important;
  overflow: visible !important;
}

.gm-style .store-map-infowindow.is-google-infowindow .store-map-info-button {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}
