.kfo-configurator {
  margin: 1rem 0;
  clear: both;
  color: #222;
}

.kfo-configurator * {
  box-sizing: border-box;
}

.kfo-card {
  position: relative;
  border: 1px solid #e7e2dc;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.045);
}

.kfo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.kfo-header h3,
.kfo-section-heading h4 {
  margin: 0;
  color: #151515;
}

.kfo-header h3 {
  font-size: 20px;
  line-height: 1.3;
}

.kfo-header-note,
.kfo-section-heading p,
.kfo-muted,
.kfo-help {
  color: #666;
  line-height: 1.45;
}

.kfo-header-note {
  margin: 5px 0 0;
  font-size: 13px;
}

.kfo-eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #777;
}

.kfo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.kfo-section {
  border-top: 1px solid #eee9e3;
  padding: 18px 0;
}

.kfo-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.kfo-section-heading {
  margin-bottom: 12px;
}

.kfo-section-heading h4 {
  font-size: 16px;
  line-height: 1.35;
}

.kfo-section-heading p {
  margin: 4px 0 0;
  font-size: 13px;
}

.kfo-dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kfo-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
}

.kfo-input-action {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.kfo-input-action input {
  min-width: 90px;
  flex: 1 1 auto;
  height: 42px;
  border: 1px solid #d6d0c8;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #222;
}

.kfo-input-action input:disabled {
  background: #f6f3ef;
  color: #555;
}


.kfo-input-action {
  flex-wrap: wrap;
}

.kfo-input-action input.has-error,
.kfo-input-action input.has-error:focus {
  border-color: #ff3b30;
  box-shadow: none;
  outline: none;
}

.kfo-help {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.kfo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, opacity .16s ease;
}

.kfo-btn--secondary {
  background: #222;
  color: #fff;
}

.kfo-btn--ghost {
  background: #fff;
  color: #222;
  border-color: #d6d0c8;
}

.kfo-btn.is-confirmed {
  background: #ffffff;
  border-color: #cfd8e3;
  color: #111827;
}

.kfo-btn.is-confirmed::before {
  content: "✓";
  display: inline-block;
  margin-right: 6px;
  color: #16a34a;
  font-weight: 900;
}

.kfo-input-action input.is-confirmed {
  background: #f3f4f6;
  color: #374151;
}

.kfo-btn--primary {
  width: 100%;
  background: #111;
  color: #fff;
  min-height: 48px;
}

.kfo-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.kfo-hidden {
  display: none !important;
}

.kfo-locked-area {
  transition: opacity .18s ease, filter .18s ease;
}

.kfo-locked-area.is-disabled {
  opacity: .48;
  filter: grayscale(10%);
  pointer-events: none;
  user-select: none;
}

.kfo-accordion-list {
  display: grid;
  gap: 10px;
}

.kfo-accordion {
  border: 1px solid #e1dbd3;
  border-radius: 12px;
  background: #fff;
  overflow: visible;
}

.kfo-accordion__toggle {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #faf8f5;
  border: 0;
  color: #222;
  text-align: left;
  cursor: pointer;
}

.kfo-accordion__toggle strong {
  display: block;
  font-size: 15px;
}

.kfo-accordion__toggle em {
  display: block;
  margin-top: 3px;
  color: #666;
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}

.kfo-accordion__icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  position: relative;
}

.kfo-accordion__icon:before,
.kfo-accordion__icon:after {
  content: '';
  position: absolute;
  background: #222;
  border-radius: 1px;
  transition: transform .16s ease;
}

.kfo-accordion__icon:before {
  top: 8px;
  left: 3px;
  width: 12px;
  height: 2px;
}

.kfo-accordion__icon:after {
  top: 3px;
  left: 8px;
  width: 2px;
  height: 12px;
}

.kfo-accordion.is-open .kfo-accordion__icon:after {
  transform: scaleY(0);
}

.kfo-accordion__body {
  padding: 12px;
  background: #fff;
}

.kfo-option-list {
  display: grid;
  gap: 10px;
}

.kfo-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 74px;
  padding: 10px;
  border: 1px solid #e7e2dc;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.kfo-option:hover,
.kfo-option.is-selected {
  border-color: #222;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
}

.kfo-option.is-selected {
  background: #fcfaf7;
}

.kfo-option input[type="radio"] {
  margin-top: 26px;
  accent-color: #111;
}

.kfo-option__media {
  position: relative;
  width: 72px;
  height: 54px;
}

.kfo-thumb {
  display: block;
  width: 72px;
  height: 54px;
  padding: 0;
  border: 1px solid #ddd7cf;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f3ef;
  cursor: zoom-in;
}

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

.kfo-thumb--empty:before {
  content: 'brak zdjęcia';
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 4px;
  font-size: 10px;
  color: #777;
  text-align: center;
}

.kfo-option__content {
  min-width: 0;
}

.kfo-option__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #222;
}

.kfo-option__desc,
.kfo-option__tip {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 12px;
  line-height: 1.38;
}

.kfo-option__tip {
  color: #8a6b36;
}

.kfo-option__price {
  display: block;
  min-width: 64px;
  min-height: 18px;
  padding-top: 1px;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.kfo-surcharge-list {
  display: grid;
  gap: 6px;
}

.kfo-surcharge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.35;
}

.kfo-surcharge-row strong {
  white-space: nowrap;
}

.kfo-surcharge-row--total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #e1dbd3;
  font-weight: 700;
}

.kfo-preview-popover {
  position: fixed;
  z-index: 9999;
  width: min(320px, calc(100vw - 28px));
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ddd7cf;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
  pointer-events: none;
}

.kfo-preview-popover:before {
  content: '';
  position: absolute;
  top: 22px;
  left: -8px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid #ddd7cf;
  border-bottom: 1px solid #ddd7cf;
  transform: rotate(45deg);
}

.kfo-preview-popover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  border-radius: 8px;
}

.kfo-preview-popover__caption {
  margin-top: 6px;
  font-size: 12px;
  color: #555;
  text-align: center;
}

.kfo-dependent-empty,
.kfo-surcharge-box,
.kfo-summary-box {
  border: 1px dashed #d8d1c8;
  border-radius: 12px;
  padding: 12px;
  background: #fbfaf8;
  color: #666;
  font-size: 13px;
}

.kfo-dependent-group {
  border: 1px solid #e1dbd3;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.kfo-dependent-group__head {
  margin-bottom: 10px;
}

.kfo-dependent-group__head strong,
.kfo-dependent-group__head span {
  display: block;
}

.kfo-dependent-group__head span {
  margin-top: 3px;
  color: #666;
  font-size: 12px;
}

.kfo-summary-box p {
  margin: 4px 0;
}

.kfo-actions {
  padding-top: 2px;
}

.kfo-actions .kfo-muted {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
}

.kfo-mobile-preview {
  display: none;
}

.kfo-native-cart-hidden {
  display: none !important;
}

/* v1.7.16: natywny blok zakupu ukrywamy wyłącznie dla strony produktu,
   na której realnie istnieje aktywny root konfiguratora obrusów.
   JS dodatkowo dodaje klasę body.kfo-active-product-configurator po weryfikacji ID produktu. */
body#product.kfo-active-product-configurator form#add-to-cart-or-refresh .product-add-to-cart,
body#product.kfo-active-product-configurator form#add-to-cart-or-refresh .product-quantity,
body#product.kfo-active-product-configurator .product-actions .product-add-to-cart,
body#product.kfo-active-product-configurator .product-actions .product-quantity,
body#product:has(#kfo-configurator[data-kfo-product]) form#add-to-cart-or-refresh .product-add-to-cart,
body#product:has(#kfo-configurator[data-kfo-product]) form#add-to-cart-or-refresh .product-quantity,
body#product:has(#kfo-configurator[data-kfo-product]) .product-actions .product-add-to-cart,
body#product:has(#kfo-configurator[data-kfo-product]) .product-actions .product-quantity {
  display: none !important;
}

@media (min-width: 768px) {
  .kfo-option:hover .kfo-thumb:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    box-shadow: inset 0 0 0 2px #111;
    pointer-events: none;
  }
}

@media (max-width: 991px) {
  .kfo-dimension-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .kfo-configurator {
    margin: 12px 0;
  }

  .kfo-card {
    padding: 14px;
    border-radius: 12px;
  }

  .kfo-header {
    flex-direction: column;
    gap: 8px;
  }

  .kfo-input-action {
    flex-direction: column;
  }

  .kfo-btn {
    width: 100%;
  }

  .kfo-option {
    grid-template-columns: auto 64px minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
  }

  .kfo-option__media,
  .kfo-thumb {
    width: 64px;
    height: 50px;
  }

  .kfo-option input[type="radio"] {
    margin-top: 23px;
  }

  .kfo-mobile-preview {
    position: sticky;
    top: 0;
    z-index: 50;
    display: none;
    margin: -2px 0 12px;
    padding: 8px;
    border: 1px solid #ddd7cf;
    border-radius: 12px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  }

  .kfo-mobile-preview.is-visible {
    display: block;
  }

  .kfo-mobile-preview img {
    display: block;
    width: 100%;
    max-height: 42vh;
    object-fit: contain;
    border-radius: 9px;
    background: #f7f3ef;
  }

  .kfo-mobile-preview__caption {
    margin-top: 6px;
    padding-right: 34px;
    font-size: 12px;
    color: #555;
  }

  .kfo-mobile-preview__close {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
}

.kfo-dependent-section[hidden] {
  display: none !important;
}

.kfo-dimensions {
  padding-top: 0;
}

.kfo-dimension-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.kfo-field label {
  font-weight: 700;
  color: #151515;
}

@media (max-width: 767px) {
  .kfo-input-action {
    flex-direction: row;
    align-items: stretch;
  }

  .kfo-input-action input {
    min-width: 0;
  }

  .kfo-input-action .kfo-btn {
    width: auto;
    flex: 0 0 auto;
    padding-left: 12px;
    padding-right: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .kfo-input-action {
    flex-direction: column;
  }

  .kfo-input-action .kfo-btn {
    width: 100%;
  }
}

body#product .kfo-configurator,
body#product .kfo-configurator * {
  text-align: left;
}

body#product .kfo-configurator {
  width: 100%;
  max-width: 620px;
  margin: 18px 0 20px;
  color: #111827;
}

