#kay-krw-configurator,
#kay-krw-configurator * {
  box-sizing: border-box;
}

#kay-krw-configurator {
  --kay-ink: #17343c;
  --kay-muted: #65777d;
  --kay-line: #d8e4e6;
  --kay-soft: #f5f9f9;
  --kay-teal: #0f6a7a;
  --kay-yellow: #ffd84a;
  width: min(1440px, calc(100% - 32px));
  margin: 24px auto;
  color: var(--kay-ink);
  font: 14px/1.38 Arial, Helvetica, sans-serif;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator {
  width: min(1920px, calc(100vw - 40px));
  margin: 18px auto 30px;
}

#kay-krw-configurator button,
#kay-krw-configurator input,
#kay-krw-configurator select {
  font: inherit;
}

.kay-krw__header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--kay-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(20, 54, 62, .08);
}

.kay-krw__eyebrow {
  display: block;
  margin-bottom: 2px;
  color: var(--kay-teal);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.kay-krw__header h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
}

.kay-krw__header p {
  margin: 4px 0 0;
  color: var(--kay-muted);
  font-size: 12px;
}

.kay-krw__price {
  flex: 0 0 auto;
  min-width: 150px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 106, 122, .24);
  border-radius: 8px;
  background: var(--kay-soft);
  box-shadow: 0 8px 20px rgba(23, 52, 60, .08);
  text-align: right;
}

.kay-krw__price span {
  display: block;
  color: var(--kay-muted);
  font-size: 10px;
}

.kay-krw__price strong {
  color: var(--kay-teal);
  font-size: 18px;
}

.kay-krw__layout {
  display: grid;
  grid-template-columns: minmax(320px, 35%) minmax(0, 65%);
  gap: 18px;
  margin-top: 18px;
}

.kay-krw__steps {
  display: grid;
  gap: 14px;
}

.kay-krw__card,
.kay-krw__preview {
  padding: 18px;
  border: 1px solid var(--kay-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 54, 62, .06);
}

.kay-krw__card-head {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}

.kay-krw__card-head > span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 10px;
  background: var(--kay-teal);
  color: #fff;
  font-weight: 800;
}

.kay-krw__card h3 {
  margin: 0;
  font-size: 16px;
}

.kay-krw__card p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--kay-muted);
  font-size: 12px;
  opacity: 0;
  transition: max-height .22s ease, margin .22s ease, opacity .18s ease;
}

.kay-krw__card-head.is-open p {
  max-height: 80px;
  margin: 4px 0 0;
  opacity: 1;
}

.kay-krw__card-head h3::after {
  content: " +";
  color: var(--kay-teal);
  font-weight: 800;
}

.kay-krw__card-head.is-open h3::after {
  content: " -";
}

.kay-krw__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kay-krw__validation {
  display: grid;
  gap: 4px;
  margin: 10px 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(194, 62, 50, .24);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7f4 0%, #fff 100%);
  color: #942d24;
  box-shadow: 0 8px 18px rgba(134, 38, 30, .08);
}

.kay-krw__validation[hidden] {
  display: none;
}

.kay-krw__validation strong {
  font-size: 12px;
  text-transform: uppercase;
}

.kay-krw__validation span {
  font-size: 13px;
  font-weight: 700;
}

.kay-krw__grid label {
  display: grid;
  gap: 5px;
}

.kay-krw__grid label > span {
  font-size: 12px;
  font-weight: 800;
}

.kay-krw__grid input,
.kay-krw__grid select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--kay-line);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
}

.kay-krw__grid label.has-error input,
.kay-krw__grid label.has-error select,
.kay-krw__socket.has-error input,
.kay-krw__socket.has-error select {
  border-color: #c23e32;
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(194, 62, 50, .12);
}

.kay-krw__grid small {
  color: var(--kay-muted);
  font-size: 11px;
}

.kay-krw__state[data-kind="error"] {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(194, 62, 50, .28);
  border-radius: 10px;
  background: #fff4f2;
  color: #9f2f24;
  font-weight: 700;
}

.kay-krw__cart:disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.18);
}

.kay-krw__panel-toolbar {
  display: flex;
  margin-bottom: 7px;
}

.kay-krw__panel-toolbar button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--kay-teal);
  border-radius: 10px;
  background: var(--kay-teal);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.kay-krw__panel-toolbar button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.kay-krw__unit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 34px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(8, 114, 131, .20);
  border-radius: 999px;
  background: #e7f4f5;
  box-shadow: inset 0 1px 2px rgba(18,43,50,.08);
}

.kay-krw__unit-toggle button {
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: rgba(8, 82, 94, .72);
  font-size: 12px;
  font-weight: 850;
  line-height: 28px;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.kay-krw__unit-toggle button.is-active {
  background: var(--kay-teal);
  color: #fff;
  box-shadow: 0 2px 6px rgba(8,114,131,.20);
}

.kay-krw__panel-list {
  display: grid;
  gap: 5px;
}

.kay-krw__panel-item {
  display: grid;
  grid-template-columns: minmax(92px, .75fr) minmax(0, 2fr);
  gap: 7px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid var(--kay-line);
  border-radius: 10px;
  background: var(--kay-soft);
}

.kay-krw__panel-item.is-active {
  border-color: rgba(8, 114, 131, .55);
  background: #eefafa;
  box-shadow: inset 0 0 0 1px rgba(8, 114, 131, .18), 0 8px 18px rgba(8, 114, 131, .08);
}

.kay-krw__panel-item.is-panel-switching {
  animation: kay-panel-card-select 1.05s ease-out;
  transform-origin: center;
  position: relative;
  z-index: 5;
}

.kay-krw__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  margin: 0;
}

.kay-krw__panel-head strong {
  font-size: 12px;
  white-space: nowrap;
}

.kay-krw__panel-head button {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #9f2f24;
  cursor: pointer;
}

.kay-krw__panel-head button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.kay-krw__panel-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 6px;
}

.kay-krw__panel-fields label {
  display: grid;
  position: relative;
  gap: 0;
  min-width: 0;
}

.kay-krw__panel-fields label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.kay-krw__panel-fields input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--kay-line);
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
}

.kay-krw__panel-fields small {
  position: absolute;
  left: 0;
  top: calc(100% + 3px);
  z-index: 5;
  min-height: 0;
  padding: 3px 6px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(23, 52, 60, .12);
  color: var(--kay-muted);
  font-size: 10px;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  white-space: nowrap;
}

.kay-krw__panel-item:hover .kay-krw__panel-fields small,
.kay-krw__panel-fields label:focus-within small {
  opacity: .92;
}

.kay-krw__panel-item.is-editing .kay-krw__panel-fields small {
  opacity: .92;
}

.kay-krw__materials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.kay-krw__material-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--kay-line);
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
  padding-right: 7px;
}

.kay-krw__material-option.is-selected {
  border-color: var(--kay-teal);
  background: #edf8f7;
  box-shadow: inset 0 0 0 1px var(--kay-teal);
}

.kay-krw__materials button {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--kay-ink);
  cursor: pointer;
}

.kay-krw__materials [data-kay-material] {
  display: flex;
  align-items: center;
  padding: 0 10px;
  text-align: left;
}

.kay-krw__materials strong {
  font-size: 13px;
}

.kay-krw__material-info {
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  border: 1.5px solid var(--kay-teal) !important;
  border-radius: 50%;
  background: #fff;
  color: var(--kay-teal);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 7px rgba(8, 114, 131, .12);
}

.kay-krw__material-info:hover {
  background: #eefafa;
  box-shadow: 0 3px 10px rgba(8, 114, 131, .16);
}

.kay-krw__socket-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.kay-krw__socket-toolbar button,
.kay-krw__cart {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--kay-teal);
  border-radius: 10px;
  background: var(--kay-teal);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.kay-krw__socket-toolbar button + button {
  border-color: rgba(176, 71, 61, .34);
  background: #fff4f2;
  color: #a83d33;
}

.kay-krw__socket-toolbar [data-kay-clear-sockets] {
  border-color: rgba(176, 71, 61, .38);
  background: linear-gradient(180deg, #fff8f6 0%, #ffece8 100%);
  color: #9f2f24;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 6px 14px rgba(159,47,36,.10);
}

.kay-krw__socket-list {
  display: grid;
  gap: 7px;
}

.kay-krw__socket {
  padding: 8px 10px;
  border: 1px solid var(--kay-line);
  border-radius: 10px;
  background: var(--kay-soft);
}

.kay-krw__socket.has-error {
  border-color: #c23e32;
  background: #fff4f2;
}

.kay-krw__socket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.kay-krw__socket-head strong {
  font-size: 13px;
}

.kay-krw__socket-head button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #9f2f24;
  cursor: pointer;
}

.kay-krw__socket .kay-krw__grid--socket label > span {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-2px);
  transition: max-height .18s ease, opacity .18s ease, transform .18s ease;
}

