/* Offerte feature — only loaded when ?offerte=true */

#header-offerte {
  position: relative;
}

#header-offerte .header-link {
  position: relative;
}

#header-offerte .header-link .img-holder {
  padding: 10px 37px;
}

#a-offerte-header {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #db6e31;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

#a-offerte-header.offerte-badge--visible {
  opacity: 1;
}

#header-offerte .header-offerte-icon {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(10);
}

.offerte-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
}

.offerte-pdp-actions > .constructie-popup-wrapper,
.offerte-pdp-actions > .popup-wrapper,
.offerte-pdp-actions > #add-to-offerte-wrapper,
.offerte-pdp-actions > #add-to-offerte {
  flex: 1 1 calc(50% - 5px);
  min-width: 160px;
}

#add-to-offerte-wrapper {
  flex: 1 1 calc(50% - 5px);
}

#add-to-offerte {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 45px;
  padding: 10px 16px;
  border: 1px solid #102e32;
  border-radius: 2px;
  background: #fff;
  color: #102e32;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s ease, background .2s ease;
}

#add-to-offerte .add-to-offerte__check {
  display: none;
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

#add-to-offerte.is-added {
  background: #102e32;
  color: #fff;
  border-color: #102e32;
  cursor: not-allowed;
  opacity: .85;
}

#add-to-offerte.is-added .add-to-offerte__check {
  display: block;
}

#add-to-offerte:disabled {
  pointer-events: none;
}

@media (max-width: 575px) {
  .offerte-pdp-actions > .constructie-popup-wrapper,
  .offerte-pdp-actions > #add-to-offerte-wrapper,
  .offerte-pdp-actions > #add-to-offerte {
    flex-basis: 100%;
  }
}

#a-offerte-page {
  color: #102e32;
}

.offerte-page-hero {
  background: #fafafa;
  padding: 18px 0 42px;
  margin-bottom:42px;
}

.offerte-page-hero-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.offerte-page-hero-card h1 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: #012f33;
  margin: 0 0 8px;
}

.offerte-page-hero-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #012f33;
  max-width: 563px;
}

.offerte-specialist {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.offerte-specialist__photo {
  position: relative;
  width: 41px;
  height: 41px;
  flex-shrink: 0;
}

.offerte-specialist__photo img {
  width: 41px;
  height: 41px;
  border-radius: 50%;
  object-fit: cover;
}

.offerte-specialist__photo:after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 9px;
  height: 9px;
  background: #3ca76b;
  border: 2px solid #fff;
  border-radius: 50%;
}

.offerte-specialist__meta {
  font-size: 14px;
  line-height: 1.3;
  color: #284347;
}

.offerte-specialist__meta strong {
  font-weight: 600;
}

.offerte-specialist__meta .dot {
  color: #db6e31;
  margin: 0 6px;
}

.offerte-specialist__meta a {
  display: block;
  color: #284347;
  text-decoration: underline;
}

.offerte-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 425px;
  align-items: start;
  gap: 49px;
  padding: 0 0 42px;
  transition: grid-template-columns .3s ease-in-out;
}

.offerte-basket {
  min-width: 0;
}

.offerte-form-section {
  width: auto;
  min-width: 0;
  position: sticky;
  top: 140px;
}

.offerte-basket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.offerte-basket__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  line-height: 30px;
  font-weight: 600;
  color: #012f33;
  margin: 0;
}

.offerte-basket__title img {
  width: 24px;
  height: 24px;
}

#offerte-items-count {
  margin: 0;
  font-size: 13px;
  line-height: 22px;
  font-weight: 500;
  color: #8d8d8d;
}

#offerte-items-container {
  border-bottom: 1px solid #EDEDED;
}

.offerte-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #eee;
  transition: opacity .2s ease, transform .2s ease;
}

.offerte-item.is-removing {
  opacity: 0;
  transform: translateX(12px);
}

