


/* -------------------------------------- LIST PRODUCT ENTRY ----------------------------- **/

.product-thumb.overflow-visible
{
    overflow: visible;
}
.product-entry-select-wrapper
{
    position: relative;
}

.product-entry-select-active
{
    background-color: white;
    border: 0.8px solid rgb(204, 204, 204);
    border-radius: 4px;
    padding: 0.5em;
    font-size: 1.1em;

    overflow: hidden;
    text-wrap: nowrap;

    position: relative;
}

.product-entry-select-active:hover
{
    cursor: pointer;
}

.product-entry-select-active.focused
{
    box-shadow: 0px 0px 5px gray;
}

.product-entry-select-active i 
{
    position: absolute;
    right: 0px;
    padding: 5px;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: center;
    transition: transform 0.25s ease;
    background-color: white;
}


@media screen and (max-width: 768px)
{

    .product-entry-select-active.reduced-size 
    {
        font-size: 1em;
    }
    
    .product-entry-select-active i 
    {
        padding-right: 5px;
    }
}

/* .product-entry-select-active.focused i 
{
    transform: translateY(-50%) rotate(180deg) ;
} */

.product-entry-select-options
{
    position: absolute;
    left: -5px;
    background-color: white;
    min-width: var(--product-select-options-width, 400px);
    z-index: 20;
    border: 1px solid #d5d5d5;

    max-height: 270px;
    overflow-y:auto;
}

@media screen and (min-width: 768px)
{
    .slick-list:has( .product-list-slick)
    {
        overflow-y: visible;
        overflow-x: clip;
    }

    .product-list-slick .product-entry-select-options 
    {
        max-height: 180px;
    } 

    .product-entry-select-options.upwards
    {
        bottom: 100%;
    }
    
    .product-entry-select-options.leftwards 
    {
        left: unset;
        right: 0;
    }
}


.product-entry-select-options 
{
    display: none;
}

.product-entry-select-options.visible
{
    display: block;
}


.product-entry-select-options > div > span
{
    
    display: block;
    border-bottom: 1px solid #dddddd;
    padding: 1em 0.5em;
    font-size: 1.1em;
    text-wrap: nowrap;
    cursor: pointer;
    background-color: #fff;
    
    display: flex;
    justify-content: space-between;
}

.product-entry-select-options > div > span.product-entry-select-option-no-stock
{
    color: #888;
}

.product-entry-select-options > div > span.selected 
{
    font-weight: bold;
    color: #ff6f02;
}

.product-entry-select-options > div > span.product-entry-select-option:hover
{
    background-color: black;
    color: white;
}
.product-entry-select-options > div > span.selected:hover
{
    color: #ff6f02;
}


.product-entry-select-options > div > span.product-entry-select-option-no-stock:hover 
{
    color: #111;
}

.product-entry-select-options-mobile-bar 
{
    display: none;
}


/* -------- MOBILE -------- */

@media screen and (max-width: 768px)
{
    .product-entry-select-active .hidden-mobile 
    {
        display: none;
    }
    .product-entry-select-options
    {
        overflow: visible;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 75vh;
        padding-bottom: 5vh;
        z-index: 999999999;
    
        min-width: unset;
    
        flex-direction: column;
    }

    .product-entry-select-options.visible
    {
        display: flex;
    }

    .product-entry-select-options-mobile-bar
    {
        border-top: 3px solid black;
        position: relative;
        display: block;
        height: 30px;
        background-color: white;
        flex-shrink: 0;
        padding-top: 5px;
        padding-right: 1em;
        padding-left: 1em; 
    }

    .product-entry-select-options-mobile-bar > div.product-entry-select-options-mobile-title
    {
        font-weight: bold;
        font-size: 15px;
    }
    
    .product-entry-select-options-mobile-bar > i
    {
        position: absolute;
        top: 10px;
        right: 1em;
        transform: scale(1.5);
    }

    .product-entry-select-options-wrapper 
    {
        flex: 1;
        overflow-y: auto;
    }

    .product-entry-select-options > div > span
    {
        border-left: none;
        padding-left: 1em;
        text-wrap: wrap;
    }
}

.popover:has( .cart-error-popover)
{
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    transform: translateX(-20px);
    width: 230px;
    max-width: 250px !important;
}

.popover:has( .cart-error-popover) .popover-content
{
    text-align: center;
}
.popover:has( .cart-error-popover) .arrow
{
    transform: translateX(-20px) !important;
}

.popover:has( .cart-error-popover) .arrow::after
{
    border-bottom-color: #f2dede !important;
}


.cart-error-popover 
{
    color: #a94442;
}

.product-options-backdrop 
{
    display: none;
    z-index: 1000;

    background-color: #cccccc88;

    position: fixed;
    top: 0; left: 0;
    right:0;
    bottom: 0;
}

@media screen and (max-width: 768px)
{
    .product-options-backdrop.visible 
    {
        display: block;
    }

    body.ios-modal-open {
		position: fixed !important;
		top: 0;
		left: 0;
		right: 0;
		overflow: hidden;
		width: 100%;
	  }
    
    .product-list-slick .hide-slick-mobile 
    {
        display: none;
    }
}

.product-thumb .button-group button.btn-addcart2
{
    background-color: #eeeeee;
    color: #888888;
}
.product-thumb .button-group button.btn-addcart2:not(.stock-notification-trigger)::after{
    content: " Stoc 0";
}
.product-thumb .button-group button.btn-addcart2:not(.stock-notification-trigger):hover 
{
    background-color: #eeeeee;
    color: #888888;
    cursor: auto;
}

/* Miscellaneous */


.product-price-de-la
{
    font-size: 14px;
    color: #858585;
    font-weight: normal;
    padding-right: 5px;

}

