:root {
  --hempli-de-cart-width: 430px;

  /* Färghierarki */
  --hempli-de-panel-bg: #151515;
  --hempli-de-body-bg: #252525;
  --hempli-de-card-bg: #131313;
  --hempli-de-footer-bg: #151515;
  --hempli-de-shipping-bg: #222222;

  --hempli-de-text: #f1f1f1;
  --hempli-de-muted: #b2b2b2;
  --hempli-de-border: #343434;
  --hempli-de-divider: #292929;
  --hempli-de-accent: #01ce98;
  --hempli-de-accent-hover: #17e3ad;
}

/* Overlay */
.hempli-de-sidecart-overlay {
  position: fixed;
  inset: 0;
  z-index: 999997;
  background: rgba(0, 0, 0, .58);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.hempli-de-sidecart-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Själva panelen */
.hempli-de-sidecart {
  position: fixed;
  z-index: 999998;
  top: 0;
  right: 0;
  width: min(var(--hempli-de-cart-width), 100vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--hempli-de-panel-bg);
  color: var(--hempli-de-text);
  box-shadow: -18px 0 55px rgba(0, 0, 0, .28);
  transform: translate3d(105%, 0, 0);
  will-change: transform;
  transition: transform .26s cubic-bezier(.22, .61, .36, 1);
  font-family: inherit;
}

.hempli-de-sidecart.is-open {
  transform: translate3d(0, 0, 0);
}

.hempli-de-sidecart *,
.hempli-de-sidecart *::before,
.hempli-de-sidecart *::after {
  box-sizing: border-box;
}

.hempli-de-sidecart button,
.hempli-de-sidecart input,
.hempli-de-sidecart a {
  font-family: inherit !important;
  box-shadow: none !important;
  outline-offset: 2px;
}

/* Header */
.hempli-de-sidecart__header {
  flex: 0 0 auto;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--hempli-de-divider);
  background: var(--hempli-de-panel-bg);
}

.hempli-de-sidecart__header h2 {
  margin: 0 !important;
  color: var(--hempli-de-text) !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
}

.hempli-de-sidecart__close {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 78px !important;
  height: 35px !important;
  min-height: 35px !important;
  margin: 0 !important;
  padding: 0 11px !important;
  border: 1px solid var(--hempli-de-border) !important;
  border-radius: 999px !important;
  background: #202020 !important;
  color: #d4fff3 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

/* Content wrapper */
.hempli-de-sidecart__content {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: var(--hempli-de-panel-bg);
}

/* Produktområdet mellan header och footer */
.hempli-de-sidecart__body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px 18px;
  background: var(--hempli-de-body-bg);
  box-shadow:
    inset 1px 0 0 var(--hempli-de-divider),
    inset -1px 0 0 var(--hempli-de-divider);
}

.hempli-de-sidecart__items {
  display: grid;
  gap: 10px;
  background: transparent;
}

/* Produktkort */
.hempli-de-sidecart-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  min-height: 106px;
  margin: 0 !important;
  padding: 9px !important;
  border: 1px solid var(--hempli-de-border) !important;
  border-radius: 17px !important;
  background: var(--hempli-de-card-bg) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16) !important;
  transition: opacity .18s ease, border-color .16s ease, transform .16s ease;
}

.hempli-de-sidecart-item:hover {
  border-color: #414141 !important;
}

.hempli-de-sidecart-item.is-updating {
  opacity: .5;
  pointer-events: none;
}

.hempli-de-sidecart-item__image {
  overflow: hidden;
  width: 78px;
  height: 88px;
  border-radius: 12px;
  background: #fff;
}

.hempli-de-sidecart-item__image a {
  display: block;
  width: 100%;
  height: 100%;
}

.hempli-de-sidecart-item__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
}

.hempli-de-sidecart-item__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.hempli-de-sidecart-item__top,
.hempli-de-sidecart-item__bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.hempli-de-sidecart-item__bottom {
  align-items: center;
}

.hempli-de-sidecart-item__details {
  min-width: 0;
}

