:root {
    --primary-color: #212121;
    --bg-light: #FFFBF5;
    --bg-accent: #328042;
    --fg-accent: #FFFFFF;
    --selected-row: #3a2c00;
    --primary-font: farhangsharp, tahoma, sans-serif;

    --button-bg-color: #f0f0f0;
    --button-hover-bg-color: #e0e0e0;
}

body {
    background-color: var(--bg-light);
    background-image: url("/static/menu/images/Grunge-01.png");
    margin: 0 auto;
    font-family: farhangsharp, Tahoma, Arial, serif;
    height: 100vh;
    max-width: 500px;
}

a {
    color: black;
    text-decoration: none;
}

.subtitle {
    font-style: normal;
    font-weight: 750;
    font-size: 20px;
    margin: 7px 0;
}

main .product-items {
    display: flex;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

main .product-items .empty-list {
    font-weight: 600;
    font-size: larger;
    text-align: center;
    padding: 150px 30px;
}

main .product-items .product-card {
    background-image: url("/static/menu/images/card_pattern.svg");
    background-repeat: no-repeat;
    background-color: var(--fg-accent);
    display: inline-block;
    text-align: right;
    padding: 14px;
    text-decoration: none;
    width: 100%;
    border: 2px solid;
    min-height: 450px;
    margin: 0 10px;
    position: relative;
}

main .product-items .product-card p {
    white-space: normal;
    font-size: 0.85rem;
}

main .product-items .product-card .image {
    width: 200px;
    height: 180px;
    margin-right: -30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

main .product-items .product-card .footer {
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 0;
}

main .product-items .product-card .footer .price-box {
    margin-bottom: 14px;
}

main .more-info-box {
    height: auto;
    padding: 2px 5px;
    background: var(--bg-accent);
    color: var(--fg-accent);
    box-shadow: rgb(0 0 0) 3px -3px 0;
    border: 2px solid black;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
}

main .more-info-text {
    padding: 3px 5px 10px 5px;
    color: var(--bg-accent);
    font-weight: 900;
}

main .more-info-box div {
    margin-top: 10px;
}

main .price-box {
    width: 40px;
    height: 40px;
    border: 2px solid;
    padding: 3px 5px 10px 5px;
    background: white;
    box-shadow: rgb(0 0 0) 3px -3px 0;
    text-align: center;
}

main .product-details-price .price-box {
    z-index: 100;
    position: relative;
    top: -50px;
    float: left;
    left: 20px;
}

main .price-box div {
    font-weight: 900;
    font-size: x-large;
}

main .price-box img {
    width: 25px;
    top: -10px;
    position: relative;
}

main .product-items .product-card h2 {
    margin-bottom: 0;
    white-space: break-spaces;
    font-size: 1.3rem;
    font-weight: 800;
}

main .product-items .product-card h3 {
    margin-top: 0;
    font-weight: 200;
    font-size: 1rem;
}

main .product-items .product-card .product-summary {
    min-height: 90px;
}

header {
    padding: 32px 32px 5px;
}

header .inner {
    display: flex;
    justify-content: space-between;
}

header .inner .left img {
    height: 60px;
}

header .inner .right h4 {
    font-weight: 900;
    font-size: x-large;
    margin-top: 0;
    margin-bottom: 0;
}

header .inner .right p {
    font-size: x-small;
    font-weight: 700;
}

header .inner .right .footer-text {
    font-size: 12px;
    margin-top: 25px;
    margin-bottom: -5px;
}

.divider-line {
    margin: 10px;
}

main .category-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin: 0 20px 0 26px;
}

.category {
    width: 100%;
    border: 3px solid;
    box-sizing: border-box;
}

.category .inner {
    padding: 5px 0;
    text-align: center;
    font-size: medium;
    font-weight: 700;
    display: block;
}

.category .inner .image {
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.category .subtitle {
    font-size: x-small;
    display: block;
}

.lab-suggestion-banner {
    margin: 20px;
}

.lab-suggestion-banner .image {
    max-width: 100%;
    max-height: 100%;
}

.lab-suggestion-banner .inner {
    width: 100%;
}

.custom-title {
    padding-right: 20px;
}

.custom-title h4 {
    margin-bottom: -7px;
}

.custom-title .right p {
    font-size: x-small;
    opacity: 70%;
}

.delicious-banner {
    background-color: var(--bg-accent);
    background-image: url("/static/menu/images/green_grunge.png");
}

.based-on-time-banner {
    background-color: var(--fg-accent);
    background-image: url("/static/menu/images/based_on_time_banner.png");
    background-size: 500px, 300px;
}

.recommended-banner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin: 25px 20px;
    gap: 8px;
    height: 96px;
    border: 2px solid #17100E;
    box-shadow: rgb(0 0 0) 5px -5px 0;
}

.recommended-image {
    width: 135px;
    height: 115px;
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: -15px;
}

.recommended-banner .price-box {
    margin-left: 20px;
}

.recommended-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: right;
    margin: 20px 0 auto 56px;
    padding: 0px;
    width: 177px;
    height: 56px;
}

