@font-face {
    font-family: body;
    src: url(../../Vazir-Bold.ttf);
}
@font-face {
    font-family: baner;
    src: url(../../IRANYekanXFaNum-Heavy.ttf);
}


@font-face {
    font-family: fanum;
    src: url(../../body.ttf);
}

@font-face {
    font-family: entahrir;
    src: url(../../en-tahrir.ttf);
}

body{
    font-family: fanum;
    color: #2d3748;
    background-color: rgb(255, 255, 255);
    margin: 0;
    font-size: clamp(12px, 1vw, 14px);;
    direction: rtl;
}

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

h1{
    margin: 0 auto;
}


.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    /*border-bottom: 1px dotted black;*/
}

.tooltip .tooltiptext {
    width: max-content;
    visibility: hidden;
    background-color: #2d3748;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;
    position: absolute;
    z-index: 1;
    bottom: -200%;
    left: -50%;
    font-size: xx-small;
    font-family: 'body';
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2d3748 transparent transparent transparent;
    rotate: 180deg;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}

.logo-container{
    display: flex;
    flex-direction: row-reverse;
    width: 80%;
    margin: auto;
    align-items: center;
    justify-content: space-evenly;
}
.logo{
    width: 45%;
}



.text{
    width: 45%;
    text-align: left;
}
.logo-container-text-fd{
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: start;
    font-size: xxx-large;
    font-family: fantasy;
}
.logo-container-text-fd img{
    width: 15%;
}