body#product .kfo-card {
  padding: 16px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body#product .kfo-section {
  border-top: 1px solid #e5e7eb;
  padding: 14px 0;
}

body#product .kfo-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

body#product .kfo-section-heading h4 {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

body#product .kfo-field label {
  margin: 0 0 7px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

body#product .kfo-input-action {
  gap: 10px;
}

body#product .kfo-input-action input {
  height: 42px;
  min-height: 42px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
  font-size: 15px;
  box-shadow: none;
}

body#product .kfo-input-action input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.10);
  outline: none;
}

body#product .kfo-input-action input:disabled {
  background: #f9fafb;
  color: #374151;
  opacity: 1;
}

body#product .kfo-btn {
  border-radius: 10px;
  font-weight: 800;
}

body#product .kfo-btn--secondary {
  background: #111827;
  color: #ffffff;
}

body#product .kfo-btn--ghost {
  background: #ffffff;
  color: #111827;
  border-color: #cfd8e3;
}

body#product .kfo-btn--primary {
  background: #111827;
  color: #ffffff;
}

body#product .kfo-accordion-list {
  gap: 8px;
}

body#product .kfo-accordion {
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #ffffff;
}

body#product .kfo-accordion__toggle {
  min-height: 54px;
  padding: 12px 14px;
  background: #f9fafb;
  color: #111827;
}

body#product .kfo-accordion__toggle strong {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

body#product .kfo-accordion__toggle em {
  color: #4b5563;
  font-size: 12px;
  line-height: 1.35;
}

body#product .kfo-accordion__body {
  padding: 10px;
  background: #ffffff;
}

body#product .kfo-option {
  grid-template-columns: auto 72px minmax(0, 1fr) 72px;
  align-items: center;
  min-height: 64px;
  padding: 9px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #ffffff;
}

body#product .kfo-option:hover,
body#product .kfo-option.is-selected {
  border-color: #111827;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

body#product .kfo-option.is-selected {
  background: #f9fafb;
}

body#product .kfo-option input[type="radio"] {
  margin-top: 0;
  accent-color: #111827;
}

body#product .kfo-option__content {
  min-width: 0;
  text-align: left;
}

body#product .kfo-option__title {
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

body#product .kfo-option__desc,
body#product .kfo-option__tip {
  color: #374151;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

body#product .kfo-option__tip {
  color: #7c5b16;
}

body#product .kfo-option__price {
  min-width: 64px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

body#product .kfo-surcharge-row--total {
  border-top-color: #dbe4f0;
}

body#product .kfo-thumb {
  border-color: #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
}

body#product .kfo-preview-popover {
  z-index: 2147482000;
  width: var(--kfo-preview-popover-width, 432px);
  max-width: min(var(--kfo-preview-popover-width, 432px), 60vw);
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.24);
  overflow: visible;
}

body#product .kfo-preview-popover:before {
  display: none;
}

body#product .kfo-preview-popover:after {
  content: '';
  position: absolute;
  top: var(--kfo-preview-arrow-y, 50%);
  width: 0;
  height: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

body#product .kfo-preview-popover.is-left:after {
  right: -12px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid #ffffff;
}

body#product .kfo-preview-popover.is-right:after {
  left: -12px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid #ffffff;
}

body#product .kfo-preview-popover img {
  width: 100%;
  height: auto;
  max-height: var(--kfo-preview-image-max-height, 552px);
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}

body#product .kfo-preview-popover__caption {
  margin-top: 6px;
  color: #374151;
  font-size: 12px;
  text-align: center;
}

body#product .kfo-dependent-empty,
body#product .kfo-surcharge-box,
body#product .kfo-summary-box {
  border-color: #dbe4f0;
  background: #f9fafb;
  color: #374151;
}

@media (max-width: 767px) {
  body#product .kfo-card {
    padding: 14px;
  }

  body#product .kfo-input-action {
    flex-direction: row;
  }

  body#product .kfo-input-action input {
    min-width: 0;
  }

  body#product .kfo-input-action .kfo-btn {
    width: auto;
    flex: 0 0 auto;
    padding-left: 12px;
    padding-right: 12px;
    white-space: nowrap;
  }

  body#product .kfo-option {
    grid-template-columns: auto 64px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  body#product .kfo-option__media,
  body#product .kfo-thumb {
    width: 64px;
    height: 50px;
  }

  body#product .kfo-option input[type="radio"] {
    margin-top: 0;
  }

  body#product .kfo-mobile-preview {
    border-color: #d1d5db;
    background: rgba(255,255,255,.98);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
  }
}

body#product .kfo-option {
  grid-template-columns: auto 42px minmax(0, 1fr);
  min-height: 52px;
  padding: 10px 12px;
  gap: 10px;
  background: #f9fafb;
  overflow: visible;
}

body#product .kfo-option:hover,
body#product .kfo-option.is-selected {
  background: #ffffff;
}

body#product .kfo-option__media,
body#product .kfo-thumb {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
}

body#product .kfo-thumb {
  border-radius: 6px;
}

body#product .kfo-thumb img {
  object-fit: cover;
}

body#product .kfo-option input[type="radio"] {
  margin: 0;
}

body#product .kfo-btn[data-kfo-change].is-confirmed {
  gap: 0;
}

body#product .kfo-btn[data-kfo-change].is-confirmed::before {
  content: "✓" !important;
  display: inline-block !important;
  margin-right: 6px;
  color: #16a34a;
  font-weight: 900;
}

body#product .kfo-btn[data-kfo-change].is-confirmed::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 767px) {
  body#product .kfo-option {
    grid-template-columns: auto 42px minmax(0, 1fr);
  }

  body#product .kfo-option__media,
  body#product .kfo-thumb {
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
  }
}

.kfo-option-stack {
  display: grid;
  gap: 8px;
}

.kfo-dependent-group--inline {
  width: calc(100% - 36px);
  margin: 8px auto 2px auto;
  border-color: #e4d8c8;
  background: #fffaf3;
}

.kfo-dependent-group--inline[hidden] {
  display: none !important;
}

.kfo-dependent-group--inline .kfo-dependent-group__head {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #efe5d8;
}

.kfo-dependent-group--inline .kfo-dependent-group__head strong {
  color: #111827;
  font-size: 14px;
}

.kfo-dependent-group--inline .kfo-option-list {
  gap: 8px;
}

@media (max-width: 767px) {
  .kfo-dependent-group--inline {
    width: calc(100% - 18px);
    margin-left: auto;
    margin-right: auto;
  }
}


body#product .kfo-main-toggle {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #111827;
  border-radius: 10px;
  background: #111827;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
}

body#product .kfo-main-toggle__icon::before {
  content: '+';
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

body#product .kfo-main-toggle[aria-expanded="true"] .kfo-main-toggle__icon::before {
  content: '−';
}

body#product .kfo-configurator.is-collapsed .kfo-card {
  display: none !important;
}

body#product .kfo-configurator.is-expanded .kfo-card {
  display: block;
  margin-top: 8px;
}

body#product .kfo-configurator.is-expanded .kfo-main-toggle {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

@media (max-width: 767px) {
  body#product .kfo-main-toggle {
    min-height: 44px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 14px;
  }
}


@media (max-width: 520px) {
  body#product .kfo-option {
    grid-template-columns: auto 64px minmax(0, 1fr) 60px;
  }

  body#product .kfo-option__media,
  body#product .kfo-thumb {
    width: 64px;
    height: 48px;
  }

  body#product .kfo-option__price {
    min-width: 56px;
    font-size: 12px;
  }
}


body#product .kfo-option {
  grid-template-columns: auto 42px minmax(0, 1fr) !important;
}

body#product .kfo-option__content {
  min-width: 0;
}

body#product .kfo-option__title {
  display: flex !important;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

body#product .kfo-option__title > span:first-child {
  min-width: 0;
}

body#product .kfo-option__price {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0;
  padding: 1px 6px;
  border: 1px solid #d6b46b;
  border-radius: 999px;
  background: #fff7e6;
  color: #7c4a03 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.35;
  text-align: left !important;
  white-space: nowrap;
}

body#product .kfo-option__price:empty {
  display: none !important;
}

@media (max-width: 520px) {
  body#product .kfo-option {
    grid-template-columns: auto 42px minmax(0, 1fr) !important;
  }

  body#product .kfo-option__title {
    gap: 6px;
  }

  body#product .kfo-option__price {
    padding: 1px 5px;
    font-size: 10px !important;
  }
}


