/*
 * Theme guard for the repairOS frontend wizard.
 *
 * These rules intentionally stay inside the wizard body markers. They neutralize
 * common WordPress-theme defaults without changing the surrounding website.
 */
body.ros-wizard-active #ros-stepper#ros-stepper,
html.ros-has-wizard body #ros-stepper#ros-stepper {
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  max-width: 100% !important;
  font-family: inherit !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
}

/* Mobile Safari: Theme-Regeln dürfen das Modell-Suchfeld beim Fokus nicht
 * unter 16 px verkleinern, da iOS die Seite sonst automatisch heranzoomt. */
@media (max-width: 620px) {
  body.ros-wizard-active #ros-step-2#ros-step-2 input#ros_device_search,
  body.ros-wizard-active #ros-step-2#ros-step-2 input#ros_device_search:focus,
  html.ros-has-wizard body #ros-step-2#ros-step-2 input#ros_device_search,
  html.ros-has-wizard body #ros-step-2#ros-step-2 input#ros_device_search:focus {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
}


/*
 * Step 2 model info: genuine device colors below the model number.
 * Dedicated classes keep the informational swatches independent from the
 * selectable summary-row colors and protect their layout from theme CSS.
 */
body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-colors,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-colors {
  display: flex !important;
  align-items: center !important;
  flex-flow: row wrap !important;
  gap: 6px 8px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  color: #687385 !important;
  font: 500 11px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  white-space: normal !important;
  overflow: visible !important;
}

body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-colors-label,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-colors-label {
  display: inline-block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #687385 !important;
  font: inherit !important;
}

body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color-list,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color-list {
  position: relative !important;
  display: inline-flex !important;
  flex: 1 1 120px !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 1px 0 !important;
  overflow: visible !important;
}

body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 18px !important;
  box-sizing: border-box !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #c8d0da !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background: rgba(255, 255, 255, .86) !important;
  color: inherit !important;
  box-shadow: 0 1px 3px rgba(30, 41, 59, .13) !important;
  cursor: default !important;
  transform: translateY(0) scale(1) !important;
  transform-origin: 50% 55% !important;
  transition: transform .15s cubic-bezier(.25, .65, .35, 1), border-color .15s ease, box-shadow .15s ease !important;
  will-change: transform, border-color, box-shadow !important;
  overflow: visible !important;
}

body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color-swatch,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color-swatch {
  display: block !important;
  box-sizing: border-box !important;
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ros-s2-detail-color, #d1d5db) !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08) !important;
  pointer-events: none !important;
}

body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color:hover,
body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color:focus-visible,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color:hover,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color:focus-visible {
  border-color: #98a4b3 !important;
  outline: 0 !important;
  box-shadow: 0 3px 7px rgba(30, 41, 59, .16) !important;
  transform: translateY(-1px) scale(1.055) !important;
}

body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color-tip,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color-tip {
  position: absolute !important;
  left: 50% !important;
  bottom: calc(100% + 7px) !important;
  z-index: 100060 !important;
  display: block !important;
  box-sizing: border-box !important;
  width: max-content !important;
  min-width: 0 !important;
  max-width: min(180px, calc(100vw - 30px)) !important;
  margin: 0 !important;
  padding: 4px 7px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: rgba(24, 31, 43, .94) !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .18) !important;
  font: 500 10px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, 3px) !important;
  transition: opacity .13s ease, transform .13s ease, visibility .13s ease !important;
}

body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color:hover .ros-s2-detail-color-tip,
body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color:focus-visible .ros-s2-detail-color-tip,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color:hover .ros-s2-detail-color-tip,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color:focus-visible .ros-s2-detail-color-tip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, 0) !important;
}

body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row.ros-s2-detail-colors-wave .ros-s2-detail-color,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row.ros-s2-detail-colors-wave .ros-s2-detail-color {
  animation: rosS2DetailColorWave .34s cubic-bezier(.25, .65, .35, 1) both !important;
  animation-delay: calc(.02s + (var(--ros-s2-detail-color-index, 0) * .045s)) !important;
}