.offerte-item__main {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.offerte-item__image {
  width: 97px;
  height: 97px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.offerte-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offerte-item__title {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
  color: #102e32;
}

.offerte-item__title a {
  color: inherit;
  text-decoration: none;
}

.offerte-item__specs-toggle {
  display: inline-flex;
  width:100%;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: none;
  color: #102e32;
  font-size: 13px;
  line-height: 22px;
  cursor: pointer;
}

.offerte-item__specs-toggle span {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
}

.offerte-item__specs-toggle span i {
	color:#DB6E31;
  font-size:10px;
}

button.offerte-item__specs-toggle:hover {
	background:transparent;
  color:#102e32;
}


.offerte-item.is-open .offerte-item__specs-toggle i {
  transform: rotate(180deg);
}

.offerte-item__specs {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0;
}

.offerte-item.is-open .offerte-item__specs {
  display: flex;
}

.offerte-item__spec {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offerte-item__spec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background:#70C970;
  flex-shrink: 0;
}

.offerte-item__spec p {
  margin: 0;
  font-size: 12px;
  line-height: 22px;
}

.offerte-item__spec span {
  font-weight: 500;
}

.offerte-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #eee;
  border-radius: 4px;
}

.offerte-item__qty .qty-btn {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: #102e32;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
}

.offerte-item__qty .a-qty-input {
  width: 28px;
  border: 0;
  padding: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #102e32;
  -moz-appearance: textfield;
}

.offerte-item__qty .a-qty-input::-webkit-outer-spin-button,
.offerte-item__qty .a-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.offerte-item__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 97px;
  flex-shrink: 0;
}

.offerte-item.is-open .offerte-item__side {
  min-height: 180px;
}

.offerte-item__remove {
  width: 31px;
  height: 31px;
  border: 0;
  padding: 0;
  background: var(--offerte-trash, none) center / contain no-repeat;
  cursor: pointer;
}

button.offerte-item__remove:hover {
  outline: none;
  border: none;
  box-shadow: none;
  background-color: #ececec;
}

.offerte-item__price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.offerte-item__price-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.offerte-item__price-vat {
  font-size: 12px;
  font-weight: 500;
  color: #8a8a8a;
  line-height: 20px;
}

.offerte-continue {
  display: inline-block;
  margin: 18px 0 0;
  font-size: 13px;
  color: #DB6E31;
  text-decoration: none;
}

.offerte-empty {
  padding: 24px 0;
  border-top: 1px solid #eee;
}

#offerte-totals {
  margin-top: 14px;
  max-width: initial;
  margin-left: auto;
  background: #FAFAFA;
  border-radius: 4px;
  padding: 22px;
}

.offerte-total__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.offerte-total__row--discount strong {
  color: #10a510;
}

.offerte-total__stack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  margin: 8px 0 14px;
  border-top: 1px solid #DFDFDF;
  border-bottom: 1px solid #DFDFDF;
}

.offerte-total__stack-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #102e32;
}

.offerte-badge-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #10a510;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.offerte-badge-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ececec;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.offerte-total__hint {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding: 14px 0;
  margin: 0 0 14px;
  border-top: 1px solid #DFDFDF;
  border-bottom: 1px solid #DFDFDF;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.offerte-total__hint img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.offerte-total__row--grand {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
}

.offerte-total__row--grand strong {
  font-size: 18px;
}

.offerte-total__row--grand em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #737373;
}

.offerte-page-grid.is-form-expanded {
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr);
}

.offerte-page-grid.is-form-expanded #a-offerte-page-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offerte-page-grid.is-form-expanded #a-offerte-page-form .offerte-btn--primary {
  grid-column: 1 / 3;
}

.offerte-page-grid.is-form-expanded #a-offerte-page-form .offerte-btn--secondary {
  grid-column: 3 / 4;
}

.offerte-focus-form {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-decoration: underline;
  cursor: pointer;
}

button.offerte-focus-form:hover {
	background:transparent;
  color:#DB6E31;
}

.offerte-form-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 22px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: none;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity .25s ease, width .25s ease, margin .25s ease;
}

.offerte-page-grid.is-form-expanded .offerte-form-close {
  width: 22px;
  margin-right: 8px;
  opacity: 1;
  pointer-events: auto;
}

button.offerte-form-close:hover {
	background:transparent;
}

.offerte-form-close svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: #a9a9a9;
  transition:all .2s ease;
}