.kay-krw__socket:hover .kay-krw__grid--socket label > span,
.kay-krw__socket:focus-within .kay-krw__grid--socket label > span {
  max-height: 18px;
  opacity: 1;
  transform: translateY(0);
}

.kay-krw__grid--socket {
  grid-template-columns: repeat(3, minmax(74px, 1fr));
  gap: 7px;
}

.kay-krw__grid--socket label {
  gap: 3px;
}

.kay-krw__grid--socket label > span {
  font-size: 10px;
}

.kay-krw__grid--socket input,
.kay-krw__grid--socket select {
  min-height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 15px;
}

.kay-krw__shape-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 74px;
  min-height: 36px;
  padding: 4px;
  border: 1px solid rgba(8, 114, 131, .18);
  border-radius: 999px;
  background: linear-gradient(180deg, #12a9bb 0%, #087283 100%);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.22), inset 0 -3px 5px rgba(18,43,50,.14), 0 7px 16px rgba(8,114,131,.16);
}

.kay-krw__shape-switch::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fffdf8 0%, #ded9cf 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 2px 5px rgba(18,43,50,.22);
  transition: left .18s ease, border-radius .18s ease, transform .18s ease;
}

.kay-krw__shape-switch:has(input[value="square"]:checked)::before {
  left: 40px;
  border-radius: 8px;
}

.kay-krw__shape-switch--toolbar {
  flex: 0 0 auto;
}

.kay-krw__shape-switch[hidden] {
  display: none !important;
}

.kay-krw__shape-switch label {
  display: block;
  min-width: 0;
  min-height: 28px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.kay-krw__shape-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kay-krw__shape-switch b {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  min-height: 28px;
  border-radius: 999px;
  cursor: pointer;
}

.kay-krw__shape-switch b::before {
  content: none;
}

.kay-krw__shape-switch input:checked + b {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.kay-krw__shape-switch input:focus-visible + b {
  outline: 2px solid rgba(8, 114, 131, .34);
  outline-offset: 2px;
}

.kay-krw__preview {
  position: sticky;
  top: 24px;
  align-self: start;
  max-height: calc(100vh - 48px);
  border-radius: 0;
  box-shadow: 0 18px 34px rgba(23, 52, 60, .16);
  overflow: auto;
}

body.kayproduktcusto-vnext-open .kay-krw__preview {
  top: 14px;
  max-height: calc(100vh - 28px);
}

.kay-krw__preview-head,
.kay-krw__preview-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--kay-muted);
  font-size: 12px;
}

.kay-krw__fullscreen-btn {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(15, 106, 122, .24);
  border-radius: 8px;
  background: var(--kay-teal);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.kay-krw__preview-head strong,
.kay-krw__preview-meta span {
  color: var(--kay-ink);
  font-weight: 800;
}

.kay-krw__preview-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid rgba(15, 106, 122, .22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(23, 52, 60, .10);
}

.kay-krw__preview-price small {
  color: var(--kay-muted);
  font-size: 10px;
  font-weight: 700;
}

.kay-krw__preview-price strong {
  color: var(--kay-teal);
  font-size: 16px;
}

.kay-krw__design-tools {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  align-items: center;
  margin-top: 12px;
  padding: 2px 2px 6px;
  overflow: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(8, 114, 131, .30) transparent;
}

#kay-krw-configurator.is-design-url-open .kay-krw__design-tools {
  padding-bottom: 6px;
}

.kay-krw__design-tools::-webkit-scrollbar {
  height: 6px;
}

.kay-krw__design-tools::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(8, 114, 131, .26);
}

.kay-krw__design-tools button,
.kay-krw__design-tools label {
  appearance: none;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  height: 32px;
  min-width: 72px;
  padding: 0 12px;
  border: 1px solid rgba(8, 114, 131, .20);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
  color: var(--kay-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 4px 10px rgba(18,43,50,.06);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .14s ease, border-color .14s ease, color .14s ease, background .14s ease, box-shadow .14s ease;
}

.kay-krw__design-tools label {
  min-width: 76px;
  border-color: rgba(8, 114, 131, .34);
  background: linear-gradient(180deg, #0b8294 0%, #087283 100%);
  color: #fff;
  box-shadow: 0 7px 14px rgba(8,114,131,.18);
}

.kay-krw__design-tools .kay-krw__fit-target {
  gap: 6px;
  min-width: 188px;
  padding: 0 8px;
  border-color: rgba(8, 114, 131, .22);
  background: #fff;
  color: var(--kay-muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 4px 10px rgba(18,43,50,.06);
  cursor: default;
}

.kay-krw__fit-target span {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
}

.kay-krw__fit-target select {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--kay-ink);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  outline: none;
  cursor: pointer;
}

.kay-krw__design-tools button[data-kay-design-action="open-gallery"],
.kay-krw__design-tools button[data-kay-design-action="add-motif"],
.kay-krw__design-tools button[data-kay-design-action="fit"],
.kay-krw__design-tools button[data-kay-design-action="fill"] {
  min-width: 82px;
}

.kay-krw__design-tools button[data-kay-design-action="zoom-out"],
.kay-krw__design-tools button[data-kay-design-action="zoom-in"] {
  width: 34px;
  min-width: 34px;
  padding: 0;
  font-size: 15px;
}

.kay-krw__design-tools .kay-krw__fit-target,
.kay-krw__design-tools button[data-kay-design-action="zoom-out"],
.kay-krw__design-tools button[data-kay-design-action="zoom-in"],
.kay-krw__design-tools button[data-kay-design-action="rotate"],
.kay-krw__design-tools button[data-kay-design-action="mirror"],
.kay-krw__design-tools button[data-kay-design-action="fit"],
.kay-krw__design-tools button[data-kay-design-action="fill"],
.kay-krw__design-tools button[data-kay-design-action="delete"],
.kay-krw__design-tools button[data-kay-design-action="reset"] {
  display: none !important;
}

.kay-krw__design-tools button[data-kay-design-action="use-url"],
.kay-krw__url-tools button[data-kay-design-action="use-url"] {
  min-width: 128px;
  border-color: rgba(8, 114, 131, .38);
  background: linear-gradient(180deg, #0b8294 0%, #087283 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(8,114,131,.18);
}

.kay-krw__design-tools input[type="file"],
.kay-krw__url-tools input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.kay-krw__design-tools input[data-kay-design-url],
.kay-krw__url-tools input[data-kay-design-url] {
  flex: 1 1 210px;
  box-sizing: border-box;
  height: 42px;
  width: min(100%, 420px);
  min-width: 220px;
  padding: 0 11px;
  border: 1px solid rgba(8, 114, 131, .20);
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(18,43,50,.05);
  color: var(--kay-ink);
  font-size: 11.5px;
  font-weight: 700;
}

.kay-krw__url-tools {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid rgba(8, 114, 131, .18);
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

#kay-krw-configurator.is-design-url-open [data-kay-design-action="open-upload"] {
  border-color: rgba(8, 114, 131, .44);
  background: #eefafa;
  color: var(--kay-teal-dark);
}

.kay-krw__url-tools[hidden] {
  display: none !important;
}

.kay-krw__design-tools button:hover,
.kay-krw__design-tools label:hover {
  border-color: var(--kay-teal);
  background: #f4fbfb;
  color: var(--kay-teal-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 18px rgba(8,114,131,.13);
  transform: translateY(-1px);
}

.kay-krw__design-tools label:hover {
  background: linear-gradient(180deg, #0a8ca0 0%, #075f6d 100%);
  color: #fff;
}

.kay-krw__motif-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 8px;
  padding: 5px;
  border: 1px solid rgba(8, 114, 131, .16);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  overflow-x: auto;
  scrollbar-width: thin;
}

.kay-krw__motif-strip[hidden] {
  display: none !important;
}

.kay-krw__motif-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: max-content;
  padding: 5px;
  border: 1px solid rgba(8, 114, 131, .13);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
}

.kay-krw__motif-row.is-active {
  border-color: rgba(8, 114, 131, .35);
  box-shadow: 0 0 0 1px rgba(8, 114, 131, .10);
}

.kay-krw__motif-chip,
.kay-krw__motif-mini,
.kay-krw__motif-target {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid rgba(8, 114, 131, .18);
  border-radius: 6px;
  background: #fff;
  color: var(--kay-ink);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.kay-krw__motif-target {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  min-width: 164px;
  padding: 0 6px;
  cursor: default;
}

.kay-krw__motif-target span {
  color: var(--kay-muted);
  font-size: 9px;
  font-weight: 850;
}

.kay-krw__motif-target select {
  min-width: 112px;
  border: 0;
  background: transparent;
  color: var(--kay-ink);
  font: inherit;
  font-weight: 850;
  outline: none;
}

.kay-krw__motif-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 59px;
  padding: 2px 7px 2px 2px;
}

.kay-krw__motif-chip img {
  width: 130px;
  height: 55px;
  border-radius: 5px;
  object-fit: cover;
}

.kay-krw__motif-chip.is-active {
  border-color: var(--kay-teal);
  color: var(--kay-teal-dark);
  box-shadow: inset 0 0 0 1px rgba(8,114,131,.55);
}

.kay-krw__motif-mini {
  min-width: 28px;
  height: 28px;
  padding: 0 5px;
}

.kay-krw__motif-mini--danger {
  border-color: rgba(176, 71, 61, .34);
  color: #9f2f24;
}

.kay-krw__glass-wrap {
  position: relative;
  margin: 34px 56px 54px 0;
  padding-right: 44px;
  padding-bottom: 42px;
}

.kay-krw__glass {
  position: relative;
  display: grid;
  width: 100%;
  max-height: calc(100vh - 210px);
  min-height: 90px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(23, 52, 60, .13);
  overflow: visible;
  cursor: crosshair;
  touch-action: none;
}

.kay-krw.is-motif-empty .kay-krw__glass {
  border-color: rgba(8, 114, 131, .30);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(233,245,247,.88)),
    repeating-linear-gradient(45deg, rgba(8,114,131,.045) 0, rgba(8,114,131,.045) 1px, transparent 1px, transparent 13px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.82), 0 18px 38px rgba(23, 52, 60, .13);
}

.kay-krw.is-motif-empty .kay-krw__glass::after {
  background:
    linear-gradient(90deg, rgba(8,114,131,.12) 0 1px, transparent 1px calc(100% - 1px), rgba(8,114,131,.12) calc(100% - 1px)),
    linear-gradient(0deg, rgba(8,114,131,.12) 0 1px, transparent 1px calc(100% - 1px), rgba(8,114,131,.12) calc(100% - 1px));
}

.kay-krw.has-motif .kay-krw__glass {
  border-color: rgba(23, 52, 60, .16);
  background:
    linear-gradient(135deg, rgba(247,251,251,.96), rgba(232,242,244,.72)),
    repeating-linear-gradient(45deg, rgba(23,52,60,.026) 0, rgba(23,52,60,.026) 1px, transparent 1px, transparent 14px);
}

.kay-krw.has-motif .kay-krw__glass::after {
  background:
    linear-gradient(90deg, rgba(23,52,60,.16) 0 1px, transparent 1px calc(100% - 1px), rgba(23,52,60,.16) calc(100% - 1px)),
    linear-gradient(0deg, rgba(23,52,60,.16) 0 1px, transparent 1px calc(100% - 1px), rgba(23,52,60,.16) calc(100% - 1px));
}

body.kayproduktcusto-vnext-open .kay-krw__glass {
  max-height: calc(100vh - 176px);
}

html.kay-krw-preview-open,
body.kay-krw-preview-open {
  overflow: hidden !important;
}

#kay-krw-configurator.is-preview-fullscreen .kay-krw__preview {
  position: fixed;
  inset: 10px;
  z-index: 2147483002;
  display: flex;
  flex-direction: column;
  max-height: none;
  padding: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 80px rgba(8, 20, 24, .42);
}

#kay-krw-configurator.is-preview-fullscreen .kay-krw__glass-wrap {
  display: grid;
  flex: 0 0 auto;
  min-height: 0;
  margin: 12px 46px 40px 0;
}

