.ac-studio {
  --stroke: #373536;
  --accent: #dfac83;
  --aside: clamp(385px, 35vw, 590px);
  background: #171719;
}
.ac-steps {
  display: flex; justify-content: center; gap: clamp(8px, 3.2vw, 70px);
  padding: 0 var(--side); border-block: 1px solid var(--stroke); background: #151517;
}
.ac-steps a {
  display: inline-flex; align-items: center; gap: .55rem; padding: 1rem .15rem .9rem;
  border-bottom: 2px solid transparent; color: #c6c2c0; font-size: .9rem; white-space: nowrap;
}
.ac-steps a span, .ac-counter {
  color: var(--accent); font-weight: 500; text-transform: uppercase; letter-spacing: .14em;
}
.ac-steps a span {font-size: .73rem; font-variant-numeric: tabular-nums;}
.ac-steps a[aria-current=step] {border-bottom-color: #c98a59; color: white;}
.ac-layout {display: grid; grid-template-columns: minmax(0,1fr) var(--aside); align-items: start;}
.ac-gallery {
  position: sticky; top: 0; height: min(900px, 84vh); min-height: 480px;
  display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; isolation: isolate;
  background: #19191b;
}
.ac-gallery::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url('/apix_website/static/img/showroom-floor.webp') 66% bottom/140% 100% no-repeat;
}
.ac-heading {padding: clamp(20px,3.2vh,44px) var(--side) 0;}
.ac-heading a, .ac-spec, .ac-video {font-size: .83rem; color: #d2cac4!important; text-decoration: underline!important; text-underline-offset: .27em;}
.ac-diplomat {display:block; width:clamp(105px,8vw,145px); height:auto; margin:clamp(14px,2.6vh,30px) 0 .6rem;}
.ac-heading h1 {font-size: clamp(2.8rem,4.8vw,6.7rem); line-height: 1; letter-spacing: -.066em; font-weight: 370; margin: 0;}
.ac-visual {position: relative; display: grid; place-items: end center; min-height: 0; overflow: hidden;}
.ac-chair {width: 94%; height: 100%; min-height: 0; object-fit: contain; object-position: center bottom; transition: transform .35s ease;}
.ac-visual.is-zoom .ac-chair {transform-origin: 46% 69%; transform: scale(1.85);}
.ac-detail {position: absolute; width: min(68%,730px); height: 82%; inset: 7% 0 auto; margin: auto; object-fit: contain;}
.ac-gallery-footer {min-height: 55px; padding: 9px var(--side) 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px;}
.ac-views {display: none; align-items: center; border: 1px solid #5e5654; border-radius: 30px; padding: 3px; background: #1d1c1edf;}
.ac-enhanced .ac-views {display: inline-flex;}
.ac-views button, .ac-paging [data-prev] {color: #d1cac4; border: 0; background: transparent; font-size: .85rem; padding: .48rem .85rem; border-radius: 30px;}
.ac-views button[aria-pressed=true] {background: #49413c; color: white;}
.ac-panel {position: relative; min-width: 0; padding: clamp(22px,3vw,54px); padding-bottom: 0; border-left: 1px solid var(--stroke); background: #1b1b1e;}
.ac-section {padding-bottom: 1.25rem;}
.ac-section header {margin-bottom: 1.8rem;}
.ac-counter {font-size: .77rem; margin: 0 0 .55rem;}
.ac-section h2 {font-size: clamp(1.65rem, 2.1vw, 2.9rem); letter-spacing: -.05em; line-height: 1.12; font-weight: 440; margin: 0;}
.ac-group {border-top: 1px solid var(--stroke);}
.ac-group > summary {display: grid; grid-template-columns: 1fr auto; align-items: center; padding: .9rem 1.5rem .9rem 0; position: relative; cursor: pointer; line-height: 1.25; color: #f6f2ee; font-size: .98rem; list-style: none;}
.ac-group > summary::-webkit-details-marker {display: none;}
.ac-group > summary::after {content: '+'; position: absolute; right: 1px; color: #d6af92; font-size: 1.22rem; font-weight: 350;}
.ac-group[open] > summary::after {content: '−';}
.ac-group > summary small {font-size: .77rem; color: #c1bab4; max-width: 10rem; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; text-align: right; margin-left: .6rem;}
.ac-group[open] > summary small {display: none;}
.ac-group.ac-missing > summary {color: #ffb88d;}
.ac-options {padding: 0 0 1rem; margin: 0; border: 0; min-width: 0;}
.ac-trims {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem;}
.ac-trim {position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid #4b4746; border-radius: 8px; cursor: pointer; background: #242426;}
.ac-trim:has(:checked), .ac-trim:focus-within {border-color: #d4a47b; background: #322b27;}
.ac-trim input {position: absolute; width: 1px; height: 1px; opacity: 0;}
.ac-with-sample:has(:checked)::after {content: '✓'; color: #171310; position: absolute; top: 5px; right: 5px; display: grid; place-items: center; border-radius: 100%; background: #edbd97; width: 18px; height: 18px; font: bold 12px/1 sans-serif;}
.ac-trim img {width: 100%; aspect-ratio: 1.75; object-fit: cover;}
.ac-trim span {display: grid; align-content: start; gap: .24rem; padding: .6rem .45rem;}
.ac-trim b {font-size: .89rem; line-height: 1.1; font-weight: 550;}
.ac-trim small {color: #d2cbc6; font-size: .74rem; line-height: 1.23;}
.ac-no-sample {grid-column: 1/-1; order: 1; display: flex; align-items: center; background: transparent; padding: .15rem .35rem;}
.ac-no-sample::before {content: ''; width: 13px; height: 13px; border-radius: 50%; margin-left: .22rem; border: 1px solid #aa9c90;}
.ac-no-sample:has(:checked)::before {background: #d8ac89; box-shadow: inset 0 0 0 3px #312823;}
.ac-no-sample b {font-weight: 440;}
.ac-option {display: flex; align-items: center; justify-content: space-between; gap: .9rem; font-size: .92rem; padding: .42rem 0;}
.ac-option:has([type=text]) {display: grid; gap: .4rem;}
.ac-panel :is(select, textarea, input:not([type=hidden],[type=radio],[type=checkbox])) {width: 100%; min-width: 0; border: 1px solid #5b5552; border-radius: 7px; padding: .65rem .8rem; background: #141416; color: #faf8f6; font: inherit;}
.ac-panel select {white-space: normal;}
.ac-option input[type=number] {max-width: 5rem;}
.ac-option input[type=checkbox] {width: 19px; height: 19px; flex-shrink: 0; accent-color: #be906d;}
.ac-paging {position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--stroke); padding: .85rem 0; background: #1b1b1ef7;}
.ac-paging [data-prev]:disabled {visibility: hidden;}
.ac-panel .ax-primary {font-size: .9rem; min-height: 43px; padding: .65rem 1.6rem;}
.ac-contact, .ac-panel .ax-contact {background: transparent; border: 0; padding: 0; border-radius: 0;}
.ac-panel .ax-contact h2 {font-size: 1.35rem;}
.ac-panel .ax-contact {font-size: .92rem;}
.ac-recap details {padding: .6rem 0; border-bottom: 1px solid var(--stroke);}
.ac-recap summary {cursor: pointer;}
.ac-recap dl {margin: .8rem 0;}
.ac-recap dt {font-size: .8rem; color: var(--accent);}
.ac-recap dd {margin-bottom: .6rem; font-size: .92rem;}
.ac-recap button {background: transparent; border: 0; color: var(--accent); text-decoration: underline; padding: .3rem 0;}
.ac-video {display: inline-block; margin-top: 1rem;}
@media (min-width: 861px) {
  .ac-enhanced .ac-layout {height: max(560px,calc(100svh - var(--nav-height) - 56px));}
  .ac-enhanced .ac-gallery, .ac-enhanced .ac-panel {height: 100%;}
  .ac-enhanced .ac-panel {overflow-y: auto; scrollbar-width: thin; scrollbar-color: #534c48 #1b1b1e; display: flex; flex-direction: column;}
  .ac-enhanced .ac-paging {margin-top: auto;}
}
@media (max-width: 860px) {
  .ac-steps {justify-content: flex-start; gap: 1.3rem; overflow-x: auto; scrollbar-width: thin;}
  .ac-layout {display: block;}
  .ac-gallery {position: relative; height: clamp(340px,56vw,525px); min-height: 0;}
  .ac-heading {padding: 14px var(--side) 0;}
  .ac-diplomat {width:76px; margin:8px 0 5px;}
  .ac-heading h1 {font-size: clamp(2rem,6vw,3.3rem);}
  .ac-gallery-footer {padding-block: 3px 7px; min-height: 42px;}
  .ac-views button {font-size: .76rem; padding: .33rem .65rem;}
  .ac-panel {padding: 24px var(--side) 0; border: 0;}
  .ac-steps a {padding-block: .75rem; font-size: .82rem;}
  .ac-group > summary small {max-width: min(42vw,12rem);}
}
@media (prefers-reduced-motion: reduce) {.ac-chair {transition: none;}}

.ac-visual .ac-chair {grid-area: 1 / 1;}
.ac-dye-filter {position: absolute; pointer-events: none;}
.ac-dye {pointer-events: none;}

.ac-swatches {display:grid; gap:1.35rem; margin:.8rem 0 1.2rem;}
.ac-swatch-collection h3 {color:#eee7e0; font-size:.92rem; font-weight:520; margin:0 0 .6rem;}
.ac-swatch-grid {display:grid; grid-template-columns:repeat(auto-fill,minmax(63px,1fr)); gap:.5rem .35rem;}
.ac-swatch {position:relative; display:flex; flex-direction:column; gap:.4rem; align-items:stretch; min-width:0; padding:3px 3px .28rem; text-align:left; overflow-wrap:anywhere; color:#e1dad5; line-height:1.16; font-size:.76rem!important; border:1px solid transparent; border-radius:6px; background:transparent;}
.ac-swatch-chip {position:relative; display:block; width:100%; aspect-ratio:1.6; border-radius:4px; overflow:hidden; border:1px solid #ffffff25; background:var(--swatch);}
.ac-swatch-chip::before {content:""; position:absolute; left:0; top:50%; width:100%; aspect-ratio:1; transform:translateY(-50%); background:url("/apix_website/static/img/diplomat-swatchbook.webp") var(--tile-position) / 800% 800% no-repeat;}
.ac-swatch[aria-pressed=true] {border-color:#dfab83; background:#322a25; color:#fff;}
.ac-swatch[aria-pressed=true]::after {content:"✓"; position:absolute; right:6px; top:6px; display:grid; place-items:center; width:16px; height:16px; border-radius:50%; background:#fff; color:#231d18; font:bold 11px/1 sans-serif;}
.ac-swatch:hover {border-color:#928579;}
.ac-colour-caption {font-size: .9rem; margin: .6rem 0 .45rem; color: #efe4da;}
.ac-chart-link {display: inline-block; font-size: .83rem; color: #d5c6b9!important; text-decoration: underline!important; text-underline-offset: .2em;}
@media (max-width: 860px) and (min-height: 600px) {
  .ac-enhanced .ac-gallery {position: sticky; top: -6.25rem; z-index: 2; height: clamp(280px,39svh,355px);}
  .ac-enhanced .ac-panel {scroll-margin-top: calc(clamp(280px,39svh,355px) - 6.25rem);}
  .ac-enhanced .ac-group {scroll-margin-top: calc(clamp(280px,39svh,355px) - 5.5rem);}
  .ac-enhanced .ac-paging {z-index: 3;}
  .ac-swatch {min-height: 48px;}
}

.ac-gallery[style*="--studio-size"]::before {background-size:var(--studio-size);background-position:var(--studio-position);}
.ac-detail {max-width: var(--ac-detail-max, 720px);}
.ac-trim-hint {color: #cfc5be; font-size: .85rem; margin: .6rem 0 0;}

.ac-trim .ac-sample {display:block; position:relative; grid-row:1; padding:0; overflow:hidden; aspect-ratio:1.75; background:#27282a;}
.ac-sample img {display:block; position:absolute; inset:0; height:100%; object-fit:cover; transform:scale(1.18); transform-origin:60% 63%;}
.ac-with-sample:has(:checked) {border-color:#e3b18c; box-shadow:0 0 0 1px #b98f6d60;}

.ac-included { margin: 0 0 1.3rem; padding: 1rem 1.2rem; border-left: 2px solid #aa714c; background: #242323; color: #eeeae7; }
.ac-included h3 { font-size: .9rem; margin: 0 0 .4rem; }
.ac-included p { margin: .15rem 0; font-size: .82rem; line-height: 1.55; }

.ac-advanced { margin: 1.3rem 0 0; border-top: 1px solid var(--stroke); }
.ac-advanced > summary { padding: 1rem 0; color: #dbb494; cursor: pointer; font-size: .86rem; }
.ac-quick { display: flex; flex-wrap: wrap; gap: .45rem; padding: .15rem 0 .4rem; }
.ac-quick button { padding: .5rem .78rem; border: 1px solid #574f4c; border-radius: 1.4rem; background: transparent; color: #efebe8; font: inherit; font-size: .85rem; cursor: pointer; }
.ac-quick button[aria-pressed=true] { color: #fff5e9; background: #503b2f; border-color: #c8956f; }
.ac-quick-note { color: #d3c8bf; font-size: .82rem; margin: .5rem 0 0; }
.ac-quick + select:not([hidden]) { margin-top: .45rem; }

.ac-visual .ac-matched-cap { filter: grayscale(1) contrast(.28) brightness(1.16) url(#ac-material-colour); }
.ac-visual .ac-original-cap { filter: none; }
.ac-visual[data-model="one100ortho"] .ac-original-cap { filter: grayscale(1) brightness(.44) sepia(1) saturate(9) hue-rotate(192deg); }
.ac-studio [hidden] { display: none !important; }

.ac-price { position:sticky; top:0; z-index:3; flex:none; padding:.75rem 0; margin:0 0 1.25rem; border-block:1px solid var(--stroke); background:#1b1b1e; }
.ac-price > div { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; }
.ac-price strong { color:#f6e4d5; font-size:clamp(1.35rem,2.1vw,1.85rem); white-space:nowrap; font-variant-numeric:tabular-nums; }
.ac-price small { display:block; color:#d1c6bd; font-size:.77rem; margin-top:.15rem; }
.ac-price small b { font-weight:500; }
.ac-price button { background:transparent; border:0; color:#e5bc98; text-decoration:underline; }
.ac-option-price { display:block; color:#e5bc98; font-size:.76rem; }
.ac-address { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:.8rem; }
@media (max-width:860px) {
  .ac-enhanced .ac-price { position:sticky; top:0; }
}
@media (max-width:860px) and (min-height:600px) {
  .ac-enhanced .ac-price { top:calc(clamp(280px,39svh,355px) - 6.25rem); }
}

.ac-folding-caption { color: #ded3c8; font-size: .86rem; line-height: 1.35; }
.ac-gallery-footer:has(.ac-folding-caption:not([hidden])) { flex-wrap: wrap; row-gap: 5px; }
@media (max-width: 640px) {
  .ac-folding-caption { order: 1; flex-basis: 100%; }
}
.ac-visual .ac-traditional, .ac-visual .ac-knee-detail { display: none; }
.ac-visual.has-cords .ac-traditional { display: block; pointer-events: none; }
.ac-visual.has-cords > img.ac-chair:first-of-type { opacity: 0; }
.ac-light-replaced > img.ac-chair:first-of-type {opacity:0}
.ac-light-layer {pointer-events:none}
.ac-light-layer[hidden] {display:none}
.ac-light-caption {font-size:.8rem;color:#d8c3b2;white-space:nowrap}
.ac-gallery-footer {flex-wrap:wrap}
.ac-visual.has-knee-detail .ac-knee-detail {
    display: block; position: absolute; top: 3%; left: 4%; width: clamp(95px,21%,190px);
    border: 1px solid #524740; border-radius: 9px; background: #242325;
}
.ac-separator { display: grid; gap: .45rem; margin: .45rem 0 .15rem; color: #ded4cb; }
.ac-separator select { min-width: 0; width: 100%; }
.ac-separator[hidden] { display: none; }