.hempli-de-sidecart-item__name {
  margin: 0 !important;
  color: var(--hempli-de-text) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.hempli-de-sidecart-item__name a {
  color: inherit !important;
  text-decoration: none !important;
}

.hempli-de-sidecart .variation {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2px 6px !important;
  margin: 5px 0 0 !important;
  padding: 0 !important;
  color: var(--hempli-de-muted) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.hempli-de-sidecart .variation dt,
.hempli-de-sidecart .variation dd {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hempli-de-sidecart-item__ppg {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 25px !important;
  margin-top: 7px !important;
  padding: 4px 9px !important;
  border: 1px solid rgba(1, 206, 152, .48) !important;
  border-radius: 999px !important;
  background: rgba(1, 206, 152, .16) !important;
  color: #cffff0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.hempli-de-sidecart-item__price {
  color: var(--hempli-de-text) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.hempli-de-sidecart-item__remove {
  appearance: none !important;
  flex: 0 0 auto !important;
  display: grid !important;
  place-items: center !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: -2px -2px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #a7a7a7 !important;
  font-size: 21px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

/* Antalsväljare */
.hempli-de-sidecart-qty {
  display: inline-grid !important;
  grid-template-columns: 30px 36px 30px !important;
  width: 96px !important;
  height: 34px !important;
  min-height: 34px !important;
  overflow: hidden !important;
  border: 1px solid #3a3a3a !important;
  border-radius: 999px !important;
  background: #202020 !important;
}

.hempli-de-sidecart-qty button,
.hempli-de-sidecart-qty input {
  appearance: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--hempli-de-text) !important;
  line-height: 1 !important;
  text-align: center !important;
}

.hempli-de-sidecart-qty button {
  font-size: 17px !important;
  cursor: pointer !important;
}

.hempli-de-sidecart-qty input {
  border-left: 1px solid #3a3a3a !important;
  border-right: 1px solid #3a3a3a !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  -moz-appearance: textfield !important;
}

.hempli-de-sidecart-qty input::-webkit-outer-spin-button,
.hempli-de-sidecart-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Footer */
.hempli-de-sidecart__footer {
  flex: 0 0 auto;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--hempli-de-divider);
  background: var(--hempli-de-footer-bg);
}

/* Fri frakt */
.hempli-de-sidecart-shipping {
  min-height: 82px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin: 0 0 13px !important;
  padding: 14px !important;
  border: 1px solid var(--hempli-de-border) !important;
  border-radius: 12px !important;
  background: var(--hempli-de-shipping-bg) !important;
  color: #e8e8e8 !important;
  text-align: center !important;
}

.hempli-de-sidecart-shipping__title {
  color: #e8e8e8 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.hempli-de-sidecart-shipping__bar {
  height: 8px !important;
  margin-top: 12px !important;
  overflow: hidden;
  border-radius: 999px;
  background: #353535 !important;
}

.hempli-de-sidecart-shipping__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--hempli-de-accent) !important;
}

/* Delsumma */
.hempli-de-sidecart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px !important;
}

.hempli-de-sidecart__subtotal span,
.hempli-de-sidecart__subtotal strong {
  color: var(--hempli-de-text) !important;
}

.hempli-de-sidecart__subtotal span {
  font-size: 14px;
  font-weight: 600;
}

.hempli-de-sidecart__subtotal strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

/* Knappar */
.hempli-de-sidecart__actions {
  display: grid;
  gap: 9px;
}

.hempli-de-sidecart__button {
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 11px 16px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.hempli-de-sidecart__button--secondary {
  border: 1px solid #e8e8e8 !important;
  background: transparent !important;
  color: var(--hempli-de-text) !important;
}

.hempli-de-sidecart__button--primary,
.hempli-de-sidecart__continue {
  border: 1px solid var(--hempli-de-accent) !important;
  background: var(--hempli-de-accent) !important;
  color: #07120f !important;
}

/* Trustbar */
.hempli-de-sidecart__trust {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}

.hempli-de-sidecart__benefits,
.hempli-de-sidecart__payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.hempli-de-sidecart__benefits {
  color: #e8e8e8;
  font-size: 12px;
}

.hempli-de-sidecart__payment-logos {
  margin-top: 9px;
  gap: 8px;
}

.hempli-de-sidecart__prepayment {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: #cffff0;
  font-size: 11px;
}

.hempli-de-sidecart__payment-logos img {
  display: block !important;
  width: auto !important;
  max-width: 52px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 2px 5px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, .04) !important;
  object-fit: contain !important;
}