#kay-krw-configurator.is-preview-fullscreen .kay-krw__glass {
  align-self: center;
  max-height: calc(100vh - 170px);
}

#kay-krw-configurator.is-preview-fullscreen .kay-krw__design-tools {
  flex: 0 0 auto;
  margin-top: 10px;
}

.kay-krw__glass.is-dragging {
  cursor: grabbing;
}

.kay-krw__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  pointer-events: none;
}

.kay-krw__glass-panels {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.kay-krw__glass-panels span {
  position: relative;
  min-width: 4px;
  height: 100%;
  border-right: 0;
  background: transparent;
  overflow: visible;
}

.kay-krw__glass-panels .kay-krw__panel-gap {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  min-width: 0;
  height: auto;
  background: #fff;
  box-shadow: inset 1px 0 0 rgba(8, 114, 131, .58), inset -1px 0 0 rgba(8, 114, 131, .58);
  pointer-events: none;
}

.kay-krw__glass-panels span b {
  box-sizing: border-box;
  display: block;
  transition: border-color .18s ease, box-shadow .18s ease, outline-color .18s ease, background .18s ease;
}

.kay-krw__glass-panels.is-multipart span b {
  border: 1.5px dashed rgba(8, 114, 131, .68);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 0 0 1px rgba(8, 114, 131, .20), 0 10px 22px rgba(23, 52, 60, .08);
}

.kay-krw__glass-panels.is-multipart span {
  border-right: 0;
  background: transparent;
  box-shadow: none;
}

.kay-krw__glass-panels.is-multipart span:nth-child(even) {
  background: transparent;
}

.kay-krw__glass-panels.is-multipart span:last-child {
  border-right: 0;
}

#kay-krw-configurator.is-multipart-size .kay-krw__measure--width,
#kay-krw-configurator.is-multipart-size .kay-krw__measure--height {
  display: none;
}

#kay-krw-configurator.is-multipart-size .kay-krw__glass {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

#kay-krw-configurator.is-multipart-size .kay-krw__glass::after {
  opacity: 0;
}

.kay-krw__glass-panels.is-multipart span.is-active {
  z-index: 4;
}

.kay-krw__glass-panels.is-multipart span.is-active b {
  outline: 0;
  border-color: rgba(8, 114, 131, .92);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.88), 0 0 0 2px rgba(8, 114, 131, .40), 0 14px 30px rgba(23, 52, 60, .12);
}

.kay-krw__glass-panels.is-multipart span.is-panel-switching b,
.kay-krw__panel-motif-segment.is-panel-switching {
  animation: kay-panel-preview-select 1.05s ease-out;
  position: relative;
  z-index: 6;
}

#kay-krw-configurator.is-multipart-size .kay-krw__glass-panels span:not(.is-panel-switching) b {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 0 0 1px rgba(8, 114, 131, .24), 0 10px 22px rgba(23, 52, 60, .08) !important;
}

@keyframes kay-panel-card-select {
  0% {
    transform: scale(1);
    box-shadow: inset 0 0 0 1px rgba(8, 114, 131, .20), 0 0 0 0 rgba(8, 114, 131, .34);
  }
  18% {
    transform: scale(1.035);
    background: #d9f6f8;
    box-shadow: inset 0 0 0 3px rgba(8, 114, 131, .92), 0 0 0 9px rgba(8, 114, 131, .18), 0 12px 28px rgba(8, 114, 131, .22);
  }
  54% {
    transform: scale(1.018);
    background: #eefafa;
    box-shadow: inset 0 0 0 2px rgba(242, 201, 76, .90), 0 0 0 5px rgba(242, 201, 76, .18), 0 10px 24px rgba(8, 114, 131, .15);
  }
  100% {
    transform: scale(1);
    box-shadow: inset 0 0 0 1px rgba(8, 114, 131, .18), 0 8px 18px rgba(8, 114, 131, .08);
  }
}

@keyframes kay-panel-preview-select {
  0% {
    box-shadow: inset 0 0 0 1px rgba(8, 114, 131, .25), 0 0 0 0 rgba(8, 114, 131, .30);
    filter: saturate(1);
    transform: scale(1);
  }
  18% {
    box-shadow: inset 0 0 0 5px rgba(8, 114, 131, .96), 0 0 0 12px rgba(8, 114, 131, .20), 0 12px 28px rgba(8, 114, 131, .20);
    filter: saturate(1.18) contrast(1.06);
    transform: scale(1.024);
  }
  54% {
    box-shadow: inset 0 0 0 4px rgba(242, 201, 76, .94), 0 0 0 7px rgba(242, 201, 76, .20), 0 10px 22px rgba(8, 114, 131, .14);
    filter: saturate(1.12) contrast(1.04);
    transform: scale(1.014);
  }
  100% {
    box-shadow: inset 0 0 0 1px rgba(8, 114, 131, .45), 0 0 0 0 rgba(8, 114, 131, 0);
    filter: saturate(1);
    transform: scale(1);
  }
}

.kay-krw__panel-measure {
  position: absolute;
  z-index: 6;
  pointer-events: none;
}

.kay-krw__panel-measure--width {
  left: 0;
  right: 0;
  bottom: -30px;
  height: 22px;
  border-bottom: 1px solid rgba(8, 82, 94, .72);
}

.kay-krw__panel-measure--height {
  top: calc(100% - var(--kay-active-panel-height, 100%));
  right: -30px;
  bottom: 0;
  width: 22px;
  border-right: 1px solid rgba(8, 82, 94, .72);
}

.kay-krw__panel-measure::before,
.kay-krw__panel-measure::after {
  content: "";
  position: absolute;
  background: rgba(8, 82, 94, .72);
}