body#product .kfo-option__title {
  align-items: center !important;
  flex-wrap: wrap;
  gap: 6px;
}

body#product .kfo-option__price {
  position: relative;
  top: 0;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 18px;
  min-height: 18px !important;
  padding: 0 7px !important;
  border: 1px solid #d8b261 !important;
  border-radius: 9px !important;
  background: #fff8e8 !important;
  color: #7a4a00 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  box-sizing: border-box;
  white-space: nowrap;
  vertical-align: middle;
}

body#product .kfo-dependent-group--inline {
  background: #fff8ee !important;
  border: 1px solid #ead6b8 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}

body#product .kfo-dependent-group--inline .kfo-dependent-group__head {
  background: #fff4e4;
  margin: -12px -12px 10px -12px;
  padding: 10px 12px 9px 12px;
  border-bottom: 1px solid #ead6b8 !important;
  border-radius: 11px 11px 0 0;
}

body#product .kfo-dependent-group--inline .kfo-option {
  background: #ffffff !important;
}

body#product .kfo-dependent-group--inline .kfo-option:hover {
  background: #fffdf9 !important;
}

@media (max-width: 520px) {
  body#product .kfo-option__price {
    height: 17px;
    min-height: 17px !important;
    padding: 0 6px !important;
    border-radius: 9px !important;
    font-size: 10px !important;
    line-height: 17px !important;
  }
}


body#product .kfo-summary-visual {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

body#product .kfo-summary-visual[hidden] {
  display: none !important;
}

body#product .kfo-summary-visual__row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border: 1px solid #e3dcd3;
  border-radius: 10px;
  background: #ffffff;
}

body#product .kfo-summary-visual__media {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #e0d8cf;
  border-radius: 8px;
  background: #faf8f5;
  overflow: hidden;
  cursor: default;
}

body#product button.kfo-summary-visual__media {
  cursor: zoom-in;
}

body#product .kfo-summary-visual__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body#product button.kfo-summary-visual__media::after {
  content: '⌕';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.42);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  opacity: 0;
  transition: opacity .14s ease;
  pointer-events: none;
}

body#product button.kfo-summary-visual__media:hover::after,
body#product button.kfo-summary-visual__media:focus-visible::after {
  opacity: 1;
}

body#product .kfo-summary-visual__text {
  min-width: 0;
  display: grid;
  gap: 1px;
}

body#product .kfo-summary-visual__label {
  color: #777;
  font-size: 11px;
  line-height: 1.2;
}

body#product .kfo-summary-visual__text strong {
  color: #222;
  font-size: 13px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}

body#product .kfo-summary-visual__price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 7px;
  border: 1px solid #d8b261;
  border-radius: 9px;
  background: #fff8e8;
  color: #7a4a00;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  white-space: nowrap;
}

@media (max-width: 520px) {
  body#product .kfo-summary-visual__row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 7px;
    padding: 7px;
  }

  body#product .kfo-summary-visual__media {
    width: 38px;
    height: 38px;
  }

  body#product .kfo-summary-visual__price {
    height: 17px;
    padding: 0 6px;
    font-size: 10px;
    line-height: 17px;
  }
}


body#product .kfo-summary-visual__media:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

body#product .kfo-preview-popover.is-interactive,
.kfo-preview-popover.is-interactive {
  pointer-events: auto;
}


body#product .kfo-input-action {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

body#product .kfo-input-action input {
  flex: 1 1 auto;
  min-width: 0;
}

body#product .kfo-input-action .kfo-btn {
  flex: 0 1 auto;
  white-space: nowrap;
  max-width: 48%;
}

body#product .kfo-thumb,
body#product .kfo-thumb:focus,
body#product .kfo-thumb:active,
body#product .kfo-thumb:focus-visible,
body#product button.kfo-summary-visual__media,
body#product button.kfo-summary-visual__media:focus,
body#product button.kfo-summary-visual__media:active,
body#product button.kfo-summary-visual__media:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

body#product button.kfo-summary-visual__media:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
}

@media (max-width: 520px) {
  body#product .kfo-card {
    padding-left: 12px;
    padding-right: 12px;
    overflow: hidden;
  }

  body#product .kfo-input-action {
    gap: 8px;
  }

  body#product .kfo-input-action input {
    flex-basis: 0;
    height: 40px;
    min-height: 40px;
    padding-left: 10px;
    padding-right: 10px;
  }

  body#product .kfo-input-action .kfo-btn {
    min-height: 40px;
    padding-left: 9px;
    padding-right: 9px;
    font-size: 12px;
    line-height: 1.1;
    max-width: 44%;
  }
}

@media (max-width: 380px) {
  body#product .kfo-input-action .kfo-btn {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 11px;
    max-width: 43%;
  }
}

html body#product #kfo-configurator,
html body#product #kfo-configurator * {
  box-sizing: border-box;
}

html body#product #kfo-configurator .kfo-card {
  max-width: 100%;
  overflow: hidden;
}

html body#product #kfo-configurator .kfo-dimension-grid {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

html body#product #kfo-configurator .kfo-input-action {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(108px, auto) !important;
  gap: 8px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

html body#product #kfo-configurator .kfo-input-action input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: none !important;
}

html body#product #kfo-configurator .kfo-input-action .kfo-btn {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 118px !important;
  flex: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body#product #kfo-configurator .kfo-thumb,
html body#product #kfo-configurator .kfo-thumb:hover,
html body#product #kfo-configurator .kfo-thumb:focus,
html body#product #kfo-configurator .kfo-thumb:active,
html body#product #kfo-configurator .kfo-thumb:focus-visible,
html body#product #kfo-configurator .kfo-thumb:visited,
html body#product #kfo-configurator button.kfo-summary-visual__media,
html body#product #kfo-configurator button.kfo-summary-visual__media:hover,
html body#product #kfo-configurator button.kfo-summary-visual__media:focus,
html body#product #kfo-configurator button.kfo-summary-visual__media:active,
html body#product #kfo-configurator button.kfo-summary-visual__media:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

html body#product #kfo-configurator .kfo-option:hover .kfo-thumb::after,
html body#product #kfo-configurator .kfo-thumb::after {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
}

@media (max-width: 520px) {
  html body#product #kfo-configurator {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  html body#product #kfo-configurator .kfo-card {
    padding: 12px !important;
  }

  html body#product #kfo-configurator .kfo-field label {
    font-size: 12px !important;
    line-height: 1.25 !important;
    margin-bottom: 5px !important;
  }

  html body#product #kfo-configurator .kfo-input-action {
    grid-template-columns: minmax(0, 1fr) 92px !important;
    gap: 7px !important;
  }

  html body#product #kfo-configurator .kfo-input-action input {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 9px !important;
    font-size: 14px !important;
  }

  html body#product #kfo-configurator .kfo-input-action .kfo-btn {
    max-width: none !important;
    min-height: 40px !important;
    padding: 0 7px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
  }

  html body#product #kfo-configurator .kfo-btn[data-kfo-change].is-confirmed::before {
    margin-right: 4px !important;
  }
}

@media (max-width: 380px) {
  html body#product #kfo-configurator .kfo-input-action {
    grid-template-columns: minmax(0, 1fr) 82px !important;
    gap: 6px !important;
  }

  html body#product #kfo-configurator .kfo-input-action .kfo-btn {
    font-size: 10px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}


html body#product #kfo-configurator .kfo-input-action {
  grid-template-columns: minmax(0, 1fr) 158px !important;
}

html body#product #kfo-configurator .kfo-input-action .kfo-btn {
  max-width: none !important;
  min-width: 150px !important;
  width: 158px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
}

@media (min-width: 768px) {
  html body#product #kfo-configurator .kfo-input-action {
    grid-template-columns: minmax(0, 1fr) 170px !important;
  }
  html body#product #kfo-configurator .kfo-input-action .kfo-btn {
    width: 170px !important;
    min-width: 170px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 520px) {
  html body#product #kfo-configurator .kfo-input-action {
    grid-template-columns: minmax(0, 1fr) 150px !important;
    gap: 7px !important;
  }
  html body#product #kfo-configurator .kfo-input-action .kfo-btn {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 380px) {
  html body#product #kfo-configurator .kfo-input-action {
    grid-template-columns: minmax(0, 1fr) 142px !important;
    gap: 6px !important;
  }
  html body#product #kfo-configurator .kfo-input-action .kfo-btn {
    width: 142px !important;
    min-width: 142px !important;
    max-width: 142px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    font-size: 10.5px !important;
  }
}