/* Tom kundvagn */
.hempli-de-sidecart__empty {
  margin: auto;
  padding: 32px 22px;
  color: var(--hempli-de-text);
  text-align: center;
}

/* Hover */
.hempli-de-sidecart__button,
.hempli-de-sidecart__close,
.hempli-de-sidecart-item__remove,
.hempli-de-sidecart-qty button {
  transition:
    transform .16s ease,
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease,
    opacity .16s ease !important;
}

.hempli-de-sidecart__button--primary:hover {
  background: var(--hempli-de-accent-hover) !important;
  border-color: var(--hempli-de-accent-hover) !important;
  color: #07120f !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 7px 18px rgba(1, 206, 152, .22) !important;
}

.hempli-de-sidecart__button--secondary:hover {
  background: rgba(255, 255, 255, .07) !important;
  border-color: var(--hempli-de-accent) !important;
  color: #d8fff4 !important;
  transform: translateY(-1px) !important;
}

.hempli-de-sidecart__close:hover {
  background: #2a2a2a !important;
  border-color: var(--hempli-de-accent) !important;
  color: #fff !important;
}

.hempli-de-sidecart-item__remove:hover {
  background: #2b2b2b !important;
  color: #fff !important;
  transform: scale(1.06) !important;
}

.hempli-de-sidecart-qty button:hover {
  background: rgba(1, 206, 152, .12) !important;
  color: #cffff0 !important;
}

/* Dölj Elementors gamla panel */
body.hempli-de-sidecart-enabled .elementor-menu-cart__container {
  display: none !important;
}

