﻿:root {
    --primary-color-100: #d3d8d4;
    --primary-color-300: #7a8a7e;
    --primary-color-500: #233c28;
    --primary-color-700: #101812;
    --primary-color-900: #000000;
    --secondary-color-100: #faf9f3;
    --secondary-color-300: #f1ecda;
    --secondary-color-500: #e8dfc1;
    --secondary-color-700: #9b947c;
    --secondary-color-900: #4e4937;
    --success-color-500: #1ab46e;
    --success-color-700: #148753;
    --danger-color-500: #db3b21;
    --danger-color-700: #a42c19;
    --warning-color-500: #ff9600;
    --warning-color-700: #bf7100;
    --radius: 20px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --radius-xs: 5px;
}

.ui.primary.button {
    background-color: var(--primary-color-500)
}

    .ui.primary.button:hover, .ui.primary.button:active, .ui.primary.button:focus {
        background-color: var(--primary-color-700)
    }

.ui.basic.primary.button {
    box-shadow: 0px 0px 0px 1.5px var(--primary-color-700) inset !important;
    color: var(--primary-color-700) !important;
}

    .ui.basic.primary.button:hover, .ui.basic.primary.button:active, .ui.basic.primary.button:focus {
        box-shadow: 0px 0px 0px 1.5px var(--primary-color-500) inset !important;
        color: var(--primary-color-600) !important
    }

.ui.primary.text {
    color: var(--primary-color-500)
}

.ui.red.text, .ui.error.text, .text-danger {
    color: var(--danger-color-500) !important
}

body {
    color: var(--primary-color-900)
}

.ltr {
    direction: ltr;
}

input.ltr {
    text-align: left !important;
}

i.toman {
    font-family: 'estedad', 'vazir', Tahoma !important;
    font-weight: bold;
    font-style: normal;
    font-size: 8pt;
    word-spacing: 5em;
}

    i.toman:after {
        content: 'تومان'
    }


.ui.breadcrumb a {
    color: var(--primary-color-900)
}

    .ui.breadcrumb a:hover {
        color: var(--primary-color-700);
        font-weight: bold;
    }

.ui.breadcrumb .section:last-child {
    font-weight: bold;
}

.ui.modal {
    border-radius: 0;
}

    .ui.modal > :first-child:not(.icon), .ui.modal > .icon:first-child + * {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .ui.modal > :last-child {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

h1, h2, h3 {
    font-family: 'estedad', Vazir, Tahoma !important;
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.35rem;
}

h3 {
    font-size: 1.2rem;
}

@media only screen and (max-width: 440px) {
    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.15rem;
    }

    h3 {
        font-size: 1.05rem;
    }

    .ui.text.container {
        font-size: 1.15rem;
    }
}

@media only screen and (max-width: 440px) {
    .desktop.only {
        display: none;
    }
}

@media only screen and (min-width: 441px) {
    .mobile.only {
        display: none;
    }
}

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: var(--secondary-color-300);
    color: var(--secondary-color-900);
}

.center.text {
    text-align: center;
}


.cursor-pointer {
    cursor: pointer
}

.flex-1 {
    flex: 1;
}

.p-0 {
    padding: 0 !important
}

.pr-0 {
    padding-right: 0px !important
}

.pr-5 {
    padding-right: 5px !important
}

.pr-7 {
    padding-right: 7px !important
}

.pr-10 {
    padding-right: 10px !important
}

.pr-15 {
    padding-right: 15px !important
}

.pr-20 {
    padding-right: 20px !important
}

.plr-0 {
    padding-left: 0px !important;
    padding-right: 0px !important
}

.plr-5 {
    padding-left: 5px !important;
    padding-right: 5px !important
}

.plr-10 {
    padding-left: 10px !important;
    padding-right: 10px !important
}

.plr-15 {
    padding-left: 15px !important;
    padding-right: 15px !important
}

.plr-20 {
    margin-left: 20px !important;
    margin-right: 20px !important
}

.pl-0 {
    padding-left: 0px !important
}

.pl-5 {
    padding-left: 5px !important
}

