
:root {
    --body-color: #FFFFFC;
    --white-color: #FFFFFF;
    /* --primary-color: #3498db; */
    --font-size-base: 16px;
    --main-color: #14213D;
    --border-color: #EDDCD2;
    --category-background-color: #FFF1E6;
    --red-color: #F22626;
    --discount-label-color: #FAD2E1;
    --box-shadow-color: #14213d40; /* rgba(20, 33, 61, 0.25) */
    --box-shadow-color2: ##14213d80; /* rgba(20, 33, 61, 0.50) */
    --black-color: #000000;
}

/*#region header*/
header {
    padding: 16px 0px 0px;
    position: fixed;
    top: 0px;
    z-index: 100;
    background-color: var(--body-color);
    width: 100%;
}

.header-top {
    padding: 0px 16px;
    height: 43px;
}

.header-image {
    width: 43px;
    height: 43px;
    border: 1px solid var(--main-color);
    border-radius: 50%;
}

.header-title {
    font-family: Persian-Bold;
    font-size: 14px;
    color: var(--main-color);
}

.header-cart-badge {
    width: 24px;
    height: 24px;
    background-color: var(--discount-label-color);
    border: 0.5px solid var(--main-color);
    border-radius: 50%;
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--black-color);
    position: absolute;
    top: -11px;
    right: -11px;
    padding-top:1px;
}
/*#endregion header*/

/*#region header-filter*/
.header-filter {
    padding: 0px 16px;
}

.header-filter-search {
    width: calc(calc(100vw - 40px) / 2);
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 5px 32px 5px 8px;
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    background-color: var(--white-color);
    font-family: Persian-Medium;
    font-size: 14px;
    color: var(--main-color);
}

    .header-filter-search::placeholder {
        color: var(--main-color);
        opacity: 1;
        /* Firefox */
    }

    .header-filter-search::-ms-input-placeholder {
        /* Edge 12 -18 */
        color: var(--main-color);
    }

.header-filter-search-icon {
    position: absolute;
    top: 5px;
    right: 5px;
}

.header-filter-select {
    width: calc(calc(100vw - 40px) / 2);
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 5px 8px 5px 8px;
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    background-color: var(--white-color);
    font-family: Persian-Medium;
    font-size: 14px;
    color: var(--main-color);
}

.header-filter-select-options {
    position: absolute;
    top: 32px;
    right: 0px;
    z-index: 110;
    background-color: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    width: calc(calc(100vw - 40px) / 2);
    height: 154px;
}

.header-filter-select-option {
    padding: 8px;
    width: 100%;
    font-family: Persian-Medium;
    font-size: 14px;
    color: var(--main-color);
    text-align: center;
    border-bottom: 0.5px solid var(--border-color);
}

/*#endregion header-filter*/

/*#region product-categories*/
.product-categories {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0px 8px;
    width: 100%;
}

.product-categories-title {
    font-family: Persian-SemiBold;
    font-size: 16px;
    color: var(--main-color);
    margin-bottom: 16px;
    text-align: center;
}

.product-category-items {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
}

    .product-category-items::-webkit-scrollbar {
        display: none;
    }

.product-category-item {
    width: 98px;
    height: 36px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    background-color: var(--white-color);
    box-shadow: -2px 2px 2px 0px var(--box-shadow-color);
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--main-color);
    margin: 0px 4px;
    display: inline-block;
}

.product-category-item-active {
    background-color: var(--border-color);
}

/*#endregion product-categories*/

/*#region bookmark-banner*/
.bookmark-banner {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.bookmark-banner-title {
    font-family: Persian-Bold;
    font-size: 16px;
    color: var(--main-color);
}

/*#endregion bookmark-banner*/

/*#region main*/
.main-vitrin {
}

.main-vitrin-withStoreCategories {
    margin-top: 192px;
}

.main-vitrin-withoutStoreCategories {
    margin-top: 107px;
}

.main-bookmark {
    margin-top: 138px;
}

/*#endregion main*/

/*#region product-cards*/
.product-cards {
    /* padding: 24px 16px 84px; */
    /*padding: 16px 16px 94px;*/
    /*padding: 16px 16px 56px;*/
    padding: 16px 16px 132px;
}

.product-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: -1px 1px 4px 0px var(--border-color);
}

