/* Scoped to the composed Korean home only; standalone store pages are unchanged. */
#stores .home-store-region { padding:48px 0; }
#stores .home-store-row-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:10px; }
#stores .home-store-row-heading .store-group-heading { margin:0; padding:0; font-size:20px; letter-spacing:.06em; }
#stores .home-store-hint { margin:0 0 20px; font-size:13px; line-height:1.7; color:var(--wood); }
#stores .home-store-track { display:flex; flex-direction:row; flex-wrap:nowrap; align-items:stretch; gap:20px; width:100%; overflow-x:auto; overscroll-behavior-x:contain; padding:2px 0 16px; scroll-behavior:auto; scrollbar-width:thin; scrollbar-color:var(--wood) transparent; }
#stores .home-store-track > .store-card { position:relative; display:flex; flex-direction:column; flex:0 0 380px; width:380px; min-width:0; padding:18px; gap:20px; margin:0; }
#stores .home-store-track > .store-card > .home-anchor-alias { position:absolute; top:0; left:0; width:0; height:0; margin:0; padding:0; pointer-events:none; }
#stores .home-store-track .store-thumb { width:100%; height:auto; aspect-ratio:16/10; flex-shrink:0; }
#stores .home-store-track .store-thumb .badge { position:absolute; top:12px; left:12px; z-index:3; padding:4px 10px; font-family:var(--disp); font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--ivory); background:rgba(30,42,56,0.82); border:1px solid rgba(244,238,226,0.28); border-radius:2px; }
#stores .home-store-track .store-body { display:flex; flex-direction:column; flex:1; min-width:0; }
#stores .home-store-track .store-body h3 { font-size:21px; line-height:1.45; margin-bottom:10px; overflow-wrap:anywhere; }
#stores .home-store-track address { font-size:15px; line-height:1.7; }
#stores .home-store-track .store-meta { font-size:14px; line-height:1.7; margin:8px 0 16px; }
#stores .home-store-track .store-actions {
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:8px;
  width:100%;
  margin-top:auto;
}
#stores .home-store-track .store-actions a {
  grid-column:span 2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  font-size:13px;
  font-weight:700;
  line-height:1.4;
  padding:9px 6px;
  text-align:center;
  white-space:nowrap;
  border-radius:4px;
  box-sizing:border-box;
  transition:background 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
#stores .home-store-track .store-actions a:hover {
  background:rgba(107, 74, 43, 0.1);
}
#stores .home-store-track .store-actions a.primary:hover {
  background:var(--navy);
  border-color:var(--navy);
  color:var(--ivory);
}
/* 5개 버튼 매장(상세페이지 링크 없음): 1행 2개(전화하기·구글맵 각 50%), 2행 3개(네이버·카카오·티맵 각 33.3%) */
#stores .home-store-track .store-actions > a:nth-child(1):nth-last-child(5),
#stores .home-store-track .store-actions > a:nth-child(2):nth-last-child(4) {
  grid-column:span 3;
}
/* 4개 버튼 매장: 1행 2개, 2행 2개 (각 50%) */
#stores .home-store-track .store-actions > a:nth-child(1):nth-last-child(4),
#stores .home-store-track .store-actions > a:nth-child(2):nth-last-child(3),
#stores .home-store-track .store-actions > a:nth-child(3):nth-last-child(2),
#stores .home-store-track .store-actions > a:nth-child(4):nth-last-child(1) {
  grid-column:span 3;
}
#stores .home-store-track .store-thumb .jp-mark { font-size:48px; }
#stores .home-store-track:focus-visible { outline:3px solid var(--wood); outline-offset:3px; }
#stores .store-photo-gallery-section .store-gallery-card,
.store-photo-gallery-section .store-gallery-card {
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  flex:0 0 380px;
  width:380px;
  min-width:0;
  padding:18px;
  gap:14px;
  margin:0;
  background:var(--ivory);
  border:1px solid var(--line-light);
  border-radius:10px;
}
#stores .store-photo-gallery-section .store-gallery-track,
.store-photo-gallery-section .store-gallery-track {
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:20px;
  width:100%;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  padding:2px 0 16px;
  scroll-behavior:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--wood) transparent;
}
#stores .store-photo-gallery-section .store-gallery-card .store-thumb,
.store-photo-gallery-section .store-gallery-card .store-thumb {
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  flex-shrink:0;
  border-radius:8px;
  overflow:hidden;
  position:relative;
}
#stores .store-photo-gallery-section .store-gallery-card .store-thumb .badge,
.store-photo-gallery-section .store-gallery-card .store-thumb .badge {
  position:absolute;
  top:12px;
  left:12px;
  z-index:3;
  padding:4px 10px;
  font-family:var(--disp);
  font-size:11px;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--ivory);
  background:rgba(30,42,56,0.82);
  border:1px solid rgba(244,238,226,0.28);
  border-radius:999px;
}
#stores .store-photo-gallery-section .store-gallery-card .store-body h3,
.store-photo-gallery-section .store-gallery-card .store-body h3 {
  font-size:18px;
  line-height:1.45;
  margin:0;
  color:var(--ink-black);
  word-break:keep-all;
}
.store-photo-gallery-section .home-store-row-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:10px; }
.store-photo-gallery-section .home-store-row-heading .store-group-heading { margin:0; padding:0; font-size:20px; letter-spacing:.06em; }
.store-photo-gallery-section .home-store-hint { margin:0 0 20px; font-size:13px; line-height:1.7; color:var(--wood); }
@media(max-width:600px) {
  #stores .home-store-region { padding:32px 0; }
  #stores .home-store-row-heading,
  .store-photo-gallery-section .home-store-row-heading { align-items:flex-start; flex-wrap:wrap; gap:12px; }
  #stores .home-store-row-heading .store-group-heading,
  .store-photo-gallery-section .home-store-row-heading .store-group-heading { font-size:18px; }
  #stores .home-store-track > .store-card,
  #stores .store-photo-gallery-section .store-gallery-card,
  .store-photo-gallery-section .store-gallery-card { flex-basis:calc(100% - 24px); width:calc(100% - 24px); padding:14px; gap:14px; }
  #stores .home-store-track .store-body h3,
  #stores .store-photo-gallery-section .store-gallery-card .store-body h3,
  .store-photo-gallery-section .store-gallery-card .store-body h3 { font-size:17px; }
  #stores .home-store-track .store-actions a { font-size:12px; }
  #stores .home-store-hint,
  .store-photo-gallery-section .home-store-hint { font-size:12px; }
}