.pl-7 {
    padding-left: 7px !important
}

.pl-10 {
    padding-left: 10px !important
}

.pl-15 {
    padding-left: 15px !important
}

.pl-20 {
    margin-right: 20px !important
}

.pt-0 {
    padding-top: 0px !important
}

.pt-5 {
    padding-top: 5px !important
}

.pt-10 {
    padding-top: 10px !important
}

.pt-15 {
    padding-top: 15px !important
}

.pt-20 {
    padding-top: 20px !important
}

.pt-25 {
    padding-top: 25px !important
}

.pt-30 {
    padding-top: 30px !important
}

.pt-35 {
    padding-top: 35px !important
}

.pt-40 {
    padding-top: 40px !important
}

.pb-0 {
    padding-bottom: 0px !important
}

.pb-3 {
    padding-bottom: 3px !important
}

.pb-4 {
    padding-bottom: 4px !important
}

.pb-5 {
    padding-bottom: 5px !important
}

.pb-7 {
    padding-bottom: 7px !important
}

.pb-10 {
    padding-bottom: 10px !important
}

.pb-15 {
    padding-bottom: 15px !important
}

.pb-20 {
    padding-bottom: 20px !important
}

.m-0 {
    margin: 0 !important
}

.mr-0 {
    margin-right: 0px !important
}

.mr-5 {
    margin-right: 5px !important
}

.mr-10 {
    margin-right: 10px !important
}

.mr-15 {
    margin-right: 15px !important
}

.mr-20 {
    margin-right: 20px !important
}

.ml-0 {
    margin-left: 0px !important
}

.ml-5 {
    margin-left: 5px !important
}

.ml-10 {
    margin-left: 10px !important
}

.ml-15 {
    margin-left: 15px !important
}

.ml-20 {
    margin-left: 20px !important
}

.mt-5 {
    margin-top: 5px !important
}

.mt-10 {
    margin-top: 10px !important
}

.mt-15 {
    margin-top: 15px !important
}

.mt-20 {
    margin-top: 20px !important
}

.mt-25 {
    margin-top: 25px !important
}

.mt-30 {
    margin-top: 30px !important
}

.mt-35 {
    margin-top: 35px !important
}

.mt-40 {
    margin-top: 40px !important
}

.mb-0 {
    margin-bottom: 0px !important
}

.mb-5 {
    margin-bottom: 5px !important
}

.mb-10 {
    margin-bottom: 10px !important
}

.mb-15 {
    margin-bottom: 15px !important
}

.mb-20 {
    margin-bottom: 20px !important
}

.mb-25 {
    margin-bottom: 25px !important
}

.mb-30 {
    margin-bottom: 30px !important
}

.mb-35 {
    margin-bottom: 35px !important
}

.mb-40 {
    margin-bottom: 40px !important
}

.mlr-5 {
    margin-left: 5px !important;
    margin-right: 5px !important
}

.mlr-10 {
    margin-left: 10px !important;
    margin-right: 10px !important
}

.mlr-15 {
    margin-left: 15px !important;
    margin-right: 15px !important
}

.mlr-20 {
    margin-left: 20px !important;
    margin-right: 20px !important
}

.fs-8 {
    font-size: 8px;
}

.fs-9 {
    font-size: 9px;
}

.fs-10 {
    font-size: 10px;
}

