/* BS Product Booster – Frontend v2.3.5 */
:root{--cd-blue:#008bb4;--cd-green:#2ecc71;--cd-teal:#48c9b0;--cd-dark:#0d2d3a;--cd-muted:#5a8a9a;--cd-white:#fff;--cd-radius:10px}

/* ===================== TRUST BAR ===================== */
/* Når countdown er over trust bar: afrunding kun i bunden */
.cd-countdown-strip + .cd-trustbar{border-radius:0 0 16px 16px;border-top:none;margin-top:0}
/* Når countdown er skjult: fuld afrunding på trust bar */
.cd-trustbar-solo{border-radius:16px!important;border-top:1px solid #d4dae8!important;margin-top:0!important}
.cd-trustbar{margin-bottom:12px;background:#e8ecf4;border:1px solid #d4dae8;border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.07);animation:cdFadeIn .4s ease both;overflow:hidden}
.cd-trustbar .cd-trustbar-body{padding:10px 14px 8px}

.cd-trustbar-body{display:flex;align-items:stretch;gap:0}

.cd-trustbar-left{display:flex;flex-direction:column;flex:1;padding-right:12px}

.cd-trustbar-row{display:flex;align-items:stretch;gap:0;flex:1}

.cd-trustbar-col{display:flex;flex-direction:column;gap:4px;padding:0 12px;align-self:stretch;align-items:center;flex:1}
.cd-trustbar-col:first-child{padding-left:0}

.cd-col-label{font-size:.58rem;font-weight:800;color:#a0b0be;text-transform:uppercase;letter-spacing:.1em}

.cd-icon-group{display:flex;align-items:center;justify-content:center;width:100%}
.cd-icon-group .cd-icon-circle{width:36px;height:36px;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;margin-left:-8px;transition:transform .15s,box-shadow .15s;cursor:default;background:#fff}
.cd-icon-group .cd-icon-circle:first-child{margin-left:0}
.cd-icon-group .cd-icon-circle img{width:80%;height:80%;object-fit:contain;display:block}
.cd-icon-group .cd-icon-circle span{font-size:.52rem;font-weight:900;color:#3a5a6a;text-align:center;line-height:1;padding:3px}
.cd-icon-group .cd-icon-circle:hover{transform:translateY(-3px) scale(1.1);box-shadow:0 6px 16px rgba(0,0,0,.18);z-index:10}

/* Brand-farver på betalings- og fragtikoner */
#cd-trustbar .ci-visa{background:#fff!important}
#cd-trustbar .ci-mc{background:#fff!important}
#cd-trustbar .ci-dankort{background:#fff!important}
#cd-trustbar .ci-mp{background:#fff!important}
#cd-trustbar .ci-apple{background:#fff!important}
#cd-trustbar .ci-viabell{background:#fff!important}
#cd-trustbar .ci-ean{background:#fff!important}
#cd-trustbar .ci-gls{background:#fff!important}
#cd-trustbar .ci-gls img{width:90%!important;height:auto!important}
#cd-trustbar .ci-dao{background:#fff!important}
#cd-trustbar .ci-warehouse{background:#eaf4fb!important}
.cd-stars{display:flex;gap:2px;align-items:center;justify-content:center;width:100%;margin-top:6px}
.cd-stars span{color:#f5a623;font-size:.8rem;line-height:1}

.cd-trustbar-divider{width:1px;background:#c8d0df;flex-shrink:0;align-self:stretch;margin:2px 0}

.cd-trustbar-right{display:flex;align-items:stretch;padding-left:12px}

.cd-return-list{display:flex;flex-direction:column;justify-content:space-between;align-self:stretch}
.cd-return-item{display:flex;align-items:center;gap:7px;font-size:.72rem;font-weight:700;color:#3a5a6a;line-height:1.3;padding:4px 0;white-space:nowrap}
.cd-return-item svg{flex-shrink:0}

/* Pills */
.cd-trustbar-pills{display:flex;align-items:center;gap:5px;margin-top:6px;flex-wrap:nowrap;width:100%}

.cd-pill-shipping{display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:100px;font-size:.60rem;font-weight:800;letter-spacing:.01em;border:1.5px solid;white-space:nowrap;align-self:center}
.cd-pill-shipping.is-free{background:#e8faf1;color:#1a6e3c;border-color:#9fe3bf;box-shadow:0 2px 10px rgba(30,180,90,.12)}
.cd-pill-shipping.is-paid{background:#fff8f0;color:#9a5a1a;border-color:#f5d5a8}
.cd-pill-check{width:13px;height:13px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.is-free .cd-pill-check{background:#2ecc71}
.is-paid .cd-pill-check{background:#e67e22}

.cd-pill{display:inline-flex;align-items:center;gap:5px;font-size:.68rem;font-weight:700;padding:5px 10px;border-radius:100px;letter-spacing:.01em;white-space:nowrap;align-self:center;flex:none}
.cd-pill-blue{background:#edf4fb;color:#2a6080;border:1px solid #c2d8ec}
.cd-pill-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;background:#4d8fa8}

/* ===================== COUNTDOWN (bundstrip i trust bar) ===================== */
@keyframes cdFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

.cd-countdown-strip{padding:8px 14px 6px;position:relative;background:#e8ecf4;border:1px solid #d4dae8;border-radius:16px 16px 0 0;border-bottom:1px solid rgba(0,0,0,.08);box-shadow:0 2px 12px rgba(0,0,0,.07);animation:cdFadeIn .4s ease both}

.cd-countdown-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cd-cd-icon{font-size:1rem;flex-shrink:0}
.cd-cd-text{font-size:.88rem;font-weight:800;color:#0d2d3a!important;flex:1;line-height:1.3;letter-spacing:.01em}
.cd-highlight{color:var(--cd-blue)!important;font-weight:900;font-size:.95rem}

.countdowner-timer-row{display:flex;align-items:center;gap:3px;margin-left:auto}
.countdowner-unit{display:flex;flex-direction:column;align-items:center;gap:1px}
.countdowner-digit{display:inline-block!important;background:rgba(13,45,58,.13)!important;color:#0d2d3a!important;font-size:.92rem;font-weight:800;line-height:1;padding:3px 8px;border-radius:5px;min-width:30px;text-align:center;letter-spacing:.04em;font-variant-numeric:tabular-nums;border:1px solid rgba(13,45,58,.12)!important;transition:background .2s}
.countdowner-digit.cd-tick{background:rgba(13,45,58,.22)!important}
.countdowner-unit-label{color:#5a7a8a!important;font-size:.48rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em}
.countdowner-colon{color:#0d2d3a!important;font-size:.9rem;font-weight:800;padding-bottom:5px;opacity:.5}

.countdowner-progress-track{height:3px;background:rgba(0,0,0,.08);overflow:visible;margin-top:6px;position:relative}
.countdowner-progress-bar{height:100%;background:linear-gradient(90deg,var(--cd-green),var(--cd-teal));transition:width 1s linear}
.cd-truck{position:absolute;top:50%;transform:translateY(-70%);font-size:.85rem;line-height:1;pointer-events:none;transition:left 1s linear;left:calc(100% - 14px)}

.cd-countdown-strip.cd-urgent .countdowner-digit{background:rgba(192,57,43,.15);color:#96281b;border-color:rgba(192,57,43,.2)}
.cd-countdown-strip.cd-urgent .cd-highlight{color:#c0392b}
.cd-countdown-strip.cd-urgent .countdowner-colon{color:#c0392b}
.cd-countdown-strip.cd-urgent .countdowner-progress-bar{background:linear-gradient(90deg,#ff6b6b,#e74c3c)}

.cd-admin-badge{position:absolute;top:5px;left:50%;transform:translateX(-50%);background:rgba(0,139,180,.15);color:var(--cd-blue);font-size:.50rem;font-weight:800;letter-spacing:.1em;padding:2px 7px;border-radius:20px;text-transform:uppercase;border:1px solid rgba(0,139,180,.3)}

/* ===================== RESPONSIVE ===================== */
@media(max-width:600px){
    .cd-trustbar{padding:10px 10px 8px}
    .cd-trustbar-body{flex-wrap:wrap;gap:8px}
    .cd-trustbar-left{padding-right:0;width:100%}
    .cd-trustbar-row{flex-wrap:wrap;gap:8px}
    .cd-trustbar-col{padding:0}
    .cd-trustbar-divider{display:none}
    .cd-trustbar-right{padding-left:0;width:100%;border-top:1px solid #d4dae8;padding-top:10px;margin-top:6px}
    .cd-return-list{flex-direction:column;gap:6px}
    .cd-return-item{padding:0;white-space:normal;font-size:.68rem;background:rgba(255,255,255,.5);border-radius:8px;padding:5px 8px}
    .cd-icon-group .cd-icon-circle{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;margin-left:-6px}
    .cd-icon-group .cd-icon-circle img{width:80%!important;height:80%!important;max-width:26px!important;max-height:26px!important;object-fit:contain!important;display:block!important}
    .cd-trustbar-pills{flex-wrap:wrap;gap:5px}
    .cd-pill,.cd-pill-shipping{font-size:.62rem;padding:4px 8px}
    .cd-countdown-row{flex-wrap:nowrap;align-items:center;gap:4px}
    .cd-cd-text{font-size:.78rem;min-width:0;flex:1}
    .countdowner-timer-row{display:flex!important;flex-wrap:nowrap;align-items:center;gap:2px;flex-shrink:0}
    .countdowner-unit{display:flex!important;flex-direction:column;align-items:center}
    .countdowner-digit{font-size:.85rem!important;min-width:26px;padding:2px 5px}
    .countdowner-truck{font-size:1.5rem}
}

/* Klarna, Swish, PostNord */
#cd-trustbar .ci-klarna{background:#fff!important}
#cd-trustbar .ci-swish{background:#fff!important}
#cd-trustbar .ci-postnord{background:#fff!important}
#cd-trustbar .ci-klarna img{width:70%!important;height:70%!important;object-fit:contain}
#cd-trustbar .ci-swish img{width:85%!important;height:85%!important;object-fit:contain}
#cd-trustbar .ci-postnord img{width:85%!important;height:auto!important;object-fit:contain}
