/* ALL */

#delivery_address_block div.suggestions-promo {
    display: none !important;
}

.cp {
    cursor: pointer;
}

.nowrap {
    white-space: nowrap !important
}

/* CATALOG */
ul.pagination li.page-item:not(.disabled):not(.active) {
    cursor: pointer !important;
}
picture.item_image_catalog {
    max-height: 100%;
    overflow: hidden;
}
.btn_favorite_item {
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 10px;
}

/* SINGLE PRODUCT */

.image-wrapper {
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;  /* по горизонтали */
    align-items: center;      /* по вертикали */
}
.image-fit-height {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain; /* или cover, если хочешь обрезать */
    display: block;
}
.quantity_show i {
    font-size: 0.6rem;
    padding-right: 1px;
}
#product_image_block {
    position: sticky;
    top: 100px;
}

/* CART */

.text-center picture {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.border_bottom {
    border-bottom: 1px dashed #ccc !important;
}

#shopping_cart_items_list_table .image_in_cart img {
    max-height: 70px;
}

/* FAVORITE */
.f_image img {
    max-height: 40px;
}

/* ORDER */
#order_new_products_table .image_in_cart img {
    max-height: 50px;
}

#order_new_products_content {
    min-height: 100px;
}

#order_new_products_loader > div.loader_line {
    margin-top: 100px;
}

#order_new_delivery_loader > div.loader_line {
    margin-top: 50px;
}

#order_new_save_block {
    position: sticky;
    top: 100px;
}

.suggestions-suggestions {
    position: absolute;
    background-color: rgb(255, 243, 243);
    padding: 10px;
    width: 100%;
    z-index: 1;
}

.suggestions-suggestions .suggestions-suggestion {
    cursor: pointer;
    line-height: 1.2;
    margin-bottom: 5px;
}
.suggestions-suggestions .suggestions-suggestion:hover {
    color: #1386fa;
}

.select2-dropdown {
    background: #fffee4 !important;
}

/* Обводка обычного select2 */
.select2-container--bootstrap5.select2-container .form-select {
   /* background: rgb(255, 233, 233); */
}

/* LOADER */

.box_top_loader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    visibility: hidden;
    z-index: 1060;
}

.box_line_loader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    visibility: hidden;
    z-index: 1060;
}
.loader_line {
    width: 120px;
    height: 22px;
    border-radius: 20px;
    color: #0a274d;
    border: 2px solid;
    position: relative;
}
.loader_line::before {
    content: "";
    position: absolute;
    margin: 2px;
    inset: 0 100% 0 0;
    border-radius: inherit;
    background: currentColor;
    animation: l6 4s infinite;
}
@keyframes l6 {
      100% {inset:0}
}

/* PRODUCT IMAGE LOADER */

.loader_big_image {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}
  
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 767.98px) {

    #modal_universal_block {
        margin: 0 !important;
    }

    #order_new_products_table .plus,
    #order_new_products_table .minus,
    #shopping_cart_items_list_table .plus,
    #shopping_cart_items_list_table .minus {
        display: none;
    }

}