﻿.km-box-style-theme {
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 16px;
    margin-bottom: 32px;
}

.km-box-style-theme-2 {
    background-color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.03);
    border: 1px solid #e4e4e4;
}

.km-box-style {
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 16px;
    margin-bottom: 32px;
}

    .km-box-style.km-overflow {
        overflow: hidden;
    }

    .km-box-style.km-padding {
        padding: 20px;
    }

    .km-box-style .km-title-style-theme .km-title {
        background: #fff;
    }

.km-box-style2 {
    background: #fff;
    position: relative;
    margin-bottom: 15px;
    border-radius: 15px;
    padding: 20px;
}

    .km-box-style2 .km-title-style-theme .km-title {
        background: #fff;
    }
/*
 * Persian numeric
*/
@font-face {
    font-family: yekanbakh;
    font-style: normal;
    font-weight: bold;
    src: url('assets/fonts/yekanbakh/eot/YekanBakhFaBold.eot');
    src: url('assets/fonts/yekanbakh/eot/YekanBakhFaBold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/yekanbakh/woff/YekanBakhFaBold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/yekanbakh/ttf/YekanBakhFaBold.ttf') format('truetype');
}

@font-face {
    font-family: yekanbakh;
    font-style: normal;
    font-weight: normal;
    src: url('assets/fonts/yekanbakh/eot/YekanBakhFaMedium.eot');
    src: url('../fonts/yekanbakh/eot/YekanBakhFaMedium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/yekanbakh/woff/YekanBakhFaMedium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/yekanbakh/ttf/YekanBakhFaMedium.ttf') format('truetype');
}

@font-face {
    font-family: yekanbakh;
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/yekanbakh/eot/YekanBakhFaLight.eot');
    src: url('assets/fonts/yekanbakh/eot/YekanBakhFaLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/yekanbakh/woff/YekanBakhFaLight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/yekanbakh/ttf/YekanBakhFaLight.ttf') format('truetype');
}
/*
 * English Numeric
*/
@font-face {
    font-family: yekanbakhen;
    font-style: normal;
    font-weight: bold;
    src: url('assets/fonts/yekanbakh/eot/YekanBakhEnBold.eot');
    src: url('assets/fonts/yekanbakh/eot/YekanBakhEnBold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/yekanbakh/woff/YekanBakhENBold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/yekanbakh/ttf/YekanBakhENBold.ttf') format('truetype');
}

@font-face {
    font-family: yekanbakhen;
    font-style: normal;
    font-weight: normal;
    src: url('assets/fonts/yekanbakh/eot/YekanBakhEnMedium.eot');
    src: url('assets/fonts/yekanbakh/eot/YekanBakhEnMedium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/yekanbakh/woff/YekanBakhENMedium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/yekanbakh/ttf/YekanBakhENMedium.ttf') format('truetype');
}

@font-face {
    font-family: yekanbakhen;
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/yekanbakh/eot/YekanBakhEnLight.eot');
    src: url('assets/fonts/yekanbakh/eot/YekanBakhEnLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/yekanbakh/woff/YekanBakhENLight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/yekanbakh/ttf/YekanBakhENLight.ttf') format('truetype');
}

* {
    direction: rtl;
}

html {
    height: 100%;
}

input {
    font-family: yekanbakhen, serif !important;
}

button {
    font-family: yekanbakh, serif !important;
}

.hidden {
    display: none !important;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}


/** {
    font-family: yekanbakh, serif !important;
    letter-spacing: -0.5px;
}
*/

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .size4 {
        padding: 0 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #vp-header .vp-middle-header .size4 {
        padding: 0 16px !important;
    }
}

@media only screen and (min-width: 0px) and (max-width: 959px) {
    #vp-header {
        margin-bottom: 0 !important;
    }
}

/*.innerpages {
    max-width: 550px;
    width: 100%;*/
/*min-height: 100vh;*/
/*margin: 0 auto;
    font-family: digiLalezar !important;*/
/*height: 100%;*/
/*}*/


.collectioncard {
    width: 100%;
    /*min-height: 100vh;*/
    /*height: 100%;*/
}

html, body {
    /*min-height: 100vh;*/
    margin: 0;
    padding: 0;
    background: url("/plugins/misc.topscards/wwwroot/themes/master/assets/img/bg-collectioncard_panini.png") repeat top center !important;
    background-size: cover; /* یا 100% auto بسته به نیازت */
}

/* محدودیت عرض فقط روی بخش محتوا */
.innerpages {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
}