.fs-11 {
    font-size: 11px;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.fs-16 {
    font-size: 16px;
}

.fs-17 {
    font-size: 17px;
}

.fs-18 {
    font-size: 18px;
}

.fs-19 {
    font-size: 19px;
}

.fs-20 {
    font-size: 20px;
}

.bb-0 {
    border-bottom: 0px !important
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    background: var(--secondary-color-100);
    border-bottom: 1px solid var(--primary-color-100);
    top: -70px;
    transition: all .2s;
}

    .site-header > .ui.container {
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.fix-header .site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 101;
    transition: all .2s
}

.site-header .logo.type {
}

.logo {
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    background-color: currentColor;
    color: var(--primary-color-500);
}

.logo {
    mask-image: url("/css/fs-icons/icons/logo.svg");
    -webkit-mask-image: url("/css/fs-icons/icons/logo.svg");
    height: 63px;
    width: 65px;
}

    .logo.type {
        mask-image: url("/css/fs-icons/icons/logo-type.svg");
        -webkit-mask-image: url("/css/fs-icons/icons/logo-type.svg");
        height: 63px;
        width: 65px;
    }


.header-actions {
    display: flex;
    gap: 8px;
}


    .header-actions .ui.button {
        background: var(--secondary-color-300);
        color: var(--primary-color-500);
        box-shadow: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: .25rem;
        padding: 0.5em 1em 0.5em !important;
    }

    .header-actions .open-cart-button {
        min-width: 90px;
    }

    .header-actions .button.active,
    #cart-modal-preview .button.active {
        background: var(--secondary-color-700) !important;
        color: var(--secondary-color-100) !important;
    }

    .header-actions .open-cart-button.active,
    #cart-modal-preview .open-cart-button.active {
        display: flex;
        align-items: center;
        gap: .5rem;
    }

    .header-actions .button.active .fs-icon,
    #cart-modal-preview .button.active .fs-icon {
        background: var(--secondary-color-100) !important;
    }

    .header-actions .button:hover,
    #cart-modal-preview .button:hover,
    .header-actions .button.active:hover,
    #cart-modal-preview .button.active:hover {
        background: var(--secondary-color-500) !important;
        color: var(--secondary-color-700) !important;
    }

        .header-actions .button:hover .fs-icon,
        #cart-modal-preview .button:hover .fs-icon,
        .header-actions .button.active:hover .fs-icon,
        #cart-modal-preview .button.active:hover .fs-icon {
            background: var(--secondary-color-700) !important;
        }

.footer-actions .open-cart-button {
    position: relative;
}

.open-cart-button .cart-badge {
    font-size: 1.4rem;
    margin-right: .5rem;
}

.site-footer-menu {
    display: none;
    position: fixed;
    width: 100%;
    padding: .5rem 0 1rem;
    right: 0;
    left: 0;
    bottom: 0;
    background: var(--secondary-color-100);
    box-shadow: 0px 3px 8px 0px var(--secondary-color-900);
}

.footer-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

    .footer-actions .cart-badge {
        position: absolute;
        top: 12px;
        left: 18px;
        font-family: Vazir;
        font-size: .8rem;
    }

.site-footer-menu .button,
.site-footer-menu .button.active {
    background: var(--secondary-color-100);
}

.site-footer-menu .button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    font-size: .7rem !important;
    font-family: estedad;
    margin: 0;
}

    .site-footer-menu .button .icon-bg {
        background: var(--secondary-color-500);
        padding: .3rem;
        margin-bottom: .2rem;
        border-radius: 4px;
    }



    .site-footer-menu .button i {
        background: var(--secondary-color-900);
        height: 20px;
        width: 20px;
    }

    .site-footer-menu .button.active .icon-bg {
        background: var(--secondary-color-700);
    }

    .site-footer-menu .button.active i {
        background: var(--secondary-color-300);
    }


@media only screen and (max-width: 440px) {
    .header-actions {
        display: none;
    }

    .site-header > .ui.container {
        justify-content: center;
    }

    .site-footer-menu {
        display: block;
    }

    .site-footer {
        padding-bottom: 100px !important;
    }
}

/* =========================================================
   MODULES - SLIDER
========================================================= */
.fluid-slider {
}

    .fluid-slider video {
        width: 100%;
        height: auto;
    }

.fluid-slider-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 15px;
    direction: ltr;
}

.fluid-slider-pagination-item {
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    opacity: 0.5;
    font-family: Consolas;
    color: var(--primary-color-900)
}

    .fluid-slider-pagination-item.active {
        opacity: 1;
        font-weight: 700;
    }

.fluid-slider .splide__slide .caption {
    position: absolute;
    left: 20px;
    bottom: -20px;
    font-size: 38pt;
    font-weight: bold;
    color: var(--secondary-color-300);
}

