/* Winkelwagenlade in de stijl van reflexmarkierung.de (overgenomen 22-11-2026) */
.free-shipping-bar__message-text{
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-drawer__header .free-shipping-bar__message--yes svg {
    color: #00CD0E;
    width: 17px !important;
}

  .cart-drawer-modal.cc-popup.cc-popup--right {
    .cc-popup-modal{
      width: 510px;
      margin: 30px;
      border-radius: 20px;
      margin-right: max(var(--inner-container-padding, 20px), 20px);
      min-height: min(680px, calc(100vh - 60px));
      height: max-content;
      max-height: calc(100vh - 60px);

      @media (max-width: 767px) {
        margin: 22px 20px;
        max-width: calc(100% - 40px);
        width: 100%;
        min-height: min(680px, calc(100vh - 44px));
        max-height: calc(100vh - 44px);
        .cart-drawer__content .cart-item__image{
          margin-left: 0;
        }
      }
      .cart-drawer__header{
        padding: 40px 40px 0px 40px;
        border-bottom: none;
        .cc-popup-close{
          padding: 0;
          margin-right: 0;
        }
      }
      .cart-drawer__header-wrap {
        color: #111;
        h2 {
          font-size: 28px;
          font-weight: 500;
          line-height: 105%;
          text-transform: none;
        }
      }
      .cart-drawer__content{
        overflow-x: visible;
        overflow-y: visible;
        .cart-item-list{
          padding: 15px 40px;
        }
        .cart-item {
          padding: 5px 0;
          border-bottom: none;
          .cart-item__image{
            width: 73px;
            margin-right: 10px;
          }
          .cart-item__not-image{
            flex-direction: column;
            position: relative;
          }
          .cart-item__description{
            align-self: flex-start;
            flex: none;
          }
          .name{
            font-size: 12px;
            -webkit-line-clamp: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
          }
          .small-text{
            display: none;
          }
          .cart-item__unit-price{
            margin-top: 0;
            font-size: 12px;
          }
          .cart-item__quantity{
            align-self: flex-start;
            margin-top: 10px;
            .buttoned-input{
              font-size: 12px;
              a, input{
                height: 29px;
                min-height: 29px;
              }
              svg{
                width: 12px;
                height: 12px;
              }
              .quantity-down{
                padding: 0 5px 0 7px;
              }
              .quantity-up {
                padding: 0 7px 0 5px;
              }
            }
          }
          .cart-item__remove{
            position: absolute;
            right: 0;
            top: 0;
            color: var(--brand-secondary-color-contrast);
            transition: color 0.3s ease-in-out;
            &:hover{
              color: var(--brand-primary-color);
            }
            svg{
              width: 18px;
              height: 18px;
              stroke-width: 1px;
            }
          }
        }
      }
      .cart-drawer__footer{
        padding: 0px 40px 40px;
        .cart-shipping{
          padding-top: 20px;
          border-top: 1px solid rgba(0, 0, 0, 0.20);
          margin-bottom: 15px;
        }
        .cart-shipping-label, .cart-shipping-cost-wrap{
          font-size: 16px;
          font-weight: 500;
          line-height: 105%;
        }
        .subtotal{
          font-size: 16px;
          font-weight: 500;
          line-height: 105%;
        }
        .button{
          border-radius: 10px;
          grid-gap: 8px;
          font-size: 16px;
          svg{
            width: 18px;
            height: 18px;
          }
        }
        .cart-drawer__payment-icons{
          margin-top: 20px;
          display: flex;
          grid-gap: 8px;
          /* Op desktop alle iconen op één lijn, verdeeld over de volle breedte */
          flex-wrap: nowrap;
          justify-content: space-between;
          @media (max-width: 767px) {
            flex-wrap: wrap;
            justify-content: flex-start;
            grid-gap: 12px;
          }
          svg{
            height: 20px;
            width: auto;
            flex: 0 1 auto;
            min-width: 0;
          }
        }
        .latori-tem2-container{
          margin: 20px 0 0;
          padding: 0;
          h4{
            font-size: 12px;
            grid-gap: 10px;
            padding: 0;
            margin: 0;
            svg{
              width: 18px;
              height: 18px;
            }
          }
          .latori-form-input{
            border-radius: 10px;
            border: 1px solid rgba(0, 0, 0, 0.10);
            background: #FFF;
            margin: 20px 0;
          }
          ul.latori-tem2-disclaimer{
            opacity: .25;
          }
        }
      }
      .empty-cart-notice{
        padding-top: 50px;
      }
      .cart-drawer__btn-shop{
        width: 100%;
        text-align: center;
        justify-content: center;
        border: none;
        height: 50px;
        font-size: 16px;
        grid-gap: 8px;
        border-radius: 10px;
        svg{
          width: 18px;
          height: 18px;
          transform: rotate(180deg);
        }
      }
      .empty-cart{
        .cart-item-list{
          height: 100%;
          padding-bottom: 40px;
        }
        .cart-item-list__body{
          display: flex;
          flex-direction: column;
          height: 100%;
        }
        .empty-cart-notice{
          padding: 30px 0;
          margin: auto;
          color: #00000080;
          p{
            margin: 0;
          }
        }
      }
    }
    .cc-popup-background{
      background-color: #0000001A;
    }
    backdrop-filter: blur(15px);
  }
  .free-shipping-bar__message{
    display: flex;
  }
  .cart-drawer__header .free-shipping-bar{
    margin-top: 20px;
    font-size: 14px;
    .free-shipping-bar__message{
      margin-bottom: 11px;
      justify-content: space-between;
    }
    .free-shipping-bar__message-title{
      display: flex;
      align-items: center;
      grid-gap: 8px;
      svg{
        width: 22px;
        height: 22px;
      }
    }
    .free-shipping-bar__bar{
      height: 5px;
      border-radius: 24px;
      background-color: rgba(241, 90, 6, 0.10);
    }
  }

/* Aantal-rondje bij het winkelwagen-icoon: zelfde plek als op reflexmarkierung.de (over de rechterbovenhoek van het icoon) */
.cart-link__count{
  bottom: 15px;
  right: -8px;
}
