﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

input, input::placeholder {
    direction: rtl;
}
.form-floating > label{
    left: auto;
    right: 0;
}

form.create-order {
    width: fit-content;
    background-color: #fff;
    padding: 12px;
    border: 1px solid #aaa;
    border-radius: 12px;
    box-shadow: -3px 5px 10px #00000038;
}

.product-item {
}
.product-item .card-body{}
.product-item .card-body .thumbnail{ aspect-ratio: 1/1; width: 120px; margin: auto; margin-bottom: 6px; }
.product-item .card-body .product-title{font-size: 16px; text-align: center;}
.product-item .card-body .price-wrapper { display:flex; gap: 12px; justify-content:center; }
.product-item .card-body .price-wrapper .price{ color: #00bb00;}
.product-item .card-body .price-wrapper .price:after{ content:"تومان"; padding-right: 4px; font-size: 10px; }
.product-item .card-body .price-wrapper .consumer-price{color: #000000; text-decoration: line-through; text-decoration-thickness: 1px; text-underline-offset: -4px; text-decoration-color: red; }
.product-item .card-body .tip-wrapper { display: flex; justify-content: center; }
.product-item .card-body .tip-wrapper .tip{}
.product-item .card-body .tip-wrapper .unit{}
.product-item .card-footer {display: flex; justify-content: space-evenly; }