.kay-krw__panel-measure--width::before,
.kay-krw__panel-measure--width::after {
  bottom: -5px;
  width: 1px;
  height: 10px;
}

.kay-krw__panel-measure--width::before {
  left: 0;
}

.kay-krw__panel-measure--width::after {
  right: 0;
}

.kay-krw__panel-measure--height::before,
.kay-krw__panel-measure--height::after {
  right: -5px;
  width: 10px;
  height: 1px;
}

.kay-krw__panel-measure--height::before {
  top: 0;
}

.kay-krw__panel-measure--height::after {
  bottom: 0;
}

.kay-krw__panel-measure--width em {
  position: absolute;
  left: 50%;
  bottom: -11px;
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid rgba(8,82,94,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 14px rgba(18,43,50,.08);
  color: rgba(8, 82, 94, .92);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  transform: translateX(-50%);
}

.kay-krw__panel-measure--height em {
  position: absolute;
  top: 50%;
  right: -43px;
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid rgba(8,82,94,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 14px rgba(18,43,50,.08);
  color: rgba(8, 82, 94, .92);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
}

.kay-krw__motif-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  cursor: grab;
}

.kay-krw__motif-crop {
  position: absolute;
  display: block;
  overflow: hidden !important;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  mask-image: linear-gradient(#000, #000);
  -webkit-mask-image: linear-gradient(#000, #000);
  contain: paint;
  isolation: isolate;
  pointer-events: auto;
}

.kay-krw__motif-crop > [data-kay-motif-image] {
  max-width: none !important;
  max-height: none !important;
}

.kay-krw__panel-motif-layer {
  position: absolute;
  inset: 0;
  z-index: 78;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
}

.kay-krw__panel-motif-layer[hidden] {
  display: none !important;
}

.kay-krw__panel-motif-segment {
  position: relative;
  flex: 0 0 auto;
  min-width: 8px;
  overflow: hidden;
  background: #f9fcfd;
  border: 1.5px dashed rgba(8, 114, 131, .68);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 0 0 1px rgba(8, 114, 131, .20), 0 12px 24px rgba(23, 52, 60, .08);
  transition: border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

.kay-krw__panel-motif-segment img {
  position: absolute;
  max-width: none;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
}

.kay-krw__panel-motif-segment + .kay-krw__panel-motif-segment {
  border-left: 0;
}

.kay-krw__panel-motif-segment.is-active {
  z-index: 3;
  filter: saturate(1.03) contrast(1.02);
  border-color: rgba(8, 114, 131, .92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.88), 0 0 0 2px rgba(8, 114, 131, .40), 0 14px 30px rgba(23, 52, 60, .12);
}

#kay-krw-configurator.is-multipart-preview .kay-krw__motif-layer {
  z-index: 3;
  background: transparent;
}

.kay-krw__motif-layer.is-fabric [data-kay-motif-image],
.kay-krw__motif-layer.is-fabric [data-kay-fallback-motif-index] {
  display: none !important;
}

.kay-krw__motif-layer .canvas-container,
.kay-krw__motif-layer canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: auto !important;
}

.kay-krw__motif-layer .canvas-container {
  z-index: 4 !important;
}

.kay-krw__motif-layer .upper-canvas {
  z-index: 5 !important;
  cursor: move;
}

.kay-krw__motif-tools-layer {
  position: absolute;
  inset: 0;
  z-index: 9040;
  pointer-events: none;
}

.kay-krw__motif-resize-box {
  position: absolute;
  display: block;
  border: 1px dashed rgba(37, 62, 122, .82);
  box-shadow: none;
  pointer-events: none;
  --kay-resize-accent: #263f7d;
  --kay-resize-arrow: #32aed1;
}

.kay-krw__motif-resize-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(var(--kay-resize-accent), var(--kay-resize-accent)) left top / 18px 4px no-repeat,
    linear-gradient(var(--kay-resize-accent), var(--kay-resize-accent)) left top / 4px 18px no-repeat,
    linear-gradient(var(--kay-resize-accent), var(--kay-resize-accent)) right top / 18px 4px no-repeat,
    linear-gradient(var(--kay-resize-accent), var(--kay-resize-accent)) right top / 4px 18px no-repeat,
    linear-gradient(var(--kay-resize-accent), var(--kay-resize-accent)) left bottom / 18px 4px no-repeat,
    linear-gradient(var(--kay-resize-accent), var(--kay-resize-accent)) left bottom / 4px 18px no-repeat,
    linear-gradient(var(--kay-resize-accent), var(--kay-resize-accent)) right bottom / 18px 4px no-repeat,
    linear-gradient(var(--kay-resize-accent), var(--kay-resize-accent)) right bottom / 4px 18px no-repeat;
}

.kay-krw__motif-resize-box::after {
  content: none;
}

.kay-krw__motif-resize-handle {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  transition: transform .16s ease;
}

.kay-krw__glass:hover .kay-krw__motif-resize-handle,
.kay-krw__glass:focus-within .kay-krw__motif-resize-handle,
.kay-krw__motif-tools-layer:hover .kay-krw__motif-resize-handle,
.kay-krw__glass.is-dragging .kay-krw__motif-resize-handle {
  opacity: 1;
}

.kay-krw__motif-resize-handle:hover,
.kay-krw__motif-resize-handle:focus-visible {
  transform: scale(1.08);
}

.kay-krw__motif-resize-handle--nw {
  left: -18px;
  top: -18px;
  cursor: nwse-resize;
}

.kay-krw__motif-resize-handle--ne {
  right: -18px;
  top: -18px;
  cursor: nesw-resize;
}

.kay-krw__motif-resize-handle--se {
  right: -18px;
  bottom: -18px;
  cursor: nwse-resize;
}

.kay-krw__motif-resize-handle--sw {
  left: -18px;
  bottom: -18px;
  cursor: nesw-resize;
}

.kay-krw__layer-tools {
  display: none !important;
  position: absolute;
  z-index: 6;
  flex-wrap: wrap;
  gap: 5px;
  max-width: min(94%, 520px);
  padding: 6px;
  border: 1px solid rgba(15, 106, 122, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(8, 20, 24, .18);
  transform: translate(-50%, calc(-100% - 18px));
  cursor: default;
  pointer-events: auto;
}

.kay-krw__layer-tools button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(15, 106, 122, .22);
  border-radius: 7px;
  background: #fff;
  color: var(--kay-ink);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.kay-krw__layer-tools button:hover {
  border-color: var(--kay-teal);
  color: var(--kay-teal);
}

.kay-krw__layer-tools [data-kay-layer-action="delete"] {
  border-color: rgba(176, 71, 61, .34);
  color: #a83d33;
}

.kay-krw__motif-layer img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform-origin: center;
  user-select: none;
  will-change: transform;
  image-rendering: auto;
  filter: saturate(1.16) contrast(1.08) brightness(1.03);
  backface-visibility: hidden;
}

.kay-krw__motif-layer img.is-contain {
  object-fit: contain;
}

.kay-krw__motif-layer img.is-cover {
  object-fit: cover;
}

.kay-krw__motif-layer img.is-active {
  outline: 1px solid rgba(15, 106, 122, .18);
  outline-offset: -1px;
}

.kay-krw__motif-layer img[hidden] {
  display: none;
}

.kay-krw__glass-sockets {
  position: absolute;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.kay-krw__drag-measures[hidden] {
  display: none !important;
}

.kay-krw__drag-measures {
  position: absolute;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.kay-krw__drag-measures[data-mode="diameter"] .kay-krw__drag-measure,
.kay-krw__drag-measures[data-mode="move"] .kay-krw__drag-diameter {
  display: none;
}

.kay-krw__drag-measure--right,
.kay-krw__drag-measure--top {
  display: none !important;
}

.kay-krw__drag-measure {
  position: absolute;
  display: block;
  color: var(--kay-teal);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.kay-krw__drag-measure::before,
.kay-krw__drag-measure::after {
  content: "";
  position: absolute;
  background: var(--kay-teal);
}

.kay-krw__drag-measure b {
  position: absolute;
  display: inline-block;
  padding: 4px 7px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 106, 122, .16);
  white-space: nowrap;
}

.kay-krw__drag-measure--left,
.kay-krw__drag-measure--right {
  left: 0;
  height: 0;
  border-top: 2px dashed var(--kay-teal);
}

.kay-krw__drag-measure--left::before,
.kay-krw__drag-measure--left::after,
.kay-krw__drag-measure--right::before,
.kay-krw__drag-measure--right::after {
  top: -7px;
  width: 2px;
  height: 14px;
}

.kay-krw__drag-measure--left::before,
.kay-krw__drag-measure--right::before {
  left: 0;
}

.kay-krw__drag-measure--left::after,
.kay-krw__drag-measure--right::after {
  right: 0;
}

.kay-krw__drag-measure--left b {
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
}

.kay-krw__drag-measure--right b {
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}

.kay-krw__drag-measure--top,
.kay-krw__drag-measure--bottom {
  top: 0;
  width: 0;
  border-left: 2px dashed var(--kay-teal);
}

.kay-krw__drag-measure--top::before,
.kay-krw__drag-measure--top::after,
.kay-krw__drag-measure--bottom::before,
.kay-krw__drag-measure--bottom::after {
  left: -7px;
  width: 14px;
  height: 2px;
}

.kay-krw__drag-measure--top::before,
.kay-krw__drag-measure--bottom::before {
  top: 0;
}

.kay-krw__drag-measure--top::after,
.kay-krw__drag-measure--bottom::after {
  bottom: 0;
}

.kay-krw__drag-measure--top b {
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
}

.kay-krw__drag-measure--bottom b {
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.kay-krw__drag-diameter {
  position: absolute;
  display: block;
  height: 0;
  border-top: 2px solid rgba(15, 106, 122, .72);
  color: var(--kay-teal);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.kay-krw__drag-diameter::before,
.kay-krw__drag-diameter::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 2px;
  height: 16px;
  background: rgba(15, 106, 122, .72);
}

.kay-krw__drag-diameter::before {
  left: 0;
}

.kay-krw__drag-diameter::after {
  right: 0;
}

.kay-krw__drag-diameter b {
  position: absolute;
  left: 50%;
  top: -48px;
  display: inline-block;
  padding: 4px 7px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 106, 122, .16);
  transform: translateX(-50%);
  white-space: nowrap;
}

.kay-krw__preview-socket {
  position: absolute;
  display: flex;
  gap: 4px;
  pointer-events: auto;
  transform: translate(calc((var(--kay-socket-radius, 9px) + 4px) * -1), -50%);
  padding: 4px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  cursor: grab;
  touch-action: none;
  z-index: 3;
}

.kay-krw__preview-socket[data-orientation="vertical"] {
  flex-direction: column;
  transform: translate(-50%, calc((var(--kay-socket-radius, 9px) + 4px) * -1));
}

.kay-krw__preview-socket.has-error {
  box-shadow: 0 0 0 2px #c23e32;
}

.kay-krw__preview-socket i {
  position: relative;
  display: grid;
  place-items: center;
  border: 2px solid rgba(23, 52, 60, .48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.98), rgba(238,246,247,.94) 62%, rgba(209,229,232,.86) 100%);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.9),
    inset 0 -2px 3px rgba(8,114,131,.14),
    0 2px 4px rgba(18,43,50,.14);
  flex: 0 0 auto;
  box-sizing: border-box;
}

.kay-krw__preview-socket[data-shape="square"] {
  border-radius: 10px;
}

.kay-krw__preview-socket[data-shape="square"] i {
  border-radius: 9px;
  border-color: rgba(31, 80, 89, .78);
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(232,242,244,.92)),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.88), rgba(201,221,225,.42));
}

