/* V2's Yellow Pages, set into V3's continuous vertical reading flow. */
.v3-shop {
  --shop-ink: #1b1a16;
  --shop-yellow: #f0bc4b;
  --shop-mono: "Courier New", ui-monospace, monospace;
  --shop-sans: "Arial Narrow", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  position: relative;
  isolation: isolate;
  overflow: clip;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin-block: clamp(42px, 6vw, 96px) 0;
  padding: clamp(24px, 3.3vw, 55px) clamp(18px, 5.4vw, 92px) clamp(28px, 4vw, 62px);
  background-color: var(--shop-yellow);
  background-image: linear-gradient(97deg, transparent 51.8%, #76500020 51.88%, #ffe0a164 52%, transparent 52.3%), repeating-linear-gradient(0deg, #ffda6e14 0 2px, transparent 2px 4px);
  color: var(--shop-ink);
  font-family: var(--shop-sans);
  text-align: left;
  scroll-margin-top: calc(var(--navh, 64px) + 12px);
}

.v3-shop::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -85px;
  right: -11%;
  width: 63%;
  height: clamp(430px, 55vw, 820px);
  background: url('/assets/catalog/board-do-si-do.webp') 100% 47% / 238% auto no-repeat;
  filter: grayscale(1) contrast(1.65);
  mix-blend-mode: multiply;
  opacity: .19;
  transform: rotate(15deg);
  clip-path: polygon(12% 0, 100% 4%, 93% 100%, 0 96%);
  mask-image: linear-gradient(155deg, #000 8%, transparent 95%);
  pointer-events: none;
}

.v3-shop *,
.v3-shop *::before,
.v3-shop *::after {
  box-sizing: border-box;
}

.v3-shop .v3-shop-sheet {
  max-width: 1510px;
  margin-inline: auto;
}

.v3-shop p,
.v3-shop h2,
.v3-shop h3,
.v3-shop h4,
.v3-shop figure {
  margin: 0;
}

.v3-shop a {
  color: inherit;
}

.v3-shop :focus-visible {
  outline: 3px solid var(--shop-ink);
  outline-offset: 4px;
}

.v3-shop .rs-phonebar,
.v3-shop .rs-code,
.v3-shop .rs-kicker,
.v3-shop .rs-region-head small,
.v3-shop .rs-region-head > span {
  font: 700 10px/1.4 var(--shop-mono);
  letter-spacing: .09em;
}

.v3-shop .rs-phonebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 6px;
  border-block: solid currentColor;
  border-width: 3px 0 1px;
  letter-spacing: .13em;
}

.v3-shop .rs-phonebar b {
  font: inherit;
}

.v3-shop .rs-address-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr);
  align-items: center;
  gap: 3vw;
  padding: clamp(20px, 2.5vw, 35px) 0 clamp(25px, 2.8vw, 42px);
}

.v3-shop .rs-address-head .rs-kicker {
  margin: 2px 0 12px;
  font-size: 10px;
  letter-spacing: .15em;
}

.v3-shop .rs-address-head h2 {
  font: 900 clamp(82px, 11.9vw, 200px)/.7 Georgia, "Times New Roman", serif;
  letter-spacing: -.104em;
}

.v3-shop .rs-address-head h2 i {
  font-weight: 700;
  letter-spacing: -.105em;
}

.v3-shop .rs-address-card {
  max-width: 410px;
  padding: clamp(11px, 1.45vw, 22px);
  border: 3px double #201d18;
  background: #f0bc4bef;
  transform: rotate(1.8deg);
}

.v3-shop .rs-address-card > strong {
  display: inline-block;
  vertical-align: baseline;
  margin: 7px 8px 0 0;
  font: 900 clamp(40px, 5vw, 87px)/.91 var(--shop-sans);
  letter-spacing: -.1em;
}

.v3-shop .rs-address-card > b {
  display: inline-block;
  font: 900 italic clamp(16px, 1.8vw, 31px)/1 var(--shop-sans);
  letter-spacing: -.06em;
}

.v3-shop .rs-address-card p:last-child {
  margin-top: 7px;
  padding-top: 5px;
  border-top: 1px solid;
  font: 600 12px/1.68 var(--shop-sans);
}

.v3-shop .dlf-feature {
  --dlf-paper: #fff4b5;
  --dlf-ink: #202019;
  --dlf-key: #eb8e35;
  margin: clamp(16px, 2.2vw, 32px) 0;
  border-width: 2px;
  box-shadow: 3px 3px 0 var(--dlf-ink);
}

.v3-shop .dlf-details h3 {
  margin: 10px 0 16px;
  color: inherit;
  font: 700 italic clamp(34px, 4.4vw, 70px)/.93 Georgia, "Times New Roman", serif;
  letter-spacing: -.07em;
}

.v3-shop .rs-directory-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2.6vw, 44px);
  margin-block: 4px 12px;
  padding-block: 10px;
  border-block: 3px double #252018;
}

.v3-shop .rs-directory-tools label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font: 700 12px/1.4 var(--shop-sans);
}

.v3-shop .rs-directory-tools select {
  min-height: 40px;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid #252018;
  border-radius: 0;
  background: #fee6a9;
  color: inherit;
  font: 700 13px/1.3 var(--shop-sans);
  cursor: pointer;
}

