
body{
    margin: 0;
    font-family:'Vazirmatn', sans-serif;
    background: #f5e6d3;
    color: #1b3d2f;
}

/*Splash*/
#splash{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #1b3d2f;
    color: #f5e6d3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Playfair Display',serif;
    font-size: 40px;
    z-index: 9999;
    animation: fadeOut 2s forwards;
    animation-delay: 2s;
}

@keyframes fadeOut{
    to{opacity: 0;visibility: hidden;}
}

/*Header*/
header{
    background: #1b3d2f;
    color: #f5e6d3;
    text-align: right;
    padding: 20px;
    font-family: 'Playfair Display',serif;
    letter-spacing: 3px;
}

/*Tabs*/
.tabs{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: #d8c3a5;
    padding: 10px;
}

.tabs button{
    margin: 5px;
    padding: 10px 15px;
    border: none;
    background: #1b3d2f;
    font-family: 'Morabba';
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.tabs button:hover{
    transform: scale(1.1);
    background: #2e5b47;
}

/*Cards*/
#content{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap: 15px;
    padding: 15px;
}

.card{
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    min-height: 120px;
}

.card:hover{
    transform: translateY(-10px)scale(1.05);
}

.price{
    font-weight: bold;
    margin-top: 10px;
}

/*Animation*/
@keyframes fadeln{
    from{opacity: 0; transform: translateY(20px);}
    to{opacity: 1;transform: translateY(0);}
}

/*Modal*/
#modal{
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

#modal img{
    max-width: 80%;
    border-radius: 1;
}

.ratio-box{

  width:100%;

  display:flex;

  justify-content:center;

  gap:15px;

  margin-bottom:30px;

  flex-wrap:wrap;

}

.ratio-box div{

  background:rgba(255,255,255,0.25);

  backdrop-filter:blur(12px);

  border:1px solid rgba(255,255,255,0.3);

  padding:6px 12px;

  border-radius:12px;

  color:#7a5c32;

  font-family:'Morabba';

  font-size:15px;

  box-shadow:0 6px 20px rgba(0,0,0,0.08);

  transition:0.3s;

}

.ratio-box div:hover{

  transform:translateY(-4px);

  background:#b79b6c;

  color:white;
}
.desc{
    font-size: 14px;
    color: #755a2a;
    margin-top: -8px;
    margin-bottom: 12px;
    line-height: 1.;
}
header{
    position:relative;
}

.daily-note{

    position:absolute;

    top:15px;
    left:10px;

    width:85px;

    background:#efe3cf;

    border:2px dashed #0f4a35;

    border-radius:12px;

    padding:6px;

    transform:rotate(-4deg);

    box-shadow:0 8px 20px rgba(0,0,0,.15);

    animation:noteSwing 4s ease-in-out infinite;
}


.note-title{

    color:#0f4a35;

    font-size:10px;

    font-weight:700;
    font-family:'B Nazanin';

    margin-bottom:6px;
}

.note-item{

    color:#910808;

    font-size:11px;
    font-family:'B Nazanin';

    font-weight:600;

    line-height:1.7;
}

@keyframes noteSwing{

    0%{
        transform:rotate(-4deg);
    }

    50%{
        transform:rotate(-1deg);
    }

    100%{
        transform:rotate(-4deg);
    }

}
.note-box{

    background:#ffffff;

    border-radius:8px;

    padding:6px;

    margin-top:6px;

    text-align:center;

    color:#1b3d2f;

    font-size:9px;

    font-weight:600;

    box-shadow:0 2px 8px rgba(0,0,0,.08);

}

@media(max-width:768px){
    #content{
        grid-template-columns: repeat(3,1fr);
        gap: 10px;
    }
    .card{
        padding: 10px;
        min-height: 90px;
    }
    .card h3{
        font-size: 16px;
    }
    .price{
        font-size: 13px;
    }
}
