/* Jaggs Offerte – knoppen, header-icoon en offertepagina */
.jq-ico { width: 22px; height: 22px; flex: none; display: block; }

/* ---------- offerte-knop: grijs icoon naast de winkelwagenknop (zoals pro-alarm.nl) ---------- */
.btn-quote {
  display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 auto;
  padding: 0 !important; border: 1px solid #dde3ea !important; border-radius: 3px !important;
  background: #f1f3f6 !important; color: #5b6573 !important; box-shadow: none !important; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-quote:hover, .btn-quote:focus-visible { background: #e6ebf1 !important; color: #002A52 !important; border-color: #c9d2de !important; }
.btn-quote .btn-text { display: none; }
.btn-quote.jq-busy { opacity: .55; pointer-events: none; }
.product-thumb .btn-quote { width: 42px; min-width: 42px; height: 42px; margin-left: 8px; }
.product-thumb .button-group { align-items: center; }
/* smalle kaarten op mobiel: geen ruimte naast de winkelwagenknop → toevoegen via de productpagina */
@media (max-width: 767px) { .product-thumb .btn-quote { display: none !important; } }

/* productpagina: zelfde hoogte als "In winkelwagen" */
.btn-quote-icon { width: 52px; min-width: 52px; align-self: stretch; margin-left: 8px !important; }
.btn-quote-icon .jq-ico { width: 26px; height: 26px; }
/* telefoon: geen ruimte naast "+ Warenkorb" → brede knop onder de winkelwagenregel */
.btn-quote-pp.jq-wide {
  display: flex !important; width: 100%; min-width: 0; height: 44px; margin: 10px 0 0 !important; gap: 10px;
  background: #fff !important; border: 1px solid #002A52 !important; color: #002A52 !important;
  font-size: 15px; font-weight: 700; border-radius: 4px !important;
}
.btn-quote-pp.jq-wide .btn-text { display: inline; }
.btn-quote-pp.jq-wide .jq-ico { width: 22px; height: 22px; }

/* ---------- header-icoon ---------- */
/* Journal geeft header-elementen "transition: all": dan glijdt/knippert het bolletje als het wordt uitgelijnd */
.jq-head-wrap, .jq-head-wrap *, .btn-quote, .btn-quote * { transition: none !important; animation: none !important; }
.jq-head-wrap { display: flex; align-items: center; margin-right: 14px; }
.jq-head { position: relative; display: inline-flex; color: inherit; line-height: 1; }
.jq-head .jq-ico { width: 28px; height: 28px; }
/* startpositie = zoals het winkelwagen-bolletje van Journal (rechtsboven), zodat er niets verspringt */
.jq-head .count-badge {
  position: absolute; top: -7px; left: 14px; right: auto; min-width: 20px; height: 20px; padding: 0 3px;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  border: 2px solid #fff; border-radius: 50%; background: #4cb356; color: #fff;
  font-size: 12px; font-weight: 400; line-height: 0;
}
.mobile-header .jq-head .jq-ico, .mobile-bar .jq-head .jq-ico { width: 26px; height: 26px; }
/* zelfde kleur en lijndikte als de Journal-iconen (account, winkelwagen: #222) */
.jq-head, .jq-head:hover, .jq-head:focus, .jq-wl-wrap .jq-head { color: #222 !important; }
.jq-head .jq-ico path { stroke-width: 2; }
/* telefoon: hartje + offerte + winkelwagen + account + menu naast het logo laten passen */
@media (max-width: 420px) {
  .mobile-bar .menu-trigger, .mobile-bar .mobile-custom-menu, .mobile-bar .jq-head-wrap, .mobile-bar .mobile-cart-wrapper {
    width: 42px !important; min-width: 42px !important; flex: 0 0 42px !important; margin: 0 !important; justify-content: center;
  }
  .mobile-bar .mobile-logo-wrapper { flex: 1 1 auto; min-width: 0; }
  .mobile-bar .mobile-logo-wrapper img { max-width: 100%; height: auto; }
}
@media (max-width: 340px) {
  .mobile-bar .menu-trigger, .mobile-bar .mobile-custom-menu, .mobile-bar .jq-head-wrap, .mobile-bar .mobile-cart-wrapper {
    width: 36px !important; min-width: 36px !important; flex-basis: 36px !important;
  }
}

/* ---------- melding na toevoegen ---------- */
.jq-toast {
  position: fixed; z-index: 100000; left: 50%; bottom: 24px; transform: translate(-50%, 30px);
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); width: 440px;
  padding: 12px 16px; border-radius: 8px; background: #fff; color: #222;
  box-shadow: 0 10px 30px rgba(13, 21, 38, .22); border-left: 4px solid #3fae49;
  font-size: 14px; line-height: 1.35; opacity: 0; pointer-events: none; transition: all .25s ease;
}
.jq-toast.jq-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.jq-toast .jq-ico { color: #002A52; }
.jq-toast span { flex: 1; min-width: 0; }
.jq-toast a { white-space: nowrap; font-weight: 700; color: #002A52; text-decoration: underline; }

/* ---------- offertepagina ---------- */
.jq-page { --jq-navy: #002A52; --jq-line: #e3e8ef; color: #222; }
.jq-intro { font-size: 15px; color: #4b5565; margin: 0 0 18px; max-width: 760px; }
.jq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.jq-card { background: #fff; border: 1px solid var(--jq-line); border-radius: 10px; padding: 18px; }
.jq-h { font-size: 18px; font-weight: 700; color: var(--jq-navy); margin: 0 0 14px; }
.jq-items { padding: 0; overflow: hidden; }
.jq-items.jq-loading { opacity: .6; }
.jq-table { width: 100%; border-collapse: collapse; }
.jq-table th { font-size: 13px; font-weight: 600; color: #6b7686; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--jq-line); background: #f7f9fb; }
.jq-table td { padding: 14px; border-bottom: 1px solid var(--jq-line); vertical-align: middle; font-size: 14px; }
.jq-table tr:last-child td { border-bottom: 0; }
.jq-c-img { width: 80px; }
.jq-c-img img { display: block; width: 64px; height: 64px; object-fit: contain; }
.jq-name { font-weight: 700; color: #222; line-height: 1.35; }
.jq-meta { font-size: 12px; color: #6b7686; margin-top: 4px; }
.jq-c-price, .jq-c-total { white-space: nowrap; text-align: right !important; }
.jq-c-total { font-weight: 700; }
.jq-c-qty { text-align: center !important; }
.jq-qty { display: inline-flex; border: 1px solid #d5dce6; border-radius: 6px; overflow: hidden; }
.jq-qty button { width: 32px; border: 0; background: #f3f6f9; color: var(--jq-navy); font-size: 18px; line-height: 1; cursor: pointer; }
.jq-qty input { width: 46px; height: 36px; border: 0; text-align: center; font-size: 15px; -moz-appearance: textfield; }
.jq-qty input::-webkit-outer-spin-button, .jq-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.jq-remove { border: 0; background: none; color: #9aa6b8; padding: 6px; cursor: pointer; }
.jq-remove:hover { color: #d32f2f; }

.jq-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.jq-bar { height: 8px; background: #edf1f6; border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.jq-bar span { display: block; height: 100%; background: linear-gradient(90deg, #3fae49, #2e8b3a); border-radius: 4px; transition: width .3s; }
.jq-msg { font-size: 14px; font-weight: 600; margin: 0 0 10px; color: var(--jq-navy); }
.jq-msg-ok { color: #2e8b3a; }
.jq-msg-custom { color: #8a5a00; background: #fff7e6; border-radius: 6px; padding: 8px 10px; }
.jq-tierlist { list-style: none; margin: 0; padding: 0; }
.jq-tierlist li { position: relative; padding: 5px 0 5px 22px; font-size: 14px; color: #4b5565; }
.jq-tierlist li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #c9d2de; }
.jq-tierlist li.active { color: #222; font-weight: 700; }
.jq-tierlist li.active::before { border-color: #3fae49; background: #3fae49; }
.jq-basis { font-size: 12px; color: #6b7686; margin: 8px 0 0; }
.jq-totals table { width: 100%; }
.jq-totals td { padding: 6px 0; font-size: 14px; }
.jq-totals td + td { text-align: right; white-space: nowrap; }
.jq-totals .jq-disc td { color: #2e8b3a; font-weight: 600; }
.jq-totals .jq-grand td { border-top: 1px solid var(--jq-line); padding-top: 10px; font-size: 17px; font-weight: 700; color: var(--jq-navy); }

.jq-side { position: sticky; top: 90px; }
.jq-field { margin-bottom: 12px; }
.jq-field label { display: block; font-size: 13px; font-weight: 600; color: #4b5565; margin-bottom: 4px; }
.jq-field .form-control { height: 40px; border-radius: 6px; border: 1px solid #d5dce6; box-shadow: none; }
.jq-field textarea.form-control { height: auto; }
.jq-field .form-control:focus { border-color: var(--jq-navy); box-shadow: 0 0 0 3px rgba(0, 42, 82, .12); }
.jq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.jq-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 400; color: #4b5565; margin: 4px 0 12px; cursor: pointer; }
.jq-agree input { margin-top: 3px; }
.has-error .form-control { border-color: #d32f2f; }
.jq-field-error, .jq-error { color: #d32f2f; font-size: 13px; margin-top: 4px; }
.jq-send { width: 100%; min-height: 46px; font-size: 16px; font-weight: 700; border-radius: 3px; }
.jq-note { font-size: 12px; color: #6b7686; margin: 10px 0 0; }
.jq-loading-box { min-height: 140px; display: flex; align-items: center; justify-content: center; }
.jq-spinner { width: 28px; height: 28px; border: 3px solid #e3e8ef; border-top-color: #002A52; border-radius: 50%; animation: jq-spin .8s linear infinite; }
@keyframes jq-spin { to { transform: rotate(360deg); } }
.jq-empty { text-align: center; color: #4b5565; padding: 40px 20px; }
.jq-empty svg { color: #9aa6b8; margin-bottom: 8px; }
.jq-success { background: #fff; border: 1px solid var(--jq-line); border-left: 4px solid #3fae49; border-radius: 10px; padding: 22px; }
.jq-success h2 { color: var(--jq-navy); font-size: 22px; margin: 0 0 8px; }
.jq-success-btns .btn { margin: 6px 8px 0 0; }


/* Journal: eigen tabelstijl (randen, zebrastrepen, grote regelhoogte) neutraliseren */
.jq-page table, .jq-page table th, .jq-page table td { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; background: transparent !important; line-height: 1.4 !important; }
.jq-page .jq-table thead th { background: #f7f9fb !important; border-bottom: 1px solid #e3e8ef !important; }
.jq-page .jq-table tbody tr { background: #fff !important; }
.jq-page .jq-table tbody td { border-bottom: 1px solid #e3e8ef !important; }
.jq-page .jq-table tbody tr:last-child td { border-bottom: 0 !important; }
.jq-page .jq-totals td { border: 0 !important; }
.jq-page .jq-totals .jq-grand td { border-top: 1px solid #e3e8ef !important; }
.jq-page .jq-name { font-size: 14px; }
.jq-page p, .jq-page li { line-height: 1.45; }
@media (max-width: 767px) {
  .jq-page .jq-table tbody td { border-bottom: 0 !important; }
  .jq-page .jq-table tbody tr { border-bottom: 1px solid #e3e8ef; }
  .jq-page .jq-table tbody tr:last-child { border-bottom: 0; }
  .jq-page .jq-name { font-size: 14px; }
  .jq-page .jq-c-total { font-size: 15px; }
}

@media (max-width: 991px) {
  .jq-layout { grid-template-columns: 1fr; }
  .jq-side { position: static; }
}
@media (max-width: 767px) {
  .jq-summary { grid-template-columns: 1fr; }
  .jq-table thead { display: none; }
  .jq-table, .jq-table tbody { display: block; }
  .jq-table tr { display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "img prod rm" "img price price" "img qty total"; gap: 4px 12px; padding: 14px; border-bottom: 1px solid var(--jq-line); }
  .jq-table tr:last-child { border-bottom: 0; }
  .jq-table td { padding: 0; border: 0; }
  .jq-c-img { grid-area: img; width: 64px; }
  .jq-c-prod { grid-area: prod; }
  .jq-c-price { grid-area: price; text-align: left !important; color: #6b7686; font-size: 13px; }
  .jq-c-qty { grid-area: qty; text-align: left !important; }
  .jq-c-total { grid-area: total; align-self: center; }
  .jq-c-rm { grid-area: rm; }
}