.text-bottom-menu{
    width: 70%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu{
    margin: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    font-size: small;
    justify-content: space-around;
    padding: 20px 0;
    background-color: #ffffff;
    box-shadow: 0 0 10px #cfcfcf;
    align-items: center;
}

.menu a{
    margin: 0 10px;
}

.menu-logo{

}

.menu-icon{
    display: flex;
    align-items: baseline;
}

.menu-icon span{
    background-color: #444444;
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: medium;
}

.slider{
    width: 98%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-flow: wrap;
    margin: 15px auto;
    gap: 20px;
}

.slider-cards{
    width: 16%;
    background-color: #f3f3f3;
    /* color: white; */
    border-radius: 15px;
    text-align: center;
    padding: 5px;
    margin: 5px;
}

.card-paginate{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
}

.card-pic img{
    border-radius: 11px;
    width: 98%;
    height: 150px;
    cursor: zoom-in;
}

.card-price-container{
    display: flex;
    justify-content: start;
    align-items: center;
}

.card-price{
    margin: 5px 5px;
}

.card-price-discount{
    text-decoration: 2px line-through;
    opacity: 1;
}

.card-pic{
    position: relative;
}

.pic-off{
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #e12727;
    color: #ffffff;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: x-small;
}

.card-add{

}

.card-off{
    /*font-family: fantasy;*/
}

.select-category{
    /*display: flex;*/
    /*width: 60%;*/
    /*flex-wrap: wrap;*/
    /*justify-content: space-between;*/
    /*align-items: center;*/
    margin: auto;
}

.category-icon{
    margin: 5px;
}

.three-content{
    display: grid;
    width: 80%;
    margin: auto;

    /* justify-content: space-between; */
    /* flex-flow: wrap; */
    grid-template-columns:  repeat(auto-fit, minmax(280px,1fr));
    grid-template-rows: auto;
    gap: 16px;
  }



.underline{
    text-decoration: underline;
    position: relative;
    animation-name: example;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
}

@keyframes example {
    0%   {color:inherit;}
    100%  {color: #ff2f00;}
}

.footer{
    background-color: dimgrey;
    color: white;
    padding: 5px;
    margin: 0 0;
}

.footer h3{
    border-bottom: 1px solid #585858;
    padding: 10px 0;
}

.cart-alert{
    /*position: absolute;*/
    /*top: -10px;*/
    /*right: -10px;*/
    /*background-color: #767676;*/
    /*font-size: x-small;*/
    /*font-family: 'body';*/
    /*padding-top: 4px;*/
    /*border-radius: 50px;*/
    /*width: 16px;*/
    /*height: 12px;*/
    /*text-align: center;*/
}


.alert{
position: fixed;
top: 100px;
right: 50px;
padding: 10px;
border-radius: 15px;
color: white;
}

.alert-success{
background-color: #399339;
}
.alert-error{
background-color: #ef4444;
}

.btn-submit{
background-color: inherit;
border: none;
font-size: large;
color: inherit;
}

.card-add{
display: flex;
justify-content: space-evenly;
align-items: baseline;
}

.content-number{
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 5px;
background: #fafafa;
background: radial-gradient(circle, rgba(250, 250, 250, 1) 0%, rgba(222, 222, 222, 1) 100%);
padding: 29px 15%;
}

button{
width: 100px;
background-color: #404040;
border: none;
padding: 4px 5px;
border-radius: 50px;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
font-family: 'fanum';

}

.button-icon{
background-color: white;
padding: 3px;
border-radius: 50px;
color: black;
display: flex;
margin-right: 5px;
}








.poster-right-icon {
display: flex;
justify-content: space-between;
align-items: center;
}

.poster-right-icon span{
background-color: #444444;
color: white;
border-radius: 50%;
}



h3, p, hr{
margin: 5px;
}

.poster{
width: 65%;
position: relative;
}
.poster-img{
width: 100%;
border-radius: 15px;
display: block;
}
.poster-container{
width: 70%;
margin: 20px auto;
display: flex;
justify-content: space-between;
}
.top-poster{
position: absolute;
top: 0;
background-color: white;
padding: 20px 30px;
border-top-left-radius: 13px;
border-bottom-right-radius: 13px;
}
.bottom-poster{
position: absolute;
bottom: 0;
right: 0;
background-color: white;
padding: 21px 33px;
border-top-left-radius: 13px;
border-bottom-right-radius: 13px;
}

.edge-right-top{
position: absolute;
bottom: 69px;
right: 0px;
width: 4%;
border-radius: 0;
}

.edge-right-bottom{
position: absolute;
bottom: 0;
right: 165px;
width: 4%;
border-radius: 0;
}

.edge-left-top{
position: absolute;
top: 0;
left: 147px;
width: 5%;
rotate: 180deg;
}

.edge-left-bottom{
position: absolute;
top: 53px;
left: 0;
width: 5%;
rotate: 180deg;
}

.poster-right{
width: 30%;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.poster-right-img{
width: 100%;
border-radius: 15px;
}

.offer-div::after{
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0 ,0 ,0 ,0.8);
z-index: 1;
border-radius: 15px;
}



/* HTML: <div class="inner-curve"></div> */
.inner-curve {
     --r: 25px;
     --s: 43px;
     --a: 31deg;
     --p: 35%;

     height: 200px;
     aspect-ratio: 3/2;
     background: #ED303C;
     border-radius: var(--r);
     --_m:var(--r),#000 calc(100% - 1px),#0000;
     --_d:(var(--s) + var(--r))*cos(var(--a));
     mask:
     radial-gradient(var(--r) at calc(var(--p) + var(--_d)) var(--_m)),
     radial-gradient(var(--r) at calc(var(--p) - var(--_d)) var(--_m)),
     radial-gradient(var(--s) at var(--p) calc(-1*sin(var(--a))*var(--s)),
     #0000 100%,#000 calc(100% + 1px)) 0 calc(var(--r)*(1 - sin(var(--a)))) no-repeat,
     linear-gradient(90deg,#000 calc(var(--p) - var(--_d)),#0000 0 calc(var(--p) + var(--_d)),#000 0);
}













.card-paginate select{
    border: none;
    border-radius: 15px;
    background-color: #ffffff;
    padding: 5px;
    font-family: 'fanum';
    font-size: 0.8vw;
    padding-inline: 10px;

}
.baseSelect,
::picker(select) {
    appearance: base-select;
}
.menulistButton {
    appearance: menulist-button;
}
label {
    display: block;
}
select {
    border: 1px solid #b9b9b9;
    background-color: #ffffff;
}

::picker(select) {
    background-color: #ffffff;
    border: 1px solid lightgray;
    border-radius: 15px;
}













/*     slide show     */











.general-container {
    display: flex;
    height: 21rem;
    margin: 0 auto;
    flex: 1 1 280px;
}


.radio {
    display: none;
}

.content {
    background: transparent;
    background-image: url("/img/office/sma1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 3rem;
    cursor: pointer;
    flex: 1;
    margin-right: 0.8rem;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.05, 0.60, 0.39, 0.94);
}

.content::before {
    background: inherit;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.content > * {
    position: relative;
    z-index: 1;
}

.content:hover {
    box-shadow: 0.7rem 0.7rem 0.5rem rgba(0, 0, 0, 0.3);
}

.content:nth-of-type(2) {
    background: transparent;
    background-image: url("/img/office/sma2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.content:nth-of-type(3) {
    background: transparent;
    background-image:       url("/img/office/sma4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.content:nth-of-type(4) {
    background: transparent;
    background-image: url("/img/office/sma3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.card-title {
    bottom: 1.2rem;
    color: black;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    left: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    position: absolute;
    transform: translateX(2rem);
    transition: 290ms cubic-bezier(0.05, 0.62, 0.40, 0.95) 300ms;
    transition-property: opacity, transform;
    user-select: none;
    white-space: nowrap;
}

.title-card{
    top: 2rem;
    color: black;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    left: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    position: absolute;
    transform: translateX(2rem);
    transition: 290ms cubic-bezier(0.05, 0.60, 0.42, 0.94) 300ms;
    transition-property: opacity, transform;
    user-select: none;
    white-space: nowrap;

}

.subtitle {
    font-size: 1rem;
}

.subsubtitle{
    font-size: 0.85rem;
}

.paddT{
    padding-left: 3rem;
    padding-right: 3rem;
}

.radio:checked + .content {
    border-radius: 2rem;
    box-shadow: 0.3rem 0.3rem 0.4rem rgba(0, 0, 0, 0.3);
    flex: 9;
}

.radio:checked + .content > .card-title {
    opacity: 1;
    transform: translateX(0);
}

.radio:checked + .content > .title-card{
    opacity: 1;
    transform: translateX(0);
}

.marg-bott{
    margin-bottom: 1.5rem;
}
html{
    background: #202029;
}
/*h1, h2, h3{*/
/*    color: black !important;*/
/*}*/

















/*         search css style                */
:root {
    --bg: #ffffff;
    --fg: #1f2937;
    --muted: #6b7280;
    --ring: #e5e7eb;
    --accent: #4f46e5;
    --shadow: 0 10px 30px rgba(0,0,0,.07);
}
/** { box-sizing: border-box; }*/
/*body {*/
/*    margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;*/
/*    background: #f6f7fb; color: var(--fg);*/
/*    min-height: 100vh; display: grid; place-items: center; padding: 24px;*/
/*}*/
.search-wrap { max-width: 77%; position: relative; }
.search {
    display: flex; align-items: center; gap: 10px;
    background: color-mix(in oklab, var(--bg) 80%, transparent);
    backdrop-filter: blur(10px);
    border: 1px solid var(--ring);
    border-radius: 50px;
    padding: 2px 2px;
    box-shadow: var(--shadow);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.search:focus-within {
    border-color: color-mix(in oklab, var(--accent) 30%, white);
    /*box-shadow: 0 12px 36px rgba(79,70,229,.18);*/
    /*transform: translateY(-1px);*/
}
.icon {
    width: 18px; height: 18px; color: var(--muted);
    transition: color .2s ease;
}
.search:focus-within .icon { color: var(--fg); }
.input {
    flex: 1; border: 0; outline: 0; background: transparent;
    font-size: 15px; color: var(--fg);
}
.input::placeholder { color: var(--muted); }
.btn-clear {
    width: fit-content;
    border: 0; background: transparent; cursor: pointer;
    color: var(--muted); font-size: 16px; padding: 4px 6px; border-radius: 8px;
    transition: background .2s ease, color .2s ease;
}
.btn-clear:hover { background: #f1f5f9; color: #334155; }
.spinner {
    width: 18px; height: 18px; color: #64748b;
    animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Results dropdown */
.panel {
    position: absolute; inset-inline: 0; top: calc(100% + 8px);
    background: var(--bg); border: 1px solid var(--ring);
    border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
    max-height: 320px; display: none;
}
.panel.open { display: block; animation: pop .18s ease-out; transform-origin: top center; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

.list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; }
.item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; cursor: pointer; font-size: 14px;
    transition: background .15s ease;
}
.item:hover, .item.active { background: #eef2ff; }
.thumb {
    width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
    border: 1px solid var(--ring); background: #f8fafc;
}
.title { font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { padding: 22px; text-align: center; color: var(--muted); font-size: 14px; }