@media (max-width: 767px) {
  body#product .kfo-mobile-preview,
  .kfo-mobile-preview {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 9999 !important;
    display: none;
    margin: 0 !important;
    max-height: calc(100vh - 24px - env(safe-area-inset-top, 0px));
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body#product .kfo-mobile-preview.is-visible,
  .kfo-mobile-preview.is-visible {
    display: block !important;
  }

  body#product .kfo-mobile-preview img,
  .kfo-mobile-preview img {
    width: 100%;
    max-height: min(46vh, var(--kfo-preview-image-max-height, 420px));
    object-fit: contain;
  }

  body#product .kfo-mobile-preview__close,
  .kfo-mobile-preview__close {
    position: absolute;
    right: 10px;
    bottom: 10px;
  }
}


.kfo-mobile-preview__image-wrap {
  position: relative;
  display: block;
}

@media (max-width: 767px) {
  body#product .kfo-mobile-preview__image-wrap,
  .kfo-mobile-preview__image-wrap {
    position: relative !important;
    display: block !important;
  }

  body#product .kfo-mobile-preview__close,
  .kfo-mobile-preview__close {
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    left: auto !important;
    top: auto !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transform: none !important;
    opacity: 0.82 !important;
    background: rgba(0, 0, 0, 0.82) !important;
  }

  body#product .kfo-mobile-preview__close:hover,
  body#product .kfo-mobile-preview__close:focus,
  .kfo-mobile-preview__close:hover,
  .kfo-mobile-preview__close:focus {
    opacity: 0.95 !important;
    background: rgba(0, 0, 0, 0.9) !important;
  }
}

@media (max-width: 767px) {
  body#product .kfo-mobile-preview,
  .kfo-mobile-preview {
    position: fixed !important;
  }

  body#product .kfo-mobile-preview__image-wrap,
  .kfo-mobile-preview__image-wrap {
    position: static !important;
  }

  body#product .kfo-mobile-preview__close,
  .kfo-mobile-preview__close {
    position: absolute !important;
    right: 10px !important;
    bottom: 10px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 3 !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 24px !important;
    background: rgba(0, 0, 0, .78) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18) !important;
  }

  body#product .kfo-mobile-preview__caption,
  .kfo-mobile-preview__caption {
    padding-right: 48px !important;
    min-height: 34px !important;
    display: flex !important;
    align-items: center !important;
  }
}


.kfo-surcharge--hidden,
[data-kfo-section="surcharge"].kfo-surcharge--hidden {
  display: none !important;
}


html body#product #kfo-configurator .kfo-input-action {
  grid-template-columns: minmax(0, 1fr) 170px !important;
}
html body#product #kfo-configurator .kfo-input-action .kfo-btn {
  width: 170px !important;
  min-width: 170px !important;
  max-width: 170px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}
@media (max-width: 520px) {
  html body#product #kfo-configurator .kfo-input-action {
    grid-template-columns: minmax(0, 1fr) 150px !important;
  }
  html body#product #kfo-configurator .kfo-input-action .kfo-btn {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    font-size: 11px !important;
  }
}
@media (max-width: 380px) {
  html body#product #kfo-configurator .kfo-input-action {
    grid-template-columns: minmax(0, 1fr) 142px !important;
  }
  html body#product #kfo-configurator .kfo-input-action .kfo-btn {
    width: 142px !important;
    min-width: 142px !important;
    max-width: 142px !important;
    font-size: 10.5px !important;
  }
}
html body#product #kfo-configurator [data-kfo-section="surcharge"] {
  display: none !important;
}

.kfo-field-error {
  display: block;
  flex: 0 0 100%;
  order: 10;
  margin: -2px 0 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  color: #d71920;
}

.kfo-field-error[hidden] {
  display: none !important;
}

.kfo-calculation {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.kfo-calculation p {
  margin: 4px 0;
}

.kfo-calculation span {
  font-weight: 500;
}


body#product #kfo-configurator .kfo-field-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 7px;
  max-width: 100%;
  line-height: 1.35;
}

body#product #kfo-configurator .kfo-field-label > span:first-child {
  display: inline;
}

body#product #kfo-configurator .kfo-field-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 2px;
  border-radius: 999px;
  background: #eef2ff;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  outline: none;
  vertical-align: middle;
  flex: 0 0 18px;
  z-index: 20;
}

body#product #kfo-configurator .kfo-field-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

body#product #kfo-configurator .kfo-field-tooltip-box {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 9999;
  width: max-content;
  max-width: min(300px, calc(100vw - 48px));
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

body#product #kfo-configurator .kfo-field-tooltip-box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-right: 1px solid #dbe4f0;
  border-bottom: 1px solid #dbe4f0;
  transform: translate(-50%, -5px) rotate(45deg);
}

body#product #kfo-configurator .kfo-field-tooltip:hover .kfo-field-tooltip-box,
body#product #kfo-configurator .kfo-field-tooltip:focus .kfo-field-tooltip-box,
body#product #kfo-configurator .kfo-field-tooltip:focus-within .kfo-field-tooltip-box {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}


@media (min-width: 577px) {
  html body#product #kfo-configurator .kfo-card {
    overflow: visible !important;
  }

  body#product #kfo-configurator .kfo-field-tooltip-box {
    position: fixed !important;
    left: var(--kfo-tooltip-desktop-left, 50vw) !important;
    top: var(--kfo-tooltip-desktop-top, 0px) !important;
    right: auto !important;
    bottom: auto !important;
    width: 280px;
    max-width: calc(100vw - 24px);
    transform: translate(-50%, 4px);
  }

  body#product #kfo-configurator .kfo-field-tooltip:hover .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus-within .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip.is-desktop-active .kfo-field-tooltip-box {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  body#product #kfo-configurator .kfo-field-tooltip-box::after {
    left: var(--kfo-tooltip-arrow-left, 50%) !important;
  }

  body#product #kfo-configurator .kfo-field-tooltip.kfo-tooltip-below .kfo-field-tooltip-box::after {
    top: 0 !important;
    bottom: auto !important;
    transform: translate(-50%, -5px) rotate(225deg) !important;
    border-right: 1px solid #dbe4f0;
    border-bottom: 1px solid #dbe4f0;
    border-left: 0;
    border-top: 0;
  }

  body#product #kfo-configurator .kfo-field-tooltip.kfo-tooltip-above .kfo-field-tooltip-box::after {
    top: 100% !important;
    bottom: auto !important;
    transform: translate(-50%, -5px) rotate(45deg) !important;
    border-right: 1px solid #dbe4f0;
    border-bottom: 1px solid #dbe4f0;
    border-left: 0;
    border-top: 0;
  }
}

@media (max-width: 576px) {
  body#product #kfo-configurator .kfo-field-label {
    text-align: left;
    line-height: 1.25;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
  }

  body#product #kfo-configurator .kfo-field-tooltip {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex-basis: 28px;
    margin-left: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  body#product #kfo-configurator .kfo-field-tooltip-icon {
    width: 18px;
    height: 18px;
    font-size: 12px;
    border-radius: 999px;
  }

  body#product #kfo-configurator .kfo-field-tooltip:hover .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus-within .kfo-field-tooltip-box {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body#product #kfo-configurator .kfo-field-tooltip-box {
    position: fixed !important;
    left: var(--kfo-tooltip-mobile-left, 50vw) !important;
    right: auto !important;
    top: var(--kfo-tooltip-mobile-top, 96px) !important;
    bottom: auto !important;
    width: max-content !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    z-index: 99999 !important;
    transform: translate(-50%, 0) !important;
    pointer-events: none !important;
  }

  body#product #kfo-configurator .kfo-field-tooltip.is-mobile-active .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
    pointer-events: auto !important;
  }

  body#product #kfo-configurator .kfo-field-tooltip.is-mobile-active .kfo-field-tooltip-box::after {
    display: block !important;
    left: var(--kfo-tooltip-arrow-left, 50%) !important;
  }

  body#product #kfo-configurator .kfo-field-tooltip.kfo-tooltip-above .kfo-field-tooltip-box::after {
    top: 100% !important;
    bottom: auto !important;
    transform: translate(-50%, -5px) rotate(45deg) !important;
    border-right: 1px solid #dbe4f0;
    border-bottom: 1px solid #dbe4f0;
    border-left: 0;
    border-top: 0;
  }

  body#product #kfo-configurator .kfo-field-tooltip.kfo-tooltip-below .kfo-field-tooltip-box::after {
    top: 0 !important;
    bottom: auto !important;
    transform: translate(-50%, -5px) rotate(225deg) !important;
    border-right: 1px solid #dbe4f0;
    border-bottom: 1px solid #dbe4f0;
    border-left: 0;
    border-top: 0;
  }
}


body#product #kfo-configurator .kfo-summary-box {
  transition: opacity .18s ease, transform .18s ease, border-color .18s ease, background-color .18s ease;
}

body#product #kfo-configurator .kfo-summary-box:not(.is-calculated) {
  opacity: .96;
}

body#product #kfo-configurator .kfo-summary-box.is-calculated {
  opacity: 1;
  transform: translateY(0);
  animation: kfoSummarySoftEnter .22s ease both;
}

@keyframes kfoSummarySoftEnter {
  from { opacity: .72; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  body#product #kfo-configurator .kfo-dimensions__row,
  body#product #kfo-configurator .kfo-dimension-row {
    gap: 10px;
    align-items: flex-start;
  }

  body#product #kfo-configurator .kfo-section {
    scroll-margin-top: 18px;
  }

  body#product #kfo-configurator .kfo-summary-box {
    padding: 14px;
  }
}

body#product #kfo-configurator.is-variant-updating #kfo-width,
body#product #kfo-configurator.is-variant-updating #kfo-height,
body#product #kfo-configurator.is-variant-updating [data-kfo-confirm],
body#product #kfo-configurator.is-variant-updating [data-kfo-change] {
  pointer-events: none;
}

body#product .kfo-summary-visual__price-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  justify-self: end;
}