.product-card-content {
    /*padding: 8px 8px 0px 5px;*/
    padding: 16px 8px 0px;
}

.product-card-image {
    /*width: 100px;*/
    /*height: 125px;*/
    /*width: 105px;*/
    height: 140px;
    width: 112px;
    /*aspect-ratio: 4/5;*/
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.product-card-cart-icon {
    position: absolute;
    top: -16px;
    right: -8px;
}

.product-card-cart-icon-badge {
    width:20px;
    height:20px;
    position: absolute;
    top: -5px;
    right: -2px;
    font-family: Persian-SemiBold;
    font-size: 12px;
    color: var(--main-color);
}

.product-card-details {
    /*height: 140px;*/
    padding-top: 6px;
}

.product-card-name {
    font-family: Persian-Bold;
    font-size: 14px;
    color: var(--main-color);
}

.product-card-price-number {
    font-family: Persian-Bold;
    font-size: 14px;
    color: var(--main-color);
}

.product-card-price-tooman {
    font-family: Persian-Regular;
    font-size: 10px;
    color: var(--main-color);
}

.product-card-code-text {
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--main-color);
    position: relative;
    top: 1px;
}

.product-card-code-value {
    font-family: Persian-Bold;
    font-size: 12px;
    color: var(--main-color);
}

.product-card-code-description {
    font-family: Persian-Bold;
    font-size: 12px;
    color: var(--main-color);
}

.product-card-select {
    /* width: 68px; */
    /* width: 70px; */
    /* width: 90px; */
    width: 68px;
    height: 32px;
    /* padding: 6px 6px 6px 4px; */
    /*padding: 8px;*/
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--body-color);
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    padding: 6px;
}

.product-card-select-icon {
    border: 0.5px solid var(--main-color);
    border-radius: 3px;
}

.product-card-size-selected {
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--main-color);
    position: relative;
    padding: 2px 0px 0px 0px;
}

.product-card-color-selected {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--main-color);
    position: relative;
    padding-top: 4px;
}

.product-card-select-options {
    position: absolute;
    top: 32px;
    right: 0px;
    z-index: 10;
    background-color: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    width: 90px;
    height: auto;
    max-height: 128px;
    overflow: auto;
}

.product-card-select-option-size {
    padding: 4px;
    width: 100%;
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--main-color);
    text-align: center;
    border-bottom: 0.5px solid var(--border-color);
}

.product-card-select-option-color {
    padding: 4px;
    width: 100%;
    font-family: Persian-Regular;
    font-size: 10px;
    color: var(--main-color);
    text-align: center;
    border-bottom: 0.5px solid var(--border-color);
}

.product-card-select-option-color-tester {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.product-card-addToCart-button {
    width: 56px;
    height: 32px;
    /*padding: 8px 10px;*/
    border: none;
    border-radius: 25px;
    background-color: var(--main-color);
    box-shadow: -2px 2px 4px 0px var(--box-shadow-color);
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--category-background-color);
    position: absolute;
    bottom: 4px;
    left: 0px;
}

.product-card-footer {
    /*padding-right:22px;*/
}

.product-card-footer-buttons {
    width: 64px;
    /*height: 34px;*/
    margin: 5px 24px 5px 0px;
}

.product-card-footer-description-button {
    /*width: 70px;*/
    /*height: 24px;*/
    width: 105px;
    height: 28px;
    /* border: 0.5px solid var(--main-color); */
    /*border-radius: 5px;*/
    border-radius: 0px 10px 0px 0px;
    background-color: var(--category-background-color);
    font-family: Persian-Medium;
    font-size: 10px;
    /*font-family: Persian-Regular;*/
    /*font-size: 10px;*/
    color: var(--main-color);
    /*box-shadow: -1px 1px 1px 0px var(--box-shadow-color);*/
    position: relative;
    left: -8px;
    bottom: -4px;
}

.product-card-description {
    background-color: var(--category-background-color);
    border-radius: 0px 0px 8px 8px;
    padding: 8px;
}

.product-card-description-text {
    font-family: Persian-Regular;
    font-size: 12px;
    color: var(--main-color);
}

.product-card-label {
    background-color: var(--discount-label-color);
    width: 44px;
    height: 44px;
    border-radius: 8px 0px 44px 0px;
    position: absolute;
    top: 0px;
    left: 0px;
    box-shadow: 0px 2px 2px 0px var(--box-shadow-color);
}

