.customization-page {
  background: var(--background);
}

html.customization-detail-open,
.customization-page.is-customizing {
  overflow-y: hidden;
}

.customization-main {
  position: relative;
  width: 100%;
  height: 55.2778vw;
  margin-top: 0;
  overflow: hidden;
  border-bottom: 1px solid #000000;
  background: var(--background);
}

.customization-canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 1440px;
  height: 796px;
  grid-template-columns: 611px 835px;
  transform: scale(var(--customization-scale, 1));
  transform-origin: top left;
  direction: ltr;
}

.customization-intro {
  position: relative;
  z-index: 2;
  height: 795px;
  overflow: hidden;
  background: var(--background);
}

.customization-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.customization-title-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.customization-title-art img {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: block;
  width: var(--w);
  height: var(--h);
  max-width: none;
}

.customization-start {
  position: absolute;
  top: 528px;
  left: 267px;
  display: flex;
  width: 304px;
  height: 59px;
  align-items: center;
  justify-content: center;
  padding: 0 20px 5px;
  border: 1px solid #000000;
  border-radius: 0;
  background: var(--black);
  color: var(--white);
  direction: rtl;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 31.93px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -.6386px;
  text-align: center;
  cursor: pointer;
}

.customization-start:hover,
.customization-start:focus-visible {
  background: var(--background);
  color: var(--black);
}

.customization-stage {
  position: relative;
  z-index: 1;
  min-width: 835px;
  height: 796px;
  overflow: hidden;
  border-left: 1px solid #000000;
  background: var(--background);
  isolation: isolate;
}

.customization-chair {
  --chair-x: 0px;
  --chair-y: 0px;
  position: absolute;
  transform: translate3d(var(--chair-x), var(--chair-y), 0);
  outline: 0;
  cursor: grab;
  pointer-events: none;
  touch-action: none;
  user-select: none;
  will-change: transform;
}

.customization-chair--primary {
  top: 8px;
  left: -30px;
  z-index: 1;
  width: 599px;
  height: 1034px;
}

.customization-chair--secondary {
  top: 143px;
  left: 366px;
  z-index: 2;
  width: 626px;
  height: 1076px;
}

.customization-chair img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  -webkit-user-drag: none;
}

