.devman-chained-configurator,
.devman-configuration-summary {
  --devman-accent: #6dbbc8;
  --devman-accent-soft: #eef9fa;
  --devman-border: #e2e7e9;
  --devman-text: #313131;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  color: var(--devman-text);
}

.devman-chained-configurator *,
.devman-chained-configurator *::before,
.devman-chained-configurator *::after,
.devman-configuration-summary *,
.devman-configuration-summary *::before,
.devman-configuration-summary *::after {
  box-sizing: border-box;
}

.devman-chained-configurator {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.devman-chained-configurator > .options-title {
  display: block !important;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0 0 8px;
  padding: 0;
  color: var(--devman-text);
  font: 700 19px/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  border: 0;
  background: none;
}

.devman-chained-configurator button,
.devman-chained-configurator .devman-step-header,
.devman-configuration-summary button {
  appearance: none;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
}

.devman-chained-configurator [role="button"]:focus-visible,
.devman-chained-configurator button:focus-visible,
.devman-configuration-summary button:focus-visible {
  outline: 2px solid #277b8a;
  outline-offset: 3px;
}

.devman-chained-configurator .devman-step {
  position: relative;
  margin: 0 !important;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--devman-border);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(24, 33, 38, .035);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.devman-chained-configurator .devman-step.is-open {
  border-color: #cbdadd;
  box-shadow: 0 7px 24px rgba(24, 70, 78, .08);
}

.devman-chained-configurator .devman-step.is-locked {
  background: #f7f9f9;
  border-color: #e8ecee;
  box-shadow: none;
}

.devman-step.is-locked .devman-step-header {
  color: #707b80;
  background: #f7f9f9;
  cursor: not-allowed;
}

.devman-step.is-locked .devman-step-number { background: #707b80; }
.devman-step.is-locked .devman-step-summary,
.devman-step.is-locked .devman-step-chevron { opacity: .45; }

.devman-step-header {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 58px;
  min-width: 0;
  padding: 10px 16px;
  color: var(--devman-text);
  text-align: left;
  background: #fff;
  border: 0;
  cursor: pointer;
}

#product .devman-chained-configurator .devman-step-header {
  flex-wrap: nowrap;
  flex-direction: row;
  min-width: 0;
}

.devman-step-number {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background: var(--devman-accent);
  border-radius: 50%;
}

.devman-step-title { font-size: 16px; font-weight: 700; }
.devman-helper-button { flex: 0 0 24px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: -5px; padding: 0; color: #fff; font-size: 15px; font-weight: 700; line-height: 1; background: #4976b8; border: 0; border-radius: 50%; cursor: pointer; }
.devman-helper-content { margin: 0 20px 15px; padding: 14px 16px; border-left: 3px solid #4976b8; background: #f4f7fb; color: #344054; font-size: 14px; }
.devman-helper-content[hidden] { display: none !important; }
.devman-card-image { position: relative; }
.devman-image-zoom-icon { position: absolute; right: 13px; bottom: 3px; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: #fff; background: rgba(7, 140, 161, .9); border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.2); opacity: .85; pointer-events: none; }
.devman-image-zoom-icon .fa-search-plus { font-size: 8px; }
.devman-image-zoom-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(0,0,0,.82); }
.devman-image-zoom-modal.is-visible { display: flex; }
.devman-image-zoom-stage { display: flex; align-items: center; justify-content: center; width: min(90vw, 1000px); height: min(85vh, 760px); overflow: hidden; cursor: zoom-in; }
.devman-image-zoom-stage img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; }
.devman-image-zoom-close { position: fixed; top: 15px; right: 22px; color: #fff; font-size: 38px; line-height: 1; background: transparent; border: 0; }
.devman-drift-pane { position: absolute; z-index: 10000; width: min(320px, calc(100vw - 24px)); height: min(320px, calc(100vh - 24px)); pointer-events: none; }
.devman-drift-pane .drift-zoom-pane { border: 1px solid var(--devman-border); border-radius: 8px; box-shadow: 0 10px 35px rgba(0,0,0,.2); }
.devman-chained-configurator .drift-bounding-box { display: none !important; }
.devman-step-summary { margin-left: auto; color: #66757a; font-size: 13px; }
.devman-step-chevron { width: 9px; height: 9px; margin-left: 4px; border-right: 2px solid #66757a; border-bottom: 2px solid #66757a; transform: rotate(45deg); transition: transform .2s ease; }
.devman-step.is-open .devman-step-chevron { transform: rotate(225deg); }
.devman-chained-configurator .devman-step > .devman-step-content {
  display: none !important;
  width: 100%;
  padding: 10px 20px 22px !important;
  box-sizing: border-box;
}
.devman-step.is-open .devman-step-content { display: block; }
.devman-step.is-open:not(.is-locked) .devman-step-content { display: block !important; }
.devman-step-content > select,
.devman-step-content > .radio,
.devman-step-content > [id^="input-option"] { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

.devman-option-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.devman-option-cards[data-simplebar="init"] { display: block; }
.devman-option-cards .simplebar-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; padding-right: 14px !important; }
.devman-option-cards .simplebar-content::before, .devman-option-cards .simplebar-content::after { display: none; content: none; }
.devman-option-cards .simplebar-track.simplebar-vertical { width: 8px; background: #edf1f2; border-radius: 4px; }
.devman-option-cards .simplebar-scrollbar::before { inset: 0; background: var(--devman-accent); border-radius: 4px; opacity: .65; }
.devman-option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  min-width: 0;
  width: 100%;
  padding: 15px 16px;
  color: var(--devman-text);
  text-align: left;
  background: #fff;
  border: 1px solid #dce2e4;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.devman-option-card:hover { border-color: var(--devman-accent); box-shadow: 0 5px 16px rgba(7, 140, 161, .1); }
.devman-option-card.is-selected { padding-right: 42px; background: var(--devman-accent-soft); border-color: var(--devman-accent); box-shadow: 0 0 0 1px var(--devman-accent); }
.devman-card-radio { flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid #b9c3c6; border-radius: 50%; box-shadow: inset 0 0 0 4px #fff; }
.devman-option-card.is-selected .devman-card-radio { background: var(--devman-accent); border-color: var(--devman-accent); }
.devman-card-image { display: flex; flex: 0 0 86px; align-items: center; justify-content: center; height: 68px; }
.devman-card-image img { display: block; max-width: 86px; max-height: 68px; object-fit: contain; }
.devman-card-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.devman-card-copy strong { font-size: 15px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.devman-card-copy small { color: #53666c; font-size: 12px; }
.devman-card-check { position: absolute; top: 12px; right: 14px; display: none; color: var(--devman-accent); font-size: 17px; font-weight: 800; line-height: 1; }
.devman-option-card.is-selected .devman-card-check { display: inline; }
.devman-chained-has-error { border-color: #d9534f !important; }
.devman-chained-error { margin: 10px 16px 14px; }

.devman-configuration-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  container: devman-summary / inline-size;
  margin: 28px 0;
  overflow: hidden;
  color: var(--devman-text, #313131);
  background: #fdfefe;
  border: 1px solid #dce3e5;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(24, 33, 38, .055);
}
.devman-summary-selections { padding: 28px 32px 30px; }
.devman-summary-selections h3 { margin: 0 0 20px; padding: 0; color: #313131; font-family: Arial, Helvetica, sans-serif; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: normal; text-transform: none; border: 0; background: none; }
.devman-summary-list { display: grid; gap: 11px; margin: 0; }
.devman-summary-row { display: grid; grid-template-columns: minmax(135px, 42%) 1fr; gap: 20px; align-items: baseline; }
.devman-summary-row dt, .devman-summary-row dd { margin: 0; font-size: 14px; line-height: 1.4; }
.devman-summary-row dt { color: #263238; font-weight: 500; }
.devman-summary-row dd { color: #4d5d63; font-weight: 400; }
.devman-summary-row dd.is-pending { color: #8a969a; font-style: italic; }
.devman-summary-purchase { display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 28px 32px; background: #fff; border-top: 1px solid #dce3e5; }
.devman-summary-price-label { margin-bottom: 8px; color: #263238; font-size: 14px; font-weight: 600; }
.devman-summary-price { color: #313131; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
.devman-summary-tax { margin: 6px 0 22px; color: #607077; font-size: 13px; }
.devman-configuration-summary .devman-summary-cart { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; margin: 0; padding: 10px 18px; color: #fff; background: #277b8a; background-image: none; border: 1px solid #277b8a; border-radius: 4px; font-size: 16px; font-weight: 700; text-shadow: none; box-shadow: 0 5px 13px rgba(7, 140, 161, .18); cursor: pointer; }
.devman-configuration-summary .devman-summary-cart:hover { color: #fff; background: #206875; border-color: #206875; }
.devman-configuration-summary .devman-summary-cart:disabled { opacity: .6; cursor: wait; }
.devman-summary-cart .fa { font-size: 17px; }
.devman-summary-cart .devman-summary-arrow { margin-left: 2px; font-size: 20px; font-weight: 400; line-height: 1; }
.devman-summary-secure { margin-top: 16px; color: #65747a; font-size: 13px; text-align: center; }
.devman-summary-secure .fa { margin-right: 5px; }
.devman-chained-active .devman-native-purchase { display: none !important; }
.devman-cart-feedback { grid-column: 1 / -1; margin: 0; padding: 16px 24px; color: #a94442; background: #f2dede; border-top: 1px solid #ebccd1; }
.devman-cart-feedback.devman-cart-success { color: #285b35; background: #e7f3e9; border-color: #c6dfcc; }
.devman-cart-feedback a { color: inherit; text-decoration: underline; }

@container devman-summary (min-width: 520px) {
  .devman-summary-purchase { border-top: 0; border-left: 1px solid #dce3e5; }
}

@media (max-width: 767px) {
  .devman-option-cards { grid-template-columns: 1fr; }
  .devman-option-cards .simplebar-content { grid-template-columns: 1fr; }
  #product .devman-chained-configurator .devman-step-header { padding: 9px 12px; }
  .devman-chained-configurator .devman-step > .devman-step-content { padding: 6px 14px 16px !important; }
  .devman-step-summary { max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .devman-card-image { flex-basis: 72px; }
  .devman-configuration-summary { grid-template-columns: 1fr; }
  .devman-summary-selections, .devman-summary-purchase { padding: 20px; }
  .devman-summary-purchase { border-top: 1px solid #dde3e5; border-left: 0; }
  .devman-summary-row { grid-template-columns: minmax(100px, 42%) 1fr; gap: 10px; }
}