@media only screen and (min-width: 441px) {

    .fluid-slider .splide__slide .caption {
        left: 40px;
    }
}

/* =========================================================
   CATEGORY NAVIGATION
========================================================= */
.category-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--secondary-color-300);
    backdrop-filter: blur(8px);
    box-shadow: 0px 7px 10px -10px var(--secondary-color-900);
    transition: all .2s;
}


@media only screen and (min-width: 769px) {
    .fix-header .category-wrapper {
        top: 77px;
        transition: all .2s;
    }
}

.category-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 14px 0;
    scrollbar-width: none;
}


    .category-scroll::-webkit-scrollbar {
        display: none;
    }


.category-list {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    min-width: 100%;
}


.category-item {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    cursor: pointer;
    background: var(--secondary-color-300);
    border: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}


    .category-item:hover {
        transform: translateY(-2px);
    }




.category-image {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}


.category-list:not(.scrolling) .category-item.active:not(:first-child) {
    transform: scale(1.08)
}

.category-list:not(.scrolling) .category-item.active .category-image {
    border: 1px solid var(--primary-color-500);
    box-shadow: 0px 0px 8px -2px var(--secondary-color-700);
}


.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.category-title {
    min-height: 45px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin-right: .25rem;
}

.category-item .category-title {
    background: var(--secondary-color-500)
}

.category-list .category-item.active .category-title {
    background: var(--primary-color-500);
    color: var(--secondary-color-100);
}



/*******************************
         Drag
*******************************/
.horizontal-scroll {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

    .horizontal-scroll.dragging {
        cursor: grabbing;
    }

    .horizontal-scroll img {
        -webkit-user-drag: none;
        user-drag: none;
        pointer-events: none;
    }

/* =========================================================
   OFFER PRODUCTS
========================================================= */

.special-offers {
    margin-top: 2rem;
}

    .special-offers > .container {
        padding: 1rem;
        background: #FDCB8E;
    }

    .special-offers .horizontal-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
    }

        .special-offers .horizontal-scroll::-webkit-scrollbar {
            display: none; /* Chrome, Safari */
        }

    .special-offers .items-row {
        display: flex;
        gap: 1.5rem;
        width: max-content;
        min-width: 100%;
    }

        .special-offers .items-row .product-card {
            /*            width: 18% !important;*/
            min-height: unset !important;
            margin-top: 0;
            background: transparent !important;
        }



            .special-offers .items-row .product-card .product-image {
                height: 200px !important;
            }

@media only screen and (max-width: 768px) {
    .special-offers .items-row .product-card .product-image {
        height: 140px !important;
    }
}

.special-offers .items-row .product-card .product-info {
    min-height: unset;
}

.special-offers .items-row .product-card .product-variation {
    display: none;
}
/* =========================================================
   PRODUCTS
========================================================= */
.products-container {
    max-width: 1200px !important;
    padding-top: 35px;
    padding-bottom: 60px;
}


.product-category {
    /*
     * Space for sticky category navigation.
     */
    scroll-margin-top: 145px;
    margin-bottom: 65px;
}


.category-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}


    .category-heading::before,
    .category-heading::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--primary-color-300);
        z-index: -1;
    }


.category-heading-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color-500);
    white-space: nowrap;
}


    .category-heading-content h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 800;
    }


    .category-heading-content i {
        margin: 0 !important;
    }


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    overflow: hidden;
    background: var(--secondary-color-300) !important;
    border-radius: 0 !important;
    padding: .5rem !important;
    min-height: 570px !important;
}


    .product-card .product-image {
        position: relative;
        /*        height: 260px;*/
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        overflow: hidden;
        cursor: zoom-in;
    }


        .product-card .product-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform .25s ease;
        }


    .product-card:hover .product-image img {
        transform: scale(1.03);
    }


    .product-card .product-info {
        padding: 14px !important;
    }

        .product-card .product-info .product-name,
        .product-card .product-info .product-variation,
        #product-details-modal .product-info .product-name,
        #product-details-modal .product-info .product-variation {
            border-bottom: 1px solid var(--secondary-color-700);
            padding-bottom: .25rem
        }


