.tattoo-page .tattoo-detail.piercing-price-list { display: block; position: relative; container-type: inline-size; }
.piercing-price-preview { position: absolute; right: 0px; top: 50%; transform: translateY(-50%); width: min(18%, 220px); aspect-ratio: 4 / 5; margin: 0px; display: grid; place-items: center; color: var(--foreground); background: var(--background); text-align: center; }
.piercing-price-preview[hidden] { display: none; }
.piercing-preview-caption { position: absolute; bottom: calc(100% + 8px); left: 0px; width: 100%; font: 400 32px/1.1 var(--font-heading); text-align: center; color: var(--foreground); }
.piercing-price-preview .piercing-preview-layer { position: absolute; inset: 0px; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; }
.piercing-price-preview .is-visible { opacity: 1; }
.piercing-preview-placeholder { background: var(--background); display: grid; place-items: center; }
@media (prefers-reduced-motion: reduce) {
  .piercing-price-preview .piercing-preview-layer { transition: none; }
}
.piercing-price-list .piercing-price-columns { display: grid; grid-template-columns: repeat(4, max-content); gap: 36px; margin-top: 28px; }
.piercing-price-list .piercing-price-category { min-width: 0px; }
.piercing-price-list h3 { margin: 0px 0px 10px; font: 400 32px/1.1 var(--font-heading); }
.piercing-price-list table { width: auto; margin-left: -8px; border-collapse: collapse; font: 500 16px/1.35 var(--font); }
.piercing-price-list th, .piercing-price-list td { padding: 4px 0px; vertical-align: top; font-weight: 500; transition: color 160ms; }
.piercing-price-list th { text-align: left; padding-left: 8px; padding-right: 8px; white-space: nowrap; }
.piercing-price-list td { text-align: right; padding-right: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.piercing-price-list tr { cursor: pointer; transition: background-color 160ms; }
.piercing-price-list tr, .piercing-price-list th, .piercing-price-list td { user-select: none; -webkit-tap-highlight-color: transparent; }
.piercing-price-list tr.is-selected { background-color: rgb(240, 82, 82); color: rgb(255, 255, 255); }
@media (hover: hover) {
  .piercing-price-list tr:hover { background-color: rgb(240, 82, 82); color: rgb(255, 255, 255); }
}
.tattoo-page .piercing-price-list .piercing-price-intro { margin: 12px 0px 0px; font-size: 19px; }
.piercing-price-tables { display: grid; align-items: start; }
.piercing-price-stack { display: flex; flex-direction: column; gap: 26px; min-width: 0px; }
.piercing-implant-info { margin-top: 12px; width: max-content; max-width: 100%; font: 500 16px/1.35 var(--font); }
.piercing-implant-info summary { white-space: nowrap; display: block; width: fit-content; padding: 0px; border: 0px; background: transparent; color: rgb(240, 82, 82); font: inherit; cursor: pointer; list-style: none; }
.piercing-implant-info summary::-webkit-details-marker { display: none; }
.piercing-implant-info summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.piercing-implant-info summary:focus-visible { outline: 2px solid var(--foreground); outline-offset: 3px; }
.tattoo-page .piercing-implant-info p { margin: 10px 0px 0px; font: inherit; }
.piercing-placement-panel[hidden] { display: none; }
.piercing-placement-panel { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--foreground); scroll-margin-top: 30px; }
.piercing-placement-back { border: 0px; padding: 8px 0px; background: transparent; cursor: pointer; }
.piercing-placement-images { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 32px 20px; width: 86%; margin: 24px auto 0px; align-items: center; }
.piercing-placement-images img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.piercing-placement-images > section { min-width: 0px; align-self: stretch; display: grid; grid-template-rows: subgrid; grid-row: span 3; }
.piercing-placement-images > section > img { grid-row: 3; }
.tattoo-page .piercing-placement-images .piercing-placement-description { max-width: 390px; margin: 0px auto; padding: 0px 12px; font: 400 16px/1.5 var(--font); text-align: left; text-wrap: pretty; }
.piercing-price-list .piercing-placement-images h3 { text-align: center; margin-bottom: 20px; font-size: 38px; }
.piercing-placement-note { width: 86%; max-width: none; margin: 36px auto 0px; }
.tattoo-page .tattoo-detail .piercing-placement-note p { width: 100%; max-width: none; margin: 0px 0px 16px; font: 400 17px/1.6 var(--font); text-align: left; }
.tattoo-page .piercing-placement-note p:last-child { margin-bottom: 0px; }
.piercing-price-list.is-showing-placement .piercing-price-columns { display: none; }
@media (max-width: 700px) {
  .piercing-placement-images { width: 100%; grid-template-columns: minmax(0px, 1fr); gap: 36px; }
  .piercing-placement-images > section { display: flex; flex-direction: column; gap: 16px; grid-row: auto; }
  .piercing-price-list .piercing-placement-images h3 { margin-bottom: 0px; text-align: left; }
  .tattoo-page .piercing-placement-images .piercing-placement-description { max-width: none; margin: 0px; padding: 0px; }
  .piercing-placement-images { overflow-x: clip; }
  .piercing-placement-images img { width: 125%; max-width: none; margin-left: -12.5%; max-height: 81.25svh; }
  .piercing-placement-back { font-size: 18px; min-height: 44px; }
  .piercing-placement-back-bottom { display: block; margin-top: 20px; }
  .piercing-placement-note { width: 100%; margin-top: 28px; }
  .piercing-price-list .piercing-price-columns { scroll-margin-top: 24px; }
}
.piercing-price-list .piercing-price-columns { position: relative; max-width: none; border-top: 1px solid var(--foreground); padding-top: 28px; }
@media (min-width: 701px) {
  .piercing-price-list tr, .piercing-price-list th, .piercing-price-list td { cursor: default; }
  .piercing-preview-mobile, .piercing-preview-rail { display: none; }
  .piercing-price-list .piercing-price-columns { grid-template-columns: minmax(100px, 204px) repeat(4, max-content); column-gap: clamp(10px, 1.8cqw, 24px); justify-content: center; }
  .piercing-preview-desktop { position: relative; right: auto; top: auto; transform: none; grid-area: 1 / 1; align-self: stretch; width: calc(100% - 24px); max-width: 180px; min-width: 0px; aspect-ratio: auto; background: transparent; }
  .piercing-preview-desktop .piercing-preview-caption { top: 0px; bottom: auto; }
  .piercing-preview-desktop .piercing-preview-layer { top: 50%; bottom: auto; height: auto; aspect-ratio: 4 / 5; transform: translateY(-50%); }
  .piercing-price-list table, .piercing-price-list .piercing-implant-info { font-size: clamp(14px, 1.65cqw, 16px); }
  .piercing-price-list h3, .piercing-preview-caption { font-size: clamp(26px, 3cqw, 32px); }
  @container (max-width: 1000px) {
    .piercing-price-list th { padding-left: 5px; padding-right: 5px; }
    .piercing-price-list td { padding-right: 5px; }
    .piercing-price-list table { margin-left: -5px; }
    .piercing-preview-desktop { width: calc(100% - 12px); }
  }
}
@media (max-width: 700px) {
  .piercing-preview-desktop { display: none; }
  .piercing-price-list .piercing-price-columns { grid-template-columns: max-content minmax(0px, 1fr); gap: 28px 12px; }
  .piercing-price-stack { grid-column: 1; }
  .piercing-price-list table { width: max-content; font-size: 15px; }
  .piercing-price-list h3 { margin-bottom: 2px; }
  .piercing-implant-info { width: max-content; }
  .piercing-implant-info summary { white-space: nowrap; }
  .piercing-preview-rail { grid-area: 1 / 2 / span 4; min-width: 0px; padding-top: 44px; box-sizing: border-box; }
  .piercing-preview-mobile { position: sticky; top: calc(50svh - var(--preview-half-height, 90px)); right: auto; transform: none; margin: 0px; width: 100%; max-width: 224px; }
}
@media (max-width: 600px) {
  .piercing-price-list tr.is-demo-selected { background-color: rgb(240, 82, 82); color: rgb(255, 255, 255); }
}
@media (min-width: 701px) {
  .piercing-price-heading { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
  .piercing-price-copy { min-width: 0px; text-align: left; }
  .tattoo-page .piercing-price-copy > p:first-child { margin-top: 0px; }
  .tattoo-page .piercing-price-copy > p:last-child { margin-bottom: 0px; }
}
@media (max-width: 760px) {
  .tattoo-page .piercing-price-list .piercing-price-intro { font-size: 18px; }
}
.piercing-price-list .piercing-implant-info summary { font: 400 22px/1.25 var(--font-heading); letter-spacing: 0.02em; color: rgb(240, 82, 82); }
.piercing-placement-back { font: 400 28px/1.2 var(--font-heading); color: rgb(240, 82, 82); }
.piercing-placement-back-bottom { display: block; width: fit-content; margin: 24px auto 0px 0px; text-align: left; }
@media (max-width: 760px) {
  .piercing-placement-back { font-size: 24px; }
}
