/* ==========================================================================
   63385-2.css — 오프라인 매장 페이지
   ========================================================================== */

/* ---------- 공통: 컨테이너 ---------- */
.mag-section {
  max-width: var(--content-size);
  margin-inline: auto;
  padding-inline: var(--root-pad-x);
}

/* ---------- 공통: 매거진 히어로 ---------- */
.mh-hero { position: relative; overflow: hidden; color: #fff; }
.mh-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mh-hero__dim {
  position: absolute; inset: 0;
  background: linear-gradient(45deg, #141e30 0%, #243b55 100%);
  opacity: 0.6;
}
.mh-hero__content { position: relative; z-index: 1; }
.mh-hero__inner {
  min-height: 403px;
  padding-top: var(--space-70);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
}
.mh-hero__spacer-top { height: 0; flex-basis: 140px; }
.mh-hero__spacer-bottom { height: 0; flex-basis: 100px; }
.mh-hero__kicker {
  font-size: clamp(1.039rem, 1.039rem + ((1vw - 0.2rem) * 0.561), 1.6rem);
  font-weight: 700;
  letter-spacing: 7px;
  line-height: 1.2;
}
.mh-hero__title { opacity: 0.5; }
.mh-hero__bar { width: 48px; margin: 0 auto; padding-block: var(--space-20); color: #fff; }
.mh-hero__bar svg { display: block; width: 100%; height: auto; fill: currentColor; }

.mh-tabs-wrap {
  max-width: var(--content-size);
  margin-inline: auto;
  padding-inline: var(--root-pad-x);
}
.mh-tabs {
  background-color: #0000004f;
  display: flex;
  align-items: flex-end;
}
.mh-tab {
  display: block;
  color: var(--color-base);
  padding: 3px var(--space-10);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.mh-tab p { text-align: center; padding-block: var(--space-20); }
a.mh-tab:hover { color: var(--color-primary); background-color: #0000004f; }
.mh-tab.is-active {
  background-color: var(--color-base);
  color: var(--color-contrast);
  border-top: 6px solid var(--color-primary);
  padding-block: 0;
}
@media (max-width: 780px) {
  .mh-hero__spacer-top, .mh-hero__spacer-bottom { display: none; }
}

/* ---------- 매장 커버 ---------- */
.store-spacer-lg { height: 100px; }
.store-cover { position: relative; overflow: hidden; }
.store-cover__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.store-cover__dim {
  position: absolute; inset: 0;
  background-color: #787065;
  opacity: 0.5;
}
.store-cover__content {
  position: relative; z-index: 1;
  max-width: var(--content-size);
  margin-inline: auto;
  padding-inline: var(--root-pad-x);
  padding-block: var(--space-70);
}
.store-cover__spacer { height: 0; padding-block: var(--space-20); }
.store-cover__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-70);
  row-gap: var(--space-50);
  align-items: stretch;
}

/* 매장 카드 (2 x 2) */
.store-cards { display: flex; flex-direction: column; gap: 0.5em; }
.store-cards__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
}
.store-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  padding: var(--space-50);
  background-color: var(--color-base);
  color: var(--color-contrast);
  clip-path: polygon(100% 0, 100% 100%, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 0);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.store-card:hover { background-color: var(--color-contrast); color: var(--color-base); }
.store-card__brand {
  font-size: var(--fs-x-large);
  color: var(--color-primary);
  line-height: 1.6;
}
.store-card__gap { height: 0; padding-block: var(--space-30); }
.store-card__name {
  font-size: var(--fs-m-huge);
  font-weight: 700;
  line-height: 1.1;
}
.store-card__gap15 { height: 15px; }
.store-card__desc {
  font-size: var(--fs-medium);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-step-11);
}

/* 사이드 헤딩 */
.store-side { align-self: end; padding-bottom: var(--space-40); color: #fff; }
.store-side__title {
  font-size: var(--fs-m-huge);
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}
.store-side__gap { height: 0; padding-block: var(--space-10); }
.store-side__actions { display: flex; justify-content: flex-end; }
.store-online-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border: 2px solid #fff;
  border-radius: 0;
  padding: var(--space-10) var(--space-40);
  font-size: var(--fs-medium);
  color: #fff;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.store-online-btn::after {
  content: 'north_east';
  font-family: 'Material Symbols Outlined';
  font-size: 1.1em;
}
.store-online-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-secondary);
}

/* ---------- 문의 배너 ---------- */
.store-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-70);
  row-gap: var(--space-30);
}
.store-contact__row {
  display: flex;
  align-items: center;
  column-gap: var(--space-30);
  border-top: 1px solid var(--color-step-4);
  border-bottom: 1px solid var(--color-step-4);
  padding-block: var(--space-50);
  transition: color 0.3s ease;
}
.store-contact__row:hover { color: var(--color-primary); }
.store-contact__lead {
  font-size: var(--fs-xxxx-large);
  line-height: 1.6;
}
.store-contact__lead--fixed { flex: 0 0 10em; }
.store-contact__mid { flex: 1; display: flex; flex-direction: column; }
.store-contact__title {
  font-size: var(--fs-large);
  line-height: 1.3;
}
.store-contact__desc { color: var(--color-step-10); }
.store-contact__arrow { flex: 0 0 4.5em; }
.store-contact__arrow svg { width: 100%; height: auto; display: block; }

.store-end-spacer { height: 103px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .store-cover__cols { grid-template-columns: 1fr; }
  .store-side { align-self: auto; }
  .store-side__title { text-align: left; }
  .store-side__actions { justify-content: flex-start; }
  .store-contact { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .store-cards__row { grid-template-columns: 1fr; }
  .store-card { padding: var(--space-40); clip-path: polygon(100% 0, 100% 100%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 0); }
  .store-contact__row { flex-direction: column; align-items: flex-start; row-gap: var(--space-20); }
  .store-contact__lead--fixed { flex-basis: auto; }
  .store-contact__arrow { flex-basis: auto; align-self: flex-end; }
}

/* 서브내비 탭: 전체 폭 균등 분할 (원본 정렬) */
.mh-tab { flex: 1 1 0; }
.mh-tab p { text-align: center; }