.product-name {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    /*    margin-bottom: 10px;*/
    color: var(--primary-color-500);
    font-weight: 800;
}

.product-name {
    font-size: 1.3rem;
}


.english-name {
    font-family: Consolas;
    font-size: 1.2rem;
    font-weight: 600;
    direction: ltr;
    text-align: left;
    margin-top: -10px;
}


/* =========================================================
   EQUAL HEIGHT PRODUCT CARDS
========================================================= */

.products-container .ui.grid > .column {
    display: flex;
}


.product-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none !important;
}


    .product-card .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-top: .5rem !important;
        border: 1px solid var(--primary-color-100) !important;
        background: var(--secondary-color-300) !important;
        min-height: 241px;
        box-shadow: 0px 0px 8px -2px var(--secondary-color-700);
        transition: all .1s ease-in
    }

        .product-card .product-info.active {
            position: absolute;
            bottom: 0;
            right: .5rem;
            height: 85%;
            width: calc(100% - 2*.5rem);
            background: #f1ecdaaa !important;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0px 0px 8px 0px var(--secondary-color-700);
            margin-bottom: .5rem;
            transition: all .3s ease-out
        }

/* =========================================================
   PRODUCT VARIATION
========================================================= */
.product-variation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    /*    padding: .75rem 0;*/
    /*    padding-bottom: .75rem !important;*/
    cursor: pointer;
    flex-direction: column;
}


    .product-variation .title {
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: center;
        margin: .75rem 0;
    }


    .product-variation .purchase-box {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex: 1;
    }

        .product-variation .purchase-box .quantity-picker .button {
            border-radius: 0;
            box-shadow: 0px 0px 0px 1.5px var(--secondary-color-900) inset !important
        }

        .product-variation .purchase-box .quantity-picker .counter {
            min-width: 40px;
        }

        .product-variation .purchase-box .close {
            background: var(--secondary-color-700)
        }

.variation-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    direction: ltr;
    text-align: left;
    font-family: Consolas;
}

.variation-content {
    width: 100%;
    display: none;
    font-weight: bold;
}

.product-variation.active,
.product-variation.active .variation-content {
    flex: 1;
    /*    transition: all .3s*/
}

    .product-variation.active .variation-content,
    .variation-content .purchase-box {
        display: flex;
        flex-direction: column;
    }

.variation-content .purchase-box {
    /*    width: 100%;*/
    /*    margin-top: 2rem;*/
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1rem;
}


.variation-content .purchase-box {
}

.variation-price {
    color: var(--secondary-color-900);
    font-weight: 800;
    font-size: 1.3rem;
}


.variation-title {
    color: var(--primary-color-300);
    font-size: 15px;
}

.nutrition-facts {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    font-size: .75rem;
}

    .nutrition-facts .n-part {
        background: var(--secondary-color-500);
        padding: 2px;
        height: 26px;
        border-radius: 2px;
        display: flex;
        align-items: center;
        padding-right: .3rem;
    }

    .nutrition-facts span.n-part-icon {
        margin-left: .6rem;
        padding: .3rem;
    }

    .nutrition-facts i.n-part {
        width: 26px;
        height: 26px;
        margin-left: 5px;
    }

.variation-action {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color-500);
    color: var(--secondary-color-900);
    padding: .25rem;
}

.product-variation .variation-action i {
    transform: rotate(180deg);
    transition: all .3s;
    color: var(--secondary-color-900);
}

.product-variation.active .variation-action i {
    transform: rotate(0deg);
    transition: all .3s;
    color: var(--secondary-color-500);
}

.product-variation.active .variation-action {
    color: var(--secondary-color-500);
    background: var(--secondary-color-900);
}

/* =========================================================
   BRANCHES
========================================================= */

