.price-launcher {
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 900;
  white-space: nowrap;
}

.price-launcher:hover,
.price-launcher:focus-visible { color: var(--accent); }

.price-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 1rem;
}

.price-modal[hidden],
.price-panel[hidden] { display: none; }
.price-modal[data-price-active-side="service"] { --accent: var(--service); }
.price-modal[data-price-active-side="atelier"] { --accent: var(--violet); }

.price-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(12, 14, 16, .78);
  backdrop-filter: blur(8px);
}

.price-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  min-width: 0;
  height: min(800px, calc(100vh - 2rem));
  height: min(800px, calc(100dvh - 2rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #101114;
  background: #f2f0e9;
  color: #101114;
  box-shadow: 14px 14px 0 var(--accent);
}

.price-dialog-bar {
  min-height: 56px;
  padding-left: clamp(1.2rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #101114;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.price-close {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 0;
  border-left: 1px solid #101114;
  background: transparent;
  color: #101114;
  font-size: 2rem;
  line-height: 1;
}

.price-close:hover,
.price-close:focus-visible { background: var(--accent); }

.price-scroll {
  min-height: 0;
  min-width: 0;
  padding: 0 clamp(1.2rem, 3vw, 2rem) 2rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--accent) transparent;
}

.price-intro { padding: 2.1rem 0 1.6rem; }
.price-intro .section-tag { margin-bottom: 1rem; }
.price-intro h2 {
  margin: 0;
  font: 900 clamp(3.4rem, 7vw, 5.9rem)/.78 var(--display);
  letter-spacing: -.075em;
}
.price-intro > p:last-child {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: #494d50;
  line-height: 1.45;
}

.price-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #101114;
}
.price-tabs button {
  min-height: 56px;
  padding: .65rem 1rem;
  border: 0;
  background: transparent;
  color: #101114;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-align: left;
}
.price-tabs button + button { border-left: 1px solid #101114; }
.price-tabs button:hover,
.price-tabs button:focus-visible { background: #e6e3da; }
.price-tabs [data-price-side="service"][aria-selected="true"] { background: #f4c400; }
.price-tabs [data-price-side="atelier"][aria-selected="true"] { background: #b77aff; }

.price-categories {
  margin: 1.3rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.price-categories button {
  min-height: 36px;
  padding: .45rem .7rem;
  border: 1px solid #a9a9a4;
  background: transparent;
  color: #34383a;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .04em;
}
.price-categories button:hover,
.price-categories button:focus-visible { border-color: #101114; background: var(--accent); color: #101114; }

.price-category { margin: 0 0 2.3rem; scroll-margin-top: 1rem; }
.price-category h3 {
  margin: 0 0 .75rem;
  display: flex;
  align-items: baseline;
  gap: .85rem;
  font: 900 clamp(1.35rem, 2.7vw, 2rem)/1 var(--display);
  letter-spacing: -.04em;
}
.price-category h3 span {
  flex: 0 0 auto;
  color: #785f00;
  font: 900 .65rem/1 var(--body);
  letter-spacing: .12em;
}
.price-category[data-price-category-side="atelier"] h3 span { color: #7144a2; }

.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.price-table th {
  padding: .65rem .7rem;
  border-top: 2px solid #101114;
  border-bottom: 1px solid #aaa9a2;
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}
.price-table th:last-child,
.price-table td:last-child { width: 145px; text-align: right; }
.price-table td {
  padding: .85rem .7rem;
  border-bottom: 1px solid #d0cec7;
  font-size: .88rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.price-table td:last-child { font-weight: 900; white-space: nowrap; }
.price-table tbody tr:hover { background: rgba(244,196,0,.13); }
.price-category[data-price-category-side="atelier"] tbody tr:hover { background: rgba(183,122,255,.13); }
.price-footnote { margin: 0; padding: 1rem 0 0; border-top: 2px solid #101114; color: #53585a; font-size: .75rem; line-height: 1.5; }

@media (max-width: 600px) {
  .price-modal { padding: 0; }
  .price-dialog {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border: 0;
    box-shadow: none;
  }
  .price-dialog-bar { min-height: 52px; font-size: .58rem; }
  .price-close { width: 52px; height: 52px; }
  .price-scroll { padding-bottom: 2.5rem; }
  .price-intro { padding-top: 1.8rem; }
  .price-intro h2 { font-size: clamp(3.15rem, 15vw, 4.5rem); }
  .price-tabs button { min-height: 52px; padding: .55rem .7rem; font-size: .64rem; }
  .price-categories {
    margin: 1rem -1.2rem 1.7rem;
    padding: 0 1.2rem .3rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
  }
  .price-categories button { flex: 0 0 auto; }
  .price-table th:last-child,
  .price-table td:last-child { width: 94px; }
  .price-table th,
  .price-table td { padding-left: .2rem; padding-right: .2rem; }
  .price-table td { font-size: .81rem; }
}