.product-card-label-icon {
    position: relative;
    top: 4px;
    right: 14px;
}

.product-card-outOfStock {
    filter: brightness(50%);
}

.product-card-outOfStock-label {
    background-color: var(--white-color);
    width: 66px;
    height: 66px;
    border-radius: 8px 0px 66px 0px;
    position: absolute;
    top: 0px;
    left: 0px;
    box-shadow: 0px 2px 2px 0px var(--box-shadow-color);
}

.product-card-outOfStock-label-text {
    font-family: Persian-Bold;
    font-size: 16px;
    color: var(--main-color);
    rotate: -45deg;
    display: inline-block;
    position: relative;
    top: 16px;
    right: 10px;
}

/*#endregion product-cards*/

/*#region vitrino-contactUs*/
.vitrino-contactUs {
    /*width: 100%;*/
    position: fixed;
    bottom: 56px;
    left: 16px;
    z-index: 100;
    width: 60px;
    border: 2px solid var(--main-color);
    border-radius: 15px;
    box-shadow: -4px 4px 4px 0px var(--box-shadow-color2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-sizing: border-box;
}

.vitrino-contactUs-collapsed {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.vitrino-contactUs-expanded {
    padding: 16px;
}

/*#endregion vitrino-contactUs*/

/*#region vitrino-customerPanel*/
.vitrino-customerPanel {
    /*width: 100%;*/
    position: fixed;
    bottom: 56px;
    right: 16px;
    z-index: 100;
    width: 60px;
    border: 2px solid var(--main-color);
    border-radius: 15px;
    box-shadow: -4px 4px 4px 0px var(--box-shadow-color2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-sizing: border-box;
}

.vitrino-customerPanel-collapsed {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.vitrino-customerPanel-expanded {
    padding: 16px;
}

/*#endregion vitrino-customerPanel*/

/*#region productGallery*/
.productGallery {
    /* width: 330px; */
    /* height: 504px; */
    background-color: var(--body-color);
    /* border: 1px solid var(--main-color); */
    border-radius: 10px;
    padding: 24px 0px;
    width: 100%;
}

.productGallery-closeButton {
    position: absolute;
    top: 4px;
    right: 4px;
}

.productGallery-title {
    font-family: Persian-Bold;
    font-size: 18px;
    color: var(--main-color);
}

/*swiper*/

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.swiperGallery {
    height: 360px;
    width: 100%;
    --swiper-pagination-color: var(--white-color);
    --swiper-navigation-color: var(--main-color);
}

.swiperGalleryThumbs {
    height: 20%;
    box-sizing: border-box;
    padding: 8px;
}

.swiperGallery .swiper-slide img {
    display: block;
    width: 250px;
    height: 312.5px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    border: 0.5px solid var(--border-color);
}

.swiperGalleryThumbs .swiper-slide img {
    display: block;
    width: 60px;
    height: 75px;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
    border: 0.5px solid var(--main-color);
}

.swiperGalleryThumbs .swiper-slide {
    width: 60px !important;
    height: 75px;
    border-radius: 5px;
    opacity: 0.4;
}

.swiperGalleryThumbs .swiper-slide-thumb-active {
    opacity: 1;
}

/*#endregion productGallery*/

/* #region cart */
#cartModal .modal-content {
    background-color: var(--body-color);
}

#cartModal .modal-header {
    height: 60px;
}

/*.cart-closeButton {
    position: absolute;
    top: 16px;
    right: 16px;
}*/

.cart-title {
    width: 100%;
    font-family: Persian-Bold;
    font-size: 14px;
    color: var(--main-color);
    text-align: center;
}

.empty-cart-text {
    font-family: Persian-SemiBold;
    font-size: 14px;
    color: var(--main-color);
}

.cart-cards {
    /*padding: 0px 12px 16px;*/
    padding-bottom: 16px;
    width: 100%;
}

.cart-card {
    width: 100%;
    padding: 8px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--white-color);
    box-shadow: -2px 2px 4px 0 var(--border-color);
}

.cart-card-image {
    width: 80px;
    height: 100px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.cart-card-details {
    /*padding: 8px 0px;*/
}

.cart-card-details-title {
    font-family: Persian-Bold;
    font-size: 12px;
    color: var(--main-color);
}

.cart-card-details-price-number {
    font-family: Persian-Bold;
    font-size: 12px;
    color: var(--main-color);
}

.cart-card-details-price-tooman {
    font-family: Persian-Regular;
    font-size: 10px;
    color: var(--main-color);
}

.cart-card-details-code-text {
    /*font-family: Persian-Regular;*/
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--main-color);
    position: relative;
    top: 2px;
}

.cart-card-details-code-value {
    /*font-family: Persian-Regular;*/
    font-family: Persian-Bold;
    font-size: 12px;
    color: var(--main-color);
}

.cart-card-details-feature {
    /*width: 46px;*/
    width: 50px;
    height: 23px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--body-color);
    font-family: Persian-Regular;
    font-size: 12px;
    color: var(--main-color);
}