button.offerte-form-close:hover svg {
	fill: #db6e31;
  transition:all .2s ease;
}

.offerte-form-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #102e32;
  color: #fff;
  border-radius: 4px 4px 0 0;
  padding: 15px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}

#a-offerte-page-form {
  border: 1px solid #ededed;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  transition: grid-template-columns .6s cubic-bezier(.22, .61, .36, 1);
}

#a-offerte-page-form .form-group:last-of-type,
#a-offerte-page-form .offerte-btn {
  grid-column: 1 / -1;
}

#a-offerte-page-form .form-group {
  margin: 0;
  border: 0;
}

#a-offerte-page-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #102e32;
}

#a-offerte-page-form .form-control,
#a-offerte-page-form textarea {
  width: 100%;
  border: 1px solid #ededed;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #102e32;
  background: #fff;
}

#a-offerte-page-form .form-control::placeholder,
#a-offerte-page-form textarea::placeholder {
  color: #8d8d8d;
}

#a-offerte-page-form textarea {
  min-height: 102px;
  resize: vertical;
}

.offerte-file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #ededed;
  border-radius: 4px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #8d8d8d;
}

.offerte-file-label img {
  width: 16px;
  height: 16px;
}

#offerte-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.offerte-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.offerte-btn--primary {
  background: #db6e31;
  border: 0;
  color: #fff;
}

.offerte-btn--primary:disabled,
.offerte-btn--primary.is-disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

.offerte-btn--primary img {
  width: 16px;
  height: 10px;
}

.offerte-btn--secondary {
  background: #fff;
  border: 1px solid #102e32;
  color: #102e32;
}

.offerte-usps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.offerte-usp {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #012f33;
}

.offerte-usp p {
	margin:0px;
}

.offerte-usp img {
  width: 12px;
  height: 10px;
  flex-shrink: 0;
}
.offerte-item * {
	transition:all .2s ease;
}
@media(min-width:992px) {
  .offerte-page-grid.is-form-expanded .offerte-item__main {
  	gap: 8px;
    transition:all .2s ease;
  }
	.offerte-page-grid.is-form-expanded .offerte-item__image {
    width: 40px;
    height: 40px;
    transition:all .2s ease;
	}
  .offerte-page-grid.is-form-expanded .offerte-item__title {
    font-size: 12px;
    line-height: 14px;
    transition:all .2s ease;
  }
  .offerte-page-grid.is-form-expanded .offerte-item__specs-toggle,
  .offerte-page-grid.is-form-expanded .offerte-item__specs {
  	position:absolute;
    opacity:0;
    visibility:hidden;
    transition:all .2s ease;
  }
  .offerte-page-grid.is-form-expanded .offerte-item__price-value {
  	font-size:11px;
    transition:all .2s ease;
  }
  .offerte-page-grid.is-form-expanded .offerte-item__price-vat {
  	font-size:8px;
    transition:all .2s ease;
  }
  .offerte-page-grid.is-form-expanded .offerte-item__side {
  	min-height: 97px !important;
  }
}

@media (max-width: 991px) {
  .offerte-page-hero-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px;
  }

  .offerte-page-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .offerte-page-grid.is-form-expanded {
    grid-template-columns: minmax(0, 1fr);
  }

  .offerte-basket,
  .offerte-form-section {
    width: 100%;
    max-width: none;
    position: static;
  }

  .offerte-page-grid.is-form-expanded #a-offerte-page-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .offerte-page-grid.is-form-expanded #a-offerte-page-form .offerte-btn--primary,
  .offerte-page-grid.is-form-expanded #a-offerte-page-form .offerte-btn--secondary {
    grid-column: 1 / -1;
  }

  .offerte-form-close,
  .offerte-page-grid.is-form-expanded .offerte-form-close {
    display: none;
  }

  #offerte-totals {
    max-width: none;
  }

  .offerte-item {
    flex-wrap: wrap;
  }

  .offerte-item__side {
    width: 100%;
    min-height: 0;
    flex-direction: row-reverse;
    align-items: center;
  }

  .offerte-item.is-open .offerte-item__side {
    min-height: 0;
  }
}