.kay-krw__socket-inner {
  position: relative;
  display: block;
  width: 52%;
  height: 52%;
  border: 1px solid rgba(23, 52, 60, .36);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.85), rgba(207,226,230,.30));
  box-shadow: inset 0 1px 2px rgba(18,43,50,.10);
}

.kay-krw__socket-inner em {
  position: absolute;
  top: 50%;
  width: 18%;
  height: 34%;
  border-radius: 999px;
  background: rgba(23, 52, 60, .48);
  transform: translateY(-50%);
}

.kay-krw__socket-inner em:first-child {
  left: 22%;
}

.kay-krw__socket-inner em:last-child {
  right: 22%;
}

.kay-krw__preview-socket b {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translate(-50%, -2px);
  white-space: nowrap;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--kay-teal);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.kay-krw__preview-socket:hover b,
.kay-krw__preview-socket:focus-within b,
.kay-krw__preview-socket.is-active b,
.kay-krw__glass.is-dragging .kay-krw__preview-socket b {
  opacity: 1;
  transform: translate(-50%, 0);
}

.kay-krw__diameter-handle {
  position: absolute;
  left: calc(4px + var(--kay-socket-diameter, 18px) + 8px);
  top: calc(4px + var(--kay-socket-diameter, 18px) + 8px);
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(15, 106, 122, .55);
  border-bottom: 1px solid rgba(15, 106, 122, .55);
  border-radius: 0 0 5px 0;
  background: transparent;
  opacity: .62;
  cursor: nwse-resize;
  z-index: 4;
}

.kay-krw__diameter-handle:hover {
  opacity: 1;
  border-color: var(--kay-teal);
}

.kay-krw__preview-socket[data-orientation="vertical"] .kay-krw__diameter-handle {
  top: calc(100% + 8px);
}

.kay-krw__measure {
  position: absolute;
  color: rgba(8, 82, 94, .82);
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}

.kay-krw__measure::before,
.kay-krw__measure::after {
  content: "";
  position: absolute;
  background: rgba(8, 82, 94, .72);
}

.kay-krw__measure--width {
  left: 0;
  right: 30px;
  bottom: 0;
  height: 22px;
  border-top: 1px solid rgba(8, 82, 94, .62);
  text-align: center;
}

.kay-krw__measure--width::before,
.kay-krw__measure--width::after {
  top: -6px;
  width: 1px;
  height: 12px;
}

.kay-krw__measure--width::before {
  left: 0;
}

.kay-krw__measure--width::after {
  right: 0;
}

.kay-krw__measure--width span {
  position: relative;
  top: 4px;
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid rgba(8,82,94,.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(18,43,50,.08);
}

.kay-krw__measure--height {
  top: 0;
  right: 0;
  bottom: 30px;
  width: 22px;
  border-left: 1px solid rgba(8, 82, 94, .62);
}

.kay-krw__measure--height::before,
.kay-krw__measure--height::after {
  left: -6px;
  width: 12px;
  height: 1px;
}

.kay-krw__measure--height::before {
  top: 0;
}

.kay-krw__measure--height::after {
  bottom: 0;
}

.kay-krw__measure--height span {
  position: absolute;
  top: 50%;
  left: 4px;
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid rgba(8,82,94,.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(18,43,50,.08);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: left center;
  white-space: nowrap;
}

.kay-krw__summary {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.kay-krw__checkout-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.kay-krw__checkout-compact > span {
  display: grid;
  min-width: 120px;
  padding: 8px 10px;
  border: 1px solid rgba(15, 106, 122, .22);
  border-radius: 8px;
  background: var(--kay-soft);
}

.kay-krw__checkout-compact small {
  color: var(--kay-muted);
  font-size: 10px;
  font-weight: 800;
}

.kay-krw__checkout-compact strong {
  color: var(--kay-teal);
  font-size: 16px;
}

.kay-krw__checkout-card .kay-krw__summary,
.kay-krw__checkout-card .kay-krw__state {
  display: none;
}

.kay-krw__checkout-card.is-open .kay-krw__summary {
  display: grid;
  margin-top: 12px;
}

.kay-krw__checkout-card.is-open .kay-krw__state {
  display: block;
}

.kay-krw__summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--kay-line);
}

.kay-krw__summary dt {
  color: var(--kay-muted);
}

.kay-krw__summary dd {
  margin: 0;
  font-weight: 800;
}

.kay-krw__state {
  margin: 10px 0 0;
  color: var(--kay-teal);
  font-weight: 700;
}

.kay-krw__modal[hidden] {
  display: none !important;
}

.kay-krw__modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 22px;
}

.kay-krw__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 52, 60, .42);
}

.kay-krw__modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(680px, calc(100vh - 44px));
  overflow: auto;
  padding: 24px;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 52, 60, .28);
}

.kay-krw__modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--kay-line);
  border-radius: 50%;
  background: #fff;
  color: var(--kay-ink);
  cursor: pointer;
}

.kay-krw__modal-body h3 {
  margin: 0 42px 12px 0;
  font-size: 22px;
}

.kay-krw__modal-body p {
  margin: 0 0 14px;
  color: var(--kay-muted);
}

.kay-krw__modal-body ul {
  margin: 0;
  padding-left: 18px;
}

.kay-krw__modal-body li + li {
  margin-top: 7px;
}

.kay-krw__cart-loading[hidden] {
  display: none !important;
}

.kay-krw__cart-loading {
  position: fixed;
  inset: 0;
  z-index: 2147483003;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 24, 30, .46);
  backdrop-filter: blur(7px);
}

.kay-krw__cart-loading-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(300px, calc(100vw - 48px));
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 80px rgba(10,24,30,.34);
  color: var(--kay-ink);
  text-align: center;
}

.kay-krw__cart-loading-card strong {
  font-size: 16px;
  font-weight: 900;
}

.kay-krw__cart-loading-card small {
  color: var(--kay-muted);
  font-size: 12px;
}

