/* ==========================================================================
   Veg / non-veg mark (components/store/food-mark.blade.php)
   Veg: green square with a dot. Non-veg: brown square with a triangle.
   ========================================================================== */

.food-mark {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.food-mark--veg {
    color: #15803D;
}

.food-mark--veg::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.food-mark--non-veg {
    color: #7B3F00;
}

.food-mark--non-veg::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 7px solid currentColor;
}

/* On product cards: top right corner of the photo */
.product-card__food-mark {
    position: absolute;
    top: 6px;
    right: 6px;
}

/* Product card without a photo: the first letter on a soft background */
.product-card__placeholder {
    width: 72%;
    height: 72%;
    border-radius: 14px;
    background: #F6F1FF;
    color: #B9A6E0;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Under the letter: "No image" (#7A6E96) */
.product-card__no-photo {
    color: #7A6E96;
    font-family: var(--font-body, inherit);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

/* Product page: before the product name */
.product-info__food-mark {
    margin-right: 6px;
    vertical-align: 2px;
}

/* "Image not available": two short lines in the middle of the box */
.product-card__no-photo {
    max-width: 90%;
    text-align: center;
}