.collectioncard,
.collectioncard .collectioncard-bg {
    width: 100%;
    min-height: 100vh;
    background: transparent;
}

.innerpages {
    font-family: digiLalezar !important;
}
/*.collectioncard,
    .collectioncard .collectioncard-bg {*/
/*min-height: 100vh !important;*/
/*height: auto !important;
        margin: 0 !important;
        padding-bottom: 0 !important;
        background-size: cover;
    }*/
@media only screen and (max-width: 959px) {
    .collectioncard, .collectioncard .collectioncard-bg {
        min-height: auto;
        height: auto;
    }
}

/*@media only screen and (min-width: 0px) and (max-width: 425px){
        .collectioncard .collectioncard-bg {
            padding-bottom: 49px;
        }
    }*/

.collectioncard .collectioncard-bg .collectioncard-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 7px;
    padding: 0 16px;
    padding-top: 18px;
}

    .collectioncard .collectioncard-bg .collectioncard-top .top-item {
        max-width: 108px;
        width: 100%;
        max-height: 32px;
        height: 100%;
        position: relative;
    }

    .collectioncard .collectioncard-bg .collectioncard-top .sort {
        max-width: 151px;
        max-height: 33px;
        margin-top: 3px;
    }

    .collectioncard .collectioncard-bg .collectioncard-top .top-item img {
        width: 100%;
        height: 100%;
        max-height: 41px;
        min-height: 30px;
    }

    .collectioncard .collectioncard-bg .collectioncard-top .top-item span {
        font-weight: 950;
        font-size: 20px;
        line-height: 100%;
        letter-spacing: 0px;
        color: #ffffff;
        position: absolute;
        z-index: 8;
        max-width: 108px;
        width: 100%;
        text-align: center;
        left: 0;
        right: 0;
        padding-top: 10px;
        padding-right: 16px;
    }

    /* .collectioncard .collectioncard-bg .collectioncard-top .top-item{

        }*/

    .collectioncard .collectioncard-bg .collectioncard-top .top-item .top-item_row {
        width: 100%;
        top: 0;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 8px;
        padding-right: 32px;
        padding-top: 6px;
    }

        .collectioncard .collectioncard-bg .collectioncard-top .top-item .top-item_row .text {
            color: #ffffff;
            font-weight: 950;
            font-size: 15px;
            max-height: 22px;
        }

        .collectioncard .collectioncard-bg .collectioncard-top .top-item .top-item_row .icon {
            display: inline-flex;
            align-items: center;
            max-height: 22px;
        }

.collectioncard .collectioncard-bg .collectioncard-content {
    padding: 0 16px;
    margin: 32px 0;
}

    .collectioncard .collectioncard-bg .collectioncard-content .collectioncard-content_bg1 {
        border-radius: 12px;
        width: 100%;
        height: 534px;
        background: #064B19;
        box-shadow: 0px 0px 16px 0px #72FF77CC;
        padding: 8px;
    }

    .collectioncard .collectioncard-bg .collectioncard-content .collectioncard-content_bg2 {
        border-radius: 12px;
        height: 100%;
        background: #6BF370;
        padding: 12px;
        position: relative;
    }

    .collectioncard .collectioncard-bg .collectioncard-content .collectioncard-content_bg3 {
        border-radius: 12px;
        background: #081909;
        padding: 8px 0;
        height: 100%;
        max-height: 588px;
        height: 100%;
        overflow-y: scroll;
        height: 100%;
    }


.collectioncard-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 0;
}

.collectioncard-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: transparent;
    /*min-height: 124px;
    max-height: 124px;*/
}

    .collectioncard-item img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

@supports not (aspect-ratio: 1) {
    .collectioncard-item {
        height: 0;
    }

        .collectioncard-item::before {
            content: "";
            display: block;
            padding-top: calc(100% * 4 / 3);
        }

        .collectioncard-item img {
            position: absolute;
            inset: 0;
        }
}

.collectioncard .collectioncard-bg .collectioncard-content .collectioncard-content_bg2 .collectioncard-filter-type {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    max-width: 232px;
    margin: 0 auto;
}

    .collectioncard .collectioncard-bg .collectioncard-content .collectioncard-content_bg2 .collectioncard-filter-type .item {
        max-width: 72px;
        max-height: 36px;
        width: 100%;
        height: 100%;
    }

    .collectioncard .collectioncard-bg .collectioncard-content .collectioncard-content_bg2 .collectioncard-filter-type .item {
        width: 100%;
        height: 100%;
        min-width: 72px;
        max-width: 72px;
        min-height: 36px;
        max-height: 36px;
    }


