/* ==========================================================
   Configure new accordion page
   ========================================================== */
.configurator-gallery {
  position: relative;
}

.configurator-gallery .classified-show-gallery__main-wrap {
  overflow: hidden;
  border: 1px solid rgba(37, 26, 19, 0.1);
  border-radius: 18px;
  background: rgba(37, 26, 19, 0.04);
  box-shadow: 0 18px 42px rgba(37, 26, 19, 0.1);
}

.configurator-gallery .classified-show-gallery__main {
  width: 100%;
  background: #fff;
}

.configurator-gallery .classified-show-gallery__main .swiper-slide a {
  display: block;
}

.configurator-gallery .classified-show-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(37, 26, 19, 0.05);
}

.configurator-gallery .classified-show-gallery__badge,
.configurator-gallery .classified-show-gallery__counter,
.configurator-gallery .classified-show-gallery__fullscreen,
.configurator-gallery .classified-show-gallery__nav {
  position: absolute;
  z-index: 5;
}

.configurator-gallery .classified-show-gallery__badge {
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: rgba(37, 26, 19, 0.86);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.configurator-gallery .classified-show-gallery__counter {
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(37, 26, 19, 0.78);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.configurator-gallery .classified-show-gallery__fullscreen,
.configurator-gallery .classified-show-gallery__nav {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #251a13;
  box-shadow: 0 10px 28px rgba(37, 26, 19, 0.18);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.configurator-gallery .classified-show-gallery__fullscreen:hover,
.configurator-gallery .classified-show-gallery__nav:hover {
  background: #fff;
  box-shadow: 0 14px 34px rgba(37, 26, 19, 0.24);
  transform: translateY(-1px);
}

.configurator-gallery .classified-show-gallery__fullscreen {
  top: 0.85rem;
  right: 0.85rem;
}

.configurator-gallery .classified-show-gallery__nav {
  top: 50%;
  transform: translateY(-50%);
}

.configurator-gallery .classified-show-gallery__nav:hover {
  transform: translateY(calc(-50% - 1px));
}

.configurator-gallery .classified-show-gallery__nav--prev {
  left: 0.85rem;
}

.configurator-gallery .classified-show-gallery__nav--next {
  right: 0.85rem;
}

.configurator-gallery .classified-show-gallery__thumbs {
  width: 100%;
}

.configurator-gallery .classified-show-gallery__thumb {
  overflow: hidden;
  width: 76px;
  height: 58px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgba(37, 26, 19, 0.05);
  cursor: pointer;
  opacity: 0.68;
  transition:
    border-color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.configurator-gallery .classified-show-gallery__thumb:hover,
.configurator-gallery .classified-show-gallery__thumb.is-active {
  border-color: #251a13;
  opacity: 1;
  transform: translateY(-1px);
}

.configurator-gallery .classified-show-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .configurator-gallery .classified-show-gallery__main-wrap {
    border-radius: 14px;
  }

  .configurator-gallery .classified-show-gallery__main img {
    aspect-ratio: 16 / 11;
  }

  .configurator-gallery .classified-show-gallery__fullscreen,
  .configurator-gallery .classified-show-gallery__nav {
    width: 34px;
    height: 34px;
  }

  .configurator-gallery .classified-show-gallery__thumb {
    width: 68px;
    height: 52px;
    border-radius: 10px;
  }
}
.configurator-summary-head {
  padding: 1rem;
  margin: -1.5rem -1.5rem 1rem;
  background: linear-gradient(
    180deg,
    rgba(37, 26, 19, 0.045),
    rgba(37, 26, 19, 0.02)
  );
  border-bottom: 1px solid rgba(37, 26, 19, 0.08);
  border-radius: 1rem 1rem 0 0;
}

.configurator-summary-head__image {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(37, 26, 19, 0.12);
  border-radius: 16px;
  object-fit: contain;
  padding: 0.35rem;
  background: rgba(37, 26, 19, 0.05);
  box-shadow: 0 10px 24px rgba(37, 26, 19, 0.1);
}

.configurator-summary-head h2 {
  color: #251a13;
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-weight: 900;
  line-height: 1;
}

.configurator-summary-head strong {
  color: #251a13;
  font-size: 0.94rem;
  font-weight: 850;
}

.configurator-summary-head small {
  font-size: 0.78rem;
  font-weight: 650;
}

.configurator-summary-selected {
  display: grid;
  gap: 0;
  padding: 0.25rem 0;
}

.configurator-summary-option {
  display: grid;
  grid-template-columns: minmax(110px, auto) minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  width: calc(100% + 0.8rem);
  margin: 0 -0.4rem;
  padding: 0.72rem 0.4rem;
  border: 0;
  border-bottom: 1px solid rgba(37, 26, 19, 0.09);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.configurator-summary-option:hover,
.configurator-summary-option:focus-visible,
.configurator-summary-option.is-active {
  background: rgba(200, 154, 74, 0.08);
  outline: 0;
}

.configurator-summary-option.is-active {
  box-shadow: inset 3px 0 0 var(--sh-gold, #c89a4a);
}

.configurator-summary-option:hover .configurator-summary-option__edit,
.configurator-summary-option:focus-visible .configurator-summary-option__edit,
.configurator-summary-option.is-active .configurator-summary-option__edit {
  color: #8d6322;
  transform: translateX(2px);
}

.configurator-summary-option__label {
  min-width: 0;
  justify-self: start;
  color: rgba(37, 26, 19, 0.58);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.15;
}

.configurator-summary-option__value {
  min-width: 0;
  justify-self: start;
  color: #251a13;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: left;
}

.configurator-summary-option__edit {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b7822e;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  justify-self: end;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

@media (max-width: 1199.98px) {
  .configurator-summary-option {
    grid-template-columns: minmax(96px, auto) minmax(0, 1fr) auto;
    gap: 0.35rem 0.65rem;
  }
}

@media (max-width: 767.98px) {
  .configurator-summary-head__image {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .configurator-summary-option {
    width: calc(100% + 0.8rem);
    margin: 0 -0.4rem;
    padding: 0.65rem 0.4rem;
  }
}

.configurator-summary-prices {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(37, 26, 19, 0.12);
}

.configurator-summary-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.configurator-summary-price-row + .configurator-summary-price-row {
  margin-top: 0.72rem;
}

.configurator-summary-price-row span {
  color: rgba(37, 26, 19, 0.58);
  font-size: 0.86rem;
  font-weight: 750;
}

.configurator-summary-price-row--base strong,
.configurator-summary-price-row--surcharges strong {
  color: rgba(37, 26, 19, 0.76);
  font-size: 0.98rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.configurator-summary-price-row--surcharges {
  padding-top: 0.72rem;
  border-top: 1px solid rgba(37, 26, 19, 0.08);
}

.configurator-summary-price-row--total {
  padding-top: 0.9rem;
  margin-top: 0.9rem;
  border-top: 1px solid rgba(37, 26, 19, 0.12);
}

.configurator-summary-price-row--total span {
  color: #251a13;
  font-size: 0.92rem;
  font-weight: 850;
}

.configurator-summary-meta {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  margin-top: 1rem;
  background: rgba(37, 26, 19, 0.035);
  border: 1px solid rgba(37, 26, 19, 0.08);
  border-radius: 14px;
}

.configurator-summary-meta__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
}

.configurator-summary-meta__item span {
  color: rgba(37, 26, 19, 0.58);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.2;
}

.configurator-summary-meta__item strong {
  color: rgba(37, 26, 19, 0.88);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
}

.configurator-order-note {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  background: linear-gradient(
    180deg,
    rgba(200, 154, 74, 0.12),
    rgba(200, 154, 74, 0.06)
  );
  border: 1px solid rgba(200, 154, 74, 0.28);
  border-radius: 14px;
}

.configurator-order-note strong {
  color: #251a13;
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
}

.configurator-order-note span {
  color: rgba(37, 26, 19, 0.76);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.32;
}

.configurator-order-note small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(37, 26, 19, 0.64);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.28;
}

.configurator-summary-submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #fff;
  background: linear-gradient(
    180deg,
    var(--sh-red, #c91524),
    var(--sh-red-dark, #a80f1b)
  );
  border: 1px solid rgba(168, 15, 27, 0.32);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(201, 21, 36, 0.18);
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.configurator-summary-submit:hover,
.configurator-summary-submit:focus {
  color: #fff;
  background: linear-gradient(180deg, #db1b2d, var(--sh-red, #c91524));
  box-shadow: 0 18px 34px rgba(201, 21, 36, 0.26);
  transform: translateY(-1px);
}

.configurator-summary-submit:active {
  color: #fff;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .configurator-summary-meta {
    padding: 0.85rem;
    border-radius: 12px;
  }

  .configurator-summary-meta__item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .configurator-summary-meta__item strong {
    text-align: left;
    white-space: normal;
  }

  .configurator-order-note {
    padding: 0.85rem;
    border-radius: 12px;
  }
}

/* Summary card styling */
.configurator-summary-card {
  background: linear-gradient(180deg, #fbfbfa, #f4f2ef);
  border: 1px solid rgba(37, 26, 19, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(37, 26, 19, 0.08);
  overflow: hidden;
}

/* Contact / offer form */
[data-configurator-contact] {
  scroll-margin-top: 110px;
}

.configurator-contact-card {
  border: 1px solid rgba(37, 26, 19, 0.08) !important;
  box-shadow: 0 18px 40px rgba(37, 26, 19, 0.08) !important;
}

.configurator-contact-card__header {
  background: linear-gradient(
    180deg,
    rgba(37, 26, 19, 0.045),
    rgba(37, 26, 19, 0.02)
  ) !important;
}

.configurator-contact-card__eyebrow {
  color: var(--sh-gold, #c89a4a) !important;
  letter-spacing: 0.08em;
}

.configurator-contact-card h2 {
  color: #251a13;
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.configurator-contact-card .form-label {
  color: rgba(37, 26, 19, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.configurator-contact-card .form-control,
.configurator-contact-card .form-select {
  min-height: 44px;
  border-color: rgba(37, 26, 19, 0.16);
  border-radius: 10px;
}

.configurator-contact-card textarea.form-control {
  min-height: 118px;
}

.configurator-contact-card .form-control:focus,
.configurator-contact-card .form-select:focus {
  border-color: rgba(200, 154, 74, 0.68);
  box-shadow: 0 0 0 0.2rem rgba(200, 154, 74, 0.14);
}

.configurator-contact-card__terms {
  padding: 1rem 1rem 1rem 2.65rem;
  background: rgba(37, 26, 19, 0.035);
  border: 1px solid rgba(37, 26, 19, 0.08);
  border-radius: 12px;
}

.configurator-contact-card__terms .form-check-input {
  margin-left: -1.65rem;
}

.configurator-contact-card__submit {
  min-height: 52px;
}

.manufacturer-hero__stats {
  margin-top: 1.5rem;
}

.manufacturer-hero__stat {
  min-height: 74px;
  padding: 0.85rem 0.95rem;
  color: rgba(0, 0, 0, 0.92);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(37, 26, 19, 0.06);
}

.manufacturer-hero__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #c89a4a;
  background: rgba(200, 154, 74, 0.11);
  border: 1px solid rgba(200, 154, 74, 0.34);
  border-radius: 12px;
}

.manufacturer-hero__stat strong,
.manufacturer-hero__stat small {
  display: block;
}

.manufacturer-hero__stat strong {
  color: #111;
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.05;
}

.manufacturer-hero__stat small {
  margin-top: 0.22rem;
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.18;
}

@media (max-width: 767.98px) {
  .manufacturer-hero__stats {
    margin-top: 1.15rem;
  }

  .manufacturer-hero__stat {
    min-height: 68px;
    padding: 0.75rem 0.8rem;
  }

  .manufacturer-hero__stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .manufacturer-hero__stat strong {
    font-size: 0.86rem;
  }

  .manufacturer-hero__stat small {
    font-size: 0.72rem;
  }
}

.configurator-summary-submit--secondary {
  color: #251a13;
  background: linear-gradient(180deg, #ffffff, #faf7f1);
  border: 1px solid rgba(37, 26, 19, 0.16);
  box-shadow: 0 12px 24px rgba(37, 26, 19, 0.06);
}

.configurator-summary-submit--secondary:hover,
.configurator-summary-submit--secondary:focus {
  color: #251a13;
  background: linear-gradient(
    180deg,
    rgba(200, 154, 74, 0.16),
    rgba(200, 154, 74, 0.08)
  );
  border-color: rgba(200, 154, 74, 0.48);
  box-shadow: 0 16px 30px rgba(37, 26, 19, 0.1);
  transform: translateY(-1px);
}

.configurator-summary-submit--secondary:active {
  color: #251a13;
  background: rgba(200, 154, 74, 0.16);
  transform: translateY(0);
}

.configurator-contact-card .configurator-summary-submit--secondary {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