.customization-chair__surface {
  position: absolute;
  z-index: 2;
  display: block;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

.customization-chair__surface--primary-back {
  top: 20px;
  left: 135px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
}

.customization-chair__surface--primary-seat {
  top: 440px;
  left: 55px;
  width: 500px;
  height: 190px;
  border-radius: 50%;
}

.customization-chair__surface--secondary-seat {
  top: 425px;
  left: 34px;
  width: 575px;
  height: 205px;
  border-radius: 50%;
}

.customization-chair__surface--secondary-leg {
  top: 0;
  width: 48px;
  height: 470px;
}

.customization-chair__surface--secondary-leg-1 { left: 72px; }
.customization-chair__surface--secondary-leg-2 { left: 220px; }
.customization-chair__surface--secondary-leg-3 { left: 370px; }
.customization-chair__surface--secondary-leg-4 { left: 510px; }

.customization-chair--secondary img {
  transform: rotate(180deg);
}

.customization-chair.is-dragging {
  cursor: grabbing;
}

.customization-chair.is-dragging .customization-chair__surface {
  cursor: grabbing;
}

.customization-selection {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1440px;
  height: 1045px;
  overflow: hidden;
  background: var(--background);
  transform: scale(var(--customization-scale, 1));
  transform-origin: top left;
  direction: ltr;
}

.customization-selection[hidden] {
  display: none;
}

.customization-progress {
  position: absolute;
  top: 30px;
  right: 0;
  display: flex;
  width: 100%;
  height: 72px;
  margin: 0;
  padding: 0;
  align-items: flex-start;
  direction: rtl;
  list-style: none;
}

.customization-progress__step {
  position: relative;
  display: grid;
  width: 184px;
  height: 72px;
  flex: 0 0 184px;
  grid-template-columns: 72px 40px 72px;
  grid-template-rows: 40px 32px;
  align-items: center;
  color: var(--gray, #adadad);
  direction: ltr;
}

.customization-progress__step:first-child {
  width: 183px;
  flex-basis: 183px;
  grid-template-columns: 71px 40px 72px;
}

.customization-progress__number {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  border: 1px solid #000000;
  border-radius: 50%;
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.customization-progress__rail {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.customization-progress__rail--arrow::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid #000000;
  border-right: 1px solid #000000;
  content: "";
  transform: rotate(45deg);
  transform-origin: center;
}

.customization-progress__label {
  grid-column: 1 / -1;
  align-self: start;
  padding-top: 1px;
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  direction: rtl;
  white-space: nowrap;
}

.customization-progress__step.is-active {
  color: var(--blue, #0711ff);
}

.customization-progress__tail {
  height: 1px;
  flex: 1 1 auto;
  margin-top: 20px;
  background: var(--gray, #adadad);
}

.customization-filters {
  position: absolute;
  top: 128px;
  left: 0;
  display: flex;
  width: 1440px;
  height: 56px;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.customization-filters__spacer {
  min-width: 0;
  flex: 1 1 0;
}

.customization-filters__spacer:first-child {
  flex: 0 0 720px;
}

.customization-filters__controls {
  display: flex;
  width: 336px;
  height: 56px;
  flex: 0 0 336px;
}

.customization-filters button {
  position: relative;
  display: flex;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-left: 1px solid #000000;
  background: var(--background);
  cursor: pointer;
}

.customization-filters button:last-child {
  border-right: 1px solid #000000;
}

.customization-filters button span {
  display: block;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, transparent calc(50% - .5px), var(--black) 50%, transparent calc(50% + .5px));
}

.customization-filters button:hover,
.customization-filters button:focus-visible,
.customization-product:hover,
.customization-product:focus-visible {
  background: #eaf592;
  outline: 0;
}

.customization-products {
  position: absolute;
  top: 184px;
  left: 0;
  display: grid;
  width: 1440px;
  grid-template-columns: repeat(5, 1fr);
  direction: ltr;
}

.customization-product {
  display: flex;
  min-width: 0;
  height: 287px;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  border-radius: 0;
  background: var(--background);
  color: var(--black);
  cursor: pointer;
  text-align: left;
}

.customization-product:nth-child(5n + 1) {
  border-left: 1px solid #000000;
}

.customization-product__media {
  position: relative;
  display: block;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.customization-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.customization-product__name {
  display: block;
  width: 100%;
  flex: 0 0 60px;
  padding: 12px;
  background: rgba(248, 247, 247, .82);
  font-family: "Adapter Arabic Text", Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  word-break: break-word;
}

.customization-detail {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1440px;
  height: 796px;
  overflow: hidden;
  background: var(--background);
  transform: scale(var(--customization-scale, 1));
  transform-origin: top left;
  direction: ltr;
  outline: 0;
}

.customization-detail[hidden] {
  display: none;
}

.customization-detail__topbar {
  display: flex;
  width: 1440px;
  height: 56px;
  align-items: stretch;
  border-bottom: 1px solid #000000;
}

.customization-detail__topbar-side {
  min-width: 0;
  flex: 1 1 0;
}

.customization-product-heading {
  display: flex;
  width: 280px;
  height: 56px;
  flex: 0 0 280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-left: 1px solid #000000;
  color: #000000;
  font-family: "Adapter Arabic Text", Arial, sans-serif;
  line-height: 1;
  white-space: nowrap;
}

.customization-product-heading strong {
  max-width: 250px;
  overflow: hidden;
  font-size: 36px;
  font-weight: 700;
  line-height: .8;
  text-overflow: ellipsis;
}

.customization-product-heading span {
  max-width: 250px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.customization-detail__topbar-side--tools {
  display: flex;
}

.customization-toolbar {
  display: flex;
  width: 392px;
  height: 56px;
  flex: 0 0 392px;
}

.customization-toolbar button {
  display: flex;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 0;
  border-left: 1px solid #000000;
  border-bottom: 1px solid #000000;
  background: var(--background);
  cursor: pointer;
}

.customization-toolbar img {
  display: block;
  width: 32px;
  height: 32px;
}

.customization-toolbar button:hover,
.customization-toolbar button:focus-visible {
  background: #eaf592;
  outline: 0;
}

.customization-toolbar__tail {
  height: 56px;
  flex: 1 1 auto;
  border-left: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.customization-detail__grid {
  position: absolute;
  top: 56px;
  left: 0;
  display: grid;
  width: 1440px;
  height: 740px;
  grid-template-columns: 380px minmax(0, 1fr) 380px;
}

.customization-summary {
  display: flex;
  height: 740px;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #000000;
}

.customization-summary__space {
  min-height: 0;
  flex: 1 1 auto;
}

.customization-summary__totals {
  border: 1px solid #000000;
  border-right: 0;
}

.customization-quantity,
.customization-price-row {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid #000000;
  direction: ltr;
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
}

.customization-quantity strong,
.customization-price-row strong {
  font-size: 20px;
  font-weight: 600;
  direction: rtl;
}

.customization-price-row span {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.customization-quantity__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customization-quantity__controls button {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  border: 1px solid #000000;
  border-radius: 999px;
  background: rgba(255,255,255,.01);
  box-shadow: 1.5px 1.5px 0 var(--black);
  color: var(--black);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.customization-quantity__controls output {
  display: flex;
  width: 64px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
  font-size: 20px;
}

.customization-add-cart {
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 16px 4px;
  border: 0;
  background: var(--white, #fff);
  color: var(--black);
  direction: rtl;
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.52px;
  cursor: pointer;
}

.customization-add-cart:hover,
.customization-add-cart:focus-visible {
  background: var(--black);
  color: var(--white);
  outline: 0;
}

.customization-workspace {
  display: flex;
  min-width: 0;
  height: 740px;
  flex-direction: column;
}

.customization-preview {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  padding: 64px;
  overflow: hidden;
}

.customization-preview img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 600px;
  object-fit: contain;
  transition: opacity 160ms ease;
}

.customization-double-line {
  width: 100%;
  height: 8px;
  flex: 0 0 8px;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.customization-status {
  display: flex;
  width: 100%;
  height: 47px;
  flex: 0 0 47px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #000000;
  font-family: "Adapter Arabic Text", Arial, sans-serif;
  font-size: 14px;
}

.customization-controls {
  display: flex;
  height: 740px;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid #000000;
}

.customization-options-back {
  display: flex;
  width: 100%;
  height: 49px;
  flex: 0 0 49px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 24px;
  border: 0;
  border-bottom: 1px solid #000000;
  background: var(--background);
  color: #000000;
  direction: ltr;
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}

.customization-options-back span {
  direction: rtl;
}

.customization-options-back[hidden],
.customization-options-title[hidden] {
  display: none;
}

.customization-options-back img {
  display: block;
  width: 28px;
  height: 28px;
}

.customization-options-back:hover,
.customization-options-back:focus-visible {
  background: #eaf592;
  outline: 0;
}

.customization-options-title {
  display: flex;
  width: 100%;
  height: 88px;
  flex: 0 0 88px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0 16px 8px;
  border: 0;
  border-bottom: 1px solid #000000;
  background: #1a1a1a;
  color: #fff;
  direction: rtl;
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.customization-option-list {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #000000 var(--background);
  scrollbar-width: auto;
}

.customization-option-list::-webkit-scrollbar {
  display: block;
  width: 10px;
}

.customization-option-list::-webkit-scrollbar-track {
  background: var(--background);
}

.customization-option-list::-webkit-scrollbar-thumb {
  background: #000000;
}

.customization-option-row {
  position: relative;
  display: flex;
  width: 380px;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid #000000;
  background: var(--background);
  color: var(--black);
  direction: rtl;
}

.customization-option-row label {
  min-width: 0;
  flex: 1 1 auto;
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}

.customization-option-row__value {
  display: flex;
  max-width: 145px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  color: var(--faded-text, #95918e);
  direction: rtl;
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customization-option-row__swatch {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid #000000;
  border-radius: 50%;
  background: var(--option-color, #d9dde4);
}

.customization-option-row:focus-visible,
.customization-option-row:hover {
  background: #eaf592;
  outline: 0;
}

.customization-choice {
  display: flex;
  width: 380px;
  height: 80px;
  flex: 0 0 80px;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 16px;
  border: 0;
  border-bottom: 1px solid #000000;
  background: var(--background);
  color: #000000;
  direction: ltr;
  cursor: pointer;
}

.customization-choice__swatch {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border: 1px solid #000000;
  border-radius: 50%;
  background: var(--option-color, #d9dde4);
}

.customization-choice__swatch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customization-choice__copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
  line-height: 1;
}

.customization-choice__copy strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 26px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customization-choice__copy small {
  max-width: 100%;
  overflow: hidden;
  font-size: 16px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customization-choice__price {
  flex: 0 0 auto;
  color: var(--faded-text, #95918e);
  font-family: "Adapter Arabic Text", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.customization-choice:hover,
.customization-choice:focus-visible {
  background: #eaf592;
  outline: 0;
}