.recommended-name .product-persian-text, #based_on_time_text_fill {
    font-style: normal;
    font-weight: 900;
    font-size: 20px;
    line-height: 24px;
    flex: none;
}

.recommended-name #delicious_text_stroke {
    color: var(--bg-accent);
    text-shadow: -1px -1px 0 var(--fg-accent), 1px -1px 0 var(--fg-accent),
    -1px 1px 0 var(--fg-accent), 1px 1px 0 var(--fg-accent);
    margin-top: -1px;
    margin-right: -1px;
    opacity: 50%;
    position: absolute;
}

.recommended-name #delicious_text_fill {
    position: absolute;
    z-index: 1;
    margin-top: -1px;
    color: var(--fg-accent);
}

.recommended-name .delicious-english-text {
    position: absolute;
    font-weight: 200;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--fg-accent);
    margin-top: 40px;
}

.recommended-name #based_on_time_text_stroke {
    color: var(--bg-light);
    text-shadow: -1px -1px 0 black, 1px -1px 0 black,
    -1px 1px 0 black, 1px 1px 0 black;
    margin-top: -1px;
    margin-right: -1px;
    opacity: 38%;
    position: absolute;
}

.recommended-name #based_on_time_text_fill {
    position: absolute;
    z-index: 1;
    margin-top: -1px;
    color: black;
}

.recommended-name .based-on-time-english-text {
    position: absolute;
    font-weight: 200;
    font-size: 12px;
    text-transform: uppercase;
    color: black;
    margin-top: 40px;
}

.category-slider {
    white-space: nowrap;
    overflow: auto;
}


.category-slider .category-item {
    display: inline-block;
    text-align: right;
    padding: 10px 15px;
    text-decoration: none;
    min-width: 80px;
    border: 3px solid;
    margin-right: 20px;
}

.inactive-category {
    background-color: var(--fg-accent);
}

.active-category {
    background-color: black;
}

.active-category a {
    color: var(--fg-accent);
}

.category-slider .category-item:last-child {
    margin-left: 20px;
}

article {
    padding: 20px 50px;
}


article h2 {
    margin-bottom: 0;
    font-size: xx-large;
    font-weight: 900;
}

article h3 {
    margin-top: 0;
    font-weight: 100;
    text-transform: uppercase;
}

article p {
    opacity: .5;
    font-weight: 200;
}

article .product-attributes div {
    margin-top: 5px;
}

article .product-attributes img {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-left: 30px;
}

article .product-attributes span {
    font-weight: 800;
    opacity: 0.5;
}

article .mix-suggestion {

}

article .mix-suggestion * {
    background-color: var(--bg-accent);
    color: var(--fg-accent);
    font-family: farhangsharp, tahoma, sans-serif;
    font-weight: 900;
    border: 2px solid black;
    outline: none;
    padding: 10px 20px;
    box-shadow: rgb(0 0 0) 3px -3px 0;
    margin: 20px 0;
}

.modal {
    overflow-y: scroll;
    max-height: 85%;
    margin-top: 50px;
    margin-bottom: 50px;
}

.modal .title p {
    font-size: x-small;
    opacity: 70%;
    margin-top: 5px;
}

.modal .body .header .title .title-fa {
    font-size: 16px;
}

.modal .body .header .image {
    max-width: 30%;
}