#Branches {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.branches-list {
    background: #f1ecdaaa !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 340px;
    width: 100%;
    border: 3px solid var(--secondary-color-100);
    border-radius: 4px;
    box-shadow: -1px 0px 14px 0px var(--secondary-color-900);
    padding: 1rem;
}

    .branches-list .logo,
    .site-footer .logo {
        display: inline-block;
    }

.site-footer .logo {
    color: var(--primary-color-100)
}

.branches-list .slug {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: .4rem;
    font-family: Consolas;
    color: var(--primary-color-300);
}

.branches-list a {
    width: 100%;
    background: var(--secondary-color-100);
    color: var(--secondary-color-900);
    margin-bottom: 1rem;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    box-shadow: -1px 0px 3px 0px var(--secondary-color-700);
    border-radius: 3px;
    padding: .5rem;
    height: 50px;
    padding-top: 1rem;
    font-size: 1.4rem;
}

@media only screen and (min-width: 600px) {
    .branches-list {
        width: 570px;
        max-width: unset;
    }

        .branches-list .logo {
            /*            width: 100px;*/
        }

        .branches-list .slug {
            letter-spacing: .7rem;
        }
}





/* =========================================================
   CART MODAL PREVIEW
========================================================= */


#cart-modal-preview {
    align-self: flex-start;
    height: 100%;
    max-height: 100%;
    margin-top: -1em !important;
    margin-right: -1em !important;
    flex-direction: column;
    background: transparent;
}

    #cart-modal-preview .cart-wrapper {
        height: 100%;
        display: flex;
        flex-direction: row;
        gap: .5rem;
    }

    #cart-modal-preview.visible {
        display: flex !important;
    }

    #cart-modal-preview .header {
    }

        #cart-modal-preview .header > .close {
            background: var(--secondary-color-900);
        }

.cart-preview .product-variation {
    padding: 0;
    flex-direction: row;
    justify-content: flex-start;
}

.cart-preview .product-info {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-bottom: 1px solid var(--secondary-color-900);
    padding-bottom: .5rem !important;
}

    .cart-preview .product-info .header {
        padding-right: 0 !important;
    }

.cart-preview .price-row {
    margin-bottom: .5em;
    font-weight: bold;
}

.cart-preview .header p {
    margin-bottom: .25rem !important;
}

    .cart-preview .header p.cart-english-name,
    .cart-preview .header p.cart-variation,
    .cart-preview .primary-price,
    .cart-preview .purchase-price {
        font-family: Consolas;
    }

#cart-modal-preview .primary-price,
#cart-modal-preview .purchase-price {
    font-size: 1.2rem;
}

.cart-preview .product-info .header a {
    color: var(--primary-color-900) !important;
}


#cart-modal-preview .scrolling.content {
    flex: 1;
    max-height: unset !important;
}

    #cart-modal-preview .scrolling.content .segment {
        min-height: 60vh;
    }

#cart-modal-preview .shipping-cost-progress-summary {
    text-align: center;
    margin: 1rem 1rem 1.5rem;
}

    #cart-modal-preview .shipping-cost-progress-summary .summary-section {
        margin-bottom: .5rem;
    }

#cart-modal-preview .shipping-cost-progress {
    margin-bottom: 2rem;
}

#cart-modal-preview .cart-modal-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    max-width: 480px;
    background: var(--secondary-color-500);
}

#cart-modal-preview .cart-items {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

    #cart-modal-preview .cart-items > .description {
        padding: 1em;
    }

#cart-modal-preview .cart-modal-inner .header {
    padding: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between
}

    #cart-modal-preview .cart-modal-inner .header strong {
        font-family: estedad;
        font-size: 1.5rem;
        font-weight: bold;
        display: inline-block;
        flex: 1;
        padding-right: .75rem;
    }

#cart-modal-preview .cart-modal-inner .checkout-section {
    padding: 1rem 1rem 2rem;
}

#cart-modal-preview .close {
    cursor: pointer;
}