.collection-card_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*background: linear-gradient(0deg, rgba(11, 207, 0, 0) 0%, #066900 109.37%);*/
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px;
    max-width: 550px;
    margin: 0 auto;
}

@media only screen and (min-width: 959px) {
    .collection-card_bottom {
        position: absolute;
    }
}

.collection-card_bottom a {
    display: block;
    max-width: 40px;
    max-height: 40px;
    height: 40px;
    width: 40px;
}

    .collection-card_bottom a img {
        width: 100%;
        height: 100%;
    }



.menu-popup {
    position: absolute;
    width: 67.6%;
    top: 30%;
    left: 0;
    right: 0;
    z-index: 9999;
    margin: 0 auto;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s all ease-in-out;
}

@media only screen and (max-width: 959px) {
    .menu-popup {
        top: 20%;
    }
}

.menu-popup.active {
    opacity: 1;
    visibility: visible;
    transition: 0.4s all ease-in-out;
}



.menu-popup .menu-popup_bg {
    max-width: 287px;
    background: url('/plugins/misc.topscards/wwwroot/themes/master/assets/img/register-popup_menu.png');
    background-size: 100% 100%;
    min-height: 383px;
    text-align: center;
    font-weight: 950;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    color: #ffffff;
    line-height: 100%;
    width: 100%;
    margin: 0 auto;
}


.menu-popup .popup-menu_close {
    width: 30px;
    height: 30px;
    min-height: 30px;
    min-width: 30px;
    max-width: 30px;
    max-height: 30px;
    transform: translate(-16px, -11px);
}

    .menu-popup .popup-menu_close img {
        width: 100%;
        height: 100%;
    }

.menu-popup .menu-popup_bg .menu-popup_items {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    row-gap: 12px;
    padding: 0 20px;
}

    .menu-popup .menu-popup_bg .menu-popup_items .item {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 54px;
        /*overflow: hidden;*/
    }

        .menu-popup .menu-popup_bg .menu-popup_items .item img {
            width: 100%;
            height: 100%;
            /* height: 65px; */
            object-fit: cover;
            display: block;
            /*max-height: 54px;*/
        }

@media only screen and (min-width: 0px) and (max-width: 959px) {
    .vp-over-page {
        height: 100% !important;
    }
}


.collection-card_register {
    /*margin: 32px 0;*/
    margin-top: 32px;
    margin-bottom: 16px;
    min-height: 66px;
    height: 100%;
    padding: 0 16px;
}


    .collection-card_register .bg {
        background: url("/plugins/Misc.TopsCards/wwwroot/themes/master/assets/img/card-registercollection_bg.png");
        min-height: 66px;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        padding-bottom: 4px;
    }

        .collection-card_register .bg .card-register_items {
            padding: 0 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            column-gap: 28px;
        }

            .collection-card_register .bg .card-register_items .right {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                column-gap: 8px;
                max-width: 50%;
                padding-top: 13px;
                padding-bottom: 4px;
            }

            .collection-card_register .bg .card-register_items .left {
                display: flex;
                justify-content: flex-start;
                flex-direction: column;
                max-width: 42%;
                width: 100%;
                padding-bottom: 10px;
            }

                .collection-card_register .bg .card-register_items .left .progressbar-items {
                    display: flex;
                    align-items: center;
                    position: relative;
                }

                    .collection-card_register .bg .card-register_items .left .progressbar-items .sheeld {
                        max-width: 31px;
                        max-height: 41px;
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        top: -13px;
                        left: -11px;
                        z-index: 99;
                        display: grid;
                        place-items: center;
                    }

@media only screen and (min-width: 0px) and (max-width: 426px) {
    .collection-card_register .bg .card-register_items .left .progressbar-items .sheeld {
        left: -10px;
    }
}

.collection-card_register .bg .card-register_items .left .progressbar-items .sheeld img {
    width: 100%;
    height: 100%;
    min-height: 41px;
    min-width: 31px;
    object-fit: cover;
    grid-area: 1 / 1;
}

.collection-card_register .bg .card-register_items .left .progressbar-items .sheeld span {
    grid-area: 1 / 1;
    z-index: 1;
    color: #ffffff;
    font-weight: 950;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
    font-family: 'yekanbakh' !important;
}


