.userListImage img{
    width:100px;
    height:100px;
    display: inline-block;
    margin: 10px;
}
.userList {
    text-align: center;
    position: relative;
    max-width: 125px;
    overflow-wrap: break-word;
}
.userList:hover{
    cursor: pointer;
}
.ymPageShopModalCard-wrapper.ymshop-cards {
    margin-left: -5px;
    margin-right: 0;
    margin-bottom: 30px;
}
.ymPageShopModalCard-wrapper .article-disable{
    background-color: #c5e0b4;
}
.ymPageShopModalCard-wrapper .article-active{
    background-color: white;
}
.ymPageShopModalCard{
    text-align: center;
    width: max-content;
    border: 1px solid gray;
}
.basketbtn {
    display:contents;
}
.disabledButtons{
    opacity: 0.5;
    pointer-events: none;
    color: #9b9b9b;
}

/*Favorite Page Data*/
#addAllBasketFav.basketbtn{
    display: inline-flex;
}
.userList__addToBasket__page{
    content: "";
}
.userList__addToBasket__page {
    position: absolute;
    top: 0px;
    left: 118px;
    z-index: 1;
    background-color: #fff;
    border: 2px double #975004;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide:hover .userList__addToBasket__page img
{
    display: flex;
}
.swiper-slide:hover .userList__addToBasket__page{
    display: flex;

}
.swiper-slide .userList__addToBasket__page{
    display: none;
}
.swiper-slide .userList__addToBasket__page img {
    display: none;
}

/* YM Shopping Module*/
/* -- Tabs container */
.ymshop-modal .nav-tabs {
    border-bottom: 0;
    padding-top: 10px;
}

/* Tab item spacing */
.ymshop-modal .nav-tabs .nav-item {
    margin-bottom: 10px;
}

/* Abstand zwischen Tab 1 und Tab 2 */
.ymshop-modal .nav-tabs .nav-item + .nav-item .nav-link {
    margin-left: 25px;
}

/* Gemeinsames Tab-Styling */
.ymshop-modal .nav-tabs .nav-link {
    position: relative;

    background-color: transparent;
    color: #000;

    font-size: 14px;
    letter-spacing: 0.2px;

    border: 2px solid #372d2c;
    border-radius: 20px;

    padding: 38px 5px 2px 5px;

    transition: background-color .3s, color .3s;
    width: 120px;
}

/* Hover + Active */
.ymshop-modal .nav-tabs .nav-link:hover,
.ymshop-modal .nav-tabs .nav-link.active {
    background-color: #372d2c !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Gemeinsames Icon-Styling */
.ymshop-modal .nav-tabs .nav-link::before {
    content: '';
    position: absolute;

    top: -21px;
    left: 50%;
    transform: translateX(-50%);

    width: clamp(55px, 8vw, 60px);
    height: clamp(55px, 8vw, 60px);

    background-size: cover;
    background-repeat: no-repeat;

    border: 2px solid #372d2c;
    border-radius: 50%;
}

/* Tab 1: Menu */
.ymshop-modal .nav-tabs .nav-item:nth-child(1) .nav-link::before {
    background-image: url('/fileadmin/vimi/images/ym_img/yw_btn/yw_menu.png');
}

/* Tab 2: Shopping List */
.ymshop-modal .nav-tabs .nav-item:nth-child(2) .nav-link::before {
    background-image: url('/fileadmin/vimi/images/ym_img/yw_btn/yw_shoplist.png');
}

/* Kleine Screens */
/*@media (max-width: 497px) {
    .ymshop-modal .nav-tabs .nav-link {
        padding-top: 67px;
    }

    .ymshop-modal .nav-tabs .nav-link::before {
        top: 7px;
    }
}*/
/* -- Delete Button */
.btn--ymsho-delete,
.btn--with-icon {
    display: inline-flex;
    align-items: flex-start;
    padding: 0;
    margin-right: 20px;
}

.btn--ymsho-delete svg {
    max-width: 30px;
    height: auto;
}

.btn--ymsho-delete__text,
.btn--with-icon__text {
    max-width: 60px;
    margin-left: 7px;
    font-weight: 500;
    font-size: 14px;
    line-height: normal;
    text-align: left;
}

.ymshop-page-info {
    margin-bottom: 15px;
    flex-direction: column;
}

.ymshop-page-info,
.ymshop-page-info__title,
.ymshop-page-action,
.ymshop-page-action-form,
.ymshop-page-qty,
.ymshop-cate-reset,
.ymshop-cate-reset .ymshop-cate-reset__qty {
    display: flex;
}

.ymshop-page-info__title {
    margin-right: 15px;
}

.ymshop-page-info__title span {
    font-weight: 700;
}

.ymshop-page-info__title img {
    max-width: 60px;
    max-height: 60px;
    margin-right: 10px;
}

.ymshop-page-action {
    margin-top: 15px;
}

.ymshop-page-action-form,
.ymshop-page-info__title,
.ymshop-page-qty {
    align-items: center;
}

.ymshop-page-action-form button {
    background-color: transparent;
    border: 0;
    color: #000;
    padding: 0 5px;
}

.ymshop-cards {
    display: flex;
    flex-wrap: wrap;
    margin: 0 15px;
}

.ymshop-card {
    border: 1px solid #4472c4;
    max-width: 85px;
    width: 100%;
    margin: 0 5px 10px;
    transition: background-color 0.2s ease-in-out 0s;
}

.ymshop-card__img img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    min-height: 60px;
    object-fit: cover;
    width: 100%;
}

.ymshop-card-no-img {
    display: flex;
    flex-direction: column;
    justify-content: center;  
}
.ymshop-card__content {
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    padding: 5px;
}
.ymshop-card__content div { 
    margin-bottom: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.ymshop-page-items .ymshop-page-item:not(:last-child) {
    margin-bottom: 30px;
}

.netTotalsList .ymshop-page-item .ymshop-page-info{
    margin-top: 30px;
}

.ymshop-page-action-form button svg, .ymshop-page-action-form button img {
    max-width: 24px;
    max-height: 24px;
}
.ymshop-page-qty {
    margin: 0 5px;
}
.ymshop-page-qty input { 
    max-width: 60px;
    height: auto;
    text-align: center;
    padding: 2px 0;
    border-radius: 4px;
    border: 1px solid #4472c4;
    -moz-appearance: textfield;
}
.ymshop-page-qty button {
    background-color: transparent;
    border: 0;
    color: #000;
    padding: 0 5px;
    cursor: pointer;
}

.ymshop-page-qty input:focus,
.ymshop-page-qty input:hover {
    box-shadow: none;
}
.ymshop-page-qty button svg {
    max-width: 16px;
}

.ymshop-card.article-disable {
    background-color: #c5e0b4;
}
.ymshop-card.article-active{
    background-color: white;
}

.ymshop-cate-reset,
.ymshop-cate-reset__qty {
    align-items: center;
}

.ymshop-cate-reset {
    margin-bottom: 20px;
}

.ymshop-cate-reset__qty .btn svg {
    max-width: 28px;
}

.btn--addbacsket {
    display: inline-flex;
    padding: 0;
    background-color: transparent;
    border: 0;
    align-items: center;
}
.btn--addbacsket span { 
    max-width: 100px !important;
    margin: 10px 0 0 3px;
    color: #212529;
}
.share-options-links {
    display: flex;
    margin-bottom: 10px;
}

.share-options-links .favorites-action-button {
    cursor: pointer;
}

.share-options-links .favorites-action-button:focus {
    outline: 2px solid #1a0dab;
    outline-offset: 2px;
}

.share-options-links .btn--addfavbasket {
    margin-left: 25px;
    text-decoration: none;
    color: #000;
}

.share-options-links .btn--addfavbasket svg {
    margin-right: 7px;
}

.share-options-links .btn--print-menu {
    align-items: center;
    color: #000;
    display: inline-flex;
    text-decoration: none;
}

.share-options-links .btn--print-menu__icon {
    font-size: 24px;
    line-height: 1;
    margin-right: 7px;
}

.ymshop-shop-selection {
    display: flex;
    margin-bottom: 15px;
}

.ymshop-shop-selection__country {
    margin-right: 20px;
}

.ymshop-shop-selection__country p {
    margin-bottom: 3px;
}

.ymshop-country-name {
    margin-left: 5px;
}

.ymshop-shop-selection__update .btn--with-icon {
    align-items: center;
}

.ymshop-shop-selection__update .btn--with-icon__text {
    max-width: 90px;
}
.ymshop-shop-selection {
    flex-direction: column;
}

.ymshop-shop-selection__update {
    margin-top: 10px;
}

.ymshop-shop-selection__country select {
    border-color: #4472c4;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDA0LjMwOCA0MDQuMzA5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0wIDEwMS4wOGg0MDQuMzA4TDIwMi4xNTEgMzAzLjIyOSAwIDEwMS4wOHoiLz48L3N2Zz4=');
    background-size: 17px;
    height: 32px;
    line-height: normal;
}

.ymshop-vendor-item,
.ymshop-vendor-alternative__result {
    display: flex;
}

.ymshop-vendor-item {
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.ymshop-vendor-item  > .ymshop-card {
    margin-left: 0;
}

.ymshop-vendor-alternative {
    width: calc(100% - 100px);
}

.ymshop-vendor-alternative__related .ymshop-cards {
    margin-left: 0;
    margin-right: 0;
}

.ymshop-vendor-alternative__img .ymshop-card {
    max-width: 60px;
    min-width: 60px;
}
.ymshop-vendor-actions {
    margin-left: 5px;
}

.ymshop-vendor-actions > span {
    font-size: 13px;
    line-height: normal;
    font-weight: 500;
    max-width: 75%;
    display: block;
    margin-bottom: 3px;
    hyphens: auto; 
    word-break: break-word;
}

.ymshop-vendor-actions .ymshop-page-qty {
    margin-left: 0;
}

.ymshop-vendor-actions .ymshop-page-qty__minus {
    padding-left: 0;
}

.ymshop-vendor-alternative__related {
    margin-top: 5px;
}

.ymshop-vendor-alternative__related .ymshop-card {
    background-color: #4472c4;
    color: #fff;
    max-width: 60px;
}

.ymshop-vendor-alternative__related .ymshop-card__content {
    font-size: 11px;
    line-height: 16px;
}

.ymshop-vendor-price {
    width: 40%;
}

.ymshop-vendor-price .ymshop-vendor-price__text span {
    text-decoration: underline;
}

.ymshop-vendor-price .ymshop-vendor-price__text h6 {
    font-weight: 700;
    margin-top: 10px;
    display: inline-block;
}

.ymshop-vendor-alternative--no-result {
    align-self: center;
}

.ymshop-vendor-alternative--no-result div {
    max-width: 70%;
    margin-left: 25px;
}

.ymshop-vendor-total {
    max-width: 70%;
    margin-left: auto;
    text-align: right;
    margin-right: 10px;
    margin-bottom: 15px;
}

.ymshop-vendor-total h5 strong,
.ymshop-vendor-table__total {
    font-weight: 700;
    position: relative;
}
.ymshop-vendor-total h5 strong {
    font-weight: 700;
    position: relative;
    margin-right: 20px;
}

.ymshop-vendor-total h5 strong:after,
.ymshop-vendor-table__total::after {
    content: '';
    position: absolute;
    background-color: #000;
    left: 0;
    bottom: 2px;
    height: 1px;
    width: 100%;
}

.ymshop-vendor-action .btn {
    align-items: center;
    margin-right: 0;
    max-width: 130px;
}

.ymshop-vendor-action .btn:first-child .btn--with-icon__text {
    margin-left: 0;
}
.ymshop-vendor-action .btn--with-icon__text {
    margin-left: 10px;
    max-width: 100%;
}
.ymshop-vendor-action .btn--with-icon svg {
    width: 100%;
}
.ymshop-vendor-table .table {
    min-width: 500px;
}
.ymshop-vendor-table .table thead td {
    padding: 0;
}

.ymshop-vendor-table .table tr td:first-child {
    padding-left: 0;
}

.ymshop-vendor-table tbody tr td {
    padding-bottom: 5px;
    padding-top: 5px;
}

.ymshop-vendor-title {
    display: inline-block;
    border: 1px solid #4472c4;
    border-radius: 5px;
    font-size: 18px;
    padding: 2px 10px;
    margin-bottom: 15px;
    min-width: 120px;
    text-align: center;
}

.ymshop-vendor-table .ymshop-card {
    margin-left: 0;
}

.ymshop-vendor-table__qty,
.ymshop-vendor-table__price,
.ymshop-vendor-table__total-price {
    font-weight: 700;
    font-size: 16px;
}

.ymshop-vendor-table__ship-unit .ymshop-card__content {
    background-color: #4472c4;
    color: #fff;
}

.ymshop-vendor-table__info {
    font-weight: 500;
    font-size: 13px;
    max-width: 130px;
    width: 100%;
    
}
.ymshop-vendor-table__info span {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 20px;
}
.ymshop-vendor-table__total {
    font-size: 20px;
    font-weight: 700;
}

.ymshop-shop--net-totalas-selection__update .btn {
    align-items: center;
    margin-right: 0;
    max-width: 130px;
}
.ymshop-shop--net-totalas-selection__update .btn svg {
    width: 100%;
    max-width: 50px
}
.ymshop-shop--net-totalas-selection__update .btn .btn--with-icon__text {
    max-width: 100%;
}

.data-not-found{
    color: #f00;
    font-family: monospace;
    font-size: 18px;
    line-height: normal;
    font-weight: 500;
    max-width: 75%;
    display: block;
    margin-bottom: 3px;
    hyphens: auto;
    word-break: break-word;
}

@media (min-width: 576px) {
    .ymshop-shop-selection {
        flex-direction: row;
    }

    .ymshop-shop-selection__update {
        margin-top: 8px;
    }

    .ymshop-vendor-alternative__related .ymshop-card {
        max-width: 80px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .ymshop-modal .modal-dialog {
        max-width: 650px;
    }
}

@media (min-width: 768px) {
    .ymshop-modal .nav-tabs .nav-link {
        font-size: 16px;
        letter-spacing: 0.4px;
        min-width: 130px;
    }

    .btn--ymsho-delete svg {
        max-width: 45px;
    }
    
    .ymshop-page-action {
        margin-top: 0;
    }

    .ymshop-page-info {
        flex-direction: row;
    }
    .ymshop-cards {
        margin-left: 20px;
        margin-right: 20px;
    }
    .ymshop-card {
        margin-left: 7px;
        margin-right: 7px;
        max-width: 100px;
    }
    
    .ymshop-vendor-item {
        flex-wrap: nowrap;
    }

    .ymPageShopModalCard-wrapper.ymshop-cards {
        margin-left: -7px;
    }
    .ymshop-vendor-alternative {
        width: auto;
        max-width: calc(60% - 100px);
    }
}

@media (min-width: 992px) {
    .ymshop-modal .modal-dialog {
        max-width: 700px;
    }
}

.ymShop-no-scroll {
    overflow: hidden !important;
}

.gray-bg {
    background-color: #cecece !important;
}

.disabledArticles {
    margin-top: 40px;
}
/* YM Shopping Module*/

.card--image {
    position: relative;
    display: inline-block;
}

.card--image .recipe-pill-overlay {
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 2px 6px;
    max-width: calc(100% - 12px);
}

.card--image .recipe-pill-overlay .badge {
    background-color: #372d2c !important;
}

.favorites-total-per-serving {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.yw-assigned-articles-heading {
    margin-bottom: 1rem;
}

.yw-assigned-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0 0 1.5rem;
    list-style: none;
}

.yw-assigned-articles-grid__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid #e5ded9;
    border-radius: 8px;
    background-color: #fff;
}

.yw-assigned-articles-grid__name {
    font-weight: 700;
    line-height: 1.25;
}

.yw-assigned-articles-grid__amount {
    color: #6f625c;
    font-size: 0.95rem;
    line-height: 1.2;
}