@media (max-width: 440px) {
    .cart-preview .product-info .header h3 {
        font-size: .9rem;
    }

    #cart-modal-preview .shipping-cost-progress-summary {
        margin: .5rem;
    }

    #cart-modal-preview .cart-modal-inner .checkout-section {
        padding: .5rem .5rem 1rem;
    }

    #cart-modal-preview .shipping-cost-progress {
        margin-bottom: .5rem;
    }

    #cart-modal-preview .cart-modal-inner .header {
        padding: 1rem;
    }
}



/* =========================================================
   cart-preview suggestions
========================================================= */


#cart-modal-preview .suggestions:empty {
    display: none;
}

:root {
    --suggestion-image-size: 160px;
}

#cart-modal-preview .suggestions {
    width: calc(var(--suggestion-image-size) + 2rem);
    height: 100%;
    min-height: 0;
    background: var(--secondary-color-500);
    padding-bottom: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    #cart-modal-preview .suggestions .product-suggestion {
        width: var(--suggestion-image-size);
    }

    #cart-modal-preview .suggestions .suggestions-header {
        margin: 1rem;
        text-align: center;
    }

    #cart-modal-preview .suggestions .suggestions-inner {
        flex: 1;
        padding: 1rem;
        padding-bottom: 2rem;
        overflow-y: auto;
    }



    #cart-modal-preview .suggestions .product-suggestion img {
        max-width: 100%;
        height: auto;
        margin-bottom: 1px;
    }

    #cart-modal-preview .suggestions .persian-name,
    #cart-modal-preview .suggestions .english-name {
        font-size: 1rem;
    }

    #cart-modal-preview .suggestions .english-name {
        margin-top: 0px;
    }

    #cart-modal-preview .suggestions .product-info {
        margin-bottom: 1rem;
        padding: .5rem;
    }

    #cart-modal-preview .suggestions .product-suggestion {
        box-shadow: 0px 0px 6px -2px var(--secondary-color-900);
        cursor: pointer;
    }

@media only screen and (max-width :440px) {
    #cart-modal-preview .cart-wrapper {
        flex-direction: column-reverse;
    }

    #cart-modal-preview .suggestions {
        width: 100%;
        height: calc(var(--suggestion-image-size) + 120px);
        padding-bottom: 0;
        overflow-y: hidden;
    }

        #cart-modal-preview .suggestions .product-suggestion {
            height: 150px;
        }

        #cart-modal-preview .suggestions .suggestions-header {
            margin: .5rem;
        }

        #cart-modal-preview .suggestions .suggestions-inner {
            width: 100%;
            display: flex;
            flex-direction: row;
            gap: .5rem;
            padding-top: 0;
        }

        #cart-modal-preview .suggestions .product-suggestion .product-image {
            height: unset;
        }

        #cart-modal-preview .suggestions .product-suggestion .product-info {
            overflow-y: hidden;
            margin-bottom: .5rem;
            border-bottom: 0;
        }

        #cart-modal-preview .suggestions .product-suggestion img {
            max-width: 100px;
            height: auto;
        }

        #cart-modal-preview .suggestions .persian-name,
        #cart-modal-preview .suggestions .english-name {
            font-size: .85rem;
        }

        #cart-modal-preview .suggestions .english-name {
            margin-top: -5px;
        }

        #cart-modal-preview .suggestions .product-info {
            height: 50px;
            overflow-y: hidden;
        }
}


/* =========================================================
   product-details-modal
========================================================= */

#product-details-modal {
    min-height: 75%;
    max-height: 80%;
}

    #product-details-modal .close {
        top: .5rem;
        left: 1rem;
        color: var(--secondary-color-900);
        width: 1.5rem;
        height: 1.5rem;
    }

    #product-details-modal .product-image img {
        width: 100%;
        height: auto;
    }

    #product-details-modal .product-info {
        display: flex;
        flex-direction: column;
        background: var(--secondary-color-300);
    }

    #product-details-modal > .content {
        position: absolute;
        height: 100%;
    }


        #product-details-modal > .content > .grid {
            height: 100%;
        }

    #product-details-modal .ui[class*="very relaxed"].grid {
        margin-left: 1rem !important;
        margin-right: -1rem !important;
        margin-top: 1rem !important;
        padding-bottom: 2rem !important;
    }

    #product-details-modal,
    #product-details-modal .content,
    #product-details-modal .header {
        background: var(--secondary-color-500);
    }

        #product-details-modal .header {
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
        }

        #product-details-modal .product-display {
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
            height: 100%;
            padding-top: 0;
            padding-bottom: 0;
        }

        #product-details-modal .section {
            box-shadow: 0px 0px 6px -2px var(--secondary-color-900);
        }

        #product-details-modal .product-display .section {
            flex: 1;
        }

        #product-details-modal .full-height {
            height: 100%;
        }

        #product-details-modal .close {
            cursor: pointer;
        }
