/*
@font-face {
    font-family:yekan;
    src: url('../yekan/yekan.eot');
    src: url('../yekan/yekan.eot?#iefix') format('yekan-opentype'),
    url('../yekan/Yekan.woff') format('woff'),
    url('../yekan/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



html, body, div,  applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,  abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u,  center, dl, dt, dd, ol,  fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article,  canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby,  summary, time, mark, audio, video{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: yekan !important;}



html {
    font-family: yekan !important;

    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
*/



@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    font-display: fallback;
    src: url('../fonts/IRANSansWeb(FaNum)_Bold.eot');
    src: url('../fonts/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),
    url('../fonts/IRANSansWeb(FaNum)_Bold.woff') format('woff'),
    url('../fonts/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}


@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    font-display: fallback;
    src: url('../fonts/IRANSansWeb(FaNum).eot');
    src: url('../fonts/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),
    url('../fonts/IRANSansWeb(FaNum).woff2') format('woff2'),
    url('../fonts/IRANSansWeb(FaNum).woff') format('woff'),
    url('../fonts/IRANSansWeb(FaNum).ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    font-display: fallback;
    src: url('../fonts/IRANSansWeb(FaNum)_Light.eot');
    src: url('../fonts/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),
    url('../fonts/IRANSansWeb(FaNum)_Light.woff') format('woff'),
    url('../fonts/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}





html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block; }

body {

    line-height: 1em; }
ol, ul {
    list-style: none; }
.special-quote {
    quotes: none; }
.special-quote:before, .special-quote:after {
    content: '';
    content: none; }
table {
    border-collapse: collapse;
    border-spacing: 0; }

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: IRANSans !important;
}

/* Fix Font Awesome icons - don't apply IRANSans to <i> elements */
i[class*="fa-"],
i[class^="fa-"],
i[class*="fas "],
i[class*="far "],
i[class*="fal "],
i[class*="fad "],
i[class*="fab "] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}


/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: dimgray;
}

/*body{
            display:flex;
            !* background-color:blue;*!
        }*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    height: 100%;
}
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* نمایش فقط دو خط */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}
.quantity-controls button {
    width: 30px;
    height: 30px;
}
.quantity-controls input {
    width: 50px;
    text-align: center;
}
.product-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.product-card img {
    width: auto;
    height: 100%;
    max-height: 150px;
    object-fit: cover;
    margin-left: 1rem;
}
.SideMenu {

    margin: 0;
    /*  height: 100vh;*/
    display: flex;
    /* justify-content: flex-end;*/ /* برای اینکه پایینترین مکان قرار بگیره */
    align-items: center;
    padding: 0.6rem;


}

.slider-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow {
    width: 40px; /* اندازه بزرگ‌تر */
    height: 40px;
    background: #525c44;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 10px; /* گوشه‌های گرد */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    z-index: 10;
}

.slider-container {
    width: 4.5rem;
    height: 450px; /* ارتفاع مناسب برای 4 آیتم (4 * 120px + فاصله‌ها) */
    overflow-y: scroll; /* فعال کردن اسکرول عمودی */
    position: relative;
    scroll-behavior: smooth;
}

/* مخفی کردن اسکرول در مرورگرهای مدرن */
.slider-container::-webkit-scrollbar {
    display: none;
}

.slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    align-items: center;
}

.slider-item {
    width: 4.5rem;
    height: 100px; /* آیتم به صورت مربع */
    background: #525c44;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border-radius: 15px; /* گرد کردن گوشه‌های مربع */
}

.slider-item img {
    width: 100%;
    height: 66%; /* دو سوم ارتفاع */
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.slider-item .text {
    height: 34%; /* یک سوم ارتفاع */
    background-color: #525c44;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.top-section {
    display: flex;
  //  height: calc(100vh - 50px);
  display: flex;
    flex: 1;
    min-height: 0;
    // height: calc(100vh - 90px);
}


.container-body {
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

.product-section
{
   // overflow-y: scroll;
    overflow-y: auto;
    height: 100%;
    /* overflow: hidden;*/
    background-color: #85a98f;
    flex: 1;
    padding: 1rem;


}


.product-col
{
    background-color: #d2f1df;
    border-radius: 15px;
    padding: 10px;
    margin: 5px;
}

.f-8
{
    font-size: 8px !important;
}
.f-10
{
    font-size: 10px !important;
}
.f-12
{
    font-size: 12px !important;
}
.f-14
{
    font-size: 14px !important;
}

.order-btn
{
    background-color: #525c44;
    width: 80px!important;
}

.btn-color
{
    color: white;
    background-color: #525c44;
}










.footer {
  width: 100%;
    font-size: 12px;
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px;
}

.footer .f-menu {
    display: block;
    width: 100%;
    padding-left: 0;
    list-style: none;
    margin-left: -5px;
    margin-top: 8px;
    margin-bottom: 0;
}

.footer .f-menu > li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

.footer .f-menu > li > a {
    color: black;
    text-decoration:none;
}

.footer .f-menu > li > a:hover {
    color: #777;
}

/* افکت انتخاب شده */
.slider-item.selected {
    border: 3px solid #85a98f;
    transform: scale(1.1);
}

a {
    text-decoration: none;
}

html,
body {
    overflow: hidden;
}