.v3-shop .rs-directory-tools input {
  width: 16px;
  height: 16px;
  accent-color: #252018;
  cursor: pointer;
}

.v3-shop .rs-ltd-filter {
  cursor: pointer;
}

.v3-shop .rs-directory-tools p {
  margin-left: auto;
  font: 700 12px var(--shop-mono);
}

.v3-shop #v3-shop-regions {
  border-bottom: 2px solid #30260f;
}

.v3-shop .rs-region {
  border-top: 1px solid #40351e;
}

.v3-shop .rs-region-head {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto 26px;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 10px 3px;
  list-style: none;
  cursor: pointer;
}

.v3-shop .rs-region-head::-webkit-details-marker {
  display: none;
}

.v3-shop .rs-region-head strong {
  font-size: clamp(15px, 1.4vw, 24px);
}

.v3-shop .rs-fold-icon {
  font: 700 16px/1 var(--shop-mono);
  text-align: center;
}

.v3-shop .rs-region[open] .rs-fold-icon {
  font-size: 0;
}

.v3-shop .rs-region[open] .rs-fold-icon::after {
  content: '−';
  font-size: 16px;
}

.v3-shop .rs-region[open] .rs-region-head {
  background: #f8ce70;
  color: #392507;
}

.v3-shop .rs-region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(15px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.v3-shop .rs-shop {
  min-width: 0;
  padding: 9px 0 11px;
  border-top: 1px dotted #77602d;
}

.v3-shop .rs-shop h3 {
  margin: 2px 0;
  font: 800 clamp(15px, 1.4vw, 22px)/1.35 var(--shop-sans);
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.v3-shop .rs-store-name {
  display: inline-block;
  padding-block: 5px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.v3-shop .rs-store-name::after {
  content: ' ↗';
  white-space: nowrap;
  font-size: .8em;
}

.v3-shop .rs-store-name:hover {
  text-decoration-thickness: 2px;
}

.v3-shop .rs-shop-loc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #514425;
  font: 700 10px/1.4 var(--shop-sans);
  letter-spacing: .02em;
}

.v3-shop .rs-ltd {
  padding: 2px 4px;
  background: #262217;
  color: #ffe4a0;
  font: 700 9px var(--shop-mono);
}

.v3-shop .rs-store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.v3-shop .rs-store-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 0;
  color: #262316;
  font: 700 11px/1.5 var(--shop-mono);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v3-shop .rs-store-links .rs-store-map {
  padding-inline: 9px;
  border: 1px solid currentColor;
  background: #fff4cc80;
  text-decoration: none;
}

.v3-shop .rs-store-links .rs-store-map:hover {
  background: #fff4cc;
}

.v3-shop .rs-store-links a:hover {
  text-decoration-thickness: 2px;
}

.v3-shop .rs-store-links small {
  font-size: 9px;
}

.v3-shop .rs-store-empty {
  padding: 15px 0;
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 620px) {
  .v3-shop {
    margin-top: 36px;
    padding: 22px 17px 30px;
  }

  .v3-shop::before {
    top: -38px;
    right: -25%;
    width: 97%;
    height: 420px;
    opacity: .14;
  }

  .v3-shop .rs-phonebar {
    gap: 5px;
    font-size: 8px;
    letter-spacing: .04em;
  }

  .v3-shop .rs-address-head {
    grid-template-columns: minmax(0, 1fr) minmax(100px, .64fr);
    gap: 12px;
    padding-block: 22px;
  }

  .v3-shop .rs-address-head .rs-kicker {
    margin-bottom: 9px;
    font-size: 8px;
  }

  .v3-shop .rs-address-head h2 {
    font-size: clamp(49px, 15vw, 92px);
    line-height: .77;
  }

  .v3-shop .rs-address-card {
    padding: 7px;
    transform: rotate(1.1deg);
  }

  .v3-shop .rs-address-card > strong {
    font-size: 36px;
  }

  .v3-shop .rs-address-card > b,
  .v3-shop .rs-address-card .rs-code {
    font-size: 8px;
    letter-spacing: 0;
  }

  .v3-shop .rs-address-card p:last-child {
    font-size: 9px;
    line-height: 1.5;
  }

  .v3-shop .dlf-details h3 {
    margin: 5px 0 7px;
    font-size: 34px;
    line-height: .98;
  }

  .v3-shop .rs-directory-tools {
    gap: 6px 12px;
    padding-block: 7px;
  }

  .v3-shop .rs-directory-tools label {
    gap: 5px;
    font-size: 10px;
  }

  .v3-shop .rs-directory-tools label:first-child > span {
    display: none;
  }

  .v3-shop .rs-directory-tools select {
    padding-inline: 4px;
    font-size: 12px;
  }

  .v3-shop .rs-directory-tools input {
    margin: 0;
  }

  .v3-shop .rs-directory-tools p {
    font-size: 10px;
  }

  .v3-shop .rs-region-head {
    grid-template-columns: 23px minmax(0, 1fr) auto 20px;
    gap: 9px;
  }

  .v3-shop .rs-region-list {
    grid-template-columns: 1fr;
  }

  .v3-shop .rs-shop {
    padding: 8px 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v3-shop {
    scroll-behavior: auto;
  }
}
