.store-directory { margin-top: clamp(32px, 3.5vw, 64px); scroll-margin-top: 20px; }
.shop-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.shop-actions .btn { margin: 0; }
.stock-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.stock-heading h2 { margin: 0; }
.stock-heading > span { color: var(--muted); font-variant-numeric: tabular-nums; }
.stock-search { margin-block: 20px; }
.stock-search label { display: block; font-size: 16px; font-weight: 650; margin-bottom: 6px; }
.stock-search > div { display: flex; align-items: center; max-width: 650px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.stock-search > div:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.stock-search input { padding: 12px 16px; width: 100%; min-width: 0; height: 50px; color: var(--ink); background: transparent; border: 0; border-radius: 12px; }
.stock-search input:focus { outline: 0; }
.stock-search input::placeholder { color: var(--muted); }
.stock-search input::-webkit-search-cancel-button { display: none; }
.stock-search button { min-height: 44px; border: 0; color: var(--blue); background: transparent; padding: 6px 12px; font-weight: 620; }
.stock-search p { color: var(--muted); font-size: 15px; }
.stock-search p:not(:empty) { margin-top: 8px; }
.stock-layout { display: grid; grid-template-columns: minmax(220px, 22%) minmax(0, 1fr); align-items: start; gap: clamp(16px, 2vw, 34px); margin-top: 18px; }
.stock-sections { position: sticky; top: 16px; border-block: 1px solid var(--line); }
.stock-sections a { display: flex; justify-content: space-between; align-items: center; gap: 9px; min-height: 49px; padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; line-height: 1.3; font-weight: 610; }
.stock-sections a:last-child { border-bottom: none; }
.stock-sections a:hover { color: var(--blue); }
.stock-sections small { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.stock-sections a span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.stock-shelves { display: grid; gap: clamp(16px, 2vw, 32px); min-width: 0; }
.stock-shelf { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(14px, 1.55vw, 28px); scroll-margin-top: 14px; min-width: 0; }
.stock-shelf:target { border-color: var(--blue); }
.stock-shelf > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.stock-shelf h3 { font-size: clamp(1.3rem, 2vw, 2.1rem); line-height: 1.16; letter-spacing: -.035em; }
.stock-shelf header a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; flex: none; color: var(--blue); font-weight: 630; font-size: .92rem; text-decoration: none; }
.stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1vw, 20px); padding: 0; margin: 0; list-style: none; }
.stock-grid li { min-width: 0; }
.stock-item { display: flex; flex-direction: column; height: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
.stock-item:hover { border-color: var(--blue); }
.stock-item:hover h4 { color: var(--blue); }
.stock-image { position: relative; height: clamp(140px, 15vw, 240px); overflow: hidden; border-bottom: 1px solid var(--line); }
.stock-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stock-copy { flex: 1; display: flex; flex-direction: column; align-items: start; padding: 14px; gap: 5px; overflow-wrap: anywhere; }
.stock-copy h4 { font-size: clamp(1rem, 1.1vw, 1.3rem); line-height: 1.35; font-weight: 650; }
.stock-copy p { font-size: .875rem; color: var(--muted); line-height: 1.38; }
.stock-copy strong { margin-top: auto; padding-top: 7px; font-variant-numeric: tabular-nums; }
.stock-grid:not(:has(li:not([hidden]))) { display: none; }
.stock-empty { padding: 16px; background: var(--surface); border-radius: 12px; }
@media (max-width: 920px) {
  .stock-layout { grid-template-columns: minmax(0, 1fr); }
  .stock-sections { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .stock-sections a:nth-last-child(2):nth-child(odd) { border: 0; }
}
@media (max-width: 620px) {
  .stock-sections { gap: 0 12px; }
  .stock-sections a { padding: 7px 1px; font-size: .94rem; }
  .stock-grid { grid-template-columns: minmax(0, 1fr); }
  .stock-item:has(.stock-image) { display: grid; grid-template-columns: minmax(82px, 28%) minmax(0, 1fr); }
  .stock-image { height: auto; min-height: 106px; border: 0; border-right: 1px solid var(--line); }
  .stock-copy { padding: 10px; }
  .stock-copy strong { padding-top: 0; }
  .stock-shelf > header { align-items: start; }
  .stock-shelf h3 { padding-block: 8px; }
}
@media (max-width: 480px) {
  .stock-shelf > header { flex-wrap: wrap; gap: 0 10px; }
  .stock-shelf h3 { padding-bottom: 0; }
}
@media (max-width: 360px) {
  .stock-sections { grid-template-columns: minmax(0, 1fr); }
  .stock-sections a:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
}
.store-directory h2 {
  font-size: clamp(1.85rem, 3vw, 3.5rem);
  font-weight: 690;
  line-height: 1.08;
  letter-spacing: -.05em;
  margin-bottom: clamp(16px, 1.8vw, 28px);
}
.store-departments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 24px); }
.department {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: clip;
  transition: border-color .18s;
}
.department:hover, .department:focus-visible { border-color: var(--blue); }
.department img { order: 2; width: 100%; aspect-ratio: 1.7; max-height: 330px; object-fit: cover; }
.department div { position: relative; flex: 1; padding: clamp(16px, 1.55vw, 32px); }
.department div::after {
  content: '';
  position: absolute;
  right: clamp(16px, 1.55vw, 32px);
  top: clamp(23px, 2vw, 40px);
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
}
.department h3 { padding-right: 20px; font-size: clamp(1.25rem, 1.65vw, 2.05rem); letter-spacing: -.035em; line-height: 1.18; font-weight: 670; }
.department p { margin-top: 10px; max-width: 34ch; color: var(--muted); line-height: 1.44; font-size: clamp(.98rem, 1.12vw, 1.2rem); }
@media (max-width: 990px) {
  .store-departments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .department img { aspect-ratio: 2.2; }
}
@media (max-width: 530px) {
  .store-departments { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .department { display: grid; grid-template-columns: minmax(96px, 32%) minmax(0, 1fr); border-radius: 14px; }
  .department img { order: 0; height: 100%; min-height: 116px; aspect-ratio: auto; object-fit: cover; }
  .department div { align-self: center; padding: 14px; }
  .department div::after { right: 12px; top: 21px; width: 8px; height: 8px; }
  .department h3 { font-size: 1.1rem; }
  .department p { font-size: .94rem; margin-top: 5px; }
}