@keyframes rosS2DetailColorWave {
  0%, 100% {
    border-color: #c8d0da;
    box-shadow: 0 1px 3px rgba(30, 41, 59, .13);
    transform: translateY(0) scale(1);
  }
  50% {
    border-color: #98a4b3;
    box-shadow: 0 3px 7px rgba(30, 41, 59, .16);
    transform: translateY(-1.35px) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row.ros-s2-detail-colors-wave .ros-s2-detail-color,
  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row.ros-s2-detail-colors-wave .ros-s2-detail-color,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .detail-row .ros-s2-detail-color {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}


body.ros-wizard-active #ros-stepper#ros-stepper *,
body.ros-wizard-active #ros-stepper#ros-stepper *::before,
body.ros-wizard-active #ros-stepper#ros-stepper *::after,
html.ros-has-wizard body #ros-stepper#ros-stepper *,
html.ros-has-wizard body #ros-stepper#ros-stepper *::before,
html.ros-has-wizard body #ros-stepper#ros-stepper *::after {
  box-sizing: border-box !important;
}

body.ros-wizard-active #ros-stepper#ros-stepper > .ros-step,
html.ros-has-wizard body #ros-stepper#ros-stepper > .ros-step {
  -webkit-appearance: none !important;
  appearance: none !important;
  float: none !important;
  font-family: inherit !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  line-height: normal !important;
  text-indent: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  list-style: none !important;
}

body.ros-wizard-active #ros-stepper#ros-stepper > .ros-step::marker,
html.ros-has-wizard body #ros-stepper#ros-stepper > .ros-step::marker {
  content: "" !important;
}

body.ros-wizard-active :is(
  .ros-frontend-wizard,
  .ros-step-content,
  .ros-frontend-form,
  .ros-wizard-nav,
  .ros-fw-stylebar,
  .ros-preview-card,
  .ros-brand-grid,
  .ros-category-grid,
  .ros-color-grid,
  .ros-form-grid,
  .ros-payment-method-grid,
  .ros-repair-grid
),
html.ros-has-wizard body :is(
  .ros-frontend-wizard,
  .ros-step-content,
  .ros-frontend-form,
  .ros-wizard-nav,
  .ros-fw-stylebar,
  .ros-preview-card,
  .ros-brand-grid,
  .ros-category-grid,
  .ros-color-grid,
  .ros-form-grid,
  .ros-payment-method-grid,
  .ros-repair-grid
) {
  box-sizing: border-box !important;
  float: none !important;
  min-width: 0 !important;
  max-width: 100% !important;
  text-indent: 0 !important;
}

body.ros-wizard-active :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) *,
body.ros-wizard-active :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) *::before,
body.ros-wizard-active :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) *::after,
html.ros-has-wizard body :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) *,
html.ros-has-wizard body :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) *::before,
html.ros-has-wizard body :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) *::after {
  box-sizing: border-box !important;
}

body.ros-wizard-active :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) :is(button, input, select, textarea),
html.ros-has-wizard body :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) :is(button, input, select, textarea) {
  box-sizing: border-box !important;
  float: none !important;
  max-width: 100% !important;
  font-family: inherit !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  text-indent: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
}

body.ros-wizard-active :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) :is(button, [type="button"], [type="submit"], [type="reset"], .ros-btn),
html.ros-has-wizard body :is(.ros-step-content, .ros-frontend-form, .ros-wizard-nav) :is(button, [type="button"], [type="submit"], [type="reset"], .ros-btn) {
  -webkit-appearance: none !important;
  appearance: none !important;
  font-family: inherit !important;
  text-decoration: none !important;
}

body.ros-wizard-active :is(.ros-step-content, .ros-frontend-form) :is(
  .brand-card,
  .repair-card,
  .ros-card,
  .ros-cat-card,
  .ros-category-card,
  .ros-payment-method-card,
  .ros-popular-model-card,
  .ros-preview-card
),
html.ros-has-wizard body :is(.ros-step-content, .ros-frontend-form) :is(
  .brand-card,
  .repair-card,
  .ros-card,
  .ros-cat-card,
  .ros-category-card,
  .ros-payment-method-card,
  .ros-popular-model-card,
  .ros-preview-card
) {
  box-sizing: border-box !important;
  float: none !important;
  min-width: 0 !important;
  max-width: 100% !important;
  font-family: inherit !important;
  text-indent: 0 !important;
  text-transform: none !important;
}

body.ros-wizard-active :is(.ros-step-content, .ros-frontend-form) :is(h1, h2, h3, h4, h5, h6, label, legend),
html.ros-has-wizard body :is(.ros-step-content, .ros-frontend-form) :is(h1, h2, h3, h4, h5, h6, label, legend) {
  float: none !important;
  max-width: 100% !important;
  font-family: inherit !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  text-indent: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
}