.cart-card-details-feature-size-selected {
    position: relative;
    top: 3px;
}

.cart-card-details-feature-color-selected {
    /*width: 15px;*/
    width: 30px;
    height: 15px;
    border-radius: 3px;
}

.cart-card-trash-button {
    position: absolute;
    top: 8px;
    left: 8px;
}

.cart-card-quantity {
    height: 35px;
    position: absolute;
    /*bottom: 14px;*/
    bottom: 8px;
    /*left: 13px;*/
    left: 8px;
}

.cart-card-quantity-number {
    width: 26px;
    height: 100%;
    border: 0.5px solid var(--main-color);
    background-color: var(--category-background-color);
    box-shadow: -1px 1px 1px 0 var(--box-shadow-color);
    /*font-family: Persian-Medium;*/
    font-family: Persian-SemiBold;
    font-size: 12px;
    color: var(--main-color);
}

    .cart-card-quantity-number span {
        position: relative;
        top: 1px;
    }

.cart-card-quantity-button {
    width: 26px;
    height: 100%;
    border: 0.5px solid var(--main-color);
    background-color: var(--category-background-color);
    box-shadow: -1px 1px 1px 0 var(--box-shadow-color);
    cursor: pointer;
}

.cart-card-quantity-button-plus {
    border-radius: 0px 16px 16px 0px;
}

.cart-card-quantity-button-minus {
    border-radius: 16px 0px 0px 16px;
}

.cart-summary {
    width: 100%;
}

.cart-summary-items {
    padding: 8px 0px;
    border-top: 0.5px solid var(--main-color);
    border-bottom: 0.5px solid var(--main-color);
}

.cart-summary-item {
    padding: 8px 16px;
    border-bottom: 0.5px dashed var(--main-color);
}

    .cart-summary-item:last-of-type {
        border-bottom: none;
    }

    .cart-summary-item-title {
        font-family: Persian-Medium;
        font-size: 12px;
        color: var(--main-color);
    }

.cart-summary-item-value {
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--main-color);
}

.cart-summary-tooman {
    font-family: Persian-Regular;
    font-size: 10px;
    color: var(--main-color);
}

.cart-summary-payable {
    padding: 16px 16px 24px;
}

.cart-summary-payable-title {
    font-family: Persian-Bold;
    font-size: 12px;
    color: var(--main-color);
}

.cart-summary-payable-value {
    font-family: Persian-Bold;
    font-size: 12px;
    color: var(--main-color);
}

.cart-payment-button {
    /*width: 140px;*/
    /*height: 45px;*/
    padding: 14px 40px;
    border: 0.5px solid var(--main-color);
    border-radius: 49px;
    background-color: var(--discount-label-color);
    box-shadow: -1px 1px 1px 0 var(--box-shadow-color);
    font-family: Persian-Bold;
    font-size: 14px;
    color: var(--main-color);
    margin-bottom: 8px;
}

.cart-empty-text {
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--main-color);
}
/* #endregion cart */

/*#region others*/
.opacity-05 {
    opacity: 0.5;
}

.red-strikethrough {
    width: 100%;
    height: 1px;
    border-bottom: 1px solid var(--red-color);
    position: absolute;
    top: 9px;
    right: 0px;
}

/*#endregion others*/

.bookmarked-empty-text {
    padding: 16px;
    font-family: Persian-Medium;
    font-size: 12px;
    color: var(--main-color);
    text-align:center;
}