.kay-krw__cart-spinner {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(8,114,131,.16);
  border-top-color: var(--kay-teal);
  border-radius: 50%;
  animation: kayCartSpin .8s linear infinite;
}

@keyframes kayCartSpin {
  to {
    transform: rotate(360deg);
  }
}

.kay-krw__design-panel h3 {
  margin: 0 52px 18px 0;
  color: var(--kay-ink);
  font-size: 24px;
  font-weight: 850;
}

.kay-krw__design-panel {
  width: min(1180px, calc(100vw - 44px));
  max-height: min(860px, calc(100vh - 44px));
  padding: 28px;
  overflow: auto;
}

.kay-krw__upload-panel {
  width: min(680px, calc(100vw - 44px));
  padding: 30px;
}

.kay-krw__upload-panel h3 {
  margin: 0 42px 8px 0;
  color: var(--kay-ink);
  font-size: 24px;
  font-weight: 850;
}

.kay-krw__upload-panel p {
  margin: 0 0 18px;
  color: var(--kay-muted);
  font-size: 13px;
  font-weight: 700;
}

.kay-krw__upload-panel .kay-krw__url-tools {
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 16px;
  background: #f8fbfb;
}

.kay-krw__upload-panel [data-kay-upload-trigger] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 136px;
  padding: 0 18px;
  border: 1px solid rgba(8, 114, 131, .34);
  border-radius: 8px;
  background: linear-gradient(180deg, #0b8294 0%, #087283 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(8,114,131,.18);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.kay-krw__motive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.kay-krw__motive-filters[hidden] {
  display: none;
}

.kay-krw__motive-filters button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #e0d8cd;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(28, 42, 48, .04);
}

.kay-krw__motive-filters button:hover {
  border-color: var(--kay-teal);
  color: var(--kay-teal);
}

.kay-krw__motive-filters button.is-active {
  border-color: var(--kay-teal);
  background: var(--kay-teal);
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 116, 133, .18);
}

.kay-krw__design-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.kay-krw__design-gallery button {
  display: grid;
  gap: 9px;
  padding: 8px;
  border: 1px solid var(--kay-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(23, 52, 60, .06);
}

.kay-krw__design-gallery button:hover {
  border-color: var(--kay-teal);
  box-shadow: 0 14px 30px rgba(23, 52, 60, .14);
  transform: translateY(-1px);
}

.kay-krw__design-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--kay-soft);
}

.kay-krw__design-gallery span {
  overflow: hidden;
  color: var(--kay-muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  #kay-krw-configurator {
    width: min(100%, calc(100% - 18px));
    margin: 10px auto;
  }

  .kay-krw__modal {
    padding: 12px;
  }

  .kay-krw__design-panel {
    width: min(100%, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    padding: 20px;
  }

  .kay-krw__design-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .kay-krw__header,
  .kay-krw__layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kay-krw__price {
    min-width: 154px;
    padding: 10px 12px;
    text-align: left;
  }

  .kay-krw__price strong {
    font-size: 19px;
  }

  .kay-krw__grid,
  .kay-krw__materials,
  .kay-krw__grid--socket {
    grid-template-columns: 1fr;
  }

  .kay-krw__panel-item,
  .kay-krw__panel-fields {
    grid-template-columns: 1fr;
  }

  .kay-krw__preview {
    position: static;
  }

  .kay-krw__design-tools {
    flex-wrap: nowrap;
  }
}

@media (max-width: 767px) {
  .kayproduktcusto-original-add-to-cart {
    display: none !important;
    visibility: hidden !important;
  }

  #kb_custom_btn_link.kayproduktcusto-configure-button {
    display: inline-flex !important;
  }
}

body.kayproduktcusto-vnext-open #kay-krw-configurator {
  --kay-ink: #122b32;
  --kay-muted: #62757b;
  --kay-line: #d9e6e8;
  --kay-soft: #f7fafb;
  --kay-teal: #087283;
  --kay-teal-dark: #075968;
  --kay-focus: #f2c94c;
  width: min(1760px, calc(100vw - 36px));
  margin: 16px auto 26px;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body.kayproduktcusto-vnext-open .kay-krw__header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 82px;
  padding: 16px 18px 16px 20px;
  border-color: rgba(8, 114, 131, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 38px rgba(18, 43, 50, .10);
  backdrop-filter: blur(10px);
}

body.kayproduktcusto-vnext-open .kay-krw__eyebrow {
  color: var(--kay-teal);
  font-size: 11px;
  letter-spacing: 0;
}

body.kayproduktcusto-vnext-open .kay-krw__header h2 {
  color: var(--kay-ink);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
}

body.kayproduktcusto-vnext-open .kay-krw__header p {
  color: var(--kay-muted);
  font-size: 13px;
}

body.kayproduktcusto-vnext-open .kay-krw__price,
body.kayproduktcusto-vnext-open .kay-krw__preview-price,
body.kayproduktcusto-vnext-open .kay-krw__checkout-compact > span {
  border-color: rgba(8, 114, 131, .20);
  border-radius: 8px;
  background: #f8fbfb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(18,43,50,.08);
}

body.kayproduktcusto-vnext-open .kay-krw__price strong,
body.kayproduktcusto-vnext-open .kay-krw__preview-price strong,
body.kayproduktcusto-vnext-open .kay-krw__checkout-compact strong {
  color: var(--kay-teal-dark);
}

body.kayproduktcusto-vnext-open .kay-krw__layout {
  grid-template-columns: minmax(340px, 33%) minmax(620px, 67%);
  gap: 20px;
  align-items: start;
}

body.kayproduktcusto-vnext-open .kay-krw__steps {
  gap: 12px;
}

body.kayproduktcusto-vnext-open .kay-krw__card,
body.kayproduktcusto-vnext-open .kay-krw__preview {
  border-color: rgba(8, 114, 131, .14);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 26px rgba(18, 43, 50, .08);
}

body.kayproduktcusto-vnext-open .kay-krw__card {
  padding: 14px;
}

body.kayproduktcusto-vnext-open .kay-krw__card-head {
  align-items: center;
  margin-bottom: 10px;
}

body.kayproduktcusto-vnext-open .kay-krw__card-head > span {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 8px;
  background: var(--kay-teal);
  box-shadow: 0 8px 16px rgba(8,114,131,.22);
}

body.kayproduktcusto-vnext-open .kay-krw__card h3 {
  color: var(--kay-ink);
  font-size: 15px;
  font-weight: 800;
}