/* Mobil */
@media (max-width: 600px) {
  :root {
    --hempli-de-cart-width: min(360px, calc(100vw - 44px));
  }

  .hempli-de-sidecart__header {
    min-height: 56px;
    padding: 8px 13px;
  }

  .hempli-de-sidecart__header h2 {
    font-size: 18px !important;
  }

  .hempli-de-sidecart__close {
    min-width: 70px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 9px !important;
  }

  .hempli-de-sidecart__body {
    padding: 8px 13px;
  }

  .hempli-de-sidecart-item {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 8px;
    min-height: 90px;
    padding: 7px !important;
  }

  .hempli-de-sidecart-item__image {
    width: 66px;
    height: 76px;
  }

  .hempli-de-sidecart__footer {
    padding: 10px 13px max(12px, env(safe-area-inset-bottom));
  }

  .hempli-de-sidecart-shipping {
    min-height: 78px !important;
    padding: 13px !important;
  }

  .hempli-de-sidecart__benefits {
    gap: 8px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  :root {
    --hempli-de-cart-width: calc(100vw - 36px);
  }
}

/* =========================================================
   Hempli.de Side Cart v0.1.4
   Tvingad färgskillnad:
   - Bakgrunden bakom produktkorten är tydligt ljusare.
   - Produktkorten är tydligt mörkare.
   Dessa regler ligger sist och använder både background och
   background-color för att inte skrivas över av äldre regler.
   ========================================================= */

html body .hempli-de-sidecart .hempli-de-sidecart__body {
  background: #252525 !important;
  background-color: #252525 !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__items {
  background: transparent !important;
  background-color: transparent !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart-item,
html body .hempli-de-sidecart article.hempli-de-sidecart-item,
html body .hempli-de-sidecart div.hempli-de-sidecart-item {
  background: #131313 !important;
  background-color: #131313 !important;
  border-color: #303030 !important;
}

/* Säkerställ att inga inre wrappers lägger en ljus bakgrund ovanpå kortet */
html body .hempli-de-sidecart .hempli-de-sidecart-item__info,
html body .hempli-de-sidecart .hempli-de-sidecart-item__top,
html body .hempli-de-sidecart .hempli-de-sidecart-item__bottom,
html body .hempli-de-sidecart .hempli-de-sidecart-item__details {
  background: transparent !important;
  background-color: transparent !important;
}

/* =========================================================
   Hempli.de Side Cart v0.1.5
   - Warenkorb-länken visas som enkel text utan knappkant.
   - Betalnings- och DHL-loggor ligger ovanför trust-raden.
   - "Sicher bezahlen" ersatt med Trustpilot + ★ 4/5.
   ========================================================= */

/* Enkel textlänk till varukorgen */
html body .hempli-de-sidecart .hempli-de-sidecart__actions {
  gap: 5px !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__button--secondary {
  min-height: 30px !important;
  padding: 2px 10px 5px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d9d9d9 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__button--secondary:hover {
  border: 0 !important;
  background: transparent !important;
  color: #cffff0 !important;
  transform: none !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Lite mindre luft ovanför knapparna */
html body .hempli-de-sidecart .hempli-de-sidecart__subtotal {
  margin-bottom: 7px !important;
}

/* Loggor överst */
html body .hempli-de-sidecart .hempli-de-sidecart__payment-logos {
  margin-top: 0 !important;
  margin-bottom: 9px !important;
  gap: 7px !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__payment-logos img {
  max-width: 56px !important;
  height: 22px !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__payment-logos .hempli-de-sidecart__dhl-logo {
  max-width: 62px !important;
  padding: 3px 6px !important;
  background: #ffcc00 !important;
  border-color: rgba(255, 204, 0, .55) !important;
}

/* Trustpilot och diskret frakt under loggorna */
html body .hempli-de-sidecart .hempli-de-sidecart__benefits {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 7px 12px !important;
  color: #e8e8e8 !important;
  font-size: 11.5px !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__trustpilot-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__trustpilot-logo-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 25px !important;
  padding: 3px 7px !important;
  border-radius: 7px !important;
  background: #ffffff !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__trustpilot-logo-wrap img {
  display: block !important;
  width: auto !important;
  max-width: 82px !important;
  height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__rating-text {
  color: #ffffff !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__rating-text span {
  color: #00b67a !important;
}

html body .hempli-de-sidecart .hempli-de-sidecart__discreet-shipping {
  white-space: nowrap !important;
}

@media (max-width: 600px) {
  html body .hempli-de-sidecart .hempli-de-sidecart__button--secondary {
    min-height: 27px !important;
    padding-top: 0 !important;
    padding-bottom: 4px !important;
  }

  html body .hempli-de-sidecart .hempli-de-sidecart__payment-logos {
    margin-bottom: 8px !important;
  }

  html body .hempli-de-sidecart .hempli-de-sidecart__benefits {
    gap: 6px 9px !important;
    font-size: 11px !important;
  }
}
.hempli-de-sidecart__benefits{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.hempli-de-sidecart__trustpilot-rating{
    display:flex;
    align-items:center;
    gap:3px;
    font-weight:700;
    color:#fff;
}

.hempli-de-sidecart__single-star{
    color:#00B67A;
    font-size:18px;
    line-height:1;
}

.hempli-de-sidecart__rating-number{
    font-size:15px;
}

.hempli-de-sidecart__trustpilot-logo{
    display:block;
    width:86px;
    height:auto;
}
.hempli-de-sidecart__benefits{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

.hempli-de-sidecart__trustpilot-logo{
    display:block;
    width:86px;
    height:auto;
}

.hempli-de-sidecart__trustpilot-rating{
    display:inline-flex;
    align-items:center;
    gap:2px;
    margin-left:-4px; /* drar 4.5 närmare loggan */
}

.hempli-de-sidecart__single-star{
    color:#00B67A;
    font-size:18px;
    line-height:1;
}

.hempli-de-sidecart__rating-number{
    color:#fff;
    font-size:17px;
    font-weight:700;
    line-height:1;
}