/* =========================================================
   Skrapekartet - Higher AOV and sales – Frontend
   ========================================================= */

.spaab-addon-box {
  width: 100%;
  max-width: 500px;
  margin: 4px 0 18px 0;
  padding: 0;
}

.spaab-addons-label {
  display: block;
  margin: 0 0 7px 0;
  padding: 0;
  color: #c89f3d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.spaab-addons-list {
  display: block;
  width: 100%;
}

.spaab-addon-choice {
  width: 100%;
  min-height: 73px;
  margin: 0 0 10px 0;
  padding: 6px 6px 6px 15px;

  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 13px;

  position: relative;

  background: #fff;
  border: 2px dashed #d9d0c4;
  border-radius: 16px;
  box-shadow: none;

  text-align: left;
  color: #111;
  cursor: pointer;

  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.spaab-addon-choice:hover {
  background: #fffdf8;
  border-color: #c89f3d;
  box-shadow: none;
}

.spaab-addon-choice.is-active {
  background: #fffdf8;
  border-color: #c89f3d;
  border-style: solid;
  box-shadow: inset 0 0 0 1px rgba(200, 159, 61, .12), 0 0 0 1px rgba(200, 159, 61, .06);
}

.spaab-addon-checkbox {
  width: 25px;
  height: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #ded8cf;
  border-radius: 7px;
  background: #fff;

  position: relative;
  box-sizing: border-box;
}

.spaab-addon-choice.is-active .spaab-addon-checkbox {
  border-color: #c89f3d;
  background: #fff;
}

.spaab-addon-choice.is-active .spaab-addon-checkbox::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 47%;
  width: 7px;
  height: 12px;
  border: solid #c89f3d;
  border-width: 0 3px 3px 0;
  border-radius: 1px;
  transform: translate(-50%, -56%) rotate(45deg);
  box-sizing: border-box;
}

.spaab-addon-content {
  min-width: 0;
  display: block;
  padding: 0 4px 0 0;
}

.spaab-addon-title {
  display: block;
  color: #111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.spaab-addon-price {
  color: #111;
  font-weight: 700;
}

.spaab-addon-price .amount {
  color: inherit;
}

.spaab-addon-price del,
.spaab-addon-price ins,
.spaab-addon-price .screen-reader-text {
  display: none !important;
}

.spaab-addon-description {
  display: block;
  margin-top: 2px;
  color: #7b7b7b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.15;
}

.spaab-addon-image-wrap {
  width: 64px;
  min-height: 55px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  overflow: visible;
  border-radius: 13px;
}

.spaab-addon-image {
  width: 60px !important;
  height: auto !important;
  max-height: 62px !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  display: block !important;
}

.spaab-hidden-input {
  display: none !important;
}

.single_add_to_cart_button .spaab-button-label,
button.single_add_to_cart_button .spaab-button-label {
  display: inline-block;
  will-change: filter, opacity, transform;
  transition: filter .16s ease, opacity .16s ease, transform .16s ease;
}

.single_add_to_cart_button .spaab-button-label.spaab-button-label-blur,
button.single_add_to_cart_button .spaab-button-label.spaab-button-label-blur {
  filter: blur(3px);
  opacity: .45;
  transform: translateY(1px);
}

.single_add_to_cart_button .spaab-button-label.spaab-button-label-reveal,
button.single_add_to_cart_button .spaab-button-label.spaab-button-label-reveal {
  animation: spaab-button-label-reveal .22s ease;
}

@keyframes spaab-button-label-reveal {
  0% {
    filter: blur(2px);
    opacity: .65;
    transform: translateY(1px);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 767px) {
  .spaab-addon-box {
    max-width: 500px;
    margin: 3px 0 16px 0;
  }

  .spaab-addons-label {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .spaab-addon-choice {
    min-height: 73px;
    margin-bottom: 10px;
    padding: 6px 6px 6px 15px;
    grid-template-columns: 25px minmax(0, 1fr) 64px;
    gap: 13px;
    border-radius: 16px;
  }

  .spaab-addon-checkbox {
    width: 25px;
    height: 25px;
    border-radius: 7px;
  }

  .spaab-addon-choice.is-active .spaab-addon-checkbox::after {
    width: 7px;
    height: 12px;
    border-width: 0 3px 3px 0;
  }

  .spaab-addon-content {
    padding-right: 4px;
  }

  .spaab-addon-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.12;
  }

  .spaab-addon-description {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.15;
  }

  .spaab-addon-image-wrap {
    width: 64px;
    min-height: 55px;
    border-radius: 13px;
  }

  .spaab-addon-image {
    width: 60px !important;
    height: auto !important;
    max-height: 62px !important;
    border-radius: 12px !important;
  }
}

@media screen and (max-width: 380px) {
  .spaab-addon-choice {
    grid-template-columns: 25px minmax(0, 1fr) 58px;
    padding: 6px 6px 6px 12px;
    gap: 10px;
  }

  .spaab-addon-title {
    font-size: 16px;
  }

  .spaab-addon-description {
    font-size: 12.5px;
  }

  .spaab-addon-image-wrap {
    width: 58px;
    min-height: 52px;
  }

  .spaab-addon-image {
    width: 55px !important;
    height: auto !important;
    max-height: 58px !important;
  }
}
