@charset "utf-8";
/* 매장 안내 페이지 전용 스타일 (공통은 fl-sub.css).
   가운데 제목 → 매장 찾기(지역 알약 · 왼쪽 매장 목록 · 오른쪽 지도) → 준비 중인 매장 → 이어 보기 카드. */

#container > #sub-store { background: var(--fl-cream); }
#sub-store { --fl-st-gap: clamp(100px, 10vw, 160px); color: var(--fl-ink); }
#sub-store p, #sub-store h3, #sub-store strong, #sub-store span { word-break: keep-all; overflow-wrap: break-word; }
body:has(#sub-store) { background: var(--fl-cream) !important; } /* gw.css 의 body #f8f8f8 !important 를 이 페이지에서만 덮는다 */
body:has(#sub-store) #container_wr, body:has(#sub-store) .gw-footer-container { background: var(--fl-cream); }
#sub-store .fl-br-mo { display: none; }

#sub-store .fl-st-en { font-family: var(--fl-font-display); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fl-mango); }
#sub-store .fl-st-title { margin-top: 12px; font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; line-height: 1.3; letter-spacing: -0.04em; color: var(--fl-dark); }
#sub-store .fl-st-title.is-sm { font-size: clamp(26px, 2.6vw, 36px); }
#sub-store .fl-st-lead { margin-top: 18px; font-size: 17px; line-height: 1.85; color: var(--fl-ink-2); }

/* ---------- 머리 ---------- */
#sub-store .fl-st-intro { padding: clamp(80px, 8vw, 128px) 0 clamp(40px, 4vw, 56px); text-align: center; }
.fl-reveal-on #sub-store .fl-st-intro .fl-st-title { transition-delay: .1s; }
.fl-reveal-on #sub-store .fl-st-intro .fl-st-lead { transition-delay: .2s; }

/* ---------- 매장 찾기 ---------- */
#sub-store .fl-st-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
#sub-store .fl-st-cities { display: flex; flex-wrap: wrap; gap: 8px; }
#sub-store .fl-st-search input[type="text"] { width: 240px; }
#sub-store .fl-st-empty { padding: 48px 20px; text-align: center; font-size: 15px; color: var(--fl-ink-3); }
#sub-store .fl-st-city { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--fl-line); border-radius: 999px; background: var(--fl-white); font-size: 15px; font-weight: 700; color: var(--fl-ink-2); cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
#sub-store .fl-st-city span { font-family: var(--fl-font-en); font-size: 13px; font-weight: 600; color: var(--fl-ink-3); transition: color .25s ease; }
#sub-store .fl-st-city:hover { border-color: var(--fl-dark); color: var(--fl-dark); }
#sub-store .fl-st-city.is-on { border-color: var(--fl-dark); background: var(--fl-dark); color: var(--fl-white); }
#sub-store .fl-st-city.is-on span { color: var(--fl-mango-on-dark); }

#sub-store .fl-st-finder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; margin-top: clamp(28px, 3vw, 40px); }
#sub-store .fl-st-list { display: flex; flex-direction: column; gap: 12px; max-height: 640px; margin: 0; padding: 0 6px 0 0; overflow-y: auto; list-style: none; scrollbar-width: thin; scrollbar-color: var(--fl-line) transparent; }
#sub-store .fl-st-item { border: 1.5px solid var(--fl-line); border-radius: 24px; background: var(--fl-white); transition: border-color .25s ease, background .25s ease, transform .3s ease; }
#sub-store .fl-st-item[hidden] { display: none; }
#sub-store .fl-st-item:hover { border-color: var(--fl-dark); }
#sub-store .fl-st-item.is-on { border-color: var(--fl-dark); background: var(--fl-dark); }
#sub-store .fl-st-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; padding: 22px 24px 12px; border: 0; background: none; text-align: left; font: inherit; color: var(--fl-dark); cursor: pointer; }
#sub-store .fl-st-item-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#sub-store .fl-st-item-city { font-size: 13px; font-weight: 700; color: var(--fl-mango); }
#sub-store .fl-st-item-badge { padding: 3px 10px; border-radius: 999px; background: #e7efe4; font-size: 12px; font-weight: 700; color: var(--fl-primary); }
#sub-store .fl-st-item-name { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
#sub-store .fl-st-item-addr { font-size: 15px; line-height: 1.6; color: var(--fl-ink-2); }
#sub-store .fl-st-item-addr span { display: block; font-size: 13px; color: var(--fl-ink-3); }
#sub-store .fl-st-item-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 0 24px 20px; font-size: 13px; font-weight: 700; }
#sub-store .fl-st-item-links a, #sub-store .fl-st-item-hours { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--fl-ink-2); }
#sub-store .fl-st-item-links a:hover { color: var(--fl-primary); }
/* 카카오맵·네이버지도: 작은 알약 버튼 */
#sub-store .fl-st-item-links .fl-st-btn { height: 34px; padding: 0 14px; border: 1.5px solid var(--fl-line); border-radius: 999px; background: var(--fl-white); color: var(--fl-dark); transition: border-color .25s ease, background .25s ease, color .25s ease; }
#sub-store .fl-st-item-links .fl-st-btn:hover { border-color: var(--fl-dark); background: var(--fl-dark); color: var(--fl-white); }
#sub-store .fl-st-item.is-on .fl-st-item-links .fl-st-btn { border-color: transparent; background: var(--fl-white); color: var(--fl-dark); }
#sub-store .fl-st-item.is-on .fl-st-item-links .fl-st-btn:hover { background: var(--fl-mango); color: var(--fl-white); }
#sub-store .fl-st-item-links .fl-ico { width: 14px; height: 14px; }
#sub-store .fl-st-item-links i { font-size: 12px; }
/* 선택된 매장: 진한 초록 카드 */
#sub-store .fl-st-item.is-on .fl-st-pick, #sub-store .fl-st-item.is-on .fl-st-item-name { color: var(--fl-white); }
#sub-store .fl-st-item.is-on .fl-st-item-city { color: var(--fl-mango-on-dark); }
#sub-store .fl-st-item.is-on .fl-st-item-addr { color: color-mix(in srgb, var(--fl-cream) 88%, transparent); }
#sub-store .fl-st-item.is-on .fl-st-item-addr span { color: color-mix(in srgb, var(--fl-cream) 60%, transparent); }
#sub-store .fl-st-item.is-on .fl-st-item-links a, #sub-store .fl-st-item.is-on .fl-st-item-hours { color: var(--fl-cream); }
#sub-store .fl-st-item.is-on .fl-st-item-links a:hover { color: var(--fl-mango-on-dark); }
#sub-store .fl-st-map { position: sticky; top: calc(var(--fl-hd-total, 0px) + 24px); overflow: hidden; height: 640px; border-radius: 32px; background: var(--fl-white); }
#sub-store .fl-st-map iframe { display: block; width: 100%; height: calc(100% + 150px); margin-top: -150px; border: 0; } /* 구글 지도 왼쪽 위 장소 카드를 잘라 낸다(카드 높이만큼 위로 끌어 올림) */
#sub-store .fl-st-note { margin-top: 16px; font-size: 13px; color: var(--fl-ink-3); text-align: right; }
.fl-reveal-on #sub-store .fl-st-map[data-fl-reveal] { transition-delay: .12s; }

/* ---------- 준비 중인 매장 ---------- */
#sub-store .fl-st-soon { padding: var(--fl-st-gap) 0 0; }
#sub-store .fl-st-soon-head { text-align: center; }
#sub-store .fl-st-soon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: clamp(32px, 3vw, 48px) 0 0; padding: 0; list-style: none; }
/* 흐리게 깔린 매장 사진 위에 브랜드 로고 — 마우스를 올리면 사진이 또렷해진다 */
#sub-store .fl-st-soon-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: clamp(300px, 28vw, 380px); padding: 40px 28px; border-radius: 32px; text-align: center; text-decoration: none; color: var(--fl-dark); }
#sub-store .fl-st-soon-bg { position: absolute; inset: -20px; z-index: -2; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(14px) saturate(.9); transform: scale(1.05); transition: filter .8s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
#sub-store .fl-st-soon-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--fl-cream) 72%, transparent); transition: background .6s ease; }
#sub-store .fl-st-soon-card:hover .fl-st-soon-bg { filter: blur(3px) saturate(1); transform: scale(1.1); }
#sub-store .fl-st-soon-card:hover::after { background: color-mix(in srgb, var(--fl-cream) 55%, transparent); }
#sub-store .fl-st-soon-tag { position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--fl-dark); font-family: var(--fl-font-display); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fl-white); }
#sub-store .fl-st-soon-tag .fl-st-dot { background: var(--fl-mango-on-dark); box-shadow: 0 0 0 0 rgba(243, 162, 120, .6); }
#sub-store .fl-st-soon-logo { width: auto; height: clamp(64px, 6vw, 88px); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
#sub-store .fl-st-soon-card:hover .fl-st-soon-logo { transform: scale(1.06); }
#sub-store .fl-st-soon-desc { font-size: 16px; font-weight: 700; color: var(--fl-ink-2); }
#sub-store .fl-st-soon-more { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--fl-white); font-size: 14px; font-weight: 700; color: var(--fl-dark); transition: background .25s ease, color .25s ease; }
#sub-store .fl-st-soon-card:hover .fl-st-soon-more { background: var(--fl-dark); color: var(--fl-white); }
.fl-reveal-on #sub-store .fl-st-soon-list li[data-fl-reveal] { transition-delay: calc(var(--fl-i) * .12s); }

#sub-store .fl-st-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; animation: fl-st-pulse 1.8s ease-out infinite; }
@keyframes fl-st-pulse { to { box-shadow: 0 0 0 9px rgba(243, 162, 120, 0); } }

/* ---------- 이어 보기 ---------- */
#sub-store .fl-st-next { padding: var(--fl-st-gap) 0; }
#sub-store .fl-st-next-card { --fl-focus: var(--fl-white); position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 9vw, 128px) 24px; border-radius: 40px; text-align: center; background: var(--fl-dark); }
#sub-store .fl-st-next-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
#sub-store .fl-st-next-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(30, 53, 39, .74); }
#sub-store .fl-st-next-title { font-size: clamp(28px, 3.4vw, 48px); font-weight: 800; letter-spacing: -0.04em; color: var(--fl-white); }
#sub-store .fl-st-next-desc { margin-top: 16px; font-size: 17px; line-height: 1.75; color: var(--fl-cream); }
#sub-store .fl-st-next-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }

@media (max-width: 1024px) {
    /* 지도를 위, 목록을 아래로 */
    #sub-store .fl-st-finder-grid { grid-template-columns: 1fr; }
    #sub-store .fl-st-map { position: relative; top: auto; order: -1; height: 360px; border-radius: 28px; }
    #sub-store .fl-st-list { max-height: none; overflow: visible; padding: 0; }
    #sub-store .fl-st-next-card { border-radius: 28px; }
}
@media (max-width: 576px) {
    #sub-store .fl-br-mo { display: inline; }
    #sub-store .fl-st-lead, #sub-store .fl-st-next-desc { font-size: 16px; }
    #sub-store .fl-st-city { min-height: 40px; padding: 0 16px; font-size: 14px; }
    #sub-store .fl-st-bar { flex-direction: column; align-items: stretch; }
    #sub-store .fl-st-search input[type="text"] { flex: 1; width: auto; min-width: 0; }
    #sub-store .fl-st-map { height: 280px; border-radius: 22px; }
    #sub-store .fl-st-item { border-radius: 20px; }
    #sub-store .fl-st-pick { padding: 18px 20px 10px; }
    #sub-store .fl-st-item-links { padding: 0 20px 16px; }
    #sub-store .fl-st-note { text-align: left; }
    #sub-store .fl-st-soon-list { grid-template-columns: 1fr; gap: 12px; }
    #sub-store .fl-st-soon-card { min-height: 260px; border-radius: 24px; }
    #sub-store .fl-st-next-card { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    #sub-store .fl-st-dot { animation: none; }
    #sub-store .fl-st-soon-bg, #sub-store .fl-st-soon-logo { transition: none; }
}