/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    padding: 45px 0;
    background: var(--primary-color-700);
    color: var(--secondary-color-100);
    margin-top: 2rem;
}


    .site-footer .ui.header {
        color: var(--secondary-color-300);
        border-bottom: 1px solid var(--secondary-color-300);
        padding-bottom: .5rem;
        margin-bottom: 1rem;
    }


    .site-footer a {
        color: var(--secondary-color-100) !important;
    }


.footer-logo {
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 900;
    line-height: .8;
    color: var(--secondary-color-300);
    text-align: center;
}

    .footer-logo img {
        width: 80px;
        height: auto;
    }


.footer-description {
    line-height: 2;
    text-align: center;
}

.site-footer .social-medias {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    /*    justify-content: space-between;*/
}

    .site-footer .social-medias img {
        height: 40px;
        width: auto;
    }

@media only screen and (min-width: 441px) {
    .footer-logo img {
        width: 100px;
    }
}

.category-english {
    font-family: Consolas;
}

    .category-english.sm {
        font-size: 10px;
        margin-top: 4px;
    }

    .category-english.xs {
        font-size: 8.5px;
        margin-top: 5px;
    }


/* =========================================================
   LOGOUT
========================================================= */
.logout-modal {
}

    .logout-modal .approve.button {
        background: var(--primary-color-300);
        color: var(--primary-color-500);
    }

    .logout-modal .cancel.button {
        background: var(--danger-color-500);
        color: var(--primary-color-100);
    }
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767px) {
    .site-header {
        display: none;
    }

    .logo.type {
        height: 45px;
        width: 45px;
    }


    .site-header > .ui.container {
        min-height: 50px;
    }



    .logo {
        font-size: 22px;
    }


    .header-actions .ui.button span {
        display: none;
    }


    .category-item {
        /*        flex-basis: 105px;*/
    }

    .category-image {
        height: 49px;
    }


    .category-title {
        min-height: 38px;
        font-size: 12px;
        padding: 0px .75rem;
    }


    .products-container {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }


    .product-category {
        scroll-margin-top: 125px;
        margin-bottom: 45px;
    }


    .category-heading-content h2 {
        font-size: 18px;
    }


    .product-image {
        /*        height: 220px !important;*/
    }

    .products-container .doubling .product-image {
        height: 155px !important;
    }

    #product-details-modal .product-image {
        width: 100%;
        height: auto !important;
        flex: unset !important;
    }

    #product-details-modal .product-display {
        height: unset;
    }

    #product-details-modal .product-info {
        padding: 1rem !important;
        box-shadow: 0px 0px 6px -2px var(--secondary-color-900) !important;
    }

    .product-name {
        flex-direction: column;
        align-items: flex-start;
    }


    .english-name {
        align-self: flex-end;
    }

    .category-heading {
        gap: 0px;
    }

        .category-heading .category-heading-content {
            background: var(--secondary-color-300);
            box-shadow: 0px 0px 0px 20px var(--secondary-color-300);
        }


    .cart-preview [data-cart-item-id] [class*="six wide"].column,
    .cart-preview [data-cart-item-id] [class*="ten wide"].column {
        width: 50% !important;
    }

    #product-details-modal {
        min-height: 90%;
        max-height: 100%;
    }

        #product-details-modal .content {
            max-height: 90%;
        }

        #product-details-modal .purchase-box .purchase-button {
            margin-top: 2rem;
        }
}
