/* Storefront UI: 18px important headings, 16px base text, 14px helper text. */
.apc-configurator-wrap {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
  margin: 26px 0 16px;
}

.apc-configurator {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-size: 16px;
}

.apc-title {
  margin: 0 0 18px;
  font: inherit;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: inherit;
}

.apc-variation-wait {
  margin: -8px 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(0, 0, 0, .62);
}

.apc-step {
  display: none;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid rgba(30, 24, 18, .10);
}

.apc-step.is-active {
  display: block;
}

.apc-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.apc-step-title,
.apc-subsection-title {
  margin: 0 0 10px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 650;
  color: inherit;
}

.apc-subsection-title {
  margin-top: 16px;
}

.apc-section-question {
  margin: 8px 0 10px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}

.apc-help,
.apc-info {
  margin: 5px 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, .62);
  font-size: 14px;
  line-height: 1.5;
}

.apc-choice-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.apc-option {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  width: auto !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 9px 14px !important;
  box-sizing: border-box;
  border: 1px solid #ded8cf;
  border-radius: 999px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 16px;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.apc-option:hover {
  border-color: #c9bdae;
}

.apc-option.is-selected {
  border-color: #cdbda8;
  background: #f4ecdf;
  box-shadow: inset 0 0 0 1px rgba(98, 75, 48, .03);
}

.apc-option input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  margin: 0 !important;
  accent-color: #2b2926;
}

.apc-option span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.apc-field {
  display: block !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  font: inherit;
}

.apc-field > span {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(0, 0, 0, .7);
}

.apc-field > span em {
  font-style: normal;
  font-weight: 400;
  color: rgba(0, 0, 0, .5);
}

.apc-field input[type="text"],
.apc-field textarea,
.apc-field select,
.apc-date-group select,
.apc-time-select {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 9px 12px !important;
  box-sizing: border-box;
  border: 1px solid #ded8cf !important;
  border-radius: 9px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  font-size: 16px !important;
  line-height: 1.4;
}

.apc-field textarea {
  min-height: 74px;
  resize: vertical;
}

.apc-field input:focus,
.apc-field textarea:focus,
.apc-field select:focus {
  outline: none;
  border-color: #bca990 !important;
  box-shadow: 0 0 0 2px rgba(188, 169, 144, .12) !important;
}

.apc-colour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.apc-date-group {
  display: grid;
  grid-template-columns: .75fr 1.35fr .9fr;
  gap: 7px;
}

.apc-upload-field {
  margin-top: 13px !important;
}

.apc-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.apc-upload-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 2px 0 0 !important;
  padding: 8px 13px !important;
  border: 1px solid #ded8cf;
  border-radius: 999px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
}

.apc-upload-button:hover {
  border-color: #c9bdae;
  background: #faf8f5;
}

.apc-upload-hint,
.apc-file-status {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(0, 0, 0, .55);
}

.apc-file-status:not(:empty) {
  color: rgba(0, 0, 0, .74);
}

.apc-price-badge {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.apc-conditional {
  margin-top: 10px;
}

.apc-installation-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(30, 24, 18, .10);
}

.apc-deposit-notice {
  margin: 12px 0 4px;
  padding: 11px 13px;
  border-radius: 9px;
  background: #f7f0e7;
  font-size: 16px;
  line-height: 1.45;
}

.apc-deposit-notice strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
  word-spacing: normal;
  letter-spacing: normal;
}

.apc-deposit-notice span {
  display: block;
  font-size: 14px;
}

.apc-live-price {
  width: 100%;
  margin: 8px 0 13px;
  color: inherit;
  font: inherit;
  line-height: 1.2;
}

.apc-live-price .price {
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
}

.apc-live-price del {
  opacity: .5;
  margin-right: 6px;
}

.apc-live-price ins {
  text-decoration: none;
}

form.variations_form.apc-price-managed .woocommerce-variation-price {
  display: none !important;
}

.summary.apc-price-managed-summary > .price {
  display: none !important;
}

@media (max-width: 820px) {
  .apc-colour-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .apc-date-group {
    grid-template-columns: .8fr 1.3fr .9fr;
  }
}

@media (max-width: 640px) {
  .apc-configurator-wrap {
    margin: 22px 0 14px;
  }

  .apc-grid-2 {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .apc-choice-row {
    gap: 7px;
  }

  .apc-choice-row--stackable {
    align-items: stretch;
    flex-direction: column;
  }

  .apc-choice-row--stackable .apc-option {
    width: 100% !important;
  }

  .apc-option {
    min-height: 40px;
    padding: 8px 12px !important;
  }

  .apc-date-group {
    grid-template-columns: .75fr 1.25fr .85fr;
  }

  .apc-live-price .price {
    font-size: 22px !important;
  }
}


@media (max-width: 520px) {
  .apc-deposit-notice strong {
    white-space: normal;
  }
}
