﻿.bsheet,
.bsheet__bg,
.bsheet__wrapper {
    bottom: 0;
    left: 0;
    right: 0
}

.bsheet__bg {
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color .3s
}

.bsheet {
    display: none;
    position: fixed;
    top: 0;
    direction: rtl;
    font-family: IRANSans;
    z-index: 1000000000000
}

.bsheet--show>.bsheet__bg {
    background-color: rgba(0, 0, 0, .75)
}

.bsheet--show>.bsheet__wrapper {
    transform: translateY(0)
}

.bsheet__wrapper {
    overflow: hidden;
    position: absolute;
    padding: 22px 20px 20px;
    background-color: #fff;
    touch-action: none;
    transform: translateY(100%);
    transition: transform .3s, opacity .3s;
    border-radius: 25px 25px 0 0;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box
}

.bsheet__close {
    position: absolute;
    top: 24px;
    left: 22px;
    color: #333;
    z-index: 2
}

.bsheet__icons-wrapper {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden
}

.bsheet__icon {
    width: 18px;
    height: 18px;
    fill: currentColor
}

.bsheet__icon--reverse {
    transform: rotate(180deg)
}

.bsheet--freez {
    overscroll-behavior-y: contain;
    overflow-y: hidden
}

.bsheet--warn>.bsheet__wrapper {
    transition: none;
    animation: .25s bsheet-wran
}

.bsheet--dialog>.bsheet__wrapper {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.7);
    width: 100%;
    max-width: 450px;
    border-radius: 15px
}

.bsheet--dialog.bsheet--show>.bsheet__wrapper {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1)
}

.gift-sheet {
    display: none;
    text-align: center
}

.gift-sheet__canvas {
    max-width: 117px;
    margin: 10px auto 0
}

.gift-sheet__title {
    color: #eb5757;
    font-size: 19px;
    font-weight: 700;
    margin: 6px 0 3px;
    line-height: 40px
}

.gift-sheet__box {
    display: block;
    position: relative;
    border: 2px dashed #828282;
    padding: 5px 0 3px;
    font-size: 23px;
    font-weight: 900;
    color: #333;
    background: padding-box #fff;
    border-radius: 8px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding
}

.gift-sheet__box-action {
    position: absolute;
    padding: 4px;
    top: 6px;
    right: 4px
}

.gift-sheet__box-icon {
    display: block;
    width: 22px;
    height: 22px
}

.gift-sheet__caption {
    display: block;
    font-size: 12px;
    line-height: 26px;
    font-weight: 500;
    color: #4f4f4f;
    margin-top: 10px;
    margin-bottom: 15px
}

.gift-sheet__btn {
    display: block;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    padding: 10px;
    color: #fff;
    background-color: #219653;
    border-radius: 8px
}

.gift-sheet__discard {
    display: block;
    text-decoration: none;
    margin-top: 14px;
    font-size: 14px;
    color: #1737e2
}

.gift-sheet__discard-icon {
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    fill: currentColor
}

@keyframes bsheet-wran {

    0%,
    to {
        transform: translateY(0)
    }

    50% {
        transform: translateY(10px)
    }
}