﻿:root {
    --color-main-1: #FFD700;
    --color-red: #B81414 !important;
    --color-orange: #B86314 !important;
    --color-yellow: #B8A814 !important;
    --color-green: #4e944f;

    --color-blue: #144BB8;
    --color-gray: #959595;
    --color-gray-light: #f0f0f0;
    --color-border: #DDD;
    --font-xl: 21px;
    --font-l: 18px;
    --font-n: 15px;
    --font-s: 12px;
    --font-xs: 9px;
    --border-radius: 9px;
    --border-radius-control: 6px;
    --color-gold-rose: #bb785b;
    --color-gold-yellow: #dac27c;
    --color-gold-white: #eaeaea;
}
 




/* #region font */
@font-face {
    font-family: font-main;
    font-weight: normal;
    src: url('fonts/Vazir-Regular-FD.woff') format('woff');
}

@font-face {
    font-family: font-main;
    font-weight: bold;
    src: url('fonts/Vazir-Bold-FD.woff') format('woff');
}


/* #endregion */

/* #region html tag */
body {
    font-family:font-main;
    font-size:15px;
    margin:0px;
    padding:0px;
    direction:rtl;
}

a 
{
    text-decoration:none;
}

img{
    max-width:100% !important;
    border-radius:var(--border-radius-control);
}

label{
    padding-right:5px;
}

table
{
    border-collapse : unset !important;
}

h1 , h2{
    font-weight:bold;
}

h1{
    font-size: var(--font-xl);
}

h2 {
    font-size: var(--font-l);
}

textarea,
input[type=password],
input[type=text]
{
    width:100%;
    padding:5px;
    border-radius:var(--border-radius-control);
    border:1px solid var(--color-border);
    outline:none;
    font-size:var(--font-s);
}

    textarea:focus,
    input[type=password]:focus,
    input[type=text]:focus {
        border: 1px solid var(--color-gray);
    }

textarea
{
    height:100px;
}
select {
    padding: 5px;
    border-radius: var(--border-radius-control);
    border: 1px solid var(--color-border);
    outline: none;
    font-size: var(--font-s);
}

select:focus {
    border: 1px solid var(--color-gray);
}

select, option {
    font: -moz-pull-down-menu;
}


input[type=button],
input[type=submit]
{
    border-radius:var(--border-radius-control);
    border:none;
    background-color: var(--color-main-1);
    color: #454545;
    min-width: 150px;
    padding: 5px 10px;
}


input[type=button]:hover,
input[type=submit]:hover {
    box-shadow:0px 0px 5px var(--color-gray);
}


a.btn {
    outline:none;
    border-radius: var(--border-radius-control);
    border: none;
    background-color: var(--color-main-1);
    color: #454545;
    min-width: 150px;
    padding: 5px 10px;
}


a.btn-delete {
    background-color: var(--color-red);
    padding: 5px 10px;
    display: inline-block;
    border-radius: var(--border-radius-control);
    color: #FFF;
}


/* #endregion */

/* #region page */
.page-top
{
    box-shadow: 0px 0px 5px var(--color-gray);
    position:relative;
    z-index:200;
}

.page-top .menu-box a{
    display:inline-block;
    padding:5px 10px;
    color:var(--color-gray);
}

.page-top .menu-box a:hover {
    color: #000;
}


    .page-top .search
    {
        border-radius:var(--border-radius);
        border:1px solid #DDD;
        padding:0px 5px;
    }

    .page-top .search input[type=text] {
        background-color: #FFF;
        border:none;
        width:calc(100% - 25px);
        margin-left:5px;
    }


    .gold-price-box {
        background-color: var(--color-main-1);
        position: relative;
        z-index: 199;
    }


.gold-price-marquee {
    display: none;
    line-height: 40px;
    direction: ltr;
    width: 100%;
    overflow: hidden;
}


.gold-price-marquee .fa {
    margin:0px 10px !important;
}



.page-bottom {
    border-top:1px solid #DDD;
    background-color: #F7F7F7;
    color: #222222;
    padding:20px 0px;
    margin-top:20px;
}




    .page-bottom .txt{
        line-height:200%;
        text-align:justify;
        font-size:larger;
    }

    .page-bottom a {
        color: #222;
    }

    .page-bottom a:hover {
        color:var(--color-green);
    }



