.topico {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    margin-left: 2.3rem;
    color: #333;
    margin-top: 0.1rem;
}
.topico i {
    font-size: 2.7rem;
    color: inherit;
}
.topico span {
    margin-top: 0.5rem !important;
    font-weight: inherit;
    color: inherit;
    cursor: pointer;
}
.topico .cart-count {
    position: absolute;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    font-style: normal;
    z-index: 1;
    left: 16px;
    top: 10px;
    font-family: yekan;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8rem;
    background: #FF7272;
    color: #fff;
    text-align: center;
}
.header-search.hs-expanded input.form-control {
    border-right: 2px solid #0088cc;
}
.header-middle {
    padding-top: 1.2rem;
    padding-bottom: 1.3rem;
}
.header-bottom .header-right > a i.w-icon-instagram {
    font-size: 2.2rem;
}
.header-bottom .header-right > a i {
    font-size: 2.2rem;
}
.btn-instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d, #f56040, #f77737, #fcaf45, #ffdc80);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-top {
    padding: 1.8rem 0 0.8rem !important;
}
.footer-top .widget {
    margin-bottom: 0 !important;
}
.dastnevis{
    font-family: 'dastnevis' !important;
    font-weight: normal !important;
}

.social-icons-colored .social-icon.social-telegram,.social-telegram:hover {
    border-color: #0088cc;
    background-color: #0088cc;
}
.footer-sticky.fix-bottom {
    bottom: 0;
}
.footer-sticky.fixed.fix-bottom {
    -webkit-animation: fixedBottomContent 0.4s;
    animation: fixedBottomContent 0.4s;
}
.pg-title {
    margin: 10px 0px;
    font-size: 24px;
    color:#838080;
    /* border-bottom: 1px solid; */
}
.breadcrumb-nav{
    /*background-color: #eee;*/
}
@media (min-width: 768px) {
    .offset-md-2 {
        margin-right: 16.666667%
    }
}
.mb-2rem
{
    margin-bottom: 0.2rem !important;
}
.page-item-link a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 3rem;
    height: 4rem;
    background-color: transparent;
    border: 1px solid transparent;
    -webkit-transition: background-color 0.4s, border 0.4s, color 0.4s;
    transition: background-color 0.4s, border 0.4s, color 0.4s;
    line-height: 1;
}

.mobile-search .input-wrapper .btn-search {
    padding: 0;
    min-width: 4.8rem;
    background-color: transparent;
    color: #000;
    font-size: 2rem;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    border: 1px solid #eee;
    border-right: 0;
    border-radius: 0.3rem 0 0 0.3rem;
}
.mobile-search .input-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 3rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin-bottom: 5px ;
}

@media (max-width: 760px) {

    .header-middle {
        border-bottom: none;
    }
}

.product-single .product-title {
    font-size: 2.0rem;
}

.category-list-border-top{
    border-bottom: 0px;
    border-top: 1px solid #eee;
    padding-top: 3.5rem;
}

.btn-sizing{
    margin-bottom: 1rem;
}

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

/* Modal Dialog Box */
.modal-dialog {
    position: relative;
    margin: 10% auto;
    max-width: 500px;
}

/* Modal Content */
.modal-content {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s;
}

/* Modal Header/Footer */
.modal-header, .modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.7rem;
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-open {
    overflow: hidden;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.modal.modal-static .modal-dialog {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
    content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
    max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
    content: none;
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal-header .close {
    padding: 1rem 1rem;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

.modal-footer > * {
    margin: 0.25rem;
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem);
    }
    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 3.5rem);
    }
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
    .modal-dialog-centered::before {
        height: calc(100vh - 3.5rem);
        height: -webkit-min-content;
        height: -moz-min-content;
        height: min-content;
    }
    .modal-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px;
    }
}
.close {
    float: left;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.close:hover {
    color: #000;
    text-decoration: none;
}

.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
    opacity: .75;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
}

a.close.disabled {
    pointer-events: none;
}

.table-sizing table {
    width: 100% !important;
}
.table-sizing table td,.table-sizing table th {
    text-align: center;
}
.table-sizing table thead tr {
    /*
    background-color: #e0e0e0;
    */
}
.table-sizing table tr td,.table-sizing table tr th {
    box-shadow: none !important;
    border: none !important;
    padding: 1rem;
}
.table-sizing table tr td:first-child {
    border-left: 1px solid #e0e0e0 !important;
    width: 250px;
}

.table-details table {
    border-collapse: collapse;
    width: 100%;
    font-family: yekan !important;
    font-size: 14px;
    color: #333;
}

.table-details th,
.table-details td {
    text-align: right;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

/* ???? ??? (????? ?????) */
.table-details th {
    white-space: nowrap;
    font-size: 14px;
    color: #333;
    padding: 8px 12px;
    font-weight: normal;
    text-align: right;
}

/* ???? ??? (????? ?????) */
.table-details td {
    /*width: 30%;*/
}

/* ??? ????? ??? */
.table-details table,
.table-details tr {
    border: none;
}

.product-single .product-size-swatch .size.active {
    border: 2px solid #008000;
    color: #008000;
    font-weight: bold;
}
.product-single .product-size-swatch .size {
    width: 70px !important;
}
.product-single .product-size-swatch .size:hover {
    border: 2px solid #008000;
    color: #008000;
    font-weight: bold;
}
/*
.size.disabled,.color.disabled {
color: #cacaca;
pointer-events: none; /!* ??????? ???? *!/
cursor: default;
opacity: 0.3;
}
*/

/* استایل فقط برای custom-variations */

.product-variations.custom-variations .variation-btn.active .checkmark::before {
    content: "\2714"; /* ✔ */
    color: #28a745;
    font-size: 10px;
    position: absolute;
    top: -6px;
    right: -6px;
    background: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border: 1px solid #28a745;
}

.product-variations.custom-variations .color-box {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50px;
    margin-left: 5px;
    border: 1px solid #ccc;
}


.product-variations.custom-variations .variation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 8px 16px;
    margin: 5px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    background: #fff;
}

/* وقتی فعال شد */
.product-variations.custom-variations .variation-btn.active {
    border-color: #28a745;
    font-weight: bold;
    color: #28a745;
}


.product-single .product-form label
{
    max-width: 4.5rem;
}

#cart-content {
    position: relative;
    transition: opacity 0.2s ease;
}

#cart-content.loadingcart {
    opacity: 0.4;
    pointer-events: none;
}

.cart-overlay-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
