/* Add-on styles; leaves the existing website stylesheet intact. */
h1{
  font-size: 35px;
}
.sc-search {
  align-items: center;
}

.sc-search select,
.sc-quantity-row select,
.sc-modal-main select {
  border: 1px solid #cddbe1;
  border-radius: 9px;
  padding: 12px 13px;
  background: #fff;
  color: #243746;
  max-width: 100%;
}

.sc-search input {
  flex: 1;
  min-width: 180px;
}

.sc-search select {
  min-width: 190px;
}

.sc-card-actions .btn {
  padding: 9px 12px;
  font-size: .85rem;
}

.sc-image-placeholder {
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #eef5f7, #dcebef);
  color: #17364b;
}

.sc-image-placeholder span {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .05em
}

.sc-image-placeholder small {
  color: #627584;
  font-weight: 700
}

.sc-large {
  min-height: 340px;
  border-radius: 16px
}

.sc-breadcrumb {
  font-size: .9rem;
  color: #627584;
  margin-bottom: 24px
}

.sc-breadcrumb a {
  color: #176b87;
  font-weight: 700
}

.sc-detail-image {
  min-height: 340px
}

.sc-detail-image>img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid #dce6eb;
  border-radius: 16px;
  background: #fff
}

.sc-product-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem)
}

.sc-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: #17364b
}

.sc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 22, 30, .72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto
}

.sc-modal-backdrop.is-open {
  display: flex
}

body.sc-modal-open {
  overflow: hidden
}

.sc-modal {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(380px, 1fr);
  width: min(900px, 100%);
  max-height: min(760px, 94vh);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 90px #0005
}

.sc-modal-close {
  position: absolute;
  right: 13px;
  top: 8px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  color: #667782;
  cursor: pointer
}

.sc-modal-product {
  padding: 25px 22px;
  background: #f8fafb;
  border-right: 1px solid #e2e9ed
}

.sc-modal-product-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e1e8ec;
  border-radius: 8px;
  overflow: hidden;
  color: #17364b;
  font-size: 2rem;
  font-weight: 900
}

.sc-modal-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.sc-modal-product-info h3 {
  font-size: 1.15rem;
  margin: 8px 0;
  color: #243746;
  overflow-wrap: anywhere
}

.sc-modal-product-info p {
  margin: 7px 0;
  font-size: .88rem;
  color: #536875
}

.sc-modal-price {
  font-weight: 800;
  color: #17364b !important
}

.sc-modal-main {
  padding: 54px 36px 28px;
  min-width: 0
}

.sc-modal-main h2 {
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 0 25px 8px 0
}

.sc-step-intro {
  color: #627584;
  margin-bottom: 26px
}

.sc-field-label {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  margin: 15px 0 8px
}

.sc-quantity-row {
  display: flex;
  gap: 10px;
  max-width: 460px
}

.sc-quantity-row input {
  flex: 1;
  min-width: 40%
}

.sc-quantity-row select {
  width: 135px
}

.sc-choice-grid {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 16px 0 22px
}

.sc-choice {
  display: inline-flex;
  cursor: pointer
}

.sc-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px
}

.sc-choice span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cbd7dd;
  border-radius: 24px;
  padding: 9px 13px;
  color: #354a57;
  background: #fff;
  font-size: .92rem
}

.sc-choice span:before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1px solid #9aabb4;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 14px
}

.sc-choice input:checked+span {
  border-color: #078477;
  background: #e8f7f4;
  color: #075e56
}

.sc-choice input:checked+span:before {
  border: 4px solid #078477
}

.sc-choice input:focus-visible+span {
  outline: 3px solid #78cfc2;
  outline-offset: 2px
}

.sc-modal-main select,
.sc-modal-main textarea {
  width: 100%
}

.sc-step-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px
}

.sc-step-actions .btn {
  min-width: 125px
}

.sc-step-progress {
  display: flex;
  gap: 6px;
  margin-top: 28px
}

.sc-step-progress span {
  height: 4px;
  flex: 1;
  border-radius: 4px;
  background: #e1e8ec
}

.sc-step-progress span.sc-progress-active {
  background: #078477
}

.sc-form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px
}

.sc-form-two .sc-field-label {
  margin: 8px 0
}

.sc-form-two input {
  display: block;
  margin-top: 6px;
  font-weight: 400
}

.sc-full {
  grid-column: 1/-1
}

.sc-privacy-note {
  font-size: .78rem;
  color: #6c7d86;
  margin: 14px 0
}

.sc-form-message {
  color: #b42318;
  font-size: .9rem
}

.sc-success {
  max-width: 650px;
  text-align: center;
  border: 1px solid #dce6eb;
  border-radius: 18px;
  padding: 45px 25px;
  box-shadow: 0 12px 35px #17364b12
}

.sc-success-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e4f7f0;
  color: #087f68;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 900
}

@media(max-width:700px) {
  .sc-modal-backdrop {
    padding: 8px;
    align-items: flex-start
  }

  .sc-modal {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 96vh;
    border-radius: 12px
  }

  .sc-modal-product {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid #e2e9ed
  }

  .sc-modal-product-image {
    height: 110px
  }

  .sc-modal-product-info h3 {
    font-size: 1rem
  }

  .sc-modal-product-info p {
    font-size: .78rem
  }

  .sc-modal-main {
    padding: 28px 18px 20px
  }

  .sc-modal-main h2 {
    font-size: 1.3rem;
    margin-right: 24px
  }

  .sc-step-intro {
    margin-bottom: 18px
  }

  .sc-choice span {
    font-size: .84rem;
    padding: 8px 10px
  }

  .sc-form-two {
    grid-template-columns: 1fr
  }

  .sc-full {
    grid-column: auto
  }

  .sc-card-actions {
    align-items: flex-start
  }

  .sc-search select {
    width: 100%
  }
}