/* Conversie-UX: sticky cart, nudge, trust, empty search, keuzeboom CTA, quick-add */

.spnr-trust-strip {
  margin: 10px 0 14px;
  padding: 10px 12px;
  background: #f4f8f5;
  border: 1px solid #d7e6dc;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #2d4a36;
}
.spnr-trust-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.spnr-trust-strip li {
  margin: 0 0 4px;
}
.spnr-trust-strip li:last-child {
  margin-bottom: 0;
}
.spnr-trust-strip i {
  width: 16px;
  text-align: center;
  margin-right: 6px;
  color: #3d7a4f;
}
.spnr-keuze-cta {
  margin: 12px 0 16px;
  padding: 12px 14px;
  background: #fff8ef;
  border: 1px solid #f0e0c8;
  border-radius: 4px;
}
.spnr-keuze-cta p {
  margin: 0 0 8px;
  font-size: 14px;
}
.spnr-keuze-cta .btn {
  margin-right: 6px;
  margin-bottom: 4px;
}

.spnr-search-empty {
  margin: 16px 0 24px;
  padding: 18px;
  background: #f7f9fb;
  border: 1px solid #e3e8ee;
  border-radius: 4px;
}
.spnr-search-empty h3 {
  margin-top: 0;
  font-size: 18px;
}
.spnr-search-empty .spnr-empty-links {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.spnr-search-empty .spnr-empty-links li {
  margin: 0 0 8px;
}

.spnr-cart-progress-bar-wrap {
  margin: 0 0 1em;
  padding: 12px 14px;
  background: #eef6fb;
  border: 1px solid #cfe3f0;
  border-radius: 4px;
}
.spnr-cart-progress-bar-wrap .spnr-cart-progress-msg {
  margin: 0 0 8px;
  font-size: 14px;
}
.spnr-cart-progress-track {
  height: 8px;
  background: #d5e5ef;
  border-radius: 4px;
  overflow: hidden;
}
.spnr-cart-progress-fill {
  height: 100%;
  background: #2f7eb6;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Sticky afrekenen op cart (mobiel) */
.spnr-sticky-cart {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0));
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(110%);
  transition: transform 0.2s ease;
}
.spnr-sticky-cart-visible {
  transform: translateY(0);
}
.spnr-sticky-cart-progress {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #333;
}
.spnr-sticky-cart-btn {
  font-size: 16px !important;
  padding: 12px 16px !important;
  font-weight: 600;
}
body.spnr-has-sticky-cart {
  padding-bottom: 88px;
}

/* Productview nudge */
.spnr-nudge {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 16px;
  z-index: 1050;
  max-width: 420px;
  margin: 0 auto;
  padding: 14px 36px 14px 14px;
  background: #1f2d3a;
  color: #fff;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.spnr-nudge-show {
  opacity: 1;
  transform: translateY(0);
}
.spnr-nudge-hide {
  opacity: 0;
  transform: translateY(12px);
}
.spnr-nudge-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.spnr-nudge-text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
}
.spnr-nudge-actions .btn {
  margin-right: 6px;
  margin-bottom: 4px;
}
@media (min-width: 768px) {
  .spnr-nudge {
    left: auto;
    right: 20px;
    bottom: 20px;
    margin: 0;
  }
  .spnr-sticky-cart {
    display: none !important;
  }
  body.spnr-has-sticky-cart {
    padding-bottom: 0;
  }
}

/* Duidelijkere quick-add op grid */
.spnr-quick-add,
#product-category .product-thumb .button-group > button.spnr-quick-add,
#product-search .product-thumb .button-group > button.spnr-quick-add {
  background: #337ab7 !important;
  color: #fff !important;
  border-color: #2e6da4 !important;
}
.spnr-quick-add:hover {
  background: #286090 !important;
}

/* Checkout: gastknop prominenter */
.checkout-login-reordered .checkout-login-buttons #button-account-guest {
  background: #337ab7;
  border-color: #2e6da4;
  color: #fff;
  font-weight: 600;
}
.checkout-login-reordered .checkout-login-buttons #button-account-register {
  background: #fff;
  border-color: #ccc;
  color: #333;
}

/* Related anker zichtbaar */
#product-related,
#product-alternatives {
  scroll-margin-top: 80px;
}
