/*.time-banner__text p {
    margin-bottom: 0;
    display: inline-block;
}

.time-banner__text a {
    display: inline-block;
}
*/

.tag--promo {
    background-color: #AC1818;
}

.tag--new {
    background-color: #4F4F4F;
}

.tag--top {
    background-color: #666633;
}

.tag--hot {
    background-color: #666633;
}

.tag--suggested {
    background-color: #9B51E0;
}

.olas {
    padding: 0.5625rem 1rem !important;
    border-color: #1D1C19 !important;
    border-radius: 3px !important;
}

.select2-selection__rendered {
    font-weight: 500 !important;
}

.product-options--colors .product-options__item label {
    cursor: pointer;
}

.js-lenses-distance {
    display: none;
}

.js-lenses-distance.active {
    display: block;
}


.score-wrap {
    direction: rtl;
}

.review-score input {
    position: absolute;
    z-index: -1;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.review-score label {
    position: relative;
}

.review-score label .color--secondary {
    position: absolute;
    top: 3px;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.review-score label:hover,
.review-score label:hover~label,
.review-score input:focus~label,
.review-score input:checked~label {
    cursor: pointer;
}

.review-score label:hover .color--secondary,
.review-score label:hover~label .color--secondary,
.review-score input:focus~label .color--secondary,
.review-score input:checked~label .color--secondary {
    opacity: 1;
}

.review-score label:hover svg path,
.review-score label:hover~label svg path,
.review-score input:focus~label svg path,
.review-score input:checked~label svg path {
    fill: #F4842A;
}

.overlay-select .overlay-select__values {
    width: 100%;
}

.overlay-select .overlay-select__values span {
    justify-content: center;
}

#overlay {
    height: 600px;
    width: 600px
}

.vto.index__media {
    padding-bottom: 10px;
}

@media (max-width: 468px) {
    #overlay {
        height: 370px;
        width: 370px
    }

    .vto-tooltip {
        width: 250px;
    }

    .vto-list-ico {
        width: 42px;
        height: 42px;
    }


    .vto.index__media {
        padding-bottom: 0px;
    }

}

.recipe__row .form-select:disabled {
    color: #e9ecef;
}

h1.page-title {
    text-transform: none;
    font-weight: 700;
}

@media (min-width: 768px) {
    .delivery.custom-radio--delivery .form-label {
        grid-template-columns: 15% 25% 20% 15% 25%;
    }
}

.dropzone {
    position: relative;
    padding: 1rem;
    background-color: #F2F2F2;
}

.dropzone input {
    height: 180px !important;
    opacity: 0;
}

.dropzone label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    border: 1px dashed #666633;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}


.form-label.required:after {
    content: '*';
    display: inline-block;
    margin-left: 0.25rem;
    font-weight: 700;
    color: #ED584F;
}

#upload_recipe_close {
    position: absolute;
    top: 3%;
    right: 2%;
    border: 1px solid #AC1818;
    color: #AC1818;
    padding: 3px;
    line-height: 1rem;
    border-radius: 3px;
}

#upload_recipe_close .ico {
    font-size: 1rem;
}

@media (max-width: 1180px) {
    .tools__item--cta {
        display: none;
    }

    .preheader {
        position: relative;
        top: 67px;
    }
}

@media (max-width:768px) {
    .preheader {
        width: 100%;
        height: auto;
        padding: 4px;
        top: unset;
    }

    .quick-links {
        justify-content: center !important;
    }
}

@media (max-width:520px) {
    .quick-links__item {
        display: none;
    }

    .quick-links__item:first-child {
        display: block;
    }
}

.sales-promise__title {
    line-height: 1.2
}

.sidepanel__header div.title {
    font-weight: 700;
    margin: 0;
    font-size: 1.25rem;
}

@media (max-width: 576px) {
    .ico.xs {
        font-size: 0.8rem;
    }
}

.accordion__toggle a:before {
    content: attr(data-hidden);
}

.accordion__toggle a.active:before {
    content: attr(data-open);
}

.product__price .loyalty-price {
    position: relative;
    transform: none;
    font-size: 1rem;
    top: -0.2rem;
}

/* OPTION 2: Custom tooltip styles */
.custom-tooltip-wrapper {
    position: relative;
    display: inline-block;
}
.card-price:not(.loyalty-item) .custom-tooltip-wrapper {
    position: initial;
}


.custom-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 12px;
    transform: translateX(-50%);
    background-color: #000000E6;
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 400;
    white-space: nowrap;
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}
.highlight-block .custom-tooltip {
    transform: none
}

.card-price:not(.loyalty-item) .custom-tooltip {
    transform: none;
    left: auto;
    right: 0;
    bottom: 170%;
}
.custom-tooltip a {
    color: lightgrey;
}

.custom-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000000E6 transparent transparent transparent;
}

.card-price:not(.loyalty-item) .custom-tooltip::after {
    left: 80%;
}
.highlight-block .product__price:not(.loyalty-item) .custom-tooltip::after {
    left: 20%;
}
.custom-tooltip-wrapper:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Make custom tooltip hoverable */
.custom-tooltip-hoverable {
    pointer-events: auto;
}

.custom-tooltip-wrapper:hover .custom-tooltip-hoverable,
.custom-tooltip-hoverable:hover {
    visibility: visible;
    opacity: 1;
}

/* Add gap between trigger and tooltip for smoother hover */
.custom-tooltip-wrapper::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 10px;
}

/* Add info badge after the price element */
.loyalty-item .price:after, .loyalty-price:after{
    content: 'i';
    position: absolute;
    left: 17px; /* Position on the icon */
    top: -3px;
    width: 13px;
    height: 13px;
    background: #F6F6EE;
    color: #666633;
    border: 1.5px solid #666633;
    border-radius: 50%;
    font-size: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product__price.loyalty-item .price:after {
    top: -1px;
    left: 21px;
}
.loyalty-price:after {
    left: auto;
    top: -8px;
    right: -6px;
}