body.ros-wizard-active :is(.ros-step-content, .ros-frontend-form) :is(ul, ol),
html.ros-has-wizard body :is(.ros-step-content, .ros-frontend-form) :is(ul, ol) {
  list-style-position: outside !important;
}

body.ros-wizard-active :is(.ros-step-content, .ros-frontend-form) :is(img, svg),
html.ros-has-wizard body :is(.ros-step-content, .ros-frontend-form) :is(img, svg) {
  box-sizing: border-box !important;
  float: none !important;
  max-width: 100% !important;
}

/*
 * The country-code control in the price-request popup is generated at runtime
 * outside .ros-step-content. Keep it independent from generic theme buttons.
 */
body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-field,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-field {
  display: grid !important;
  grid-template-columns: minmax(108px, 132px) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-field.ros-phone-field--stack,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-field.ros-phone-field--stack {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-wrap,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-wrap {
  position: relative !important;
  box-sizing: border-box !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-trigger,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-trigger {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 10px 10px 14px !important;
  border: 2px solid #e3e3e3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #374151 !important;
  font: 600 1rem/1.1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-trigger:hover,
body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-trigger:active,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-trigger:hover,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-trigger:active {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #374151 !important;
  transform: none !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger *,
body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger *::before,
body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger *::after,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger *,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger *::before,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger *::after {
  box-sizing: border-box !important;
  font-family: inherit !important;
  text-transform: none !important;
  text-shadow: none !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger-main,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger-main {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  gap: 7px !important;
  min-width: 0 !important;
  transform: none !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger-text,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-trigger-text {
  display: inline-flex !important;
  align-items: baseline !important;
  flex: 0 0 auto !important;
  gap: 4px !important;
  min-width: max-content !important;
  white-space: nowrap !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-chevron,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-chevron {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 13px !important;
  width: 13px !important;
  min-width: 13px !important;
  height: 13px !important;
  margin: 0 0 0 auto !important;
  padding-left: 4px !important;
  color: #58657f !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-menu,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form .ros-phone-country-menu {
  box-sizing: border-box !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #374151 !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-option,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-option {
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  float: none !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #374151 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
  text-shadow: none !important;
  transform: none !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-option:hover,
body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-option:focus,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-option:hover,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-option:focus {
  background: #f4f7fb !important;
  background-color: #f4f7fb !important;
  background-image: none !important;
  color: #1f2937 !important;
}

body.ros-wizard-active #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-option.is-selected,
html.ros-has-wizard body #ros-price-popup#ros-price-popup #ros-price-form#ros-price-form button.ros-phone-country-option.is-selected {
  background: #eef4ff !important;
  background-color: #eef4ff !important;
  background-image: none !important;
  color: #1d4f91 !important;
}

/*
 * Step 2 model live search: compact desktop actions.
 *
 * The generic wizard control baseline intentionally keeps regular buttons at
 * 16px. Badges and result-row actions are compact controls, so they need their
 * own final values. Keeping this in the protected layer prevents themes from
 * reintroducing button min-heights, padding or typography on wide viewports.
 * Tablet and phone layouts retain their dedicated responsive rules.
 */
@media (min-width: 1025px) {
  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    inline-size: auto !important;
    block-size: auto !important;
    width: auto !important;
    height: auto !important;
    min-inline-size: 0 !important;
    min-block-size: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-inline-size: none !important;
    max-block-size: none !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 0 0 6px !important;
    padding: 2px 6px !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    font: 700 9px/1 var(--font-family-main, "Bai Jamjuree", Arial, sans-serif) !important;
    letter-spacing: 0 !important;
    text-indent: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge .gsma-badge-label,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge .gsma-badge-label {
    display: inline !important;
    inline-size: auto !important;
    block-size: auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    white-space: inherit !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge .gsma-badge-dot,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge .gsma-badge-dot {
    display: block !important;
    inline-size: 5px !important;
    block-size: 5px !important;
    width: 5px !important;
    height: 5px !important;
    min-width: 5px !important;
    min-height: 5px !important;
    flex: 0 0 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge-online-local,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge-online-local {
    border-color: #c8ebd7 !important;
    background: #e9f7ef !important;
    color: #146a43 !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge-online-server,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .gsma-badge-online-server {
    border-color: #cfe0ff !important;
    background: #eaf2ff !important;
    color: #1f53b8 !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn,
  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn:hover,
  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn:focus,
  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn:focus-visible,
  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn:active,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn:hover,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn:focus,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn:focus-visible,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn:active {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    inline-size: auto !important;
    block-size: 27px !important;
    width: auto !important;
    height: 27px !important;
    min-inline-size: 0 !important;
    min-block-size: 27px !important;
    min-width: 0 !important;
    min-height: 27px !important;
    max-inline-size: none !important;
    max-block-size: 27px !important;
    max-width: none !important;
    max-height: 27px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 5px !important;
    outline-offset: 2px !important;
    background: #f2f3f5 !important;
    color: #222 !important;
    -webkit-text-fill-color: #222 !important;
    font: 600 11px/1 var(--font-family-main, "Bai Jamjuree", Arial, sans-serif) !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    animation: none !important;
    filter: none !important;
    transform: none !important;
    --ros-suggest-status-color: #222 !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn::before,
  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn::after,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn::before,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest button.gsma-info-btn::after {
    content: none !important;
    display: none !important;
  }
}

/*
 * Step 1 manufacturer cards: generated text logos use one neutral wordmark.
 * Real image logos are intentionally untouched.
 */
body.ros-wizard-active #ros-step-1#ros-step-1 .brand-card.ros-brand-no-logo::before,
html.ros-has-wizard body #ros-step-1#ros-step-1 .brand-card.ros-brand-no-logo::before {
  font-family: "Bai Jamjuree", Arial, sans-serif !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-stretch: normal !important;
  font-synthesis: none !important;
  font-variant: normal !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* ROS stepper: visited number steps match upcoming steps with a soft gray fill. */
body.ros-wizard-active #ros-stepper#ros-stepper.ros-icon-stepper > .ros-step.completed:not(.active):not(:first-child) .ros-step-orb,
html.ros-has-wizard body #ros-stepper#ros-stepper.ros-icon-stepper > .ros-step.completed:not(.active):not(:first-child) .ros-step-orb {
  border-color: var(--ros-icon-stepper-border, #c4cfdd) !important;
  background: #f1f3f5 !important;
  color: #667085 !important;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, .12) !important;
}

/* ROS stepper: use the same muted visited state on tablet and phone. */
@media (max-width: 1024px) {
  body.ros-wizard-active.ros-fw-experience-active.ros-fw-stepper-ros #ros-stepper#ros-stepper.ros-ros-stepper > .ros-step.completed:not(.active):not([data-step="0"]) .ros-step-orb,
  html.ros-has-wizard body.ros-wizard-active.ros-fw-experience-active.ros-fw-stepper-ros #ros-stepper#ros-stepper.ros-ros-stepper > .ros-step.completed:not(.active):not([data-step="0"]) .ros-step-orb {
    border-color: #c4cfdd !important;
    background: #f1f3f5 !important;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, .12) !important;
  }

  body.ros-wizard-active.ros-fw-experience-active.ros-fw-stepper-ros #ros-stepper#ros-stepper.ros-ros-stepper > .ros-step.completed:not(.active):not([data-step="0"]) .ros-step-no,
  html.ros-has-wizard body.ros-wizard-active.ros-fw-experience-active.ros-fw-stepper-ros #ros-stepper#ros-stepper.ros-ros-stepper > .ros-step.completed:not(.active):not([data-step="0"]) .ros-step-no {
    color: #667085 !important;
  }
}

/* Classic Step 2: keep every thumbnail pinned to the left of its card. */
body.ros-wizard-active:not(.ros-fw-modelcards) #ros-step-2#ros-step-2 .ros-popular-model-card,
html.ros-has-wizard body:not(.ros-fw-modelcards) #ros-step-2#ros-step-2 .ros-popular-model-card {
  justify-content: flex-start !important;
}

body.ros-wizard-active:not(.ros-fw-modelcards) #ros-step-2#ros-step-2 .ros-popular-model-card > img.ros-model-thumb,
body.ros-wizard-active:not(.ros-fw-modelcards) #ros-step-2#ros-step-2 .ros-popular-model-card > .ros-model-thumb-pane,
html.ros-has-wizard body:not(.ros-fw-modelcards) #ros-step-2#ros-step-2 .ros-popular-model-card > img.ros-model-thumb,
html.ros-has-wizard body:not(.ros-fw-modelcards) #ros-step-2#ros-step-2 .ros-popular-model-card > .ros-model-thumb-pane {
  flex: 0 0 auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.ros-wizard-active:not(.ros-fw-modelcards) #ros-step-2#ros-step-2 .ros-popular-model-card > .ros-popular-model-text,
html.ros-has-wizard body:not(.ros-fw-modelcards) #ros-step-2#ros-step-2 .ros-popular-model-card > .ros-popular-model-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Step 2: model photos keep a soft edge even when a theme resets image radii. */
body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card img.ros-model-thumb,
html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card img.ros-model-thumb {
  width: min(112px, 96%) !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  box-shadow: none !important;
}

/* Step 2 phones/tablets/watches: a subtle portrait tile reduces side whitespace. */
body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card[data-category*="Smartphone" i] img.ros-model-thumb,
body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card[data-category*="Tablet" i] img.ros-model-thumb,
body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card[data-category*="Watch" i] img.ros-model-thumb,
html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card[data-category*="Smartphone" i] img.ros-model-thumb,
html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card[data-category*="Tablet" i] img.ros-model-thumb,
html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card[data-category*="Watch" i] img.ros-model-thumb {
  aspect-ratio: 3 / 4 !important;
}

/* Step 2 tablet: enlarge photos within the narrower thumbnail rail. */
@media (min-width: 721px) and (max-width: 1120px) {
  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card img.ros-model-thumb,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card img.ros-model-thumb {
    width: min(96px, 96%) !important;
  }
}

/* Step 2 phone: use the available 50px rail without overflowing it. */
@media (max-width: 720px) {
  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card img.ros-model-thumb,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card img.ros-model-thumb {
    width: min(50px, 96%) !important;
  }
}

/* Step 2 desktop: keep the existing three-column layout inside narrow themes. */
@media (min-width: 1121px) {
  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 #ros-popular-models,
  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 #ros-imported-models,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 #ros-popular-models,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 #ros-imported-models {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .ros-popular-model-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/*
 * Protected Step 2 live-search geometry.
 * Keep complete model names visible even when the active theme applies global
 * no-wrap, overflow or fixed button/grid rules to search-result content.
 */
body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-s2-title,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-s2-title {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: none !important;
  line-height: 1.25 !important;
}

body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-s2-title mark.ros-s2-mark,
html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-s2-title mark.ros-s2-mark {
  white-space: inherit !important;
  line-height: inherit !important;
}

@media (max-width: 620px) {
  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .summary-row,
  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest.open .summary-row,
  body.ros-wizard-active.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest.open .summary-row,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .summary-row,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest.open .summary-row,
  html.ros-has-wizard body.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest.open .summary-row {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) 34px !important;
    grid-template-rows: auto !important;
    column-gap: 6px !important;
    row-gap: 5px !important;
    justify-content: stretch !important;
    white-space: normal !important;
    height: auto !important;
    min-height: 42px !important;
    overflow: visible !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .summary-row > img,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .summary-row > img {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-s2-title,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-s2-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .summary-row .gsma-badge,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .summary-row .gsma-badge {
    display: none !important;
  }

  body.ros-wizard-active #ros-step-2#ros-step-2 .gsma-suggest .summary-row button.gsma-info-btn,
  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest.open .summary-row button.gsma-info-btn,
  body.ros-wizard-active.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest.open .summary-row button.gsma-info-btn,
  html.ros-has-wizard body #ros-step-2#ros-step-2 .gsma-suggest .summary-row button.gsma-info-btn,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest.open .summary-row button.gsma-info-btn,
  html.ros-has-wizard body.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest.open .summary-row button.gsma-info-btn {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
  }

  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-row,
  body.ros-wizard-active.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-row,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-row,
  html.ros-has-wizard body.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-row {
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-btn,
  body.ros-wizard-active.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-empty,
  body.ros-wizard-active.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-btn,
  body.ros-wizard-active.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-empty,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-btn,
  html.ros-has-wizard body.ros-fw-modelcards #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-empty,
  html.ros-has-wizard body.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-btn,
  html.ros-has-wizard body.ros-fw-flow #ros-step-2#ros-step-2 .gsma-suggest .summary-row .ros-suggest-color-empty {
    float: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
}