.collection-card_register .bg .card-register_items .left .progressbar-items .progressbar-bg {
    position: relative;
    background: linear-gradient(180deg, rgba(202, 202, 202, 0.84) -12.5%, rgba(20, 20, 20, 0.84) 54.43%, rgba(193, 193, 193, 0.84) 128.13%);
    max-width: 100%;
    height: 16px;
    width: 100%;
    border-radius: 4px;
}

    .collection-card_register .bg .card-register_items .left .progressbar-items .progressbar-bg .progressbar-main {
        position: absolute;
        left: 0;
        height: 16px;
        width: 50%;
        background: linear-gradient(180deg, #6BF370 0%, #00B806 61.35%, #4FB152 100%);
        border-radius: 4px 0 0 4px;
        z-index: 1;
    }

    .collection-card_register .bg .card-register_items .left .progressbar-items .progressbar-bg .Outof {
        position: absolute;
        color: #ffffff;
        font-weight: 950;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: 0px;
        margin-right: 8px;
        z-index: 8;
        top: 2px;
        line-height: 16px;
    }

/*@media only screen and (min-width: 0px) and (max-width: 959px) {
   
}*/

body.vp-has-mini-header {
    padding-bottom: 0 !important;
}

.collection-detailsCard {
    max-width: 334px;
    width: 81%;
    position: absolute;
    top: 3%;
    left: 0;
    right: 0;
    z-index: 9999;
    margin: 0 auto;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s all ease-in-out;
}

    .collection-detailsCard.active {
        opacity: 1;
        visibility: visible;
        transition: 0.4s all ease-in-out;
    }

@media only screen and (min-width: 0px) and (max-width: 426px) {
    .collection-detailsCard {
        max-width: 334px;
        width: 81%;
    }
}


.flip-container {
    touch-action: pan-y;
    perspective: 1000px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    position: relative;
}

.flipper {
    transition: 0.8s;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    position: relative;
}

.flip-container.flipped .flipper {
    /*transform: rotateY(180deg);*/
}

.front, .back {
    width: 100%;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.back {
    transform: rotateY(180deg);
}

.front {
    position: relative !important;
}

.flip-container img {
    mix-blend-mode: multiply;
}

.collection-detailsCard .close {
    width: 32px;
    height: 32px;
    margin-bottom: 24px;
}

    .collection-detailsCard .close img {
        width: 100%;
        height: 100%;
    }

.collection-detailcard_properies {
    background: #123263;
    border: 2px solid #9DC8F1;
    border-radius: 16px;
    padding: 16px;
    height: 100%;
}

    .collection-detailcard_properies .button-show {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid #FFFFFF3D;
    }

        .collection-detailcard_properies .button-show.active {
            padding-bottom: 16px;
            border-bottom: 1px solid #FFFFFF3D;
        }

        /* .collection-detailcard_properies .button-show .button-show_arrow {
            transform: rotate(180deg);
        }*/

        .collection-detailcard_properies .button-show .button-show_arrow.rotate {
            transform: rotate(0);
        }

        .collection-detailcard_properies .button-show .button-show_text {
            font-weight: 950;
            font-size: 24px;
            line-height: 100%;
            text-align: right;
            color: #ffffff;
        }

    .collection-detailcard_properies .main {
        font-family: 'yekanbakh';
        padding-top: 16px;
    }

        .collection-detailcard_properies .main .name .top {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            column-gap: 4px;
        }

            .collection-detailcard_properies .main .name .top .fa-name {
                color: #FFFFFF;
                font-size: 16px;
            }

            .collection-detailcard_properies .main .name .top .flag {
                width: 24px;
                height: 24px;
                display: inline-flex;
                align-items: center;
            }

                .collection-detailcard_properies .main .name .top .flag img {
                    width: 100%;
                    height: 100%;
                    max-height: 16px;
                }

        .collection-detailcard_properies .main .name .en-name {
            font-family: 'yekanbakhen';
            color: #A4A4A4;
            font-weight: 600;
            font-size: 14px;
            line-height: 100%;
            padding-top: 2px;
        }

.club {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 4px;
    padding-top: 10px;
    padding-bottom: 22px;
}

    .club .arm-club {
        max-width: 32px;
        max-height: 32px;
        display: inline-flex;
        align-items: center;
    }

        .club .arm-club img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    .club .club-name_fa {
        color: #fff;
        font-weight: 700;
        font-size: 13px;
        line-height: 100%;
    }

    .club .club-name_en {
        color: #A4A4A4;
        font-weight: 600;
        font-size: 13px;
        line-height: 100%;
        font-family: 'yekanbakhen';
    }

.collection-detailcard_properies .main .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .collection-detailcard_properies .main .bottom .right {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        column-gap: 12px;
        row-gap: 16px;
        /*max-width: max-content;*/
        width: 75.5%;
    }

    .collection-detailcard_properies .main .bottom .left {
        display: flex !important;
        flex-direction: column !important;
        row-gap: 32px;
        max-width: max-content;
    }

    .collection-detailcard_properies .main .bottom .right .proccess-item {
        width: 100%;
        max-width: calc(50% - 12px);
        column-gap: 12px;
    }

        .collection-detailcard_properies .main .bottom .right .proccess-item .proccess-item_top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #fff;
        }

            .collection-detailcard_properies .main .bottom .right .proccess-item .proccess-item_top .proccess-item_name {
                font-weight: 700;
                font-size: 12px;
                line-height: 100%;
            }

            .collection-detailcard_properies .main .bottom .right .proccess-item .proccess-item_top .proccess-item_overall {
                font-weight: 600;
                font-size: 12px;
                line-height: 100%;
            }

        .collection-detailcard_properies .main .bottom .right .proccess-item .proccess-item_main {
            margin: 2px 0;
        }

            .collection-detailcard_properies .main .bottom .right .proccess-item .proccess-item_main .bg {
                width: 100%;
                background: #A4A4A4;
                height: 2px;
                border-radius: 4px;
                position: relative;
            }

            .collection-detailcard_properies .main .bottom .right .proccess-item .proccess-item_main .proccess {
                height: 2px;
                border-radius: 4px;
            }

        .collection-detailcard_properies .main .bottom .right .proccess-item .proccess-item_en {
            color: #A4A4A4;
            font-weight: 600;
            font-size: 12px;
            font-family: 'yekanbakhen';
        }

.share-album {
    display: inline-flex;
    align-items: center;
    column-gap: 6px;
    color: #168FDF;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.5px;
    cursor: pointer;
    font-weight: 950;
    letter-spacing: 0px;
    color: #1EB3F2;
}

.share-album .icon {
}

    .share-album .text {
        padding-top: 3px;
    }


.flipper {
    transition: 0.8s;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    position: relative;
}

.flip-container {
    touch-action: pan-y;
    perspective: 1000px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    position: relative;
}

.flipper {
    transition: 0.8s;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    position: relative;
}

.flip-container.flipped .flipper {
    /*transform: rotateY(180deg);*/
}

.front, .back {
    width: 100%;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.back {
    transform: rotateY(180deg);
}

.front {
    position: relative !important;
}

    .front .rotate-card {
        position: absolute;
        right: 63px;
        bottom: 12px;
    }


.flip-container {
    touch-action: pan-y;
    perspective: 1000px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    position: relative;
}

.flipper {
    transition: 0.8s;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    position: relative;
}

.flip-container.flipped .flipper {
    transform: rotateY(180deg) !important;
}

.front, .back {
    width: 100%;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.back {
    transform: rotateY(180deg);
}

.front {
    position: relative !important;
}

    .front .rotate-card {
        position: absolute;
        right: 63px;
        bottom: 12px;
    }

.flipped {
    /*transform: rotateY(180deg) !important;*/
}

.collectioncard-item {
    overflow: hidden;
}

    .collectioncard-item img {
        display: block;
        max-width: none !important;
        width: calc(100% + 44px);
        margin: 0px -22px;
        height: auto;
    }

.front {
    overflow: hidden;
}

.back {
    overflow: hidden;
}

.flip-container img {
    mix-blend-mode: multiply;
    display: block;
    max-width: none !important;
    width: calc(100% + 136px);
    margin: 0px -68px;
    height: auto;
}


/* کارت‌های لیست */
.collectioncard-row .collectioncard-item {
    overflow: hidden !important;
    aspect-ratio: 4 / 5 !important;
    background: transparent !important;
    /*width: calc(33.33% - 8px);*/
}

    .collectioncard-row .collectioncard-item > img {
        position: static !important;
        inset: auto !important;
        display: block !important;
        height: 100% !important;
        object-fit: contain !important; /* پر کن بدون نوار سفید */
        --trim-x: 30px !important;
        clip-path: inset(0 var(--trim-x) 0 var(--trim-x)) !important;
        mix-blend-mode: normal !important;
        transform: translateZ(0);
    }

/* فallback اگر جایی clip-path جواب نداد */
@supports not (clip-path: inset(0 0 0 0)) {
    .collectioncard-row .collectioncard-item > img {
        width: calc(100% + (var(--trim-x) * 2)) !important;
        margin: 0 calc(var(--trim-x) * -1) !important;
    }
}