body#product .kfo-summary-visual__price-note {
  display: block;
  max-width: 96px;
  color: #8b8f98;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  text-align: right;
  white-space: normal;
}

@media (max-width: 520px) {
  body#product .kfo-summary-visual__price-wrap {
    align-items: flex-end;
  }

  body#product .kfo-summary-visual__price-note {
    max-width: 84px;
    font-size: 9px;
  }
}

.kfo-btn.is-loading {
  pointer-events: none;
  opacity: .72;
}
.kfo-module-error {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff3f3;
  border: 1px solid #f0c6c6;
  color: #7a1f1f;
  font-size: 13px;
  line-height: 1.35;
}

.product-customization,
.product-customization-line,
.product-customization-item,
.product-information .product-customization,
.product-add-to-cart .product-customization,
.js-product-customization,
#product_customization_id,
section.product-customization,
.card.product-customization {
  display: none !important;
}


body#product #kfo-configurator .kfo-notes {
  margin-top: 14px;
}

body#product #kfo-configurator .kfo-notes-label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: #1f2937;
}

body#product #kfo-configurator .kfo-notes-label span {
  font-weight: 600;
  color: #6b7280;
}

body#product #kfo-configurator .kfo-notes-input {
  display: block;
  width: 100%;
  max-width: 520px;
  min-height: 86px;
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  line-height: 1.45;
  resize: vertical;
  box-shadow: none;
}

body#product #kfo-configurator .kfo-notes-input:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
  opacity: 1;
}

body#product #kfo-configurator .kfo-notes-input:focus {
  border-color: #94a3b8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, .08);
}

#kfo-configurator .kfo-notes,
body#product #kfo-configurator .kfo-notes,
html body#product #kfo-configurator section.kfo-notes {
  display: block !important;
  width: 100% !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid #e5e7eb !important;
}

#kfo-configurator .kfo-notes-label,
body#product #kfo-configurator .kfo-notes-label,
html body#product #kfo-configurator .kfo-notes-label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 8px 0 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #111827 !important;
}

#kfo-configurator .kfo-notes-label span,
body#product #kfo-configurator .kfo-notes-label span {
  font-weight: 600 !important;
  color: #6b7280 !important;
}

#kfo-configurator textarea.kfo-notes-input,
body#product #kfo-configurator textarea.kfo-notes-input,
html body#product #kfo-configurator textarea.kfo-notes-input {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 84px !important;
  margin: 0 !important;
  padding: 11px 13px !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  resize: vertical !important;
  opacity: 1 !important;
  cursor: text !important;
  pointer-events: auto !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#kfo-configurator textarea.kfo-notes-input:disabled,
body#product #kfo-configurator textarea.kfo-notes-input:disabled {
  background: #ffffff !important;
  color: #111827 !important;
  cursor: text !important;
  opacity: 1 !important;
}

#kfo-configurator textarea.kfo-notes-input:focus,
body#product #kfo-configurator textarea.kfo-notes-input:focus {
  border-color: #0f172a !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, .08) !important;
}

.kfo-surcharge-cart-line .kfo-cart-control-hidden,
.kfo-surcharge-cart-line .remove-from-cart,
.kfo-surcharge-cart-line .cart-line-product-actions,
.kfo-surcharge-cart-line .bootstrap-touchspin,
.kfo-surcharge-cart-line .touchspin,
.kfo-surcharge-cart-line .btn-touchspin {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.kfo-surcharge-cart-line input[type="number"],
.kfo-surcharge-cart-line input.js-cart-line-product-quantity,
.kfo-surcharge-cart-line .js-cart-line-product-quantity {
  display: none !important;
}

.kfo-configured-cart-line input.js-cart-line-product-quantity,
.kfo-configured-cart-line input[name="product-quantity-spin"],
.kfo-configured-cart-line input[type="number"].kfo-cart-qty-locked-input {
  cursor: pointer !important;
}

.kfo-quantity-lock-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

.kfo-quantity-lock-modal.is-visible {
  display: flex !important;
}

.kfo-quantity-lock-modal__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, .48) !important;
}

.kfo-quantity-lock-modal__dialog {
  position: relative !important;
  z-index: 1 !important;
  width: min(440px, 100%) !important;
  padding: 24px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28) !important;
  color: #111827 !important;
  text-align: left !important;
}

.kfo-quantity-lock-modal__dialog h3 {
  margin: 0 34px 12px 0 !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: #111827 !important;
}

.kfo-quantity-lock-modal__dialog p {
  margin: 0 0 20px 0 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #374151 !important;
}

.kfo-quantity-lock-modal__x {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  width: 28px !important;
  height: 28px !important;
  border: 0 !important;
  background: transparent !important;
  color: #6b7280 !important;
  font-size: 26px !important;
  line-height: 28px !important;
  cursor: pointer !important;
}

html.kfo-quantity-lock-modal-open { overflow: hidden; }

.kfo-quantity-lock-modal__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}


body#product #kfo-configurator .kfo-option-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 6px;
  cursor: help;
}
body#product #kfo-configurator .kfo-option-tooltip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.35);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  color: #111;
}
body#product #kfo-configurator .kfo-option-tooltip__box {
  position: absolute;
  left: 0;
  top: 24px;
  z-index: 30;
  display: none;
  width: min(280px, 72vw);
  padding: 10px 12px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
body#product #kfo-configurator .kfo-option-tooltip:hover .kfo-option-tooltip__box,
body#product #kfo-configurator .kfo-option-tooltip:focus .kfo-option-tooltip__box,
body#product #kfo-configurator .kfo-option-tooltip:focus-within .kfo-option-tooltip__box {
  display: block;
}


body#product #kfo-configurator .kfo-option__desc .kfo-field-tooltip--option {
  display: inline-flex;
  margin-left: 4px;
  margin-top: -1px;
  vertical-align: text-bottom;
}

body#product #kfo-configurator .kfo-option__desc--tooltip-only {
  display: block;
  margin-top: 4px;
}

body#product #kfo-configurator .kfo-option__desc--tooltip-only .kfo-field-tooltip--option {
  margin-left: 0;
}

body#product #kfo-configurator .kfo-option-tooltip {
  display: none !important;
}


@media (min-width: 768px) {
  body#product #kfo-configurator .kfo-preview-popover,
  body#product .kfo-preview-popover {
    width: var(--kfo-preview-popover-width, 432px) !important;
    max-width: min(var(--kfo-preview-popover-width, 432px), 60vw) !important;
  }

  body#product #kfo-configurator .kfo-preview-popover img,
  body#product .kfo-preview-popover img {
    max-height: var(--kfo-preview-image-max-height, 552px) !important;
  }
}


.kfo-own-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.kfo-own-modal.is-visible { display: flex; }
.kfo-own-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.kfo-own-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  padding: 22px 24px 20px;
  color: #222;
}
.kfo-own-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  background: #f3f3f3;
  color: #222;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.kfo-own-modal__title {
  margin: 0 42px 18px 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}
.kfo-own-modal__rows {
  margin: 0;
}
.kfo-own-modal__row {
  display: grid;
  grid-template-columns: minmax(150px, 42%) 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.kfo-own-modal__row dt {
  margin: 0;
  font-weight: 600;
  color: #444;
}
.kfo-own-modal__row dd {
  margin: 0;
  color: #222;
}
.kfo-own-modal__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}
.kfo-own-modal__button {
  border: 0;
  background: #222;
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
}
html.kfo-own-modal-open { overflow: hidden; }
@media (max-width: 575px) {
  .kfo-own-modal { padding: 12px; }
  .kfo-own-modal__dialog { padding: 18px 16px 16px; }
  .kfo-own-modal__row {
    display: block;
    padding: 10px 0;
  }
  .kfo-own-modal__row dt { margin-bottom: 4px; }
}

.kfo-own-modal__section {
  margin: 0 0 14px;
  padding: 12px 12px 6px;
  border: 1px solid #e7edf5;
  border-radius: 12px;
  background: #fafcff;
}
.kfo-own-modal__section-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.kfo-own-modal__total {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f7fb;
  color: #111827;
}
.kfo-own-modal__empty {
  margin: 0;
  color: #6b7280;
}


@media (min-width: 768px) {
  body#product .kfo-preview-popover {
    pointer-events: auto;
    box-sizing: border-box;
  }
}

html body#product #kfo-configurator {
  --kfo-module-color: #111827;
  --kfo-confirmed-color: #16a34a;
}

html body#product #kfo-configurator .kfo-main-toggle,
html body#product #kfo-configurator .kfo-btn--primary,
html body#product #kfo-configurator .kfo-btn--secondary {
  background: var(--kfo-module-color) !important;
  border-color: var(--kfo-module-color) !important;
  color: #ffffff !important;
}

html body#product #kfo-configurator .kfo-btn[data-kfo-change].is-confirmed {
  background: var(--kfo-confirmed-color) !important;
  border-color: var(--kfo-confirmed-color) !important;
  color: #ffffff !important;
}

html body#product #kfo-configurator .kfo-main-toggle:hover,
html body#product #kfo-configurator .kfo-main-toggle:focus-visible,
html body#product #kfo-configurator .kfo-btn--primary:hover,
html body#product #kfo-configurator .kfo-btn--primary:focus-visible,
html body#product #kfo-configurator .kfo-btn--secondary:hover,
html body#product #kfo-configurator .kfo-btn--secondary:focus-visible,
html body#product #kfo-configurator .kfo-btn[data-kfo-change].is-confirmed:hover,
html body#product #kfo-configurator .kfo-btn[data-kfo-change].is-confirmed:focus-visible {
  filter: brightness(0.92);
}


