@font-face {
    font-family: 'IransansRegular';
    src: url("IransansRegular.ttf");
}
* {
    padding: 0;
    margin: 0;
    list-style: none;
    outline: none;
    box-sizing: border-box;
}

.pa_mag_product {
    width: 100%;
    height: auto;
    margin: 50px auto 52px auto;
    border-radius: 10px;
    box-shadow: 0 0 4px lightgray;
    text-align: center;
    position: relative;
}
.pa_mag_product  .pa_mag_product_body_shop_banner {
    position: absolute;
    content: '';
    width: 263px;
    height: 329px;
    background: white;
    z-index: 3;
    left: 0;
    box-shadow: 8px 1px 18px #d3d3d373;
    border-right: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    padding: 0 11px;
    justify-content: center;
    flex-direction: column;
}
.pa_mag_product  .pa_mag_product_body_shop_banner h2 {
    font-size: 16px;
}
.pa_mag_product  .pa_mag_product_body_shop_banner a {
    width: 240px;
    height: auto;
    padding: 4px 0;
    font-size: 17px;
    border-radius: 8px;
    background: #f4942f;
    margin: 14px 0;
    color: black;
}
.pa_mag_product .pa_mag_product_body {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
}
.pa_mag_product .pa_mag_product_body .pa_mag_product_body_shop_right {
    width: 100% !important;
}
.pa_mag_product .pa_mag_product_body .owl-dots {
    position: absolute;
    text-align: center;
    margin: 11px 0 10px 0px;
    width: 100%;
}
.pa_mag_product .pa_mag_product_body .owl-nav {
    position: absolute;
    bottom: -12px;
    width: 5%;
    right: 47%;
}
.pa_mag_product .pa_mag_product_body .owl-nav .owl-prev {
    right: -43px !important;
    left: auto;
    position: absolute;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pa_mag_product .pa_mag_product_body .owl-nav .owl-next {
    left: -43px !important;
    right: auto;
    position: absolute;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pa_mag_product .pa_mag_product_body a {
    width: 100%;
}
.pa_mag_product .pa_mag_product_body .pa_mag_product_card {
    height: 326px;
    padding: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    background: white;
    border-right: 1px solid #e5e5e5;
}
.pa_mag_product .pa_mag_product_body .pa_mag_product_card h2 {
    font-family: "PeydaRegular";
    font-size: 13px;
    color: #4c4c4c;
    font-weight: normal;
}
.pa_mag_product .pa_mag_product_body .pa_mag_product_card img {
    width: 100px;
    text-align: center;
    margin: 40px auto 20px auto;
}
.pa_mag_product .pa_mag_product_body .pa_mag_product_card p {
    font-family: "PeydaRegular";
    font-size: 14px;
}
.pa_mag_product .pa_mag_product_body .pa_mag_product_card .pa-mag-product-card-layer {
    position: absolute;
    content: '';
    bottom: -27%;
    left: 0%;
    width: 100%;
    height: 78px;
    background: #ffffff;
    border-radius: 7px;
    visibility: visible;
    scale: 1;
    transition: all 0.4s ease-in-out;
}
.pa-mag-product-card-layer p {
    color: #ff8300;
    font-weight: bold;
    font-size: 18px !important;
    margin: 14px auto;
}
.pa_mag_product .pa_mag_product_body .pa_mag_product_card:hover .pa-mag-product-card-layer {
    bottom: -19px;
}

.pa_mag_product .pa_mag_product_body .pa_mag_product_card .pa_mag_product_card_price {
    background: #1a427c;
    color: white;
    border-radius: 5px;
    width: 85%;
    margin: 15px auto 0 auto;
}
.pa_mag_product .pa_mag_product_body .pa_mag_product_card .pa_mag_product_card_sellers {
    position: absolute;
    top: 9px;
    right: 6px;
    color: #000000;
    background: #f7941d80;
    padding: 0px 10px;
    backdrop-filter: blur(4px);
    border-radius: 100px;
}
.pa_mag_product .pa_mag_product_body .pa_mag_product_card .pa_mag_product_card_sellers p {
    font-size: 11px;
}
.pa_mag_single_product {
    width: 100%;
    height: auto;
    padding: 13px;
    margin: 45px auto;
    border-radius: 10px;
    box-shadow: 0 0 4px lightgray;
    background: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pa_mag_single_product .pa_mag_single_product_desc {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.pa_mag_single_product .pa_mag_single_product_desc .pa_mag_single_product_image img {
    width: 100px;
    margin-left: 10px;
}
.pa_mag_single_product .pa_mag_single_product_desc .pa_mag_single_product_detail p {
    margin: 11px 0 0 0;
    background: #1a427c;
    color: white;
    max-width: 203px;
    padding: 6px 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}
.pa_mag_single_product .pa_mag_single_product_btn {
    text-align: left ;
}

.pa_mag_single_product .pa_mag_single_product_btn a {
    background: #f1943b;
    padding: 5px 0px;
    display: block;
    margin: auto;
    text-align: center;
    color: black;
    width: 128px;
    border-radius: 6px;
}
.pa_mag_single_product .pa_mag_single_product_detail h3 {
    font-size: 15px;
}

.product-card {
    width: 200px;
    border: 1px solid #eee;
    height: 270px;
    border-radius: 10px;
    padding: 12px 12px 0 12px;
    box-shadow: 0 2px 8px #0001;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    transition: box-shadow .2s;
    background: #fff;

}
.product-card .product-card-price {
    position: absolute;
    content: '';
    top: -6px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'IransansRegular';
}
.product-card .product-card-sellers {
    background: #0000006e;
    color: white;
    font-family: 'IransansRegular';
    border-radius: 30px;
    padding: 5px 13px;
    height: auto;
    position: absolute;
    top: 35px;
    backdrop-filter: blur(5px);
    right: 27px;
}
.product-card .product-card-sellers p {
    margin: 0;
}
.product-card:hover {
    box-shadow: 0 6px 24px #0002;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    height: 670px;
    overflow: auto;
    padding: 40px 0;
}
.product-card img {
    border-radius: 8px;
    margin: 20px 0 0 0;
}
.product-card:has(input[type=checkbox]:checked) {
    border: 2px solid #04589a;
    background: #2196f30a;
}
.product-card label {
    width: 100%;
    cursor: pointer;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}


#product-form .pa-product-form-fields {
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
    margin-bottom: 15px;
}
.pa_activeBtn {
    background: #f4942f !important;
    border: 1px solid #f4942f !important;
    color: white !important;
}
#product-form .pa-product-form-fields .pa-product-form-field {
    width: 50%;
    display: flex;
    margin: 0 10px;
    flex-direction: column;
}
#product-form .pa-product-form-fields .pa-product-form-field label {
    font-family: 'IransansRegular';
    margin-bottom: 5px;
}
#product-form .pa-product-form-fields .pa-product-form-field select {
    width: 98%;
    max-width: none;
}
#product-form .pa-product-form-fields .pa-product-form-field input {
    width: 98%;
    height: 39px;
    max-width: none;
}
.pa-notification-success {
    width: 600px;
    background: white;
    padding: 10px 30px;
    border-radius: 10px;
    position: relative;
    margin-top: 20px;
}
.pa-notification-success::before {
    position:absolute;
    content:'';
    background: #1fa261;
    width: 8px;
    height: 85%;
    top:8px;
    right: 10px;
    border-radius: 10px;
}
.pa-notification-success h3 {
    margin:0;
    color: #1fa261;
    font-weight: bold;
    font-family: 'IransansRegular';
}
.pa-notification-success p {
    margin:8px 0;
    color: black;
    font-family: 'IransansRegular';
}
.pa-notification-success .pa-notification-success-shortcode {
    border-radius: 4px;
    color: black;
    font-family: 'IransansRegular';
}
.select2-selection {
    display: flex !important;
    align-items: center;
    height: 39px !important;
    font-family: 'IransansRegular';
}
span.select2-selection__arrow {
    left: 17px !important;
    top: 7px !important;
}
span.select2-dropdown.select2-dropdown--below {
    width: 839px !important;
    margin: 2px 0 0 0px;
}
li.select2-results__option {
    font-family: 'IransansRegular';
}
input.select2-search__field {
    font-family: 'IransansRegular';
}

