@charset "UTF-8";
@import url("./store.css");

.store-registration-mobile-break { display: none; }

.store-page--locator > .av-pagehead {
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.store-page--locator .store-finder {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 40px);
}

.store-finder__left { min-width: 0; }
.store-page--locator .store-search { padding: 18px; }
.store-page--locator .store-list-head { margin: 22px 0 10px; }
.store-page--locator .store-list-head p { font-size: .85rem; }

.store-page--locator .store-table { border-radius: 10px; }
.store-page--locator .store-table__head,
.store-page--locator .store-card {
  grid-template-columns: minmax(82px, 1fr) minmax(145px, 2.25fr) minmax(100px, 1.25fr) minmax(90px, 1fr);
  gap: 12px;
}
.store-page--locator .store-table__head {
  padding: 11px 14px;
  font-size: .75rem;
}
.store-page--locator .store-card {
  min-height: 72px;
  padding: 13px 14px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.store-page--locator .store-card:hover,
.store-page--locator .store-card:focus-visible { background: var(--av-bg-soft); }
.store-page--locator .store-card:focus-visible { outline: 1px solid var(--av-accent); outline-offset: -1px; }
.store-page--locator .store-card__name { font-size: .875rem; line-height: 1.45; }
.store-page--locator .store-card__addr,
.store-page--locator .store-card__hours,
.store-page--locator .store-card__tel {
  margin: 0;
  color: var(--av-fg-muted);
  font-size: .8rem;
  line-height: 1.5;
}
.store-page--locator .store-card__tel a { color: inherit; }

.store-page--locator .store-pagination {
  justify-content: flex-start;
  gap: 5px;
  margin-top: 14px;
}
.store-page--locator .store-pagination > span { gap: 5px; }
.store-page--locator .store-pagination button {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: .8rem;
}
.store-page--locator .store-search-empty { min-height: 120px; }
.store-page--locator .store-map iframe { height: clamp(360px, 42vw, 560px); }
.store-page--locator .store-map__caption { min-height: 78px; }
.store-page--locator .store-map__caption strong { font-size: 1.2rem; }
.store-page--locator .store-map__caption span { font-size: 1rem; }

@media (max-width: 1100px) {
  .store-page--locator .store-finder { grid-template-columns: 1fr; }
  .store-page--locator .store-map { margin-top: 12px; }
}

@media (max-width: 680px) {
  .store-page--locator .store-table { border: 0; }
  .store-page--locator .store-table__head { display: none; }
  .store-page--locator .store-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 16px;
    border: 1px solid var(--av-line);
    border-radius: 10px;
  }
  .store-page--locator .store-card + .store-card { margin-top: 8px; }
  .store-page--locator .store-pagination { justify-content: center; }
}


/* Store locator controls and compact scroll table */
.store-page--locator .store-search .av-btn,
.store-page--locator .av-cta-bar .av-btn { border-radius: var(--av-radius); }
.store-page--locator .store-search .av-input::placeholder {
  color: rgba(18, 18, 18, .38) !important;
  -webkit-text-fill-color: rgba(18, 18, 18, .38) !important;
  opacity: 1;
}
.store-page--locator .store-grid {
  max-height: 145px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.store-page--locator .store-table__head,
.store-page--locator .store-card__name,
.store-page--locator .store-card__addr,
.store-page--locator .store-card__hours,
.store-page--locator .store-card__tel { font-size: .95rem; }
.store-page--locator .store-pagination { justify-content: center; }

/* Unified red action button radius */
.store-page--locator .store-search .av-btn,
.store-page--locator .store-pagination button.is-current,
.store-page--locator .av-cta-bar .av-btn {
  border-radius: 9px;
  overflow: hidden;
  background-clip: padding-box;
}

/* Store locator table alignment and inactive search field */
.store-page--locator .store-search .av-input:disabled {
  pointer-events: none;
  cursor: default;
  opacity: 1;
}
.store-page--locator .store-table { margin-top: 14px; }
.store-page--locator .store-table__head,
.store-page--locator .store-table__head > span,
.store-page--locator .store-card,
.store-page--locator .store-card > * { text-align: left; }
.store-page--locator .store-table__head { color: #161616; }
.store-page--locator .store-card { background: transparent !important; }

/* Store locator theme and column refinements */
.store-page--locator .store-search .av-input,
.store-page--locator .store-search .av-btn {
  height: 52px;
}
.store-page--locator .store-table__head,
.store-page--locator .store-card {
  padding-left: 20px;
  padding-right: 20px;
}
.store-page--locator .store-table__head > span:nth-child(3),
.store-page--locator .store-table__head > span:nth-child(4),
.store-page--locator .store-card__hours,
.store-page--locator .store-card__tel {
  justify-self: stretch;
  text-align: left;
}
.store-page--locator .store-card__name,
.store-page--locator .store-card__tel,
.store-page--locator .store-card__tel a {
  font-weight: 600;
}
.store-page--locator .store-card__tel,
.store-page--locator .store-card__tel a {
  color: #E60012;
}
html[data-theme="dark"] body.av-inner-page .store-page--locator .store-search .av-input:disabled {
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html[data-theme="dark"] body.av-inner-page .store-page--locator .store-search .av-input:disabled::placeholder {
  color: rgba(255, 255, 255, .5) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .5) !important;
  opacity: 1;
}
html[data-theme="dark"] body.av-inner-page .store-page--locator .store-table__head {
  color: #fff;
}

/* Keep header and body columns on the same scrollable width */
.store-page--locator .store-table {
  max-height: 188px;
  overflow-x: hidden;
  overflow-y: auto;
}
.store-page--locator .store-table__head {
  position: sticky;
  top: 0;
  z-index: 2;
}
.store-page--locator .store-grid {
  max-height: none;
  overflow: visible;
  scrollbar-gutter: auto;
}
@media (max-width: 680px) {
  .store-page--locator .store-table {
    max-height: none;
    overflow: visible;
  }
  .store-page--locator .store-table__head { position: static; }
}



/* Kakao store map */
.store-page--locator .store-map__canvas {
  width: 100%;
  height: clamp(360px, 42vw, 560px);
}
.store-map-marker {
  position: relative;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50% 50% 50% 0;
  background: #E60012;
  box-shadow: 0 5px 14px rgba(230, 0, 18, .28);
  transform: rotate(-45deg);
  cursor: pointer;
}
.store-map-marker::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
}
.store-map-marker:hover { background: #c90010; }
.store-map-marker:focus-visible { outline: 2px solid #fcf145; outline-offset: 3px; }
@media (max-width: 680px) {
  .store-page--locator .store-map__canvas { height: 360px; }
}


/* Store pagination — identical active state in both themes */
.store-page--locator .store-pagination button {
  font-weight: 650;
}
html[data-theme="dark"] body.av-inner-page .store-page--locator .store-pagination button.is-current {
  border-color: #E60012;
  background: #E60012;
  color: #fff;
}

/* Keep the address field and action on one row on mobile as well. */
@media (max-width: 900px) {
  .store-page--locator .store-search {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
    padding: 12px;
  }
  .store-page--locator .store-search .av-input,
  .store-page--locator .store-search .av-btn {
    min-width: 0;
    width: 100%;
    padding-inline: 8px;
    font-size: .8125rem;
  }
  .store-registration-mobile-break { display: inline; }
}
@media (max-width: 360px) {
  .store-page--locator .store-search .av-input { font-size: .75rem; }
}