html body#product #kfo-configurator .kfo-shape-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option {
  margin: 0 !important;
  min-height: 42px;
}

html body#product #kfo-configurator [data-kfo-section="surcharges-options"] {
  border-top: 1px solid #eee9e3;
  padding-top: 14px;
  padding-bottom: 14px;
}

html body#product #kfo-configurator [data-kfo-section="summary"] {
  border-top: 1px solid #eee9e3;
}

@media (max-width: 380px) {
  html body#product #kfo-configurator .kfo-shape-list {
    grid-template-columns: 1fr !important;
  }
}

body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option {
  display: flex;
  align-items: center;
  gap: 10px;
}
body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-thumb {
  flex: 0 0 auto;
}
body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option > input[type="radio"] {
  flex: 0 0 auto;
}

body#product .kfo-preview-popover.kfo-option-preview-popover,
.kfo-preview-popover.kfo-option-preview-popover {
  position: absolute !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 2147483000 !important;
  pointer-events: auto !important;
}
body#product .kfo-preview-popover.kfo-option-preview-popover img,
.kfo-preview-popover.kfo-option-preview-popover img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option {
  align-items: center !important;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option__content {
  min-width: 0;
  flex: 1 1 auto;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option__title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
}

html body#product #kfo-configurator .kfo-shape-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 24px;
  color: var(--kfo-shape-icon-color, #6c757d);
  opacity: 0.95;
}

html body#product #kfo-configurator .kfo-shape-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

html body#product #kfo-configurator .kfo-shape-icon rect,
html body#product #kfo-configurator .kfo-shape-icon circle,
html body#product #kfo-configurator .kfo-shape-icon ellipse {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option.is-selected .kfo-shape-icon {
  opacity: 1;
}


html body#product #kfo-configurator .kfo-shape-list .kfo-option {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 76px !important;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option > input[type="radio"] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  margin: 0 !important;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option__content {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option__title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  line-height: 1.2 !important;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option__title > span:first-child {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

html body#product #kfo-configurator .kfo-shape-icon {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 28px !important;
  margin-left: auto !important;
}

html body#product #kfo-configurator .kfo-shape-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

html body#product #kfo-configurator .kfo-shape-icon--circle,
html body#product #kfo-configurator .kfo-shape-icon--square {
  flex-basis: 30px !important;
  width: 30px !important;
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option {
  min-height: 64px !important;
}
html body#product #kfo-configurator .kfo-shape-list .kfo-option__title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
}
html body#product #kfo-configurator .kfo-shape-list .kfo-option__title > span:first-child {
  flex: 0 0 auto !important;
}
html body#product #kfo-configurator .kfo-shape-icon {
  margin-left: 0 !important;
  flex: 0 0 auto !important;
  width: 34px !important;
  height: 24px !important;
}
html body#product #kfo-configurator .kfo-shape-icon--circle,
html body#product #kfo-configurator .kfo-shape-icon--square {
  width: 26px !important;
  height: 24px !important;
}


body#product #kfo-configurator .kfo-field-tooltip:not(.is-kfo-tooltip-ready) .kfo-field-tooltip-box {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 577px) {
  body#product #kfo-configurator .kfo-field-tooltip:hover:not(.is-kfo-tooltip-ready) .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus:not(.is-kfo-tooltip-ready) .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus-within:not(.is-kfo-tooltip-ready) .kfo-field-tooltip-box {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body#product #kfo-configurator .kfo-field-tooltip.is-kfo-tooltip-ready.is-desktop-active .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
  }
}

@media (max-width: 576px) {
  body#product #kfo-configurator .kfo-field-tooltip.is-kfo-tooltip-ready.is-mobile-active .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
  }
}

html body#product #kfo-configurator .kfo-shape-list .kfo-option {
  display: grid !important;
  grid-template-columns: auto 72px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  min-height: 72px !important;
}
html body#product #kfo-configurator .kfo-shape-list .kfo-option > input[type="radio"] {
  grid-column: 1 !important;
  align-self: center !important;
  margin: 0 !important;
}
html body#product #kfo-configurator .kfo-shape-list .kfo-shape-thumb {
  grid-column: 2 !important;
  width: 72px !important;
  height: 54px !important;
  flex: 0 0 72px !important;
}
html body#product #kfo-configurator .kfo-shape-list .kfo-option__content {
  grid-column: 3 !important;
  width: auto !important;
  min-width: 0 !important;
}
html body#product #kfo-configurator .kfo-shape-list .kfo-option__title {
  display: block !important;
  width: auto !important;
  line-height: 1.25 !important;
}
html body#product #kfo-configurator .kfo-shape-thumb--svg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f7f3ef !important;
}
html body#product #kfo-configurator .kfo-shape-thumb--svg .kfo-shape-icon {
  margin: 0 !important;
  color: var(--kfo-shape-icon-color, #6c757d) !important;
  width: 44px !important;
  height: 32px !important;
}
html body#product #kfo-configurator .kfo-shape-thumb--svg .kfo-shape-icon--circle,
html body#product #kfo-configurator .kfo-shape-thumb--svg .kfo-shape-icon--square {
  width: 34px !important;
  height: 34px !important;
}
html body#product #kfo-configurator .kfo-shape-thumb--svg svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
html body#product #kfo-configurator .kfo-shape-thumb--svg rect,
html body#product #kfo-configurator .kfo-shape-thumb--svg circle,
html body#product #kfo-configurator .kfo-shape-thumb--svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 4 !important;
  vector-effect: non-scaling-stroke !important;
}
@media (max-width: 480px) {
  html body#product #kfo-configurator .kfo-shape-list .kfo-option {
    grid-template-columns: auto 60px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  html body#product #kfo-configurator .kfo-shape-list .kfo-shape-thumb {
    width: 60px !important;
    height: 46px !important;
    flex-basis: 60px !important;
  }
}


html body#product #kfo-configurator [data-kfo-main-toggle] + [data-kfo-main-panel],
html body#product #kfo-configurator .kfo-main-toggle + .kfo-card {
  margin-top: 10px !important;
}

html body#product #kfo-configurator [data-kfo-section="surcharges-options"].is-disabled {
  opacity: .64;
}

html body#product #kfo-configurator [data-kfo-section="surcharges-options"].is-disabled .kfo-accordion__toggle,
html body#product #kfo-configurator [data-kfo-section="surcharges-options"].is-disabled .kfo-option,
html body#product #kfo-configurator [data-kfo-section="surcharges-options"].is-disabled input,
html body#product #kfo-configurator [data-kfo-section="surcharges-options"].is-disabled button:not(.kfo-accordion__toggle) {
  cursor: not-allowed !important;
}

html body#product #kfo-configurator .kfo-options-disabled-note {
  display: none;
  margin-top: 8px;
  padding: 9px 11px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

html body#product #kfo-configurator [data-kfo-section="surcharges-options"].is-disabled .kfo-options-disabled-note {
  display: block;
}

html body#product #kfo-configurator [data-kfo-section="surcharges-options"].is-disabled .kfo-accordion__body {
  display: none !important;
}

html body#product #kfo-configurator .kfo-dimensions .kfo-dimension-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  align-items: start !important;
}

html body#product #kfo-configurator .kfo-dimensions .kfo-field {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-column: auto !important;
}

html body#product #kfo-configurator .kfo-dimensions .kfo-input-action {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

html body#product #kfo-configurator .kfo-dimensions .kfo-input-action input {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: none !important;
}

@media (max-width: 575px) {
  html body#product #kfo-configurator .kfo-dimensions .kfo-dimension-grid {
    grid-template-columns: 1fr !important;
  }
}


html body#product #kfo-configurator .kfo-unavailable-alert {
  display: flex !important;
  gap: 10px !important;
  align-items: flex-start !important;
  margin: 12px 0 14px !important;
  padding: 12px 13px !important;
  border: 1px solid #fecaca !important;
  border-radius: 12px !important;
  background: #fef2f2 !important;
  color: #991b1b !important;
  box-shadow: 0 8px 18px rgba(153, 27, 27, .08) !important;
}
html body#product #kfo-configurator .kfo-unavailable-alert[hidden] {
  display: none !important;
}
html body#product #kfo-configurator .kfo-unavailable-alert__icon {
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #dc2626 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  margin-top: 1px !important;
}
html body#product #kfo-configurator .kfo-unavailable-alert__content {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
}
html body#product #kfo-configurator .kfo-unavailable-alert__content strong {
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}
html body#product #kfo-configurator .kfo-unavailable-alert__content span {
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: #b91c1c !important;
}


html body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option > input[type="radio"] {
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  body#product .kfo-preview-popover,
  body#product #kfo-configurator .kfo-preview-popover,
  body#product .kfo-preview-popover.kfo-option-preview-popover,
  body#product #kfo-configurator .kfo-preview-popover.kfo-option-preview-popover {
    width: var(--kfo-preview-popover-width, 432px) !important;
    max-width: min(var(--kfo-preview-popover-width, 432px), 60vw) !important;
  }

  body#product .kfo-preview-popover img,
  body#product #kfo-configurator .kfo-preview-popover img,
  body#product .kfo-preview-popover.kfo-option-preview-popover img,
  body#product #kfo-configurator .kfo-preview-popover.kfo-option-preview-popover img {
    max-height: var(--kfo-preview-image-max-height, 552px) !important;
  }
}


