/* Fleetwood Prestige Order Module v1.0.6
 * Deterministic compact layout.
 * Important: PPOM field values, option metadata and pricing remain native.
 */
.fleetwood-prestige-order-module {
  display: block !important;
  position: static !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 34rem !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 1.5rem 0 !important;
  padding: 0 !important;
}

.fleetwood-prestige-order-module__title {
  display: block !important;
  position: static !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
}

.fleetwood-prestige-order-module form.cart#fleetwood-prestige-order-form {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 34rem !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fleetwood-prestige-order-module form.cart#fleetwood-prestige-order-form > * {
  position: static !important;
  float: none !important;
  width: 100% !important;
  max-width: 34rem !important;
  height: auto !important;
  min-height: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.fleetwood-prestige-order-module__label,
.fleetwood-prestige-order-module .ppom-field-wrapper label,
.fleetwood-prestige-order-module .form-group > label {
  display: block !important;
  margin: 0 0 .4rem !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.fleetwood-prestige-order-module__select,
.fleetwood-prestige-order-module .ppom-wrapper select,
.fleetwood-prestige-order-module select.ppom-input {
  -webkit-appearance: menulist !important;
  appearance: auto !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 34rem !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: .55rem .75rem !important;
  color: #222 !important;
  background: #fff !important;
  border: 1px solid #d7d7d7 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
}

.fleetwood-prestige-order-module__select {
  margin-bottom: 1rem !important;
}

.fleetwood-prestige-order-module__ppom-slot {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 34rem !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fleetwood-prestige-order-module__ppom-slot:empty {
  display: none !important;
}

/* Critical fix: PPOM renders a .form-row around the actual size field.
 * That parent inherited theme/WooCommerce layout and stretched the child.
 */
.fleetwood-prestige-order-module__ppom-slot .ppom-wrapper,
.fleetwood-prestige-order-module__ppom-slot [id^="ppom-box-"],
.fleetwood-prestige-order-module__ppom-slot .ppom-rendering-fields,
.fleetwood-prestige-order-module__ppom-slot .form-row,
.fleetwood-prestige-order-module__ppom-slot .ppom-field-wrapper,
.fleetwood-prestige-order-module__ppom-slot .form-group,
.fleetwood-prestige-order-module__ppom-slot .row,
.fleetwood-prestige-order-module__ppom-slot [class*="col-"] {
  box-sizing: border-box !important;
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 34rem !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  flex: none !important;
  align-self: auto !important;
  justify-content: flex-start !important;
  transform: none !important;
}

.fleetwood-prestige-order-module__ppom-slot .form-row,
.fleetwood-prestige-order-module__ppom-slot .ppom-field-wrapper,
.fleetwood-prestige-order-module__ppom-slot .form-group {
  margin-bottom: .8rem !important;
}

.fleetwood-prestige-order-module__ppom-slot .ppom-price-container,
.fleetwood-prestige-order-module__ppom-slot .ppom-total-container,
.fleetwood-prestige-order-module__ppom-slot .ppom-option-total,
.fleetwood-prestige-order-module__ppom-slot .ppom-total-without-fixed {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 34rem !important;
  height: auto !important;
  min-height: 0 !important;
  margin: .5rem 0 0 !important;
  padding: 0 !important;
}

.fleetwood-prestige-order-module__status {
  min-height: 0 !important;
  margin: .4rem 0 0 !important;
  padding: 0 !important;
}

.fleetwood-prestige-order-module__status:empty {
  display: none !important;
}

.fleetwood-prestige-order-module__submit {
  display: inline-block !important;
  position: static !important;
  width: auto !important;
  min-width: 14rem !important;
  margin: 1rem 0 0 !important;
}

.fleetwood-prestige-order-module__submit:disabled {
  display: none !important;
}