.pa-parsazh-mag-edit-table {
    font-family: 'IransansRegular';
    width: 100%;
}
.pa-parsazh-mag-edit-table td,
.pa-parsazh-mag-edit-table th {
    border: 1px solid #dddddd;
    text-align: center;
    padding: 8px;
}
.pa-parsazh-mag-edit-table tr:nth-child(even) {
    background-color: #dddddd;
}
.pa-parsazh-mag-edit-table .action-btn {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 4px;
    font-size: 13px;
    transition: background 0.2s;
}
.pa-parsazh-mag-edit-table .action-btn.delete {
    background: #e74c3c;
}
.pa-parsazh-mag-edit-table .action-btn:active {
    background: #217dbb;
}
.pa-parsazh-mag-edit-table .action-btn.delete:active {
    background: #c0392b;
}
.pa_mag_product .pa_mag_product_body .owl-dots {
    display: none !important;
}
@media screen and (max-width: 1440px) {
    .pa_mag_product .pa_mag_product_body_shop_banner {
        width: 261px;
    }
    .pa_mag_product .pa_mag_product_body .owl-nav {
        right: 47%;
    }
}
@media screen and (max-width: 1024px) {
    .pa_mag_product .pa_mag_product_body_shop_banner {
        width: 220px;
    }
    .pa_mag_product .pa_mag_product_body .pa_mag_product_card {
        height: 333px;
    }
    .pa_mag_product .pa_mag_product_body .owl-nav {
        right: 46%;
    }

}
@media screen and (max-width: 768px) {
    .pa_mag_product .pa_mag_product_body .pa_mag_product_card img {
        width: 128px;
    }
    .pa_mag_product .pa_mag_product_body_shop_banner {
        width: 100%;
        height: auto;
        top: -121px;
    }
    .pa_mag_product {
        margin: 150px auto 82px auto;
    }
    .pa_mag_product .pa_mag_product_body .pa_mag_product_card {
        height: 343px;
    }
    .pa_mag_product .pa_mag_product_body .owl-nav {
        position: absolute;
        bottom: -12px;
        width: 5%;
        right: 47%;
    }
    .pa_mag_single_product .pa_mag_single_product_detail h3 {
        text-align:center;
    }
    .pa_mag_single_product {
        justify-content: center;
        flex-direction: column;
        width: 300px;
        height: 400px;
    }
    .pa_mag_single_product .pa_mag_single_product_desc {
        flex-direction: column;
    }
    .pa_mag_single_product .pa_mag_single_product_desc .pa_mag_single_product_detail p {
        text-align: center;
        margin: 26px auto 21px auto;
        max-width: 90%;
    }

}