body#product #kfo-configurator .kfo-field-tooltip:not(.is-desktop-active):not(.is-mobile-active) .kfo-field-tooltip-box {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 577px) {
  body#product #kfo-configurator .kfo-field-tooltip:hover:not(.is-desktop-active) .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus:not(.is-desktop-active) .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus-within:not(.is-desktop-active) .kfo-field-tooltip-box {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body#product #kfo-configurator .kfo-field-tooltip.is-desktop-active.is-kfo-tooltip-ready .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 576px) {
  body#product #kfo-configurator .kfo-field-tooltip:hover .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus-within .kfo-field-tooltip-box {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body#product #kfo-configurator .kfo-field-tooltip.is-mobile-active.is-kfo-tooltip-ready .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

.kfo-surcharge-cart-line .cart-line-product-actions,
.kfo-surcharge-cart-line .remove-from-cart,
.kfo-surcharge-cart-line a[data-link-action="delete-from-cart"],
.kfo-surcharge-cart-line .js-increase-product-quantity,
.kfo-surcharge-cart-line .js-decrease-product-quantity,
.kfo-surcharge-cart-line .bootstrap-touchspin,
.kfo-surcharge-cart-line .touchspin,
.kfo-surcharge-cart-line .btn-touchspin,
.kfo-surcharge-cart-line .kfo-cart-control-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.kfo-surcharge-cart-line input[type="number"],
.kfo-surcharge-cart-line input.js-cart-line-product-quantity,
.kfo-surcharge-cart-line input[name="product-quantity-spin"] {
  display: none !important;
}
.kfo-surcharge-cart-line [data-kfo-disabled-product-link] {
  font-weight: 700;
  color: inherit;
  cursor: default;
}
.kfo-own-modal__rows--section {
  margin: 0 !important;
}

html body#product #kfo-configurator {
  width: 100% !important;
  max-width: 620px !important;
  contain: layout style !important;
}
html body#product #kfo-configurator .kfo-card,
html body#product #kfo-configurator .kfo-main-toggle {
  width: 100% !important;
  max-width: 100% !important;
}
html body#product #kfo-configurator .kfo-card {
  overflow: hidden !important;
}
html body#product #kfo-configurator .kfo-section {
  scroll-margin-top: 14px !important;
}
html body#product #kfo-configurator .kfo-summary-box,
html body#product #kfo-configurator .kfo-dependent-empty,
html body#product #kfo-configurator .kfo-surcharge-box {
  overflow-wrap: anywhere !important;
}

@media (max-width: 575px) {
  html body#product #kfo-configurator {
    margin: 12px 0 18px !important;
  }
  html body#product #kfo-configurator .kfo-main-toggle {
    min-height: 42px !important;
    padding: 0 13px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
  }
  html body#product #kfo-configurator .kfo-card {
    padding: 12px !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 18px rgba(15,23,42,.055) !important;
  }
  html body#product #kfo-configurator .kfo-section {
    padding: 12px 0 !important;
  }
  html body#product #kfo-configurator .kfo-section-heading h4,
  html body#product #kfo-configurator .kfo-accordion__toggle strong,
  html body#product #kfo-configurator .kfo-notes-label {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }
  html body#product #kfo-configurator .kfo-field label,
  html body#product #kfo-configurator .kfo-field-label {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  html body#product #kfo-configurator .kfo-dimensions .kfo-dimension-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  html body#product #kfo-configurator .kfo-dimensions .kfo-input-action input {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 14px !important;
    padding: 0 10px !important;
  }

  html body#product #kfo-configurator .kfo-shape-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  html body#product #kfo-configurator .kfo-shape-list .kfo-option {
    min-height: 58px !important;
    grid-template-columns: auto 42px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 8px !important;
  }
  html body#product #kfo-configurator .kfo-shape-list .kfo-shape-thumb {
    width: 42px !important;
    height: 34px !important;
    flex-basis: 42px !important;
  }
  html body#product #kfo-configurator .kfo-shape-list .kfo-option__title {
    font-size: 12px !important;
    line-height: 1.15 !important;
  }

  html body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option {
    display: grid !important;
    grid-template-columns: auto 42px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 58px !important;
    padding: 8px !important;
  }
  html body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option__title {
    gap: 5px !important;
    flex-wrap: wrap !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
  }
  html body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option__desc,
  html body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option__tip {
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin-top: 2px !important;
  }
  html body#product #kfo-configurator .kfo-option__price {
    height: 16px !important;
    min-height: 16px !important;
    padding: 0 5px !important;
    font-size: 10px !important;
    line-height: 16px !important;
  }

  html body#product #kfo-configurator .kfo-summary-box {
    padding: 10px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  html body#product #kfo-configurator .kfo-summary-box p {
    margin: 3px 0 !important;
  }
  html body#product #kfo-configurator textarea.kfo-notes-input {
    min-height: 78px !important;
    font-size: 13px !important;
  }
  html body#product #kfo-configurator .kfo-btn--primary {
    min-height: 42px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 380px) {
  html body#product #kfo-configurator .kfo-card {
    padding: 10px !important;
  }
  html body#product #kfo-configurator .kfo-shape-list {
    grid-template-columns: 1fr !important;
  }
  html body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option,
  html body#product #kfo-configurator .kfo-shape-list .kfo-option {
    grid-template-columns: auto 38px minmax(0, 1fr) !important;
  }
  html body#product #kfo-configurator .kfo-shape-list .kfo-shape-thumb,
  html body#product #kfo-configurator .kfo-option__media,
  html body#product #kfo-configurator .kfo-thumb {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  html body#product #kfo-configurator .kfo-dimensions .kfo-dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


body#product #kfo-configurator .kfo-option__title .kfo-field-tooltip--option {
  margin-left: 5px;
  vertical-align: middle;
  flex: 0 0 18px;
}
body#product #kfo-configurator .kfo-accordion__toggle span:empty {
  min-height: 0;
}
body#product #kfo-configurator .kfo-accordion__toggle span > strong:empty,
body#product #kfo-configurator .kfo-accordion__toggle span > em:empty {
  display: none !important;
}

@media (min-width: 577px) {
  body#product #kfo-configurator .kfo-field-tooltip:hover .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip:focus-within .kfo-field-tooltip-box,
  body#product #kfo-configurator .kfo-field-tooltip.is-desktop-active .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}

@media (max-width: 576px) {
  body#product #kfo-configurator .kfo-field-tooltip.is-mobile-active .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}


html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"] .kfo-field-tooltip-box {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 577px) {
  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"]:hover .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"]:focus .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"]:focus-within .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"].is-desktop-active .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"].is-desktop-active.is-kfo-tooltip-ready .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}

@media (max-width: 576px) {
  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"]:hover .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"]:focus .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"]:focus-within .kfo-field-tooltip-box {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"].is-mobile-active .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip[data-kfo-tooltip-ready="1"].is-mobile-active.is-kfo-tooltip-ready .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}


html body#product #kfo-configurator .kfo-field-label .kfo-field-tooltip .kfo-field-tooltip-box,
html body#product #kfo-configurator .kfo-option__title .kfo-field-tooltip .kfo-field-tooltip-box {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (min-width: 577px) {
  html body#product #kfo-configurator .kfo-field-label .kfo-field-tooltip:hover .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-label .kfo-field-tooltip:focus .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-label .kfo-field-tooltip:focus-within .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-label .kfo-field-tooltip.is-desktop-active .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-option__title .kfo-field-tooltip:hover .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-option__title .kfo-field-tooltip:focus .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-option__title .kfo-field-tooltip:focus-within .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-option__title .kfo-field-tooltip.is-desktop-active .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
    z-index: 2147483000 !important;
  }
}

@media (max-width: 576px) {
  html body#product #kfo-configurator .kfo-field-label .kfo-field-tooltip.is-mobile-active .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-option__title .kfo-field-tooltip.is-mobile-active .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
    z-index: 2147483000 !important;
  }
}


html body#product #kfo-configurator {
  contain: none !important;
}
html body#product #kfo-configurator .kfo-card {
  overflow: visible !important;
}
html body#product #kfo-configurator .kfo-field-tooltip {
  overflow: visible !important;
}
html body#product #kfo-configurator .kfo-field-tooltip .kfo-field-tooltip-box {
  display: block !important;
  color: #0f172a !important;
  background: #ffffff !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 2147483000 !important;
}
@media (min-width: 577px) {
  html body#product #kfo-configurator .kfo-field-tooltip:hover .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip:focus .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip:focus-within .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip.is-desktop-active .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip.is-kfo-tooltip-ready.is-desktop-active .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}
@media (max-width: 576px) {
  html body#product #kfo-configurator .kfo-field-tooltip:hover .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip:focus .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip:focus-within .kfo-field-tooltip-box {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html body#product #kfo-configurator .kfo-field-tooltip.is-mobile-active .kfo-field-tooltip-box,
  html body#product #kfo-configurator .kfo-field-tooltip.is-kfo-tooltip-ready.is-mobile-active .kfo-field-tooltip-box {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }
}


html body#product #kfo-configurator .kfo-field-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #6b7280;
}
html body#product #kfo-configurator .kfo-field-hint strong {
  color: #374151;
}
html body#product #kfo-configurator .kfo-input-action input.has-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220,53,69,.08) !important;
}

