.ss {
  --ink: #15110c;
  --paper: #ffffff;
  --col-x: 292px;
  --col-w: 224px;
  position: relative;
  width: 540px;
  height: 540px;
  overflow: hidden;
  background: #f2a20c;
  color: var(--ink);
  font-family: "Archivo Variable", sans-serif;
  font-variant-numeric: tabular-nums lining-nums;
}

.ss * { box-sizing: border-box; }

.ss-photo {
  position: absolute;
  inset: 0;
  width: 540px;
  height: 540px;
  object-fit: cover;
}

.ss-trigger {
  position: absolute;
  left: var(--col-x);
  top: 24px;
  width: var(--col-w);
  height: 116px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 18px 1fr;
  align-items: baseline;
  padding: 15px 17px 0 17px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  text-align: left;
  outline: none;
  box-shadow: 0 18px 30px -14px #5a2c00a6, 0 2px 4px #5a2c0040;
}

.ss-unit {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  font-size: 14px;
  line-height: 18px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.ss-chev {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  width: 26px;
  height: 26px;
  margin: -4px -4px 0 0;
  translate: 0.5px 0;
  stroke-width: 2.4;
  transition: rotate 260ms cubic-bezier(0.3, 0.62, 0.25, 1);
}

.ss-trigger[data-open] .ss-chev { rotate: 180deg; }

.ss-value {
  grid-column: 1;
  grid-row: 2;
  font-size: 88px;
  line-height: 66px;
  font-weight: 750;
  font-stretch: 96%;
  letter-spacing: -0.055em;
  margin-left: -2.5px;
}

.ss-uk {
  grid-column: 2;
  grid-row: 2;
  font-size: 17px;
  line-height: 20px;
  font-weight: 550;
  word-spacing: 0.08em;
}

.ss-pop {
  width: var(--anchor-width);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  overflow: hidden;
  box-shadow: 0 28px 44px -18px #5a2c00b3, 0 3px 6px #5a2c0047;
  clip-path: inset(0 -60px -80px -60px);
  transition: clip-path 260ms cubic-bezier(0.3, 0.62, 0.25, 1);
}

.ss-pop[data-starting-style],
.ss-pop[data-ending-style] {
  clip-path: inset(0 -60px 100% -60px);
}

.ss-pop [data-slot="select-item"] {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 17px;
  outline: none;
  cursor: default;
}

.ss-pop [data-slot="select-item"] + [data-slot="select-item"]::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: #15110c24;
}

.ss-eu {
  font-size: 34px;
  line-height: 46px;
  font-weight: 600;
  font-stretch: 96%;
  letter-spacing: -0.045em;
  transition: font-weight 130ms ease-out, font-stretch 130ms ease-out, letter-spacing 130ms ease-out;
}

.ss-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 10px;
}

.ss-check svg { width: 20px; height: 20px; stroke-width: 3; }

.ss-alt {
  margin-left: auto;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  word-spacing: 0.08em;
  color: #15110ca6;
}

.ss-pop [data-highlighted] {
  background: var(--ink);
  color: var(--paper);
}

.ss-pop [data-highlighted]::before,
.ss-pop [data-highlighted] + [data-slot="select-item"]::before { opacity: 0; }

.ss-pop [data-highlighted] .ss-eu { font-weight: 850; font-stretch: 122%; letter-spacing: -0.03em; }
.ss-pop [data-highlighted] .ss-alt { color: #ffffffd9; }

.ss-pop [data-disabled] .ss-eu {
  color: #15110c57;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.ss-pop [data-disabled] .ss-alt { color: #15110c8c; }