body.kayproduktcusto-vnext-open .kay-krw__panel-toolbar button,
body.kayproduktcusto-vnext-open .kay-krw__socket-toolbar button,
body.kayproduktcusto-vnext-open .kay-krw__cart,
body.kayproduktcusto-vnext-open .kay-krw__fullscreen-btn {
  border-radius: 8px;
  background: var(--kay-teal);
  box-shadow: 0 8px 16px rgba(8,114,131,.18);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

body.kayproduktcusto-vnext-open .kay-krw__panel-toolbar button:hover,
body.kayproduktcusto-vnext-open .kay-krw__socket-toolbar button:hover,
body.kayproduktcusto-vnext-open .kay-krw__cart:hover,
body.kayproduktcusto-vnext-open .kay-krw__fullscreen-btn:hover {
  background: var(--kay-teal-dark);
  box-shadow: 0 10px 22px rgba(8,114,131,.24);
  transform: translateY(-1px);
}

body.kayproduktcusto-vnext-open .kay-krw__panel-toolbar .kay-krw__unit-toggle button,
body.kayproduktcusto-vnext-open .kay-krw__panel-toolbar .kay-krw__unit-toggle button:hover {
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: rgba(8, 82, 94, .72);
  font-size: 12px;
  line-height: 28px;
  transform: none;
}

body.kayproduktcusto-vnext-open .kay-krw__panel-toolbar .kay-krw__unit-toggle button.is-active,
body.kayproduktcusto-vnext-open .kay-krw__panel-toolbar .kay-krw__unit-toggle button.is-active:hover {
  background: var(--kay-teal);
  color: #fff;
  box-shadow: 0 2px 6px rgba(8,114,131,.20);
}

body.kayproduktcusto-vnext-open .kay-krw__socket-toolbar button + button,
body.kayproduktcusto-vnext-open .kay-krw__design-tools button,
body.kayproduktcusto-vnext-open .kay-krw__design-tools label {
  border-radius: 8px;
  transition: transform .14s ease, border-color .14s ease, color .14s ease, background .14s ease, box-shadow .14s ease;
}

body.kayproduktcusto-vnext-open .kay-krw__socket-toolbar button + button:hover,
body.kayproduktcusto-vnext-open .kay-krw__design-tools button:hover,
body.kayproduktcusto-vnext-open .kay-krw__design-tools label:hover {
  border-color: var(--kay-teal);
  color: var(--kay-teal-dark);
  background: #f5fbfb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 18px rgba(8,114,131,.13);
  transform: translateY(-1px);
}

body.kayproduktcusto-vnext-open .kay-krw__design-tools label,
body.kayproduktcusto-vnext-open .kay-krw__design-tools label:hover {
  border-color: rgba(8, 114, 131, .34);
  background: linear-gradient(180deg, #0b8294 0%, #087283 100%);
  color: #fff;
  box-shadow: 0 7px 14px rgba(8,114,131,.18);
}

body.kayproduktcusto-vnext-open .kay-krw__design-tools .kay-krw__fit-target,
body.kayproduktcusto-vnext-open .kay-krw__design-tools .kay-krw__fit-target:hover {
  min-width: 188px;
  border-color: rgba(8, 114, 131, .22);
  background: #fff;
  color: var(--kay-muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 4px 10px rgba(18,43,50,.06);
  transform: none;
}

body.kayproduktcusto-vnext-open .kay-krw__design-tools {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
}

body.kayproduktcusto-vnext-open .kay-krw__design-tools input[data-kay-design-url] {
  border-radius: 8px;
  border-color: rgba(8, 114, 131, .20);
}

body.kayproduktcusto-vnext-open .kay-krw__panel-item,
body.kayproduktcusto-vnext-open .kay-krw__socket,
body.kayproduktcusto-vnext-open .kay-krw__material-option {
  border-radius: 8px;
  border-color: rgba(8, 114, 131, .14);
  background: #f8fbfb;
}

body.kayproduktcusto-vnext-open .kay-krw__material-option.is-selected {
  background: #eefafa;
  box-shadow: inset 0 0 0 1px var(--kay-teal), 0 8px 18px rgba(8,114,131,.08);
}

body.kayproduktcusto-vnext-open .kay-krw__panel-item.is-active {
  border-color: rgba(8, 114, 131, .55);
  background: #eefafa;
  box-shadow: inset 0 0 0 1px rgba(8, 114, 131, .18), 0 10px 22px rgba(8,114,131,.10);
}

body.kayproduktcusto-vnext-open .kay-krw__panel-fields input,
body.kayproduktcusto-vnext-open .kay-krw__grid input,
body.kayproduktcusto-vnext-open .kay-krw__grid select {
  border-radius: 8px;
  border-color: rgba(8, 114, 131, .16);
  box-shadow: inset 0 1px 2px rgba(18,43,50,.04);
  font-size: 16px;
}

body.kayproduktcusto-vnext-open .kay-krw__panel-fields input:focus,
body.kayproduktcusto-vnext-open .kay-krw__grid input:focus,
body.kayproduktcusto-vnext-open .kay-krw__grid select:focus,
body.kayproduktcusto-vnext-open .kay-krw__design-tools input[data-kay-design-url]:focus {
  outline: 3px solid rgba(242, 201, 76, .36);
  border-color: var(--kay-teal);
}

body.kayproduktcusto-vnext-open .kay-krw__socket-toolbar [data-kay-clear-sockets],
body.kayproduktcusto-vnext-open .kay-krw__socket-toolbar [data-kay-clear-sockets]:hover {
  border-color: rgba(176, 71, 61, .42);
  background: linear-gradient(180deg, #fff8f6 0%, #ffe8e3 100%);
  color: #9f2f24;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 7px 16px rgba(159,47,36,.12);
}

body.kayproduktcusto-vnext-open .kay-krw__socket-list {
  gap: 5px;
}

body.kayproduktcusto-vnext-open .kay-krw__socket {
  padding: 5px 7px;
}

body.kayproduktcusto-vnext-open .kay-krw__socket-head {
  min-height: 22px;
  margin-bottom: 4px;
  gap: 6px;
}

body.kayproduktcusto-vnext-open .kay-krw__socket-head strong {
  font-size: 12px;
  line-height: 1.15;
}

body.kayproduktcusto-vnext-open .kay-krw__socket-head button {
  width: 22px;
  height: 22px;
  font-size: 12px;
  line-height: 1;
}

body.kayproduktcusto-vnext-open .kay-krw__grid--socket {
  grid-template-columns: repeat(4, minmax(62px, 1fr));
  gap: 5px;
}

body.kayproduktcusto-vnext-open .kay-krw__grid--socket label {
  gap: 2px;
}

body.kayproduktcusto-vnext-open .kay-krw__grid--socket label > span {
  font-size: 9px;
  line-height: 1.1;
}

body.kayproduktcusto-vnext-open .kay-krw__grid--socket input,
body.kayproduktcusto-vnext-open .kay-krw__grid--socket select,
#kay-krw-configurator .kay-krw__grid--socket input,
#kay-krw-configurator .kay-krw__grid--socket select {
  min-height: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 12px;
}

#kay-krw-configurator input[type="number"] {
  -moz-appearance: textfield;
}

#kay-krw-configurator input[type="number"]::-webkit-outer-spin-button,
#kay-krw-configurator input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

#kay-krw-configurator .kay-krw__panel-fields input,
#kay-krw-configurator .kay-krw__grid input,
#kay-krw-configurator .kay-krw__grid select {
  font-size: 16px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__socket-list {
  gap: 4px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__socket {
  padding: 4px 6px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__socket-head {
  min-height: 20px;
  margin-bottom: 3px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__socket-head strong {
  font-size: 11px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__socket-head button {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__grid--socket {
  grid-template-columns: repeat(6, minmax(42px, 1fr));
  gap: 4px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__grid--socket label > span,
body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__socket:hover .kay-krw__grid--socket label > span,
body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__socket:focus-within .kay-krw__grid--socket label > span {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__grid--socket input,
body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__grid--socket select {
  min-height: 28px;
  height: 28px;
  padding: 0 5px;
  border-radius: 5px;
  font-size: 12px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__socket {
  padding: 4px 5px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__socket-head {
  min-height: 18px;
  margin-bottom: 2px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__socket-head strong {
  font-size: 11px;
  line-height: 1;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__socket-head button {
  width: 18px;
  height: 18px;
  font-size: 10px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__grid--socket {
  grid-template-columns: minmax(64px, .72fr) minmax(78px, .82fr) minmax(78px, .82fr) repeat(4, minmax(46px, .68fr));
  gap: 3px;
  align-items: center;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__grid--socket input,
body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__grid--socket select {
  min-width: 0;
  min-height: 26px;
  height: 26px;
  padding: 0 4px;
  border-radius: 5px;
  font-size: 11px;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__grid--socket select {
  padding-right: 2px;
}

body.kayproduktcusto-vnext-open .kay-krw__preview {
  top: 12px;
  padding: 18px;
  max-height: calc(100vh - 24px);
  background: #ffffff;
}

body.kayproduktcusto-vnext-open .kay-krw__preview-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(8, 114, 131, .12);
}

body.kayproduktcusto-vnext-open .kay-krw__glass-wrap {
  margin: 34px 46px 40px 0;
}

body.kayproduktcusto-vnext-open .kay-krw__glass {
  border: 1px solid transparent;
  background: #fff;
  box-shadow: 0 18px 34px rgba(18, 43, 50, .13);
}

body.kayproduktcusto-vnext-open .kay-krw__glass::after {
  background: transparent;
}

body.kayproduktcusto-vnext-open .kay-krw.has-motif .kay-krw__glass {
  border-color: rgba(23, 52, 60, .16);
  background:
    linear-gradient(135deg, rgba(247,251,251,.96), rgba(232,242,244,.72)),
    repeating-linear-gradient(45deg, rgba(23,52,60,.026) 0, rgba(23,52,60,.026) 1px, transparent 1px, transparent 14px);
}

body.kayproduktcusto-vnext-open .kay-krw.has-motif .kay-krw__glass::after {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(23,52,60,.16) 0 1px, transparent 1px calc(100% - 1px), rgba(23,52,60,.16) calc(100% - 1px)),
    linear-gradient(0deg, rgba(23,52,60,.16) 0 1px, transparent 1px calc(100% - 1px), rgba(23,52,60,.16) calc(100% - 1px));
}

body.kayproduktcusto-vnext-open .kay-krw.is-motif-empty .kay-krw__glass {
  border-color: rgba(8, 114, 131, .30);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(233,245,247,.88)),
    repeating-linear-gradient(45deg, rgba(8,114,131,.045) 0, rgba(8,114,131,.045) 1px, transparent 1px, transparent 13px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.82), 0 18px 38px rgba(23, 52, 60, .13);
}

body.kayproduktcusto-vnext-open .kay-krw.is-motif-empty .kay-krw__glass::after {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(8,114,131,.12) 0 1px, transparent 1px calc(100% - 1px), rgba(8,114,131,.12) calc(100% - 1px)),
    linear-gradient(0deg, rgba(8,114,131,.12) 0 1px, transparent 1px calc(100% - 1px), rgba(8,114,131,.12) calc(100% - 1px));
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__glass {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size .kay-krw__glass::after {
  opacity: 0;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size.has-motif .kay-krw__glass {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size.has-motif .kay-krw__glass::after {
  opacity: 0;
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size.is-motif-empty .kay-krw__glass {
  border-color: rgba(8, 114, 131, .30);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(233,245,247,.88)),
    repeating-linear-gradient(45deg, rgba(8,114,131,.045) 0, rgba(8,114,131,.045) 1px, transparent 1px, transparent 13px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.82), 0 18px 38px rgba(23, 52, 60, .13);
}

body.kayproduktcusto-vnext-open #kay-krw-configurator.is-multipart-size.is-motif-empty .kay-krw__glass::after {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(8,114,131,.12) 0 1px, transparent 1px calc(100% - 1px), rgba(8,114,131,.12) calc(100% - 1px)),
    linear-gradient(0deg, rgba(8,114,131,.12) 0 1px, transparent 1px calc(100% - 1px), rgba(8,114,131,.12) calc(100% - 1px));
}

body.kayproduktcusto-vnext-open .kay-krw__preview-socket {
  background: transparent;
  box-shadow: none;
}

body.kayproduktcusto-vnext-open .kay-krw__preview-socket i {
  border-color: rgba(23, 52, 60, .54);
  border-width: 2px;
}

body.kayproduktcusto-vnext-open .kay-krw__measure {
  color: rgba(8, 82, 94, .82);
}

body.kayproduktcusto-vnext-open .kay-krw__measure::before,
body.kayproduktcusto-vnext-open .kay-krw__measure::after {
  background: rgba(8, 82, 94, .72);
}

body.kayproduktcusto-vnext-open .kay-krw__measure--width,
body.kayproduktcusto-vnext-open .kay-krw__measure--height {
  border-color: rgba(8, 82, 94, .62);
}

body.kayproduktcusto-vnext-open .kay-krw__measure span {
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(18,43,50,.08);
}

body.kayproduktcusto-vnext-open .kay-krw__modal-panel {
  border-radius: 8px;
  border: 1px solid rgba(8, 114, 131, .14);
}

@media (max-width: 1180px) {
  body.kayproduktcusto-vnext-open .kay-krw__layout {
    grid-template-columns: minmax(300px, 38%) minmax(480px, 62%);
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools {
    flex-wrap: nowrap;
  }
}

@media (max-width: 900px) {
  body.kayproduktcusto-vnext-open #kay-krw-configurator {
    width: min(100%, calc(100vw - 16px));
    margin: 8px auto 18px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__header {
    position: relative;
  }

  body.kayproduktcusto-vnext-open .kay-krw__layout {
    grid-template-columns: 1fr;
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools {
    flex-wrap: nowrap;
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools input[data-kay-design-url] {
    width: min(180px, 50vw);
    min-width: 136px;
  }
}

@media (max-width: 1024px) {
  body.kayproduktcusto-vnext-open .kayproduktcusto-vnext-panel {
    background: #eef3f4;
  }

  body.kayproduktcusto-vnext-open #kay-krw-configurator {
    width: min(100%, calc(100vw - 14px));
    margin: 6px auto 12px;
    font-size: 12px;
    line-height: 1.28;
  }

  body.kayproduktcusto-vnext-open .kay-krw__header {
    min-height: 0;
    padding: 8px 10px;
    border-radius: 8px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__header h2 {
    font-size: 18px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__header p {
    font-size: 11px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__steps {
    display: contents;
  }

  body.kayproduktcusto-vnext-open .kay-krw__steps > .kay-krw__card {
    order: 1;
  }

  body.kayproduktcusto-vnext-open .kay-krw__preview {
    order: 2;
    position: static;
    max-height: none;
    padding: 10px;
    overflow: visible;
  }

  body.kayproduktcusto-vnext-open .kay-krw__checkout-card {
    order: 3 !important;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card {
    padding: 9px 10px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card-head {
    gap: 7px;
    margin-bottom: 7px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card-head > span {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 12px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card h3 {
    font-size: 13px;
    line-height: 1.18;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card p {
    font-size: 11px;
    line-height: 1.25;
  }

  body.kayproduktcusto-vnext-open .kay-krw__panel-toolbar,
  body.kayproduktcusto-vnext-open .kay-krw__socket-toolbar {
    gap: 6px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__panel-toolbar > button,
  body.kayproduktcusto-vnext-open .kay-krw__socket-toolbar > button {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__panel-fields,
  body.kayproduktcusto-vnext-open .kay-krw__grid,
  body.kayproduktcusto-vnext-open .kay-krw__materials {
    gap: 6px;
  }

  body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__panel-fields input,
  body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__grid input,
  body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__grid select {
    min-height: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__preview-head,
  body.kayproduktcusto-vnext-open .kay-krw__preview-meta {
    gap: 6px;
    font-size: 11px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__preview-head strong {
    font-size: 12px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__fullscreen-btn {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__glass-wrap {
    margin: 22px 30px 26px 0;
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    margin-top: 7px;
    padding: 0;
    overflow: visible;
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools button,
  body.kayproduktcusto-vnext-open .kay-krw__design-tools label {
    width: 100%;
    min-width: 0 !important;
    height: 28px;
    min-height: 28px;
    padding: 0 5px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1.05;
    white-space: normal;
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools .kay-krw__fit-target {
    grid-column: span 2;
    gap: 4px;
    padding: 0 6px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__fit-target span {
    font-size: 9px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__fit-target select {
    font-size: 10px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools button[data-kay-design-action="zoom-out"],
  body.kayproduktcusto-vnext-open .kay-krw__design-tools button[data-kay-design-action="zoom-in"] {
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__motif-strip {
    gap: 4px;
    margin-top: 6px;
    overflow-x: auto;
  }

  body.kayproduktcusto-vnext-open .kay-krw__motif-chip {
    min-height: 59px;
    padding: 2px 5px 2px 2px;
    font-size: 10px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__motif-chip img {
    width: 130px;
    height: 55px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__motif-mini {
    min-width: 27px;
    height: 27px;
    padding: 0 4px;
    font-size: 9px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__motif-target {
    height: 28px;
    min-width: 148px;
    padding: 0 5px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__motif-target select {
    min-width: 102px;
    font-size: 9px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__checkout-compact {
    gap: 6px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__checkout-compact > span {
    min-height: 42px;
    padding: 6px 8px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__cart {
    min-height: 42px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  body.kayproduktcusto-vnext-open #kay-krw-configurator {
    width: min(100%, calc(100vw - 10px));
    margin: 4px auto 10px;
    font-size: 11.5px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__header {
    display: none;
  }

  body.kayproduktcusto-vnext-open .kay-krw__layout {
    gap: 6px;
    margin-top: 0;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card,
  body.kayproduktcusto-vnext-open .kay-krw__preview {
    padding: 8px;
    border-radius: 8px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card-head {
    margin-bottom: 5px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card-head > span {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    border-radius: 6px;
    font-size: 11px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card h3 {
    font-size: 12px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__card p,
  body.kayproduktcusto-vnext-open .kay-krw__panel-fields small {
    font-size: 10px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__materials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.kayproduktcusto-vnext-open .kay-krw__material-option button:first-child {
    min-height: 32px;
    padding: 0 8px;
    font-size: 11px;
  }

  body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__panel-fields input,
  body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__grid input,
  body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__grid select {
    min-height: 30px;
    height: 30px;
    font-size: 12px;
  }

  body.kayproduktcusto-vnext-open #kay-krw-configurator .kay-krw__grid--socket {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.kayproduktcusto-vnext-open .kay-krw__preview-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  body.kayproduktcusto-vnext-open .kay-krw__preview-head > span {
    font-size: 10px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__preview-head strong {
    font-size: 11px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__fullscreen-btn {
    grid-column: 1 / -1;
    justify-self: stretch;
    min-height: 26px;
    font-size: 10px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__glass-wrap {
    margin: 18px 24px 22px 0;
  }

  body.kayproduktcusto-vnext-open .kay-krw__measure span {
    font-size: 10px;
    padding: 3px 6px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools button,
  body.kayproduktcusto-vnext-open .kay-krw__design-tools label {
    height: 25px;
    min-height: 25px;
    padding: 0 3px;
    font-size: 9px;
    border-radius: 5px;
  }

  body.kayproduktcusto-vnext-open #kay-krw-configurator.is-design-url-open .kay-krw__design-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.kayproduktcusto-vnext-open .kay-krw__design-tools input[data-kay-design-url] {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    height: 30px;
    font-size: 10px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__preview-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    font-size: 10px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__preview-price {
    grid-column: 1 / -1;
    margin-left: 0;
    padding: 5px 7px;
  }

  body.kayproduktcusto-vnext-open .kay-krw__checkout-compact {
    grid-template-columns: 1fr;
  }

  body.kayproduktcusto-vnext-open .kay-krw__checkout-compact strong {
    font-size: 16px;
  }
}