body#product #kfo-configurator [data-kfo-section="surcharges-options"].kfo-finish-guide-highlight {
  animation: none !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body#product #kfo-configurator .kfo-option[data-kfo-option] { cursor: pointer; }
body#product #kfo-configurator .kfo-option[data-kfo-option]:focus { outline: 2px solid var(--kfo-module-color, #1f8f8b); outline-offset: 2px; }


body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-finish-list-wrap,
#kfo-configurator [data-kfo-section="surcharges-options"] .kfo-finish-list-wrap {
  display: block;
}
body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-finish-group,
#kfo-configurator [data-kfo-section="surcharges-options"] .kfo-finish-group {
  display: block;
}
body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-section-description,
#kfo-configurator [data-kfo-section="surcharges-options"] .kfo-section-description {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
body#product #kfo-configurator [data-kfo-section="surcharges-options"].is-disabled .kfo-finish-list-wrap,
#kfo-configurator [data-kfo-section="surcharges-options"].is-disabled .kfo-finish-list-wrap {
  opacity: .48;
  pointer-events: none;
}

html body#product #kfo-configurator [data-kfo-option][hidden],
html body#product #kfo-configurator [data-kfo-option].kfo-shape-hidden,
body#product #kfo-configurator [data-kfo-section="surcharges-options"] [data-kfo-option][hidden],
body#product #kfo-configurator [data-kfo-section="surcharges-options"] [data-kfo-option].kfo-shape-hidden,
#kfo-configurator [data-kfo-option][hidden],
#kfo-configurator [data-kfo-option].kfo-shape-hidden {
  display: none !important;
}

.kfo-technical-attribute-hidden {
  display: none !important;
}


/* v1.7.0 MOBILE FIRST UX — warstwa prezentacyjna, bez zmian kalkulacji/koszyka */
#kfo-configurator .kfo-mobile-flow,
#kfo-configurator .kfo-mobile-guide,
#kfo-configurator .kfo-mobile-sticky {
  display: none;
}

@media (max-width: 767px) {
  body#product #kfo-configurator.kfo-mobile-first-ready .kfo-card {
    padding: 12px 12px 92px 12px;
    border-radius: 14px;
  }

  body#product #kfo-configurator .kfo-mobile-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 12px;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 6px 0;
    background: linear-gradient(180deg, #ffffff 75%, rgba(255,255,255,0));
  }

  body#product #kfo-configurator .kfo-mobile-flow__step {
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 6px 4px;
    background: #f9fafb;
    text-align: center;
    color: #6b7280;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step strong {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.1;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step.is-active {
    border-color: #111827;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
  }

  body#product #kfo-configurator .kfo-mobile-flow__step.is-active span,
  body#product #kfo-configurator .kfo-mobile-flow__step.is-done span {
    background: #111827;
    color: #ffffff;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step.is-done strong::after {
    content: ' ✓';
  }

  body#product #kfo-configurator .kfo-mobile-guide {
    display: block;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #111827;
    font-size: 13px;
    line-height: 1.35;
  }

  body#product #kfo-configurator .kfo-shape-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body#product #kfo-configurator .kfo-shape-list .kfo-option {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 132px;
    padding: 12px 8px;
    text-align: center;
  }

  body#product #kfo-configurator .kfo-shape-list .kfo-option input[type="radio"] {
    position: absolute;
    top: 8px;
    left: 8px;
  }

  body#product #kfo-configurator .kfo-shape-list .kfo-thumb,
  body#product #kfo-configurator .kfo-shape-list .kfo-option__media {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
  }

  body#product #kfo-configurator .kfo-shape-list .kfo-option__title {
    justify-content: center;
    text-align: center;
    font-size: 14px;
  }

  body#product #kfo-configurator .kfo-shape-desc {
    display: block;
    margin-top: 5px;
    color: #4b5563;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
  }

  body#product #kfo-configurator .kfo-dimension-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body#product #kfo-configurator .kfo-input-action input {
    min-height: 48px;
    font-size: 16px;
  }

  body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option {
    grid-template-columns: auto 56px minmax(0, 1fr);
    min-height: 72px;
    padding: 10px;
  }

  body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option__price {
    display: block;
    width: 100%;
    margin-top: 4px;
    text-align: left;
    font-size: 12px;
  }

  body#product #kfo-configurator .kfo-summary {
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    padding: 14px;
    background: #ffffff;
  }

  body#product #kfo-configurator .kfo-mobile-sticky {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 2147481200;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 38px rgba(15,23,42,.22);
  }

  body#product #kfo-configurator .kfo-mobile-sticky__summary {
    min-width: 0;
    flex: 1 1 auto;
  }

  body#product #kfo-configurator .kfo-mobile-sticky__summary strong,
  body#product #kfo-configurator .kfo-mobile-sticky__summary span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body#product #kfo-configurator .kfo-mobile-sticky__summary strong {
    color: #111827;
    font-size: 13px;
    line-height: 1.2;
  }

  body#product #kfo-configurator .kfo-mobile-sticky__summary span {
    margin-top: 2px;
    color: #4b5563;
    font-size: 11px;
    line-height: 1.2;
  }

  body#product #kfo-configurator .kfo-mobile-sticky__btn {
    width: auto;
    min-width: 104px;
    min-height: 44px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 12px;
  }

  body#product #kfo-configurator .kfo-actions .kfo-btn--primary {
    min-height: 52px;
  }
}

@media (max-width: 380px) {
  body#product #kfo-configurator .kfo-mobile-flow__step strong {
    font-size: 9px;
  }
  body#product #kfo-configurator .kfo-mobile-sticky__btn {
    min-width: 86px;
  }
}


/* v1.7.1 MOBILE FIRST UX FIX — tylko mobile, desktop bez zmian */
@media (max-width: 767px) {
  body#product #kfo-configurator.kfo-mobile-first-ready .kfo-card {
    padding-bottom: 18px;
  }

  body#product #kfo-configurator .kfo-mobile-flow {
    gap: 4px;
    margin-bottom: 8px;
    padding: 4px 0;
    position: static;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step {
    padding: 5px 2px;
    border-radius: 9px;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step span {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step strong {
    font-size: 9px;
    letter-spacing: -0.01em;
  }

  body#product #kfo-configurator .kfo-mobile-guide {
    margin-bottom: 10px;
    padding: 9px 10px;
    font-size: 13px;
  }

  body#product #kfo-configurator .kfo-shape-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body#product #kfo-configurator .kfo-shape-list .kfo-option {
    display: grid !important;
    grid-template-columns: auto 46px minmax(0, 1fr) !important;
    justify-items: stretch;
    align-items: center !important;
    min-height: 58px;
    padding: 8px 10px;
    text-align: left;
  }

  body#product #kfo-configurator .kfo-shape-list .kfo-option input[type="radio"] {
    position: static;
    margin: 0;
  }

  body#product #kfo-configurator .kfo-shape-list .kfo-thumb,
  body#product #kfo-configurator .kfo-shape-list .kfo-option__media {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }

  body#product #kfo-configurator .kfo-shape-list .kfo-option__title {
    justify-content: flex-start !important;
    text-align: left;
    font-size: 13px;
  }

  body#product #kfo-configurator .kfo-shape-desc {
    margin-top: 2px;
    font-size: 11px;
    text-align: left;
  }

  body#product #kfo-configurator [data-kfo-section="surcharges-options"] .kfo-option {
    min-height: 66px;
    padding: 9px;
  }

  body#product #kfo-configurator .kfo-mobile-sticky {
    display: none;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 9px;
  }

  body#product #kfo-configurator .kfo-mobile-sticky.is-visible {
    display: flex;
  }

  body#product #kfo-configurator .kfo-mobile-sticky__btn {
    min-width: 128px;
    min-height: 42px;
    font-size: 12px;
    line-height: 1.15;
  }
}

@media (max-width: 380px) {
  body#product #kfo-configurator .kfo-mobile-sticky__btn {
    min-width: 118px;
  }
}


/* v1.7.2 MOBILE STEPS ALIGN FIX — tylko mobile, desktop bez zmian */
@media (max-width: 767px) {
  body#product #kfo-configurator .kfo-mobile-flow {
    align-items: stretch !important;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 58px !important;
    height: 58px !important;
    padding: 5px 2px !important;
    overflow: hidden !important;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step span {
    flex: 0 0 18px !important;
    margin: 0 0 4px 0 !important;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step strong {
    display: block !important;
    width: 100% !important;
    min-height: 11px !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) {
  body#product #kfo-configurator .kfo-mobile-flow__step {
    min-height: 54px !important;
    height: 54px !important;
  }

  body#product #kfo-configurator .kfo-mobile-flow__step strong {
    font-size: 8.5px !important;
  }
}

/* v1.7.3 MOBILE STICKY CTA REMOVE — tylko mobile, desktop bez zmian */
@media (max-width: 767px) {
  body#product #kfo-configurator .kfo-mobile-sticky {
    display: none !important;
  }
}