/* #endregion */



/* #region public */
.center {
    text-align : center !important;
}

.right {
    text-align: right !important;
}


.left {
    text-align: left !important;
}

.over-bg,
.loading-box {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(255,255,255,0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 220;
}

    .loading-box div {
        background-color: #FFF;
        padding: 10px;
        box-shadow: 0px 0px 5px #ddd;
        border-radius: var(--border-radius);
    }


.over-bg {
    z-index: 215;
}
.over-box {
    margin: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90%;
    background-color: #FFF;
    padding: 10px;
    box-shadow: 0px 0px 5px #ddd;
    overflow: auto;
}


.line {
    background-color: var(--color-main-1);
    height: 2px !important;
    margin-top: 40px;
    margin-bottom: 20px;
}


    .line h1 {
        position: relative;
        background-color: #FFF;
        display: inline-block;
        padding: 0px 10px;
        line-height: 40px;
        top: -20px;
        font-size: var(--font-l) !important;
    }





div.image-14-4 {
    width: 100%;
    padding-top: 28.5%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.product-movie-item {
    width: 100%;
    padding-top: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    color:#FFF;
    border-radius: var(--border-radius-control);
    position: relative;
}

    .product-movie-item .fa {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        color: rgba(255,255,255,0.75);
    }




.box {
    border: 1px solid var(--color-main-1);
    padding: 10px;
    border-radius: var(--border-radius);
    margin-top: 15px;
}

    .box .caption {
        background-color: #FFF;
        margin: -10px;
        padding: 0px 15px;
        display: inline-block;
        position: relative;
        top: -23px;
        right: 10px;
    }

    .box .caption::after {
        content: " : ";
    }

    .box .body {
        margin-top: -22px;
    }

    .box hr
    {
        border:none; 
        border-top:2px solid var(--color-main-1);
        width:80%;
        margin:10px auto;
    }


.order-menu
{
    display:flex;
}

.order-menu a {
    border: 1px solid var(--color-border);
    border-left: none;
    font-size: var(--font-s);
    color: #454545;
    padding: 5px 10px;
    display: inline-block;
}

    .order-menu a:first-child {
        border-top-right-radius: var(--border-radius-control);
        border-bottom-right-radius: var(--border-radius-control);
    }

    .order-menu a:last-child {
        border-left:1px solid var(--color-border);
        border-top-left-radius: var(--border-radius-control);
        border-bottom-left-radius: var(--border-radius-control);
    }


.order-menu a:hover {
    background-color:#EEE;
}

    .order-menu a.active {
        background-color:#DDD;
    }



.digi3 {
    text-align: center;
}


.message-box-ok,
.message-box-stop {
    border: 1px solid var(--color-red);
    color: var(--color-red);
    border-radius: var(--border-radius-control);
    padding: 10px;
    text-align: center;
    margin: 10px 0px;
}

.message-box-ok {
    border: 1px solid var(--color-green);
    color: var(--color-green);
}



/* #endregion */

/* #region package */

.default-list, .section {
    border-top: 2px solid var(--color-main-1);
    margin:20px 0px;
}

    .default-list .list-caption,
    .section .caption {
        background-color: #FFF;
        font-weight: bold;
        margin: 0px 20px;
        padding: 0px 15px;
        display: inline-block;
        position: relative;
        top: -14px;
        font-size: var(--font-n) !important;
    }


.content-list .img-box {
    width: 100%;
    padding-top: 56.25%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: var(--border-radius);
}

.content-list a {
    color:#000;
}

.content-list .desc {
    line-height:175%;
    text-align:justify;
    color: #666;
}

.content-list .key {
    background-color: #DDD;
    color:#888;
    display: inline-block;
    border-radius: var(--border-radius-control);
    margin-left: 5px;
    padding: 2px 5px;
    margin-bottom: 5px;
}


.content-page .img-box {
    width: 100%;
    padding-top: 56.25%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: var(--border-radius);
}


.content-page .desc {
    border:1px dashed var(--color-main-1);
    padding:20px;
    margin:10px 0px;
    border-radius:var(--border-radius);
    text-align:justify;
    line-height:200%;
}

.content-page .body {
    text-align: justify;
    line-height: 200%;
}

.content-page .key {
    background-color: #EEE;
    display: inline-block;
    border-radius: var(--border-radius-control);
    margin-left: 5px;
    padding: 2px 5px;
    margin-bottom: 5px;
}


/* #endregion */


/* #region product */
.product{

}

.product .caption{
    font-weight:bold;
    font-size:var(--font-l);
    display:inline-block;
    margin-bottom:10px;
}

    .product .name {
        display:inline-block;
        margin-right:10px;
    }

    .product .name:before {
        content:"(";
    }

        .product .name:after {
            content: ")";
        }


    .product .tip-order {
        border: 2px solid var(--color-red);
        color: var(--color-red);
        padding: 10px;
        border-radius: 8px;
        text-align: justify;
    }




    .product .desc {
        line-height:175%;
        margin:10px 0px;
    }


    .product a.btn-other {
        background-color:#F7F7F7;
        border:1px solid #EEE;
        font-size:var(--font-s);
        margin-bottom:5px;
        display:inline-block;
        color:#000;
        padding:5px 10px;
        border-radius:4px;
        width:100%;
        text-align:center;
    }

    .product a.btn-other:hover {
        border: 1px solid #DDD;
    }


    .product .price-details-bg {
        position:fixed;
        top:0px;
        right:0px;
        left:0px;
        bottom:0px;
        background-color:rgba(255,255,255,0.55);
        display:flex;
        align-items:center;
        justify-content:center;
        z-index:300;
        display:none;
    }

    .product .price-details-box {
        background-color: #F7F7F7;
        border: 1px solid #EEE;
        box-shadow: 0px 0px 5px #DDD;
        width: 600px;
        max-width: 90%;
        padding: 10px;
        border-radius: 4px;
    }


        .product .price-details-box a {
            background-color:#EEE;
            border-radius:4px;
            padding:5px 10px;
            color:#000;
            display:inline-block;
            border:1px solid #DDD;
            margin-top:10px;

        }


        .product .price-details-box table {
            width: 100%;
            border-collapse:unset !important;
            margin-top:10px;
            margin-bottom:10px;
        }

            .product .price-details-box table td:nth-child(1) {
                background-color: var(--color-main-1);
                text-align: left;
                padding: 5px;
                border-radius: 4px;
            }

            .product .price-details-box table td:nth-child(2),
            .product .price-details-box table td:nth-child(3) {
                background-color: navajowhite;
                text-align: center;
                padding: 5px;
                border-radius:4px;
            }



    .product .price-box {
        background-color:#F7F7f7;
        border:1px solid #EEE;
        border-radius:var(--border-radius-control);
        padding:10px;
        font-size:var(--font-n);
        line-height:200%;

        text-align:center;

    }


    .product .price-box h2 {
        font-weight:bold;
        font-size: var(--font-n) !important;
        min-width:75px; 
        margin:0px;
        padding:0px;
        color :#888;
        text-align:right;
    }

        .product .price-box h2::after {
            content: " : ";
        }


        .product .price-box hr {
            border:none;
            border-top:1px solid #bbb;
            margin:5px auto;
            width:90%;

        }



    .product .text {
        padding:20px;
        line-height:200%;
    }

    .product .btn {
        width:100%;
        color:#FFF;
        background-color:var(--color-red);
        display:inline-block;
        margin-top:10px;
    }

    .product .media-item {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }


        .product .media-item div {
            width: 24%;
            margin-top: 5px;
            cursor:pointer;
        }






.product-list-item {
    background-color: #FFF;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-control);
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    min-height: 370px;
    background-image: url('../img/loading.gif');
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5px;
}

.product-list-item:hover {
    box-shadow:0px 0px 5px #DDD;
}

    .product-list-item div.image {
        width: 100%;
        padding-top: 100%;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius:var(--border-radius-control);
        
    }
    .product-list-item a {
        color: #000 !important;
    }

    .product .gold-type,
    .product-list-item .gold-type {
        color: var(--color-red);
        font-weight: bold;
        font-size: var(--font-s);
        vertical-align:middle;
    }


.product .color-icon-10,
.product .color-icon-20,
.product .color-icon-30 {
    height: 40px;
    width: 40px;
    display: inline-block;
    border-radius: 20px;
    line-height:40px;
    text-align:center;
    cursor:pointer;
    margin:5px;
}
    .product-list-item .color-icon-10,
    .product-list-item .color-icon-20,
    .product-list-item .color-icon-30 {
        height: 20px;
        width: 20px;
        display: inline-block;
        border-radius: 4px;
        margin-right:3px;
    }



    .product .color-icon-10,
    .product-list-item .color-icon-10 {
        background-color: var(--color-gold-rose);
        border: 1px solid var(--color-gold-rose);
        color:#FFF;
    }

.product .color-icon-20,
.product-list-item .color-icon-20 {
    background-color: var(--color-gold-yellow);
    border: 1px solid var(--color-gold-yellow);
    color: #FFF;
}

    .product .color-icon-30,
    .product-list-item .color-icon-30 {
        background-color: var(--color-gold-white);
        border: 1px solid #DDD;
    }



    .product-list-item .caption {
        font-weight: bold;
        height: 60px;
        line-height: 30px;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .product .price,
    .product-list-item .price {
        font-weight: bold;
        color: var(--color-green);
        text-align: left;
        font-size: var(--font-l);
    }


.product .price-off,
.product-list-item .price-off {
    font-weight: bold;
    color: var(--color-red);
    text-align: left;
    font-size: var(--font-l);
    text-decoration: line-through;
}



.product-btn-more {
    padding: 5px 15px;
    margin: 10px auto;
    border-radius: var(--border-radius-control);
    border: 1px solid var(--color-border);
    cursor: pointer;
    text-align: center;
    width: 150px;
}

.product-btn-more:hover {
    background-color:var(--color-main-1);

}
/* #endregion */
/* #region contorl UC_Category_Tip_1 */
.UC_Category_Tip_1 .item {
    margin: auto;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    width: 150px;
    height: 150px;
    background-position: center center;
    background-size: cover;
}

.UC_Category_Tip_1 .caption {
    background-color: var(--color-main-1);
    color: #222;
    text-align: center;
    padding: 10px;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    width: 150px;
    margin: auto;
    margin-bottom: 10px;
}


/* #endregion */








/* #region form */
.form
{
    border:1px solid var(--color-main-1);
    border-radius:var(--border-radius-control);
    padding:10px;
    box-shadow:0px 0px 5px #DDD;
}

    .form h1 {
        background-color: var(--color-main-1);
        margin: 0px -10px;
        margin-bottom: 10px;
        padding: 10px;
        padding-right: 20px;
        font-size: var(--font-l) !important;
    }

    .form h2{
        font-size:var(--font-l);
        padding:0px;
        margin:5px 0px;
        color:#888;
        font-size:var(--font-n);
    }

    .form h2:after {
        content:" : ";
    }

        .form h2.rf:before {
            content: "* ";
            color: var(--color-red);
            font-weight: bold;
        }

    .form .btn-box {
        text-align: center;
        margin: 10px -10px;
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
    }


        .form .btn-box input[type=button],
        .form .btn-box input[type=submit] {
            border-radius: var(--border-radius-control);
            border: none;
            background-color: var(--color-main-1);
            color: #454545;
            min-width: 150px;
            padding: 5px 10px;
            width: 100%;
            margin: 0px 10px;
        }


        .form .btn-box input[type=button]:hover,
        .form .btn-box input[type=submit]:hover {
            box-shadow: 0px 0px 5px var(--color-gray);
        }

            .form .btn-box input[type=button].red,
            .form .btn-box input[type=submit].red {
                background-color: var(--color-red);
                color: #FFF;
            }


    
    .form .dir
    {
        direction:ltr;

    }

    .form .rf
    {
        border: 1px solid var(--color-red) !important;
    }

    .form .btn-icon {
        border-radius: 4px;
        background-color: #DDD;
        text-align: center;
        line-height: 32px;
        width: 32px;
        display: inline-block;
        color: #454545;
        margin:3px;
    }

/* #endregion */


/* #region grid */


    .r {
        display: flex;
        flex-wrap: wrap;
        margin-left:-10px;
        margin-right:-10px;
    }

        .r .c1,
        .r .c2,
        .r .c3,
        .r .c4
        {
            padding: 0px 10px;
        }
         .r .c1 {
            width: 25%;
        }

         .r .c2 {
            width: 50%;
        }

         .r .c3 {
            width: 75%;
        }

         .r .c4 {
            width: 100%;
        }


@media (max-width: 992px) {
    .r .c1 {
        width: 50%;
    }
}

@media (max-width: 768px) {

     .r .c2 {
        width: 100%;
    }

     .r .c1 {
        width: 100%;
    }
}

/* #endregion */



a.btn-account
{
    color: #666 !important;
    border-radius:var(--border-radius-control);
    display:inline-block;
    margin:5px;
    width:100%;
    display:inline-block;
}

    a.btn-account .count {
        background-color: var(--color-red);
        color: #fff;
        padding:3px;
        border-radius:4px;
        display:inline-block;
        font-size:smaller;
    }


a.btn-account:hover {
    color:#222 !important;
}

    a.btn-account .fa {
        color: #888 !important;
        padding: 3px;
        display: inline-block;
    }


.shopcart .header {
    background-color: var(--color-main-1);
    padding: 10px;
    border-radius: var(--border-radius-control);
    text-align: center;
}

.shopcart hr {
    border:1px solid var(--color-main-1);
}

.shopcart a {
    color:#000;
}

.shopcart .btn-delete {
    background-color: var(--color-gray-light);
    padding: 5px 10px;
    display: inline-block;
    border-radius: var(--border-radius-control);
    color: var(--color-red);
}

.shopcart .btn-delete:hover {
    background-color: var(--color-red);
    color:#FFF;
}


.swiper-next, .swiper-prev {
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .swiper-next .fa,
    .swiper-prev .fa{
        background-color: var(--color-main-1);
        padding: 10px 5px;
        border-radius: 4px;
    }

.swiper-button-disabled .fa {
    display:none;
}



.img-magnifier-container {
    position: relative;
}

.img-magnifier-glass {
    position: absolute;
    border: 1px solid #DDD;
    border-radius: 0%;
    cursor: none;
    /*Set the size of the magnifier glass:*/
    width: 250px;
    height: 250px;
}



.mobile-filter-order-box
{
    display:flex;
    align-items:center;
}

    .mobile-filter-order-box div {
        width:50%;
        padding: 5px 10px;
    }

        .mobile-filter-order-box div a {
            display: inline-block;
            border-radius: 6px;
            background-color: #E9E9ED;
            width: calc(100% - 25px);
            padding: 7px;
            font-size: 12px;
            cursor: pointer;
        }

@media (max-width:768px) {
    .mobile-filter-box {
        display:none;
        background-color: #FFF;
        position: fixed;
        top: 0px;
        bottom: 0px;
        right: 0px;
        left: 0px;
        z-index: 200;
        padding: 10px;
        overflow: auto;
    }

    .mobile-filter-box .close {
        background-color: var(--color-main-1);
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 210;
        padding: 5px 10px;
        border-radius: 10px;
        cursor:pointer;
        display:block !important; 
    }

        .mobile-filter-box label {
            width: calc(50% - 20px) !important;
            
        }

}

.mobile-filter-box .close {
    display:none;
}

.mobile-filter-box label {
    width: calc(100% - 15px);
}




.back-to-top-box{
    position:fixed;
    z-index:200;
    bottom:20px;
    right:20px;
    display:none;
}

.back-to-top-box img {
    width:50px;
}



.tbl-comparion
{
    width: 100%
}

.tbl-comparion td {
    text-align:center;
    padding:5px;
    border-radius:var(--border-radius);
}

.tbl-comparion img{
    width:100px;
}

    .tbl-comparion tr:nth-child(2n+1) td {
        background-color: #F7F7F7;
    }
    .tbl-comparion tr:nth-child(2n) td {
        background-color: #EEE;
    }


    .tbl-comparion tr td:first-child {
        background-color: var(--color-main-1);
        text-align:left !important;
        width:20%;
    }

    .tbl-comparion tr td:first-child:after {
        content:" : ";
    }


    .tbl-comparion tr:first-child td:first-child {
        font-size:larger;
        font-weight:bold;
        text-align:center !important;
    }

    .tbl-comparion tr:first-child td:first-child:after {
        content:"";
    }


    .tbl-comparion tr:last-child td:first-child {
        background-color:transparent !important;
    }
        .tbl-comparion tr:last-child td:first-child:after {
            content: "" !important;
        }