.mlm-rating-feedback-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mlm-rating-feedback-dialog {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    padding: 20px;
    width: min(480px, 92%);
    text-align: right;
    direction: rtl;
    position: relative;
}

.mlm-rating-feedback-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
}

.mlm-rating-feedback-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.mlm-rating-feedback-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #f59e0b;
}

.mlm-rating-feedback-icon[data-state="positive"] {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.mlm-rating-feedback-icon[data-state="negative"] {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

.mlm-rating-feedback-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.mlm-rating-feedback-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.7;
}

.mlm-rating-feedback-tags-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.mlm-rating-feedback-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.mlm-rating-feedback-tag-option {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 6px 10px;
    font-size: 0.75rem;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.mlm-rating-feedback-tag-option input {
    accent-color: #f97316;
}

.mlm-rating-feedback-textwrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.mlm-rating-feedback-textwrap label {
    font-size: 0.8rem;
    color: #6b7280;
}

.mlm-rating-feedback-textwrap textarea {
    min-height: 90px;
    resize: vertical;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #1f2937;
    background: #fbfbfb;
}

.mlm-rating-feedback-textwrap textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    background: #ffffff;
}

.mlm-rating-feedback-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.mlm-rating-feedback-actions button {
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.85rem;
    cursor: pointer;
}

.mlm-rating-feedback-skip {
    background: #f3f4f6;
    color: #1f2937;
}

.mlm-rating-feedback-submit {
    background: #f97316;
    color: #fff;
    font-weight: 600;
}

.mlm-rating-feedback-submit:hover {
    background: #f97316;
    opacity: .92;
}

.mlm-rating-feedback-overlay .mlm-rating-feedback-skip:hover,
.mlm-rating-feedback-close:hover {
    opacity: .8;
}

.mlm-comment-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: rgba(249, 250, 251, 0.9);
    font-size: 0.85rem;
    color: #374151;
}

.mlm-comment-rating-label {
    font-weight: 600;
    color: #111827;
}

.mlm-comment-rating-stars {
    display: inline-flex;
    gap: 3px;
    font-size: 1rem;
    line-height: 1;
}

.mlm-comment-rating-star {
    color: #d1d5db;
}

.mlm-comment-rating-star.is-active {
    color: #f59e0b;
}

.mlm-comment-rating-score {
    margin-right: auto;
    font-weight: 500;
    color: #f97316;
}

.mlm-comment-rating-field {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
}

.mlm-comment-rating-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2937;
}

.mlm-comment-rating-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    font-size: 0.95rem;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mlm-comment-rating-field select:focus {
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
    background: #ffffff;
}

.mlm-comment-rating-field .description {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

.mlm-comment-rating-field-message {
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

html {
    font-family: mlmfont, tahoma, sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    direction: rtl;
    unicode-bidi: embed;
    overflow-x: hidden;
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #333;
    background-color: #fdfdfd;
}

a:hover,
a:focus {
    text-decoration: none;
}

a:focus,
button:focus {
    outline: 0;
}

body,
button,
input,
select,
textarea {
    font-family: mlmfont, tahoma, sans-serif;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
    color: rgba(167, 177, 175, 1);
    font-family: mlmfont, tahoma, sans-serif;
}

:-moz-placeholder {
    color: rgba(167, 177, 175, 1);
    font-family: mlmfont, tahoma, sans-serif;
}

::-moz-placeholder {
    color: rgba(167, 177, 175, 1);
    font-family: mlmfont, tahoma, sans-serif;
    opacity: 1;
    /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
    color: rgba(167, 177, 175, 1);
    font-family: mlmfont, tahoma, sans-serif;
}

b,
strong {
    font-weight: 600;
}

img,
object,
figure,
embed {
    max-width: 100%;
    height: auto;
    border: 0;
}

iframe {
    max-width: 100%;
    border: 0;
}

legend {
    font-size: 14px;
    font-weight: 600;
    line-height: 28px;
}

table {
    width: 100%;
    border: 1px solid #dedede;
    border-spacing: 0;
    border-collapse: separate;
    vertical-align: middle;
}

thead {
    font-size: 1em;
    background-color: #eee;
    color: #333;
}

th {
    font-weight: bold;
    color: #333;
}

th,
td {
    padding: 0.5em;
    border: 1px solid #dedede;
    border-right-width: 0;
    border-top-width: 0;
    text-align: right;
}

th:last-child,
td:last-child {
    border-left-width: 0;
}

tr:last-child td,
tr:last-child th {
    border-bottom-width: 0;
}

thead tr:last-child td,
thead tr:last-child th {
    border-bottom-width: 1px;
}

tfoot tr:first-child td,
tfoot tr:first-child th {
    border-top-width: 1px;
}

button,
input {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    line-height: normal;
}

input,
select,
button,
textarea {
    font-family: mlmfont, tahoma, sans-serif;
    font-weight: 400;
}

select:not(.form-control):not(.simple),
input[type="text"]:not(.form-control),
input[type="url"]:not(.form-control),
input[type="email"]:not(.form-control),
input[type="password"]:not(.form-control),
input[type="number"]:not(.form-control),
input[type="tel"]:not(.form-control),
input[type="range"]:not(.form-control),
input[type="search"]:not(.form-control) {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    color: #444444;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d4d4d4;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

select:not(.form-control):not(.simple):focus,
input[type="text"]:not(.form-control):focus,
input[type="url"]:not(.form-control):focus,
input[type="email"]:not(.form-control):focus,
input[type="password"]:not(.form-control):focus,
input[type="number"]:not(.form-control):focus,
input[type="tel"]:not(.form-control):focus,
input[type="range"]:not(.form-control):focus,
input[type="search"]:not(.form-control):focus {
    color: #444444;
    background-color: #fff;
    border-color: #d0d0d0;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

textarea:not(.form-control) {
    display: block;
    width: 100%;
    min-height: 80px;
    padding: .375rem .75rem;
    color: #444444;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d0d0d0;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    resize: vertical;
}

textarea:not(.form-control):focus {
    color: #444444;
    background-color: #fff;
    border-color: #d0d0d0;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.button:not(.btn),
button[type="submit"]:not(.btn),
input[type="submit"]:not(.btn),
input[type="button"]:not(.btn) {
    border: 0;
    margin: 0;
    outline: none;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

input[readonly="readonly"] {
    background-color: #f5f5f5;
}

.btn-mlm,
.button:not(.btn),
button[type="submit"]:not(.btn),
input[type="submit"]:not(.btn) {
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding: .175rem .75rem;
    line-height: 24px;
    height: auto;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: .25rem;
}

.btn-mlm:hover,
.button:not(.btn):hover,
button[type="submit"]:not(.btn):hover,
input[type="submit"]:not(.btn):hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-mlm:focus,
.button:not(.btn):focus,
button[type="submit"]:not(.btn):focus,
input[type="submit"]:not(.btn):focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, .5);
}

label {
    color: #333;
    font-size: 13px;
    font-weight: 500;
}

blockquote {
    padding: 15px;
    color: #010101;
    background-color: #f8f9fa;
    border-bottom: 4px solid #007bff;
}

blockquote p:last-child {
    margin: 0;
}

.image-border,
.wp-caption {
    padding: 3px;
    background-color: #f8f9fa;
    border: 1px solid #eee;
}

.gallery-caption,
.wp-caption-text,
.wp-caption-dd {
    margin: 0;
    padding: 8px;
    background-color: #f8f9fa;
    text-align: center;
}

.clear {
    clear: both;
}

.clearfix:after {
    display: table;
    clear: both;
    content: " ";
}

.nobreak {
    white-space: nowrap;
}

.hidden {
    display: none;
}

.visible {
    display: block;
    opacity: 1 !important;
}

.alignnone {
    margin: 0.5em 0 0 0;
}

.alignright {
    float: right;
    margin: 0 0 1em 20px;
}

.alignleft {
    float: left;
    margin: 0 20px 1em 0;
}

.aligncenter {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.alignvertical {
    margin: 0.6em 0 0.25em;
}

.textleft {
    text-align: left;
}

.textright {
    text-align: right;
}

.gallery-item {
    display: inline-block;
    padding: 1.79104477%;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery .gallery-caption {
    color: #707070;
    display: block;
    font-size: 14px;
    line-height: 1.5;
    padding: 7px 0;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

.ltr {
    direction: ltr;
}

.transition {
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bold-icon:before {
    font-weight: 600;
}

.bold-300 {
    font-weight: 300 !important;
}

.bold-400 {
    font-weight: 400 !important;
}

.bold-500 {
    font-weight: 500 !important;
}

.bold-600 {
    font-weight: 600 !important;
}

.bold-900 {
    font-weight: 900 !important;
}

.font-10 {
    font-size: 10px !important;
}

.font-11 {
    font-size: 11px !important;
}

.font-12 {
    font-size: 12px !important;
}

.font-13 {
    font-size: 13px !important;
}

.font-14 {
    font-size: 14px !important;
}

.font-15 {
    font-size: 15px !important;
}

.font-16 {
    font-size: 16px !important;
}

.font-17 {
    font-size: 17px !important;
}

.font-18 {
    font-size: 18px !important;
}

.font-19 {
    font-size: 19px !important;
}

.font-20 {
    font-size: 20px !important;
}

.line-1 {
    line-height: 1rem !important;
}

.line-15 {
    line-height: 1.5rem !important;
}

.line-2 {
    line-height: 2rem !important;
}

.ellipsis {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.icon-aparat {
    width: 38px;
    position: relative;
}

.icon-aparat:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 50%;
    margin-top: -7px;
    margin-right: -7px;
    width: 18px;
    height: 18px;
    background-image: url(../img/aparat-16.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.icon-aparat.white:before {
    background-image: url(../img/aparat-16-white.png);
}

.icon-aparat-large {
    width: 52px;
    position: relative;
}

.icon-aparat-large:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 50%;
    margin-top: -10px;
    margin-right: -10px;
    width: 20px;
    height: 20px;
    background-image: url(../img/aparat-32.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.icon-aparat-large.white:before {
    background-image: url(../img/aparat-32-white.png);
}

/**
 * SWEET ALERT
 */
.swal-footer {
    text-align: left !important;
}

.swal-text {
    text-align: right !important;
}

form.loading {
    position: relative;
}

form.loading:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: .25rem;
    z-index: 99;
}

form.loading:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 50%;
    margin-right: -1.5em;
    margin-top: -1.5em;
    width: 3rem;
    height: 3rem;
    border: .25em solid #fff;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
    z-index: 100;
}

/**
 * PACE
 */
.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #ed2324;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 2px;
}

.pace .pace-progress-inner {
    display: block;
    position: absolute;
    right: 0px;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px #ed2324, 0 0 5px #ed2324;
    opacity: 1.0;
    -webkit-transform: rotate(3deg) translate(0px, -4px);
    -moz-transform: rotate(3deg) translate(0px, -4px);
    -ms-transform: rotate(3deg) translate(0px, -4px);
    -o-transform: rotate(3deg) translate(0px, -4px);
    transform: rotate(3deg) translate(0px, -4px);
}

.pace .pace-activity {
    display: block;
    position: fixed;
    z-index: 2000;
    top: 15px;
    right: 15px;
    width: 14px;
    height: 14px;
    border: solid 2px transparent;
    border-top-color: #ed2324;
    border-left-color: #ed2324;
    border-radius: 10px;
    -webkit-animation: pace-spinner 400ms linear infinite;
    -moz-animation: pace-spinner 400ms linear infinite;
    -ms-animation: pace-spinner 400ms linear infinite;
    -o-animation: pace-spinner 400ms linear infinite;
    animation: pace-spinner 400ms linear infinite;
}

@-webkit-keyframes pace-spinner {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes pace-spinner {
    0% {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes pace-spinner {
    0% {
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes pace-spinner {
    0% {
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes pace-spinner {
    0% {
        transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/**
 * Date picker
 */
.ui-datepicker {
    display: none;
    width: 240px;
    margin-top: 4px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    z-index: 100 !important;
}

.ui-datepicker a,
.ui-datepicker a:hover {
    color: #6c757d;
    text-decoration: none;
    -webkit-transition: color 0.1s ease-in-out;
    -moz-transition: color 0.1s ease-in-out;
    -o-transition: color 0.1s ease-in-out;
    transition: color 0.1s ease-in-out;
}

.ui-datepicker a:hover,
.ui-datepicker td:hover a {
    color: #007bff;
}

.ui-datepicker .ui-datepicker-header {
    padding: 4px 0;
    text-align: center;
    overflow: hidden;
}

.ui-datepicker .ui-datepicker-prev {
    float: right;
    text-align: right;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-next {
    float: left;
    text-align: left;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-calendar {
    table-layout: fixed;
    width: 100%;
    border-color: #f1f1f1;
}

.ui-datepicker .ui-datepicker-calendar th,
.ui-datepicker .ui-datepicker-calendar td {
    text-align: center;
    padding: 4px 0;
    font-size: 12px;
    border-color: #f1f1f1;
}

.ui-datepicker .ui-datepicker-calendar td {
    border-radius: 0;
    -webkit-transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    -moz-transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    -o-transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
}

.ui-datepicker .ui-datepicker-calendar td:hover {
    background-color: #eee;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-calendar td a {
    text-decoration: none;
}

.ui-datepicker .ui-datepicker-current-day {
    color: #fff;
    background-color: #007bff;
}

.ui-datepicker .ui-datepicker-current-day a {
    color: #fff
}

.ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover {
    background-color: #fff;
    cursor: default;
}

.ui-datepicker .ui-state-disabled {
    color: #eee;
}

select.ui-datepicker-month,
select.ui-datepicker-year {
    width: 75px !important;
    display: inline-block !important;
    font-size: 11px !important;
    padding: 0 !important;
    line-height: 20px !important;
    height: 20px !important;
}

select.ui-datepicker-year {
    float: right;
    margin-right: 10px;
}

select.ui-datepicker-month {
    float: left;
    margin-left: 10px;
}

/**
 * SELECT2
 */
.select2-container--default .select2-search--inline .select2-search__field,
.select2-container--default .select2-search--inline .select2-search__field:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/**
 * BOOTSTRAP
 */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

.h1,
h1 {
    font-size: 24px;
}

.h2,
h2 {
    font-size: 20px;
}

.h3,
h3 {
    font-size: 18px;
}

.h4,
h4 {
    font-size: 16px;
}

.h5,
h5 {
    font-size: 14px;
}

.h6,
h6 {
    font-size: 13px;
}

.nav {
    padding-right: 0;
    padding-left: inherit;
}

.navbar-nav {
    padding-right: 0;
    padding-left: inherit;
}

.list-inline-item:not(:last-child) {
    margin-left: .5rem;
    margin-right: 0;
}

.tooltip {
    font-size: 12px;
    font-family: mlmfont, tahoma, sans-serif;
}

.tooltip>.tooltip-inner {
    background-color: #007bff;
}

.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #007bff;
}

.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #007bff;
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #007bff;
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #007bff;
}

.btn-group>.btn-group:not(:last-child)>.btn,
.btn-group>.btn:not(:last-child):not(.dropdown-toggle),
.input-group>.custom-select:not(:last-child),
.input-group>.form-control:not(:last-child) {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-group>.btn-group:not(:first-child)>.btn,
.btn-group>.btn:not(:first-child),
.input-group>.input-group-append>.btn,
.input-group>.input-group-append>.input-group-text,
.input-group>.input-group-prepend:first-child>.btn:not(:first-child),
.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),
.input-group>.input-group-prepend:not(:first-child)>.btn,
.input-group>.input-group-prepend:not(:first-child)>.input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.mlm-rounded.btn-group>.btn-group:not(:last-child)>.btn,
.mlm-rounded.btn-group>.btn:not(:last-child):not(.dropdown-toggle),
.mlm-rounded.input-group>.custom-select:not(:last-child),
.mlm-rounded.input-group>.form-control:not(:last-child) {
    border-top-right-radius: 50rem;
    border-bottom-right-radius: 50rem;
}

.mlm-rounded.btn-group>.btn-group:not(:first-child)>.btn,
.mlm-rounded.btn-group>.btn:not(:first-child),
.mlm-rounded.input-group>.input-group-append>.btn,
.mlm-rounded.input-group>.input-group-append>.input-group-text,
.mlm-rounded.input-group>.input-group-prepend:first-child>.btn:not(:first-child),
.mlm-rounded.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),
.mlm-rounded.input-group>.input-group-prepend:not(:first-child)>.btn,
.mlm-rounded.input-group>.input-group-prepend:not(:first-child)>.input-group-text {
    border-top-left-radius: 50rem;
    border-bottom-left-radius: 50rem;
}

.input-group-append .btn+.btn,
.input-group-append .btn+.input-group-text,
.input-group-append .input-group-text+.btn,
.input-group-append .input-group-text+.input-group-text,
.input-group-prepend .btn+.btn,
.input-group-prepend .btn+.input-group-text,
.input-group-prepend .input-group-text+.btn,
.input-group-prepend .input-group-text+.input-group-text,
.input-group-append {
    margin-left: 0;
    margin-right: -1px;
}

.btn,
.form-control {
    font-size: 13px;
    line-height: 24px;
}

.form-control {
    border-color: #eee;
    height: auto;
}

.alert-dismissible {
    padding-right: 1.25rem;
    padding-left: 4rem;
}

.alert-dismissible .close {
    left: 0;
    right: auto;
}

.dropdown-menu {
    right: 0;
    left: auto;
    float: right;
    min-width: 220px;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-align: right;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.dropdown-item {
    padding: .35rem 1.5rem;
    color: #333;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #007bff;
    background: transparent;
}

.dropdown-toggle::after {
    margin-left: 0;
    margin-right: .255em;
    vertical-align: middle;
}

.modal-footer>:not(:last-child) {
    margin-right: 0;
    margin-left: .25rem;
}

.modal-footer {
    -ms-flex-pack: start;
    justify-content: flex-start;
}

html.modal-open {
    -ms-overflow-style: scrollbar;
    overflow: hidden;
    height: 100%;
}

body.modal-open {
    overflow: auto !important;
    height: 100%;
}

.form-check {
    padding-left: 0;
    padding-right: 1.25rem;
}

.form-check-inline {
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
    margin-left: .75rem;
}

.form-check-input {
    margin-left: 0;
    margin-right: -1.25rem;
}

.form-check-inline .form-check-input {
    margin-left: .3125rem;
    margin-right: 0;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0;
    padding-right: .5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    padding-right: 0;
    padding-left: .5rem;
    color: #ffc107;
}

.breadcrumb-item+.breadcrumb-item a {
    color: #343a40;
}

.text-warning {
    color: #ffc107 !important
}

/**
 * COMMENTS
 */
.mlm-comments-box .comment-list {
    list-style: none;
}

.mlm-comments-box .comment-list .children {
    display: block;
    list-style: none;
    margin: 0;
    padding: 15px 15px 15px 0;
}

.mlm-comments-box .comment-list>li,
.mlm-comments-box .children>li {
    margin-bottom: 10px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
}

.mlm-comments-box .comment-list .children>li {
    box-shadow: none;
}

.mlm-comments-box .comment-list .comment-meta {
    overflow: hidden;
    margin-bottom: 15px;
}

.mlm-comments-box .comment-list .comment-author a {
    color: #333;
}

.mlm-comments-box .comment-list .comment-author .says {
    display: none;
}

.mlm-comments-box .comment-list .comment-author .avatar {
    display: block;
    float: right;
    margin-left: 10px;
    border-radius: 50%;
}

.mlm-comments-box .comment-list .comment-metadata a {
    color: #333;
    font-size: 11px;
}

.mlm-comments-box .comment-list .comment-metadata a.comment-edit-link {
    padding: 1px 8px;
    border: 1px solid #dedede;
    border-radius: 3px;
}

.mlm-comments-box .comment-list .comment-content {
    clear: both;
}

.mlm-comments-box #cancel-comment-reply-link,
.mlm-comments-box .comment-list .comment-reply-link {
    display: inline-block;
    padding: 0 10px;
    color: #fff;
    background-color: #6c757d;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #6c757d;
    border-radius: .2rem;
    transition: all .2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mlm-comments-box #cancel-comment-reply-link:hover,
.mlm-comments-box .comment-list .comment-reply-link:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

.mlm-comments-box #cancel-comment-reply-link:focus,
.mlm-comments-box .comment-list .comment-reply-link:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, .5);
}

.mlm-comments-box .no-comments,
.mlm-comments-box .comment-respond .logged-in-as a {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
}

.mlm-comments-box .comment-form .form-submit input[type="submit"] {
    display: block;
    width: 100%;
}

.mlm-comments-box .comment-nav .comment-nav-prev {
    float: right;
}

.mlm-comments-box .comment-nav .comment-nav-next {
    float: left;
}

.mlm-comments-box .mlm-interaction .icon:before {
    position: relative;
    left: -2px;
    top: 1px;
    font-size: 10px;
}

/**
 * HEADER
 */
.mlm-header {
    border-bottom: 1px solid #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.mlm-header .mlm-ajax-search .input-group {
    min-width: 280px;
}

.mlm-header .mlm-ajax-search .input-group>.form-control:not(:last-child) {
    border-top-right-radius: 50rem;
    border-bottom-right-radius: 50rem;
}

.mlm-header .mlm-ajax-search .input-group>.input-group-append>.btn {
    border-top-left-radius: 50rem;
    border-bottom-left-radius: 50rem;
}

.mlm-header .mlm-ajax-search .btn .icon:before {
    line-height: 28px;
}

.mlm-header .notification-btn {
    color: #999;
}

.mlm-header .notification-btn.new-note:before {
    content: "";
    position: absolute;
    right: 3px;
    top: 4px;
    width: 6px;
    height: 6px;
    background-color: #FF9800;
    border-radius: 50rem;
}

.mlm-header .notification-btn .icon:before {
    display: block;
    font-size: 20px;
    line-height: 34px;
}

.mlm-header .mlm-logo img {
    max-width: 200px;
    max-height: 80px;
}

.mlm-header .mlm-top-nav .nav-link {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    line-height: 30px;
    border-bottom: 1px solid #eee;
}

.mlm-header .mlm-top-nav .nav-link.icon:before {
    position: relative;
    top: 3px;
    left: 10px;
    font-size: 20px;
    line-height: 18px;
}

.mlm-header .mlm-top-nav .nav-link:hover,
.mlm-header .mlm-top-nav .nav-link:focus {
    border-color: #007bff;
}

.mlm-header .mlm-main-nav.fixed-menu {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 1px solid #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mlm-header .mlm-main-nav>li {
    position: relative;
}

.mlm-header .mlm-main-nav>li>a,
.mlm-header .mlm-main-nav>li>span {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0;
}

.mlm-header .mlm-secondary-nav .icon:before,
.mlm-header .mlm-main-nav .icon:before {
    display: inline-block;
    position: relative;
    top: 2px;
    margin: 0 3px;
    font-size: 14px;
}

.mlm-header .mlm-main-nav>li.menu-item-has-children:hover>a:after,
.mlm-header .mlm-main-nav li:hover>a {
    color: #333;
}

.mlm-header .mlm-main-nav>li.menu-item-has-children>a:after {
    margin-right: 8px;
    content: "\ea3e";
    color: #b9b9b9;
    font-family: 'marketmlm';
    float: left;
    font-size: 10px;
}

.mlm-header .mlm-main-nav ul.sub-menu {
    position: absolute;
    width: 210px;
    background: #fff;
    top: 40px;
    right: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 999;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transform: translateY(15px);
    -moz-transform: translateY(15px);
    -o-transform: translateY(15px);
    -ms-transform: translateY(15px);
    transform: translateY(15px);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    border-top: 3px solid #333;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    pointer-events: none;
}

.mlm-header .mlm-main-nav ul.sub-menu:before {
    content: " ";
    display: block;
    position: absolute;
    top: -12px;
    right: 30px;
    float: right;
    border-bottom: 10px solid #333;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    z-index: 9;
}

.mlm-header .mlm-main-nav li:hover>ul.sub-menu {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    pointer-events: all;
}

.mlm-header .mlm-main-nav>li.menu-item-has-children:hover>a:after,
.mlm-header .mlm-main-nav li:hover>a {
    color: #333;
}

.mlm-header .mlm-main-nav ul.sub-menu>li {
    display: block;
    clear: both;
    position: relative;
    margin: 0;
    padding: 0;
}

.mlm-header .mlm-main-nav ul.sub-menu>li>a {
    display: block;
    padding: 10px;
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.mlm-header .mlm-main-nav ul.sub-menu>li>a:hover {
    background: #333;
    color: #fff;
}

.mlm-header .mlm-main-nav ul.sub-menu ul.sub-menu {
    top: 0;
    right: 100%;
}

.mlm-header .mlm-main-nav ul.sub-menu ul.sub-menu:before {
    display: none;
}

.mlm-header .mlm-main-nav ul.sub-menu>li.menu-item-has-children>a:after {
    margin-right: 8px;
    content: "\ea40";
    color: #b9b9b9;
    font-family: 'marketmlm';
    float: left;
    font-size: 10px;
}

.mlm-header .mlm-main-nav ul.sub-menu>li.menu-item-has-children:hover>a {
    background: #333;
    color: #fff;
}

.mlm-header .mlm-main-nav ul.sub-menu>li.menu-item-has-children:hover>a:after {
    color: #fff;
}

/* MEGA MENU */
.mlm-header .mlm-main-nav>li.this-is-mega-menu {
    position: initial;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu>ul.sub-menu {
    right: 0;
    left: 0;
    top: 48px;
    width: 100%;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu ul.sub-menu:before,
.mlm-header .mlm-main-nav>li.this-is-mega-menu ul.sub-menu>li.menu-item-has-children>a:after {
    content: none;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu>ul.sub-menu>li {
    display: block;
    position: relative;
    overflow: hidden;
    clear: none;
    float: right;
    width: 25%;
    margin: 0;
    padding: 7px;
    border: 0;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu>ul.sub-menu>li:nth-child(4n+1) {
    clear: both;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu>ul.sub-menu>li>.sub-menu {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    top: 0;
    right: 0;
    width: auto;
    border: 0;
    list-style: none;
    border-top: 1px solid #eee;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu>ul.sub-menu>li>.sub-menu>li {
    display: block;
    clear: both;
    margin: 0;
    padding: 3px 0;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu a.icon {
    position: relative;
    padding-right: 44px;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu a.icon:before {
    display: block;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36px;
    margin: 0;
    color: #fff;
    background-color: #F44336;
    text-align: center;
    line-height: 40px;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu li:nth-child(8n+2)>a.icon:before {
    background-color: #9C27B0;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu li:nth-child(8n+3)>a.icon:before {
    background-color: #2196F3;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu li:nth-child(8n+4)>a.icon:before {
    background-color: #009688;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu li:nth-child(8n+5)>a.icon:before {
    background-color: #CDDC39;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu li:nth-child(8n+6)>a.icon:before {
    background-color: #FF9800;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu li:nth-child(8n+7)>a.icon:before {
    background-color: #795548;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu li:nth-child(8n+8)>a.icon:before {
    background-color: #607D8B;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu .menu-item-has-children li>a.icon:before {
    background-color: #607D8B;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu .menu-item-has-children li:nth-child(8n+2)>a.icon:before {
    background-color: #795548;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu .menu-item-has-children li:nth-child(8n+3)>a.icon:before {
    background-color: #FF9800;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu .menu-item-has-children li:nth-child(8n+4)>a.icon:before {
    background-color: #CDDC39;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu .menu-item-has-children li:nth-child(8n+5)>a.icon:before {
    background-color: #009688;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu .menu-item-has-children li:nth-child(8n+6)>a.icon:before {
    background-color: #2196F3;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu .menu-item-has-children li:nth-child(8n+7)>a.icon:before {
    background-color: #9C27B0;
}

.mlm-header .mlm-main-nav>li.this-is-mega-menu .menu-item-has-children li:nth-child(8n+8)>a.icon:before {
    background-color: #F44336;
}

/* CART BUTTON */
.mlm-header .mlm-main-nav a.mlm-cart-btn {
    position: relative;
}

.mlm-header .mlm-main-nav a.mlm-cart-btn .quantity {
    display: block;
    position: absolute;
    top: -6px;
    right: 50%;
    height: 20px;
    width: 20px;
    margin-right: -10px;
    color: #fff;
    background: #007bff;
    line-height: 20px;
    text-align: center;
}

.mlm-header .mlm-main-nav a.mlm-cart-btn .quantity:after {
    content: " ";
    display: block;
    position: relative;
    float: right;
    margin-top: -5px;
    border-top: 10px solid #007bff;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    z-index: 9;
}

.mlm-header .mlm-main-nav a.mlm-cart-btn .icon {
    display: block;
    line-height: 20px;
    text-align: center;
    margin-top: 8px;
}

.mlm-header .mlm-main-nav a.mlm-cart-btn .quantity.empty-cart {
    display: none;
}

.mlm-header .mlm-main-nav a.mlm-cart-btn .icon.empty-cart {
    margin-top: 0;
}

/* TOGGLE BTN */
.mlm-header .toggle-quru {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 36px;
    height: 36px;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.mlm-header .toggle-quru:focus {
    outline: none;
}

.mlm-header .toggle-quru span {
    display: block;
    position: absolute;
    top: 16px;
    left: 7px;
    right: 7px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

.mlm-header .toggle-quru span::before,
.mlm-header .toggle-quru span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    content: "";
}

.mlm-header .toggle-quru span::before {
    top: -7px;
}

.mlm-header .toggle-quru span::after {
    bottom: -7px;
}

.mlm-header .toggle-daha {
    background-color: #fff;
}

.mlm-header .toggle-daha span {
    transition: transform 0.3s;
}

.mlm-header .toggle-daha span::before {
    transform-origin: top left;
    transition: transform 0.3s, width 0.3s, top 0.3s;
}

.mlm-header .toggle-daha span::after {
    transform-origin: bottom left;
    transition: transform 0.3s, width 0.3s, bottom 0.3s;
}

.mlm-header .toggle-daha.is-active span {
    transform: rotate(180deg);
}

.mlm-header .toggle-daha.is-active span::before,
.mlm-header .toggle-daha.is-active span::after {
    width: 50%;
}

.mlm-header .toggle-daha.is-active span::before {
    top: 0;
    transform: translateX(-3.3px) translateY(1.66px) rotate(-45deg);
}

.mlm-header .toggle-daha.is-active span::after {
    bottom: 0;
    transform: translateX(-3.3px) translateY(-1.66px) rotate(45deg);
}

/**
 * MOBILE MENU
 */
#mlm-mobile-menu {
    position: fixed;
    /* چسبیده به ویوپورت؛ دیگر با والد جابجا نمی‌شود */
    right: -250px;
    /* خارج از صفحه (RTL) */
    left: auto;
    /* برای اطمینان در RTL */
    top: 0;
    bottom: 0;
    width: 250px;
    max-width: 100%;
    background: #fff;
    /* پس‌زمینه سفید داخل آف‌کانواس */
    border-left: 1px solid #eeffff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .08);
    z-index: 9999;
    /* بالاتر از هدر/المان‌های شناور */
    overflow-y: auto;
    /* اگر ارتفاع زیاد شد، اسکرول عمودی داخل منو */
    -webkit-overflow-scrolling: touch;
}

#mlm-mobile-menu.open {
    right: 0;
}


#mlm-mobile-menu .slimscroll {
    min-height: 100px;
    max-height: 100%;
}

#mlm-mobile-menu .menu-title.icon:before {
    position: relative;
    top: 3px;
}

.mlm-mobile-nav .drilldown-root {
    position: relative;
    margin: 0;
    padding: 0;
}

.mlm-mobile-nav .drilldown-sub {
    display: none;
    margin: 0;
    padding: 0;
}

.mlm-mobile-nav .drilldown-root li {
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.mlm-mobile-nav .drilldown-root li.icon {
    position: relative;
    padding-right: 30px;
}

.mlm-mobile-nav .drilldown-root li.icon:before {
    position: absolute;
    overflow: hidden;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    text-align: center;
    line-height: 40px;
}

.mlm-mobile-nav .drilldown-root li a {
    display: block;
    position: relative;
    padding: 5px 10px;
    color: #333;
    font-size: 13px;
    line-height: 30px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-font-smoothing: antialiased;
}

.mlm-mobile-nav .drilldown-root li a:before {
    display: block;
    float: right;
    margin: 0 5px 0 0;
    width: 25px;
    line-height: 30px;
    text-align: center;
}

.mlm-mobile-nav .drilldown-root li a:visited,
.mlm-mobile-nav .drilldown-root li a:link {
    color: #333;
}

.mlm-mobile-nav .drilldown-root li:hover,
.mlm-mobile-nav .drilldown-root li a:hover {
    background-color: #333;
    color: #fff;
}

.mlm-mobile-nav .drilldown-root li.menu-item-has-children>a:hover:after {
    content: "\ea40";
    position: absolute;
    left: 5px;
    top: 5px;
    color: #fff;
    font-family: 'marketmlm';
    font-size: 10px;
}

/**
 * SWIPER
 */
.swiper-button-prev {
    background-image: none;
    background-color: #007bff;
    -webkit-mask-image: url(../img/icon-left.svg);
    mask-image: url(../img/icon-left.svg);
}

.swiper-button-next {
    background-image: none;
    background-color: #007bff;
    -webkit-mask-image: url(../img/icon-right.svg);
    mask-image: url(../img/icon-right.svg);
}

.swiper-button-disabled {
    display: none;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ffffff;
    opacity: .6;
}

.swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    background: #007bff;
    opacity: 1;
}

/**
 * BOXES
 */
.mlm-widget {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.mlm-box-title {
    display: inline-block;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    line-height: 40px;
}

.mlm-box-title.sm {
    font-size: 14px;
    line-height: 28px;
}

.mlm-box-title:not(.icon):after {
    content: "";
    float: left;
    width: 60px;
    height: 6px;
    margin: 20px 15px 0 0;
    background-color: #007bff;
    border-radius: 1rem;
}

.mlm-box-title.sm:not(.icon):after {
    width: 30px;
    height: 4px;
    margin: 15px 10px 0 0;
}

.mlm-box-title.icon {
    display: block;
    border-bottom: 1px solid #eee;
}

.mlm-box-title.icon:before {
    display: block;
    float: right;
    margin-left: 10px;
    color: #999;
    font-size: 30px;
    line-height: 40px;
}

.mlm-box-title.sm.icon:before {
    font-size: 20px;
    line-height: 26px;
}

/**
 * MAIN SLIDER
 */
.mlm-main-slider {
    border-radius: .3rem .3rem 0 0;
}

/**
 * MAIN SEARCH
 */
.mlm-main-search {
    width: 90%;
    max-width: 720px;
}

.mlm-main-search .btn .icon:before {
    display: block;
    font-size: 24px;
    line-height: 24px;
}

.mlm-main-search .mlm-cat-item {
    color: #333;
}

.mlm-main-search .mlm-cat-item .icon {
    width: 40%;
    color: #999;
    border-left: 5px dotted #e8eef3;
}

.mlm-main-search .mlm-cat-item .icon:before {
    display: block;
    font-size: 36px;
    line-height: 44px;
}

.mlm-main-search .mlm-cat-item .title {
    width: 60%;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
}

.mlm-main-search .mlm-cat-item .title .c {
    color: #999;
    font-style: normal;
}

.mlm-main-search .mlm-cat-item:hover .icon {
    border-color: #007bff;
}

.mlm-ajax-search .mlm-search-results {
    right: 0;
    left: 0;
    top: 100%;
    z-index: 999;
}

.mlm-ajax-search .mlm-search-results .slimscroll {
    height: auto;
    max-height: 180px;
}

.mlm-ajax-search .mlm-search-results .slimscroll li:not(:last-child) {
    border-bottom: 1px solid #f8f9fa;
}

.mlm-ajax-search .mlm-search-results .media .item-image {
    width: 40px;
    height: 40px;
}

.mlm-ajax-search .mlm-search-results .media .item-title {
    line-height: 22px;
}

/**
 * ARCHIVE
 */
.mlm-archive .mlm-product,
.mlm-archive .mlm-product-sm {
    border-bottom: 2px solid transparent;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.mlm-archive .mlm-product .item-header {
    height: 220px;
}

.mlm-archive .mlm-product .item-header img {
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mlm-archive .mlm-product .item-header .vip {
    left: 15px;
    top: 15px;
    color: #ffd000;
    font-size: 20px;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.3);
}

.mlm-archive .mlm-product .item-header .off {
    right: 15px;
    top: 15px;
}

.mlm-archive .mlm-product .item-title {
    font-size: 14px;
    line-height: 24px;
}

.mlm-archive .mlm-product .item-title>a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #333;
}

.mlm-archive .mlm-product .item-meta {
    color: #666;
    font-size: 11px;
    line-height: 24px;
}

.mlm-archive .mlm-product .item-meta.icon:before {
    display: block;
    float: right;
    margin-left: 5px;
    font-size: 16px;
    line-height: 24px;
}

.mlm-archive .mlm-product .item-vendor {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #666;
    font-size: 11px;
    line-height: 32px;
}

.mlm-archive .mlm-product .item-vendor img {
    width: 32px;
    height: 32px;
}

.mlm-archive .mlm-product .item-purchase {
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    font-size: 11px;
    line-height: 24px;
    text-align: center;
}

.mlm-archive .mlm-product .added_to_cart {
    display: none;
}

.mlm-archive .mlm-product .border-top {
    border-color: #fafafa !important;
}

.mlm-archive .mlm-product:hover,
.mlm-archive .mlm-product-sm:hover {
    border-color: #007bff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.17);
}

.mlm-vendor-products-slider .swiper-slide {
    width: 172px;
}

.mlm-archive .mlm-product-sm .item-image {
    width: 100%;
    height: 150px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-size: cover;
}

.mlm-archive .mlm-product-sm .item-title {
    display: block;
    overflow: hidden;
    height: 36px;
    color: #666;
    font-size: 11px;
    line-height: 18px;
}

/* BLOG */
.mlm-archive .mlm-blog {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.mlm-archive .mlm-blog:hover {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.17);
}

.mlm-archive .mlm-blog .item-image {
    display: block;
    width: 136px;
    height: 136px;
}

.mlm-archive .mlm-blog .item-title,
.mlm-archive .mlm-blog .item-excerpt {
    max-height: 48px;
    line-height: 24px;
}

/**
 * CATEGORY BOX
 */
.mlm-category-widget .mlm-category-box {
    border-bottom: 2px solid transparent;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.mlm-category-widget .mlm-category-box .item-image {
    width: 80px;
    height: 80px;
}

.mlm-category-widget .mlm-category-box .item-title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #666;
    font-size: 10px;
}

.mlm-category-widget .mlm-category-box .btn {
    font-size: 12px;
}

.mlm-category-widget .mlm-category-box:hover {
    border-color: #007bff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.17);
}

/**
 * FOOTER
 */
.mlm-footer {
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.07);
}

.mlm-stats-box {
    border-bottom: 1px solid #333;
}

.mlm-stats-box .stat-item .icon {
    color: #fff;
    font-size: 30px;
    line-height: 30px;
}

.mlm-stats-box .stat-item .count {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #007bff;
    font-size: 18px;
}

.mlm-stats-box .stat-item .text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 10px;
}

.mlm-footer-widget {
    color: #fff;
}

.mlm-footer-widget .widget-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.mlm-footer-widget .widget-title:not(.icon):after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 4px;
    margin: 11px 10px 0 0;
    background-color: #007bff;
    border-radius: 1rem;
}

.mlm-footer .mlm-copyright {
    font-size: 11px;
    border-top: 1px solid #333;
}

.mlm-blog-footer--light,
.mlm-blog-footer--light .container-fluid {
    background-color: #fff;
    color: #333;
}

.mlm-blog-footer--light {
    margin-bottom: 0;
}

.mlm-blog-footer--light .mlm-footer-widget {
    color: inherit;
}

.mlm-blog-footer--light .mlm-footer-widget .widget-title {
    color: #1a1a1a;
}

.mlm-blog-footer--light .mlm-footer-widget .widget-title:not(.icon):after {
    background-color: #007bff;
}

.mlm-blog-footer--light .mlm-widget-21.w21-blog-copyright {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(16px, 4vw, 32px);
    flex-wrap: wrap;
    width: 100%;
}

.mlm-blog-footer--light .w21-logo {
    display: flex;
    align-items: center;
    margin-right: clamp(16px, 4vw, 48px);
}

.mlm-blog-footer--light .w21-logo img {
    max-height: 48px;
    width: auto;
}

.mlm-blog-footer--light .w21-logo-text {
    font-weight: 600;
    color: inherit;
}

.mlm-blog-footer--light .w21-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.mlm-blog-footer--light .w21-links-list {
    display: flex;
    gap: clamp(12px, 3vw, 24px);
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.mlm-blog-footer--light .w21-links-list a {
    color: inherit;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mlm-blog-footer--light .w21-links-list a:hover,
.mlm-blog-footer--light .w21-links-list a:focus {
    color: #007bff;
}

.mlm-blog-footer--light .w21-copy {
    margin-left: clamp(16px, 4vw, 48px);
    margin-right: auto;
    font-size: 14px;
    text-align: left;
    direction: rtl;
}

.mlm-blog-footer-top .mlm-blog-footer-middle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlm-blog-footer-top .mlm-blog-footer-placeholder {
    min-height: 1px;
    width: 60%;
    max-width: 160px;
}

@media (min-width: 768px) {
    .mlm-blog-footer-top>.col-12:first-child {
        padding-inline-start: clamp(12px, 2vw, 24px);
        padding-right: clamp(12px, 2vw, 24px);
    }

    .mlm-blog-footer-top>.col-12:last-child {
        padding-inline-end: clamp(12px, 2vw, 24px);
        padding-left: clamp(12px, 2vw, 24px);
    }
}

@media (min-width: 992px) {
    .mlm-blog-footer .mlm-blog-footer-top {
        --bs-gutter-x: 1.5rem;
    }
}

.mlm-blog-footer--light .w22-blog-footer-newsletter {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.mlm-blog-footer--light .w22-blog-footer-newsletter .w22-text {
    font-size: 14px;
    color: inherit;
    white-space: nowrap;
}

.mlm-blog-footer--light .w22-blog-footer-newsletter .w22-newsletter-form {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #fff;
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 12px 22px rgba(209, 161, 74, 0.18);
    border: 1px solid #d8dfee;
    overflow: hidden;
    height: 60px;
}

.mlm-blog-footer--light .w22-blog-footer-newsletter .w22-newsletter-form .mlm-newsletter-field-icon {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1a64a;
}

.mlm-blog-footer--light .w22-blog-footer-newsletter .w22-newsletter-form .mlm-newsletter-input {
    min-width: 240px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 16px;
    height: 100%;
}

.mlm-blog-footer--light .w22-blog-footer-newsletter .w22-newsletter-form .mlm-newsletter-submit {
    height: 100%;
    padding: 0 20px;
    background: #f0ad32;
    color: #fff;
    border: none;
}

.mlm-blog-footer--light .w22-blog-footer-newsletter .mlm-newsletter-form {
    background: transparent;
    padding: 0;
}

@media (max-width: 576px) {
    .mlm-blog-footer--light .w22-blog-footer-newsletter {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .mlm-blog-footer--light .w22-blog-footer-newsletter .w22-text {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .mlm-blog-footer--light .mlm-widget-21.w21-blog-copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: auto;
    }

    .mlm-blog-footer--light .w21-logo,
    .mlm-blog-footer--light .w21-copy {
        margin: 0;
    }

    .mlm-blog-footer--light .w21-copy {
        text-align: center;
    }
}

/* کاهش ارتفاع ردیف پایین فوتر وبلاگ */
.mlm-blog-footer-bottom {
    margin-top: 0.25rem !important;
}

.mlm-blog-footer-bottom .mlm-footer-widget {
    margin-bottom: 0.25rem !important;
    margin-top: 0 !important;
}

.mlm-blog-footer-bottom .mlm-footer-widget:last-child {
    margin-bottom: 0 !important;
}

.mlm-blog-footer-bottom .widget-title {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
}

/**
 * MODAL LOGIN
 */
#mlm-login-register-popup .modal-body .login-box-col {
    min-height: 250px;
}

#mlm-login-register-popup .close {
    display: block;
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 30px;
    z-index: 99;
}

#mlm-login-register-popup .mlm-popup-login-cover {
    position: relative;
    background: #fff;

    /*
    PINK
    background: #ec008c;
    background: -webkit-linear-gradient(to right, #fc6767, #ec008c);
    background: linear-gradient(to right, #fc6767, #ec008c);
    /* BLUE
    background: #2193b0;
    background: -webkit-linear-gradient(to right, #6dd5ed, #2193b0);
    background: linear-gradient(to right, #6dd5ed, #2193b0);
    /* YELLOW
    background: #ffe259;
    background: -webkit-linear-gradient(to right, #ffa751, #ffe259);
    background: linear-gradient(to right, #ffa751, #ffe259);
    /* RED
    background: #FF416C;
    background: -webkit-linear-gradient(to right, #FF4B2B, #FF416C);
    background: linear-gradient(to right, #FF4B2B, #FF416C);
    */
}

#mlm-login-register-popup .mlm-popup-login-cover:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(../img/login-popup.png);
}

#mlm-login-register-popup .mlm-popup-form {
    display: none;
}

#mlm-login-register-popup .mlm-popup-form.acik {
    display: block;
}

/**
 * NAVIGATION
 */
.mlm-navigation .page-item .page-link {
    display: block;
    margin: 3px;
    padding: 10px 15px;
    color: #333;
    background-color: #fff;
    border: 0;
    border-radius: 0.25rem;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
    transition: all 0.2s ease-in-out;
}

.mlm-navigation .page-item .page-link .icon:before {
    line-height: 18px;
}

.mlm-navigation .page-item .page-link:hover {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
}

.mlm-navigation .page-item.space .page-link {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
}

.mlm-navigation .page-item.active .page-link {
    color: #fff;
    background-color: #007bff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
}

.mlm-navigation .page-item.disabled .page-link {
    color: #999;
    background-color: #fafafa;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07);
}

/**
 * SINGLE PRODUCT
 */
.mlm-product-nav .nav-pills .nav-link {
    padding: 8px 15px;
    color: #333;
    background-color: #fff;
    border: 1px solid #dedede;
    border-radius: 0.25rem;
    box-shadow: none;
    transition: all 0.2s ease-in-out;
}

.mlm-product-nav .nav-pills .nav-link .icon:before {
    display: inline-block;
    position: relative;
    overflow: hidden;
    top: 5px;
    left: 9px;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
}

.mlm-product-nav .nav-pills .nav-link:hover {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.13);
}

.mlm-product-nav .nav-pills .nav-link.active {
    color: #fff;
    background-color: #007bff;
}

.mlm-panel-wrapper .mlm-share-btn:before,
.mlm-single-post .mlm-share-btn:before,
.mlm-single-product .mlm-share-btn:before {
    display: block;
    float: right;
    margin: 0 0 0 4px;
    line-height: 24px;
}

.mlm-panel-wrapper .mlm-share-dropdown .icon:before,
.mlm-single-post .mlm-share-dropdown .icon:before,
.mlm-single-product .mlm-share-dropdown .icon:before {
    position: relative;
    top: 2px;
    left: 6px;
}

.mlm-rating-box .stars-group>label:before {
    content: "\e9d9";
    display: block;
    margin-left: 3px;
    font-family: 'marketmlm';
    font-size: 17px;
    line-height: 24px;
}

.mlm-rating-box .stars-group>label {
    float: right;
    margin: 0;
    color: #ccc;
}

.mlm-rating-box .stars-group>input:checked~label,
.mlm-rating-box .stars-group:not(:checked)>label:hover,
.mlm-rating-box .stars-group:not(:checked)>label:hover~label {
    color: #ffbf01;
}

.mlm-rating-box .stars-group>input:checked+label:hover,
.mlm-rating-box .stars-group>input:checked~label:hover,
.mlm-rating-box .stars-group>label:hover~input:checked~label,
.mlm-rating-box .stars-group>input:checked~label:hover~label {
    color: #ffed85;
}

.mlm-single-product .mlm-product-meta {
    border: 1px solid #eee;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
}

.mlm-single-product .mlm-product-meta .icon {
    color: #007bff;
    font-size: 24px;
    line-height: 40px;
}

.mlm-single-product .mlm-product-meta .t {
    color: #666;
}

.mlm-single-product .mlm-product-meta .t,
.mlm-single-product .mlm-product-meta .v {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 20px;
}

.mlm-single-post .mlm-post-cat-box a,
.mlm-single-product .mlm-product-cat-box a {
    color: #333;
    transition: color 0.2s ease-in-out;
}

.mlm-single-post .mlm-post-cat-box a:hover,
.mlm-single-product .mlm-product-cat-box a:hover {
    color: #007bff;
}

.mlm-single-post .mlm-post-cat-box a+a:before,
.mlm-single-product .mlm-product-cat-box a+a:before {
    content: "/";
    display: inline-block;
    padding: 0 .5rem;
    color: #ffc107;
}

.mlm-single-post .mlm-post-tags.kapali,
.mlm-single-product .mlm-post-tags.kapali {
    overflow: hidden;
    max-height: 120px;
}

.mlm-single-post .mlm-post-tags a:not(.btn),
.mlm-single-product .mlm-post-tags a:not(.btn) {
    display: inline-block;
    margin: 0 0 2px 2px;
    padding: 2px 5px;
    color: #666;
    background-color: #f8f9fa;
    font-size: 10px;
    line-height: 18px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.mlm-single-post .mlm-post-tags a:not(.btn):hover,
.mlm-single-post .mlm-post-tags a:not(.btn):focus,
.mlm-single-product .mlm-post-tags a:not(.btn):hover,
.mlm-single-product .mlm-post-tags a:not(.btn):focus {
    color: #fff;
    background-color: #007bff;
}

.mlm-single-post .mlm-post-tags a.btn,
.mlm-single-product .mlm-post-tags a.btn {
    position: absolute;
    left: 5px;
    bottom: 5px;
    font-size: 11px;
    font-weight: 300;
    z-index: 9;
}

.mlm-single-post .mlm-post-tags.kapali::after,
.mlm-single-product .mlm-post-tags.kapali::after {
    content: " ";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 50%;
    background-color: transparent;
    /* fix: فقط سینتکس استاندارد مدرن، حذف vendorهای قدیمی و فیلتر IE */
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 5;
}

.mlm-purchase-product-widget .owner:before {
    content: " ";
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    top: 50%;
    height: 1px;
    background-color: #f8f9fa;
    z-index: 1;
}

.mlm-purchase-product-widget .owner .v {
    max-width: 140px;
    color: #999;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
}

.mlm-purchase-product-widget .meta-item .icon {
    color: #666;
    font-size: 24px;
    line-height: 40px;
}

.mlm-purchase-product-widget .mlm-rating-box .icon:before {
    font-size: 18px;
    line-height: 20px;
}

.mlm-product-gallery-widget a {
    padding-bottom: 100%;
}

.mlm-product-gallery-widget img {
    right: 0;
    top: 0;
}

.mlm-product-vendor-widget img.avatar {
    width: 128px;
    height: 128px;
}

.mlm-product-vendor-widget .vendor-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mlm-product-vendor-widget .vendor-name a,
.mlm-product-vendor-widget .vendor-name span {
    font-size: 16px;
    line-height: 28px;
}

.mlm-archive .mlm-product .item-vendor.verified,
.mlm-product-vendor-widget .vendor-name .verified {
    padding-left: 30px;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left center;
    background-color: transparent;
    background-image: url(../img/medals/medal-verified.svg);
}

.mlm-archive .mlm-product .item-vendor.verified {
    padding-left: 20px;
    background-size: 16px;
}

.mlm-product-vendor-widget .mlm-vendor-social-nav .icon:before {
    font-size: 18px;
    line-height: 26px;
}

.mlm-product-medal-nav .medal,
.mlm-vendor-medal-nav .medal {
    display: block;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: transparent;
}

.mlm-product-medal-nav .medal {
    width: 40px;
    height: 40px;
}

.mlm-comments-medal-nav .medal {
    width: 24px;
    height: 24px;
}

.mlm-vendor-medal-nav .medal-account-ok {
    background-image: url(../img/medals/medal-approved.svg);
}

.mlm-vendor-medal-nav .medal-profile-ok {
    background-image: url(../img/medals/medal-profile.svg);
}

.mlm-vendor-medal-nav .medal-vip-product {
    background-image: url(../img/medals/medal-vip-product.svg);
}

.mlm-vendor-medal-nav .medal-valid-comment {
    background-image: url(../img/medals/medal-comments.svg);
}

.mlm-vendor-medal-nav .medal-valid-withdraw {
    background-image: url(../img/medals/medal-withdraws.svg);
}

.mlm-vendor-medal-nav .medal-valid-purchase {
    background-image: url(../img/medals/medal-purchaser.svg);
}

.mlm-vendor-medal-nav .medal-valid-subset {
    background-image: url(../img/medals/medal-networker.svg);
}

.mlm-vendor-medal-nav .medal-valid-product {
    background-image: url(../img/medals/medal-vendor.svg);
}

.mlm-vendor-medal-nav .medal-valid-post {
    background-image: url(../img/medals/medal-author.svg);
}

.mlm-vendor-medal-nav .medal-valid-ref {
    background-image: url(../img/medals/medal-referrer.svg);
}

.mlm-vendor-medal-nav .medal-ref-income {
    background-image: url(../img/medals/medal-referrer-50.svg);
}

.mlm-vendor-medal-nav .medal-sale-income {
    background-image: url(../img/medals/medal-vendor-500.svg);
}

.mlm-vendor-medal-nav .medal-subset-income {
    background-image: url(../img/medals/medal-network-20.svg);
}

.mlm-vendor-medal-nav .medal-vendor {
    background-image: url(../img/medals/medal-is-vendor.svg);
}

.mlm-product-medal-nav .medal-featured {
    background-image: url(../img/badges/featured.svg);
}

.mlm-product-medal-nav .medal-free {
    background-image: url(../img/badges/free.svg);
}

.mlm-product-medal-nav .medal-iran {
    background-image: url(../img/badges/iran.svg);
}

.mlm-product-medal-nav .medal-license {
    background-image: url(../img/badges/license.svg);
}

.mlm-product-medal-nav .medal-original {
    background-image: url(../img/badges/original.svg);
}

.mlm-product-medal-nav .medal-sale {
    background-image: url(../img/badges/sale.svg);
}

/**
 * COURSE CHAPTERS
 */
.mlm-course-chapters-widget .chapter-header {
    border: 1px solid #eee;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
}

.mlm-course-chapters-widget .chapter-header .icon {
    left: 10px;
    top: 50%;
    margin-top: -12px;
    color: #aaa;
}

.mlm-course-chapters-widget .lesson-header {
    background-color: #fafafa;
}

.mlm-course-chapters-widget .lesson-header .icon {
    color: #aaa;
}

/**
 * VENDOR PAGE
 */
.mlm-vendor-box .vendor-cover {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../img/cover.png);
}

.mlm-vendor-box .vendor-cover .mlm-vendor-social-nav {
    position: absolute;
    left: 10px;
    top: 10px;
}

.mlm-vendor-box .vendor-image {
    margin-top: -100px;
}

.mlm-vendor-box .vendor-image img {
    width: 128px;
    height: 128px;
    background-color: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.mlm-vendor-box .mlm-vendor-bio .meta {
    color: #999;
}

.mlm-vendor-box .mlm-vendor-bio .meta .v {
    color: #010101;
}

.mlm-vendor-box .vendor-stats .stat-item .icon {
    font-size: 28px;
    color: #007bff;
}

.mlm-vendor-box .vendor-stats .stat-item .count {
    font-size: 16px;
    line-height: 30px;
}

.mlm-vendor-box .vendor-stats .stat-item .text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #999;
    line-height: 20px;
}

.mlm-vendors-slider-wrapper .swiper-slide {
    width: 125px;
}

.mlm-vendor-top-slider .swiper-slide {
    width: 140px;
}

.mlm-product-vendor-widget .top-product img {
    width: 100%;
    height: 140px;
}

/**
 * USER PANEL
 */
.mlm-user-panel-widget .panel-top {
    background: #fff;
    /*
    background: #ec008c;
    background: -webkit-linear-gradient(to right, #fc6767, #ec008c);
    background: linear-gradient(to right, #fc6767, #ec008c);
    */
}

.mlm-user-panel-widget .panel-top .avatar {
    padding: 3px;
    border: 1px solid #eee;
}

.mlm-user-panel-widget .progress {
    height: 25px;
}

.mlm-user-panel-widget .progress .progress-bar {
    background: #2193b0;
    background: -webkit-linear-gradient(to right, #6dd5ed, #2193b0);
    background: linear-gradient(to right, #6dd5ed, #2193b0);
}

.mlm-user-panel-widget .panel-nav a {
    color: #666;
    font-size: 13px;
    line-height: 24px;
}

.mlm-mobile-nav a .cnt,
.mlm-user-panel-widget .panel-nav a .cnt {
    background-color: #ed2324;
}

.mlm-user-panel-widget .panel-nav .icon:before {
    float: right;
    width: 30px;
    margin-left: 5px;
    color: #b9b9b9;
    font-size: 17px;
    line-height: 24px;
    text-align: center;
}

.mlm-user-panel-widget .panel-nav .multi>a:after {
    content: "\ea3e";
    float: left;
    margin-right: 5px;
    color: #b9b9b9;
    font-family: 'marketmlm';
    font-size: 12px;
    line-height: 24px;
}

.mlm-user-panel-widget .panel-nav .acik.multi>a:after {
    content: "\ea3a";
}

.mlm-user-panel-widget .panel-nav a:hover {
    background-color: #f8f9fa;
}

.mlm-user-panel-widget .panel-nav .acik>a {
    color: #fff;
    background-color: #007bff;
}

.mlm-user-panel-widget .panel-nav .acik>a:before,
.mlm-user-panel-widget .panel-nav .acik>a:after {
    color: #f8f9fa;
}

.mlm-user-panel-widget .panel-nav .acik>a .cnt {
    background-color: #b9b9b9;
}

.mlm-user-panel-widget .panel-nav .children {
    display: none;
    background-color: rgba(0, 0, 0, 0.01);
    border-bottom: 1px solid #eee;
}

.mlm-user-panel-widget .panel-nav .acik .children {
    display: block;
}

.mlm-user-panel-widget .panel-nav .children a {
    font-size: 12px;
}

.mlm-user-panel-widget .panel-nav .children .icon:before {
    font-size: 12px;
}

.mlm-panel-wrapper .mlm-user-meta {
    border: 1px solid #eee;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
}

.mlm-panel-wrapper .mlm-user-meta .icon {
    color: #007bff;
    font-size: 24px;
    line-height: 40px;
}

.mlm-panel-wrapper .mlm-user-meta .t,
.mlm-panel-wrapper .mlm-user-meta .v {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    line-height: 24px;
}

.mlm-panel-wrapper .mlm-user-meta .t {
    color: #999;
    font-size: 11px;
    line-height: 20px;
}

.mlm-panel-wrapper .mlm-archive .mlm-product-sm,
.mlm-panel-wrapper .mlm-category-widget .mlm-category-box {
    box-shadow: none;
    border: 1px solid #f8f9fa;
    border-bottom: 2px solid #f8f9fa;
}

.mlm-panel-wrapper .mlm-archive .mlm-product-sm:hover,
.mlm-panel-wrapper .mlm-category-widget .mlm-category-box:hover {
    border-bottom: 2px solid #007bff;
}

.mlm-panel-wrapper .mlm-archive .mlm-product-sm .item-image {
    height: 101px;
}

.mlm-panel-wrapper .mlm-wallet-changes.slimscroll {
    height: 156px !important;
}

/* social */
.mlm-panel-social-icons .icon-telegram {
    background: #1cade0;
}

.mlm-panel-social-icons .icon-instagram {
    background: #c14574;
    background: -webkit-linear-gradient(to left, #cd2e97, #c14574);
    background: linear-gradient(to left, #cd2e97, #c14574);
}

.mlm-panel-social-icons .icon-telegram:before,
.mlm-panel-social-icons .icon-instagram:before {
    display: block;
    float: right;
    font-size: 17px;
    line-height: 24px;
    margin-left: 5px;
}

.mlm-panel-social-icons .icon-telegram:hover,
.mlm-panel-social-icons .icon-instagram:hover {
    opacity: 0.8;
}

/* upload */
.mlm-image-preview .avatar {
    width: 150px;
    height: 150px;
}

.mlm-image-preview .thumbnail {
    width: 180px;
    height: 180px;
}

.mlm-image-preview .cover {
    width: 100%;
    height: auto;
    max-height: 300px;
}

/* tables */
.mlm-table thead,
.mlm-orders-wrapper table thead {
    background: #007bff;
}

.mlm-table tr>th,
.mlm-orders-wrapper table tr>th {
    min-width: 80px;
    padding: 0.5rem;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
}

.mlm-table tr>th.sm {
    width: 80px;
}

.mlm-table tr>th.md {
    width: 140px;
}

.mlm-table tr>th.lg {
    min-width: 240px;
}

.mlm-table tbody tr>th,
.mlm-table tr>td,
.mlm-orders-wrapper table tbody tr>th,
.mlm-orders-wrapper table tr>td {
    padding: 0.5rem;
    color: #444;
    font-size: 12px;
    font-weight: 400;
}

.mlm-table tbody tr>th,
.mlm-table tbody tr>td,
.mlm-orders-wrapper table tbody tr>th,
.mlm-orders-wrapper table tbody tr>td {
    border-bottom: 1px solid #eee;
}

.mlm-panel-wrapper .woocommerce-table a,
.mlm-panel-wrapper .woocommerce-orders-table a,
.mlm-panel-wrapper .mlm-table .title {
    color: #444;
    font-weight: 600;
}

.mlm-panel-wrapper .woocommerce-table a:hover,
.mlm-panel-wrapper .woocommerce-orders-table a:hover,
.mlm-panel-wrapper .mlm-table .title:hover {
    color: #007bff;
    text-decoration: none;
}

/* tickets */
.mlm-panel-wrapper .mlm-ticket-table .details {
    font-size: 11px;
    color: #666;
}

.mlm-ticket-content .meta .badge,
.mlm-panel-wrapper .mlm-ticket-table .badge {
    min-width: 60px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 400;
    line-height: 20px;
}

.mlm-ticket-content .ticket-header .meta {
    background: #fafafa;
}

.mlm-ticket-content .ticket-header .meta .t {
    font-weight: bold;
}

.mlm-ticket-content .ticket-header .meta .v.date {
    line-height: 32px;
}

.mlm-ticket-content .ticket-reply .top-bar {
    background: #007bff;
}

.mlm-ticket-content .ticket-reply .top-bar .user img {
    width: 40px;
    height: 40px;
}

.mlm-ticket-content .ticket-reply .top-bar .date {
    margin: 8px 10px 8px 0px;
    font-size: 12px;
}

#mlm_new_ticket_form .form-group.gzl {
    display: none;
}

.ticket-attaches-placeholder {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    margin: 0 0 8px;
    padding: 5px;
    background: #f8f8f8;
    border: 2px dashed #ddd;
}

.ticket-attaches-placeholder .placeholder {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    margin-top: -12px;
    font-size: 24px;
    font-weight: 200;
    color: #ccc;
    text-align: center;
    z-index: 1;
}

.ticket-attaches-placeholder>a {
    display: block;
    position: relative;
    overflow: hidden;
    float: right;
    width: 105px;
    height: 105px;
    margin: 3px;
    padding: 2px;
    background: #fff;
    border-radius: 2px;
    z-index: 5;
}

.ticket-attaches-placeholder>a>img {
    display: block;
    width: 100%;
    height: 100%;
}

.ticket-attaches-placeholder>a>.fas {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #ff1829;
    background: rgba(255, 255, 255, 0.7);
    font-size: 50px;
    line-height: 110px;
    text-align: center;
    cursor: pointer;
    filter: Alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ticket-attaches-placeholder>a:hover>.fas {
    filter: Alpha(Opacity=100);
    opacity: 1;
}

.mlm-attach-upload-holder {
    position: relative;
    overflow: hidden;
}

.mlm-attach-upload-holder input[type="file"] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 99;
}

.mlm-attach-upload-progress .progress {
    height: 3px;
    border-radius: 0;
}

/* bookmarks */
.mlm-bookmark-table .mlm-tool {
    display: block;
    overflow: hidden;
    width: 30px;
    height: 30px;
    color: #fff;
    background-color: #eee;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.mlm-bookmark-table .mlm-tool .ion {
    font-size: 17px;
    line-height: 34px;
}

.mlm-bookmark-table .bookmarked .ion {
    color: #cc3333;
}

.mlm-bookmark-table .mlm-tool:hover {
    background-color: #007bff;
}

.mlm-bookmark-table .added_to_cart {
    display: none;
}

/* orders */
.mlm-orders-wrapper>h2 {
    display: none;
}

.mlm-orders-wrapper table,
.mlm-orders-wrapper tr>th,
.mlm-orders-wrapper tr>td {
    border: 0;
}

.mlm-panel-wrapper .woocommerce-orders-table .button {
    margin: 0.15rem;
}

.mlm-panel-wrapper .woocommerce-table th.product-image {
    width: 80px;
}

/* upgrade */
.verify-identity-help .btn {
    white-space: nowrap;
}

.verify-identity-help .btn .icon:before {
    display: block;
    font-size: 16px;
    line-height: 24px;
}

/* medals */
.mlm-user-medals-widget .progress {
    height: 5px;
}

.mlm-user-medals-widget .progress .progress-bar {
    background: #2193b0;
    background: -webkit-linear-gradient(to right, #6dd5ed, #2193b0);
    background: linear-gradient(to right, #6dd5ed, #2193b0);
}

/* plans */
.mlm-frequent-questions-wrapper .card-header .icon {
    font-size: 15px;
    line-height: 30px;
}

/* questions */
.mlm-panel-social-icons .icon-telegram {
    background: #1cade0;
}

/* draft button */
.mlm-panel-wrapper .mlm-save-draft-col {
    max-width: 120px;
}

/* chapters and lessons */
.mlm-panel-wrapper .mlm-chapter-image-col {
    max-width: 64px;
}

.mlm-panel-wrapper .chapter-item .chapter-image {
    width: 64px;
    height: 64px;
}

.mlm-panel-wrapper .lesson-item .lesson-option .btn,
.mlm-panel-wrapper .chapter-item .chapter-options .btn {
    line-height: 20px;
}

/* social login */
.wp-social-login-provider {
    display: block;
    padding: 8px 12px;
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    background-color: #fff;
    ;
    color: #333;
}

.wp-social-login-provider:hover,
.wp-social-login-provider:focus {
    background-color: #ebebeb;
    border-color: #ababab;
    text-decoration: none
}

.wp-social-login-provider-google {
    background: #fff;
    color: #777;
    border: 1px solid #e7e7e7;
    box-shadow: 0 3px 5px rgba(227, 227, 227, 0.4);
}

.wp-social-login-provider-google:hover,
.wp-social-login-provider-google:focus {
    background: #fff;
    color: #777;
    border: 1px solid #e7e7e7;
    box-shadow: 0 3px 8px rgba(227, 227, 227, 0.4);
}

/**
 * COUNTDOWN
 */
.counter-box {
    display: block;
    position: relative;
    margin: 5px 0;
    padding-right: 40px;
}

.counter-box .icon {
    position: absolute;
    right: 15px;
    top: 0;
}

.counter-box .icon:before {
    display: block;
    font-size: 30px;
    line-height: 40px;
}

.mlm-countdown {
    display: block;
    text-align: center;
    direction: ltr;
}

.mlm-countdown .countdown-section {
    display: inline-block;
    text-align: center;
    margin: 0 3px;
    padding: 0 5px;
    border-right: 1px dashed #f8f9fa;
}

.mlm-countdown .countdown-section:last-child {
    border-right: 0;
}

.mlm-countdown .countdown-amount {
    display: block;
    overflow: hidden;
    width: 45px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    white-space: nowrap;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.mlm-countdown .countdown-period {
    display: block;
    font-size: 10px;
    line-height: 10px;
    color: #6c757d;
}

.mlm-countdown .countdown-section:hover .countdown-amount {
    color: #fff;
    background: #007bff;
}

/**
 * WIDGETS
 */
.mlm-widget .widget-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
}

.mlm-widget .widget-title:not(.icon):after {
    content: "";
    float: left;
    width: 20px;
    height: 4px;
    margin: 11px 10px 0 0;
    background-color: #007bff;
    border-radius: 1rem;
}

.mlm-contact-widget .icon:before {
    display: block;
    float: right;
    margin-left: 10px;
    line-height: 22px;
}

.mlm-about-widget .icon {
    font-size: 20px;
}

.mlm-namad-slider .swiper-pagination {
    display: block;
    clear: both;
    position: relative;
    bottom: 0;
    margin: 20px 0 0;
}

.mlm-product-fixed-widget {
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 99;
}

.mlm-product-fixed-widget .added_to_cart {
    display: none !important;
}

/* Sticky Cart Bar - New Design */
.mlm-sticky-cart-bar {
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
}

/* Desktop Sticky Bar - نوار باریک با دکمه‌ها در سمت چپ */
.mlm-sticky-cart-bar.mlm-sticky-desktop {
    padding: 8px 24px;
    max-width: none;
}

.mlm-sticky-buttons-container {
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 100%;
}

/* در دسکتاپ، دکمه‌ها در سمت چپ */
@media (min-width: 768px) {
    .mlm-sticky-cart-bar.mlm-sticky-desktop .mlm-sticky-buttons-container {
        max-width: none;
        justify-content: flex-start;
    }
}

.mlm-sticky-preview-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mlm-sticky-preview-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.mlm-sticky-preview-btn .icon {
    font-size: 18px;
}

.mlm-sticky-cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #F7A83B;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.mlm-sticky-cart-btn:hover {
    background: #e6942a;
}

.mlm-sticky-cart-btn:active {
    transform: scale(0.98);
}

.mlm-sticky-cart-btn .icon {
    font-size: 20px;
}

.mlm-sticky-cart-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mlm-sticky-cart-btn.disabled:hover {
    background: #F7A83B;
}

/* OFFERS WIDGET */
.mlm-offers-slider-wrapper .mlm-offers-box {
    box-shadow: none !important;
}

.mlm-offers-slider-wrapper .swiper-button-next,
.mlm-offers-slider-wrapper .swiper-button-prev {
    display: block;
    overflow: hidden;
    top: 10px;
    right: 10px;
    left: auto;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 4px;
    background: #f1f1f1;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 3px;
}

.mlm-offers-slider-wrapper .swiper-button-prev {
    right: 55px;
}

.mlm-offers-slider-wrapper .swiper-button-next .icon,
.mlm-offers-slider-wrapper .swiper-button-prev .icon {
    display: block;
    width: 32px;
    height: 32px;
    background-color: #999;
    -webkit-mask-image: url(../img/icon-right.svg);
    mask-image: url(../img/icon-right.svg);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.mlm-offers-slider-wrapper .swiper-button-prev .icon {
    -webkit-mask-image: url(../img/icon-left.svg);
    mask-image: url(../img/icon-left.svg);
}

.mlm-offers-slider .mlm-product-offer .sale-badge {
    display: none;
}

.mlm-offers-slider .mlm-product-offer .item-image {
    height: 250px;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mlm-offers-slider .mlm-product-offer .item-title {
    font-size: 14px;
    line-height: 24px;
}

.mlm-offers-slider .mlm-product-offer .item-title>a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #333;
}

.mlm-offers-slider .mlm-product-offer .item-meta {
    color: #666;
    font-size: 11px;
    line-height: 24px;
}

.mlm-offers-slider .mlm-product-offer .item-meta.icon:before {
    display: block;
    float: right;
    margin-left: 5px;
    font-size: 16px;
    line-height: 24px;
}

.mlm-offers-slider .mlm-product-offer .item-vendor {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #666;
    font-size: 11px;
    line-height: 32px;
}

.mlm-offers-slider .mlm-product-offer .item-vendor img {
    width: 32px;
    height: 32px;
}

.mlm-offers-slider .mlm-product-offer .item-purchase {
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    font-size: 11px;
    line-height: 24px;
    text-align: center;
}

.mlm-offers-slider .mlm-product-offer .added_to_cart {
    display: none;
}

.mlm-offers-slider .mlm-product-offer .border-top {
    border-color: #fafafa !important;
}

/**
 * 404
 */
.page-404 .title-404 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.6em;
}

.page-404 svg {
    display: block;
    width: 380px;
    height: 500px;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.page-404 .path-1,
.page-404 .path-2,
.page-404 .path-3,
.page-404 .path-4,
.page-404 .path-5 {
    animation: oyna 1s infinite ease-in-out alternate;
}

.page-404 .path-2 {
    animation-delay: .2s;
}

.page-404 .path-3 {
    animation-delay: .4s;
}

.page-404 .path-4 {
    animation-delay: .6s;
}

.page-404 .path-5 {
    animation-delay: .8s;
}

@-webkit-keyframes oyna {
    100% {
        transform: translateY(20px);
    }
}

@-moz-keyframes oyna {
    100% {
        transform: translateY(20px);
    }
}

@-o-keyframes oyna {
    100% {
        transform: translateY(20px);
    }
}

@-ms-keyframes oyna {
    100% {
        transform: translateY(20px);
    }
}

@keyframes oyna {
    100% {
        transform: translateY(20px);
    }
}

/* CART WIDGET */
.widget_shopping_cart .cart_list li {
    padding-left: 2em;
    padding-right: 0;
}

.product_list_widget li {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.product_list_widget li:before,
.widget_shopping_cart .cart_list li:before {
    content: none !important;
}

.woocommerce ul.cart_list li,
.woocommerce ul.product_list_widget li {
    margin: 5px 0;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.woocommerce ul.cart_list li a,
.woocommerce ul.product_list_widget li a {
    color: #444 !important;
    font-size: 12px;
    line-height: 24px;
    white-space: normal;
}

.woocommerce .widget_shopping_cart .cart_list li a.remove,
.woocommerce.widget_shopping_cart .cart_list li a.remove {
    top: 5px;
    right: auto;
    left: 0;
    height: 16px;
    width: 16px;
    color: #fff !important;
    background: #007bff;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
}

.woocommerce ul.cart_list li img,
.woocommerce ul.product_list_widget li img {
    float: right;
    width: 40px;
    margin: 4px 0 0 4px;
}

.woocommerce ul.cart_list li .quantity {
    float: left;
    color: #959ba8;
    font-size: 12px;
}

.woocommerce .widget_shopping_cart .total,
.woocommerce.widget_shopping_cart .total {
    display: block;
    clear: both;
    margin: 5px 0;
    padding: 5px 0 0;
    font-size: 12px;
    text-align: center;
    border: 0;
}

/* Override استایل‌های قدیمی WooCommerce */
.woocommerce .widget_shopping_cart .buttons,
.woocommerce.widget_shopping_cart .buttons {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    clear: both;
}

/* Override دکمه checkout قدیمی */
.woocommerce .widget_shopping_cart .buttons a.checkout,
.woocommerce.widget_shopping_cart .buttons a.checkout {
    background: linear-gradient(135deg, rgb(35, 119, 255) 0%, #5af 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Override دکمه‌های دیگر */
.woocommerce .widget_shopping_cart .buttons a:not(.checkout),
.woocommerce.widget_shopping_cart .buttons a:not(.checkout) {
    background: #fff !important;
    border: 1px solid rgba(16, 24, 40, .12) !important;
    color: rgb(24, 28, 35) !important;
    font-weight: 500 !important;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding: .175rem .75rem;
    line-height: 24px;
    height: auto;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: .25rem;
}

.woocommerce #respond input#submit.alt.disabled,
.woocommerce #respond input#submit.alt.disabled:hover,
.woocommerce #respond input#submit.alt:disabled,
.woocommerce #respond input#submit.alt:disabled:hover,
.woocommerce #respond input#submit.alt:disabled[disabled],
.woocommerce #respond input#submit.alt:disabled[disabled]:hover,
.woocommerce a.button.alt.disabled,
.woocommerce a.button.alt.disabled:hover,
.woocommerce a.button.alt:disabled,
.woocommerce a.button.alt:disabled:hover,
.woocommerce a.button.alt:disabled[disabled],
.woocommerce a.button.alt:disabled[disabled]:hover,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled:hover,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce button.button.alt:disabled[disabled]:hover,
.woocommerce input.button.alt.disabled,
.woocommerce input.button.alt.disabled:hover,
.woocommerce input.button.alt:disabled,
.woocommerce input.button.alt:disabled:hover,
.woocommerce input.button.alt:disabled[disabled],
.woocommerce input.button.alt:disabled[disabled]:hover {
    background-color: #007bff;
    color: #fff;
}

.mlm-purchase-btn .single_add_to_cart_button {
    display: block;
    width: 100%;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.woocommerce #respond input#submit.alt:focus,
.woocommerce a.button.alt:focus,
.woocommerce button.button.alt:focus,
.woocommerce input.button.alt:focus,
.woocommerce #respond input#submit:focus,
.woocommerce a.button:focus,
.woocommerce button.button:focus,
.woocommerce input.button:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, .5);
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
    display: block;
}

.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce #respond input#submit:disabled[disabled],
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce a.button:disabled[disabled],
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button.disabled,
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled] {
    padding: .175rem .75rem;
    color: #fff;
}

/**
 * WC
 */
.woocommerce .quantity .qty {
    width: 70px;
}

.woocommerce .mlm-purchase-btn .quantity .qty {
    display: block;
    width: 100%;
    margin-bottom: 3px;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2 {
    display: block;
    float: none !important;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.woocommerce form .form-row {
    display: block;
    float: none;
    width: 100%;
    margin: 0 0 1rem;
    padding: 0 10px;
}

.woocommerce form .form-row label {
    display: block;
    line-height: 22px;
}

.woocommerce form .form-row .woocommerce-input-wrapper {
    display: block;
    width: 100%;
    clear: both;
    float: none;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2 {
    display: block;
    float: none !important;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

body:not(.panel-skin-neo) .woocommerce-MyAccount-content,
body:not(.panel-skin-neo) .woocommerce-account .woocommerce-MyAccount-content {
    display: block;
    width: 100%;
    float: none;
}

.woocommerce-MyAccount-content .col-1.woocommerce-Address,
.woocommerce-MyAccount-content .col2-set .col-1,
.woocommerce-MyAccount-content .col2-set .col-2 {
    display: block;
    width: 100%;
    max-width: 100%;
}

body:not(.panel-skin-neo) .woocommerce-MyAccount-content h3 {
    display: none;
}

.woocommerce-MyAccount-content .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.woocommerce-account .addresses .title .edit {
    display: block;
    float: left;
    margin-right: 10px;
    padding: 0 5px;
    color: #000;
    background-color: #eee;
    line-height: 22px;
    border-radius: .25rem;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.woocommerce-account .addresses .title .edit:hover,
.woocommerce-account .addresses .title .edit:focus {
    color: #fff;
    background: #fdac25;
}

.woocommerce table.shop_table thead {
    background: #007bff;
}

.woocommerce table.variations,
.woocommerce table.variations tr>th,
.woocommerce table.variations tr>td,
.woocommerce table.shop_table,
.woocommerce table.shop_table tr>th,
.woocommerce table.shop_table tr>td {
    padding: 0.5rem;
    font-size: 12px;
    font-weight: 400;
    border: 0;
}

.woocommerce table.variations thead tr>th,
.woocommerce table.variations thead tr>td,
.woocommerce table.shop_table thead tr>th,
.woocommerce table.shop_table thead tr>td {
    color: #fff;
}

.woocommerce table.variations tbody tr>th,
.woocommerce table.variations tr>td,
.woocommerce table.shop_table tbody tr>th,
.woocommerce table.shop_table tr>td {
    padding: 0.5rem;
    color: #444;
    font-size: 12px;
    font-weight: 400;
    border: 0;
}

.woocommerce table.variations tbody tr>th,
.woocommerce table.variations tbody tr>td,
.woocommerce table.shop_table tbody tr>th,
.woocommerce table.shop_table tbody tr>td {
    border: 0;
    border-bottom: 1px solid #eee;
}

.woocommerce table.shop_table th.product-remove {
    width: 34px;
}

.woocommerce table.shop_table th.product-thumbnail {
    width: 48px;
}

.woocommerce table.shop_table .product-name a {
    color: #444;
}

.woocommerce-thankyou-order-received {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: .25rem;
}

.woocommerce ul.order_details {
    display: block;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.woocommerce ul.order_details li {
    font-size: 12px;
    line-height: 22px;
    border-left: 1px dashed #007bff;
}

.woocommerce ul.order_details li strong {
    font-size: 12px;
    line-height: 22px;
}

.woocommerce .woocommerce-customer-details address {
    border: 0;
    border-radius: 0.25rem;
    padding: 10px;
    background: #fafafa;
}

.woocommerce form.cart a.added_to_cart,
.woocommerce table.variations a.reset_variations {
    display: block;
    margin: 5px 0 0;
    padding: 0;
    color: #007bff;
    background-color: #fff;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    border: 1px solid #007bff;
    border-radius: .25rem;
    transition: all .2s ease-in-out;
}

.woocommerce form.cart a.added_to_cart:hover,
.woocommerce table.variations a.reset_variations:hover {
    color: #fff;
    background-color: #007bff;
}

.mlm-product-offer del,
.mlm-archive .mlm-product del,
.mlm-product-fixed-widget del,
.woocommerce-variation-price .price del,
.mlm-purchase-product-widget del {
    color: #cc3333;
    text-decoration: line-through;
}

.mlm-product-offer ins,
.mlm-archive .mlm-product ins,
.mlm-product-fixed-widget ins,
.woocommerce-variation-price .price,
.woocommerce-variation-price .price ins,
.mlm-purchase-product-widget ins {
    text-decoration: none;
}

.woocommerce table.shop_attributes {
    border-top: 0;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    border-left: 0;
    border-right: 0;
}

/**
 * STEPS
 */
.mlm-progress-bar .step-item:before {
    content: " ";
    display: block;
    position: absolute;
    height: 2px;
    right: 0;
    left: 0;
    bottom: 10px;
    background: #007bff;
    z-index: 1;
}

.mlm-progress-bar .step-item .num {
    width: 20px;
    height: 20px;
    background: #007bff;
    z-index: 2;
}

.mlm-progress-bar .step-item .txt {
    color: #007bff;
}

.mlm-progress-bar .step-item.active~.step-item {
    color: #eee;
}

.mlm-progress-bar .step-item.active~.step-item .txt {
    color: #666;
}

.mlm-progress-bar .step-item.active~.step-item:before,
.mlm-progress-bar .step-item.active~.step-item .num {
    background: #eee;
}

/**
 * SEARCH PAGE
 */
@media(min-width: 992px) {

    .app-search-page-wrapper .slimScrollBar,
    .app-search-page-wrapper .slimScrollRail {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@media(max-width: 991px) {
    .mlm-search-page-header .filter-col {
        width: 80px;
        max-width: 80px;
    }

    .mlm-search-page-header .input-col {
        width: calc(100% - 80px);
        max-width: calc(100% - 80px);
    }

    .app-search-page-wrapper {
        position: fixed;
        right: -250px;
        top: 0;
        bottom: 0;
        width: 250px;
        padding: 15px;
        background-color: #fff;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
        z-index: 9999;
    }

    .app-search-page-wrapper.open {
        right: 0;
    }
}

.mlm-search-page-header .search-input-group {
    border: 1px solid #ccc;
}

.mlm-search-page-header .search-input-group:hover,
.mlm-search-page-header .search-input-group:focus {
    border-color: #fea000;
}

.mlm-search-page-header .search-input-group .form-control {
    padding: 15px 20px 15px 0;
}

.mlm-search-page-header .search-input-group .form-control:focus {
    box-shadow: none;
}

.mlm-search-page-header .search-input-group .search-btn {
    width: 54px;
    height: 54px;
    fill: #4d4d4d;
    padding: 11px;
}

.mlm-search-page-header .app-search-filter-btn svg {
    pointer-events: none;
}

.mlm-filters-widget .category-item {
    padding-left: 15px;
}

.mlm-filters-widget .category-item .toggle {
    display: block;
    left: 0;
    top: 0;
    color: #777;
    font-size: 20px;
    line-height: 15px;
}

.mlm-filters-widget .category-item .childs {
    display: none;
    padding-right: 15px;
}

.mlm-filters-widget .category-item.open .childs {
    display: block;
}

/**
 * NOTIFICATION
 */
.app-notification {
    height: 70px;
    background-color: #f8931f;
}

.app-notification .close-col {
    width: 54px;
    max-width: 54px;
}

.app-notification .action-col {
    width: 150px;
    max-width: 150px;
}

.app-notification .text-col {
    max-width: calc(100% - 204px);
}

.app-notification .close-notification-btn {
    line-height: 28px;
}

.mlm-header .app-notification-btn {
    margin: 0 7px 0 10px;
    padding: 0 10px;
}

.mlm-header .app-notification-btn:focus {
    box-shadow: none;
}

.mlm-header .app-notification-btn svg {
    width: 23px;
    height: 27px;
    fill: #4d4d4d;
}

.mlm-header .app-notification-btn.al:before {
    content: "";
    position: absolute;
    right: 2px;
    top: 0px;
    width: 6px;
    height: 6px;
    background-color: #fea000;
    border-radius: 50rem;
}

@media(max-width: 767px) {
    .app-notification .text-col {
        max-width: calc(100% - 54px);
    }
}

/**
 * RESPONSIVE
 */
@media(max-width: 1199px) {
    .mlm-archive .mlm-product .item-header {
        height: 185px;
    }
}

@media(max-width: 768px) {

    .mlm-panel-wrapper .woocommerce-table th.product-image,
    .mlm-panel-wrapper .woocommerce-table td.product-image {
        display: none;
    }
}

@media(max-width: 767px) {
    .mlm-archive .mlm-product .item-header {
        height: 300px;
    }

    .mlm-header .mlm-ajax-search .input-group {
        max-width: 100%;
        min-width: 100px;
    }
}

@media(max-width: 600px) {
    .mlm-archive .mlm-product .item-header {
        height: 250px;
    }
}

@media(max-width: 400px) {
    .mlm-archive .mlm-product .item-header {
        height: 180px;
    }

    .mlm-archive .mlm-blog .media-img {
        display: none;
    }
}

.mlm-share-nav>a {
    overflow: hidden;
    width: 40px;
    height: 40px;
    margin: 3px;
    padding: 0;
    color: #fff;
    background-color: #808080;
    font-size: 17px;
    line-height: 44px;
    text-align: center;
    border-radius: 50rem;
}

.mlm-share-nav>.title {
    padding: 0;
    margin: 3px;
    color: #808080;
    line-height: 40px;
}

.mlm-share-nav>a.icon-telegram {
    background-color: #0088cc;
}

.mlm-share-nav>a.icon-whatsapp {
    background-color: #25D366;
}

.mlm-share-nav>a.icon-twitter {
    background-color: #00acee;
}




/* start mohammadiani css */

a.mlm-btn-dl {
    background: #5c5c5c;
    display: block;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    color: #fff;
    margin-bottom: 16px;
}



/* end mohammadiani css */
/* === MLM Gift Carousel (Default/Zhaket) === */
.mlm-gift-carousel {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .07);
    margin: 14px 0
}

.mlm-gift-carousel .mlm-gift-track {
    display: flex;
    gap: 12px;
    overflow: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity
}

.mlm-gift-carousel .mlm-gift-card {
    min-width: 240px;
    flex: 0 0 auto;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    scroll-snap-align: start;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08)
}

.mlm-gift-carousel .mlm-gift-card .countdown {
    font-size: 13px
}

.mlm-gift-carousel .mlm-gift-card .meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px
}

/* === [MLM] Popup fixes: Default/Zhaket base ================================= */
.swal2-container,
.sweet-alert,
.swal-overlay {
    z-index: 11000 !important;
}

/* Ø¨Ø§Ù„Ø§ØªØ± Ø§Ø² Ù…ÙˆØ¯Ø§Ù„â€ŒÙ‡Ø§ */

/* Ø¯Ú©Ù…Ù‡â€ŒÙ‡Ø§ Ø®ÙˆØ§Ù†Ø§ Ø¨Ø§Ø´Ù†Ø¯ */
.swal2-actions .swal2-styled {
    min-width: 120px !important;
    padding: 10px 16px !important;
    line-height: 1.2 !important;
    font-size: 14px !important;
    color: #fff !important;
}

.swal2-styled.swal2-confirm {
    background: #10b981 !important;
    color: #fff !important;
}

.swal2-styled.swal2-cancel {
    background: #e5e7eb !important;
    color: #111827 !important;
}

.sweet-alert .sa-button-container .confirm {
    min-width: 120px !important;
    padding: 10px 16px !important;
    background: #10b981 !important;
    color: #fff !important;
}

.sweet-alert .sa-button-container .cancel {
    min-width: 120px !important;
    padding: 10px 16px !important;
    background: #e5e7eb !important;
    color: #111827 !important;
}

/* Ø³Ø·Ø±Ù‡Ø§ÛŒ \n Ø¨Ù‡â€ŒØ¯Ø±Ø³ØªÛŒ Ù†Ù…Ø§ÛŒØ´ Ø¯Ø§Ø¯Ù‡ Ø´ÙˆÙ†Ø¯ */
.swal2-html-container,
.swal-text {
    white-space: pre-line !important;
}

/* ===========================
   HOME: Zhaket-like hero search
   =========================== */
.app-home-search.zh-hero {
    padding: 56px 0 28px;
    background: #fff;
    position: relative;
}

.app-home-search.zh-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(100px 60px at 20% 20%, rgba(10, 50, 78, .05), rgba(10, 50, 78, 0)),
        radial-gradient(120px 80px at 80% 40%, rgba(10, 50, 78, .05), rgba(10, 50, 78, 0));
    opacity: .5;
    pointer-events: none;
}

/* title + subtitle */
.app-home-search .zh-title {
    font-size: 28px;
    line-height: 1.7;
    font-weight: 700;
    color: #222;
}

.app-home-search .zh-sub {
    font-size: 16px;
    color: #6c757d;
}

@media (min-width: 992px) {
    .app-home-search .zh-title {
        font-size: 36px;
    }

    .app-home-search .zh-sub {
        font-size: 18px;
    }
}

/* searchbar */
.app-home-search .zh-searchbar .zh-input {
    position: relative;
    max-width: 820px;
    margin: 16px auto 0;
}

.app-home-search .zh-searchbar .zh-input .input {
    height: 56px;
    padding-right: 20px;
    /* ÙØ§ØµÙ„Ù‡ Ø³Ù…Øª Ø±Ø§Ø³Øª Ù…ØªÙ† */
    padding-left: 60px;
    /* Ø¬Ø§ Ø¨Ø±Ø§ÛŒ Ø¯Ú©Ù…Ù‡ Ø³Ù…Øª Ú†Ù¾ */
    border-radius: 50rem;
    /* Ù‚Ø±Øµâ€ŒØ´Ú©Ù„ */
    border: 1px solid #e6e9ee;
    background: #fff;
    box-shadow: 0 14px 30px rgba(18, 38, 63, .07);
}

.app-home-search .zh-searchbar .zh-input .input:focus {
    border-color: #d0d7de;
    box-shadow: 0 14px 34px rgba(18, 38, 63, .12);
}

/* round green button at left (like the screenshot) */
.app-home-search .zh-searchbar .zh-btn {
    position: absolute;
    left: 6px;
    top: 6px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #20bf6b;
    /* Ø³Ø¨Ø² */
    color: #fff;
    border: 0;
}

.app-home-search .zh-searchbar .zh-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.app-home-search .zh-searchbar .zh-btn i {
    font-size: 20px;
    line-height: 1;
}

/* keep dropdown (ajax results) placement pretty */
.mlm-ajax-search .mlm-search-results {
    top: calc(100% + 8px);
    border-radius: 16px;
    overflow: hidden;
}

/* === [HOME] Hero Search â€“ inline button + field, light (no box) === */
.app-home-search.zh-hero {
    padding: 56px 0 20px;
    background: #fff;
    position: relative;
}

.app-home-search .zh-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.7;
    color: #222;
}

.app-home-search .zh-sub {
    font-size: 16px;
    color: #6c757d;
}

@media (min-width:992px) {
    .app-home-search .zh-title {
        font-size: 36px
    }

    .app-home-search .zh-sub {
        font-size: 18px
    }
}

/* form row */
.app-home-search .zh-form {
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 820px;
    margin: 16px auto 0;
    position: relative;
}

/* green square button (separate from input) */
.app-home-search .zh-form .zh-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    /* Ù…Ø±Ø¨Ø¹ Ø¨Ø§ Ú¯ÙˆØ´Ù‡ Ù…Ù„Ø§ÛŒÙ… */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-btn-bg, #20bf6b);
    color: #fff;
    border: 0;
    outline: 0;
}

@media (min-width:768px) {
    .app-home-search .zh-form .zh-btn {
        width: 56px;
        height: 56px
    }
}

.app-home-search .zh-form .zh-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.app-home-search .zh-form .zh-btn i {
    font-size: 20px;
    line-height: 1;
}

/* search field â€“ less rounded, no boxy shadow */
.app-home-search .zh-form .zh-field {
    height: 50px;
    flex: 1 1 auto;
    padding: 0 16px;
    border: 1px solid #e6e9ee;
    border-radius: 12px;
    /* Ú¯Ø±Ø¯ÛŒ Ú©Ù…ØªØ± Ø§Ø² Ø­Ø§Ù„Øª Ù‚Ø¨Ù„ÛŒ */
    background: #fff;
    box-shadow: none;
    /* Ø­Ø°Ù Ø­Ø§Ù„Øª Ø¨Ø§Ú©Ø³ */
    outline: 0;
}

@media (min-width:768px) {
    .app-home-search .zh-form .zh-field {
        height: 56px
    }
}

.app-home-search .zh-form .zh-field:focus {
    border-color: #d0d7de;
    box-shadow: none;
}

/* ajax dropdown keep placement */
.mlm-ajax-search .mlm-search-results {
    top: calc(100% + 8px);
    border-radius: 12px;
    overflow: hidden;
}

/* popular searches (linear & faint) */
.app-home-search .zh-popular {
    text-align: center;
    font-size: 13px;
    color: #9aa4b2;
}

.app-home-search .zh-popular .label {
    color: #9aa4b2;
    margin-left: 4px;
}

.app-home-search .zh-popular .item {
    color: inherit;
    text-decoration: none;
}

.app-home-search .zh-popular .item:hover {
    text-decoration: underline;
}

.app-home-search .zh-popular .sep {
    color: #cbd5e1;
    margin: 0 4px;
}

/* === Fix hero search (exactly like sample) =============================== */
/* Ø¯Ú©Ù…Ù‡ Ùˆ ÙÛŒÙ„Ø¯ Ú©Ù†Ø§Ø± Ù‡Ù…ØŒ Ø¨Ø§ Ø§Ø±ØªÙØ§Ø¹ Ø¨Ø±Ø§Ø¨Ø± Ùˆ Ø¨Ø¯ÙˆÙ† Ø¨Ø§Ú©Ø³/Ø³Ø§ÛŒÙ‡â€ŒÛŒ Ø§Ø¶Ø§ÙÙ‡ */
.app-home-search .zh-form {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 820px;
    margin: 16px auto 0;
    position: relative;
}

/* Ø®Ù†Ø«ÛŒâ€ŒØ³Ø§Ø²ÛŒ Ø§Ø³ØªØ§ÛŒÙ„ Ù‚Ø¯ÛŒÙ…ÛŒ Ú©Ù‡ Ø¯Ú©Ù…Ù‡ Ø±Ø§ Ø¯Ø§ÛŒØ±Ù‡â€ŒØ§ÛŒ Ùˆ absolute Ù…ÛŒâ€ŒÚ©Ø±Ø¯ */
.app-home-search .zh-searchbar .zh-btn {
    position: static !important;
    left: auto !important;
    top: auto !important;
    box-shadow: none !important;
    border: 1px solid #e6e9ee !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
    /* Ù…Ø±Ø¨Ø¹ Ø¨Ø§ Ú¯ÙˆØ´Ù‡â€ŒÛŒ Ú©Ù… */
    background: #20bf6b !important;
    /* Ø³Ø¨Ø² Ù…Ø«Ù„ Ù†Ù…ÙˆÙ†Ù‡ */
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

@media (min-width:768px) {
    .app-home-search .zh-searchbar .zh-btn {
        width: 56px !important;
        height: 56px !important;
    }
}

.app-home-search .zh-searchbar .zh-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.app-home-search .zh-searchbar .zh-btn i {
    font-size: 20px;
    line-height: 1;
}

/* ÙÛŒÙ„Ø¯ Ø³Ø±Ú†: Ú¯Ø±Ø¯ÛŒ Ú©Ù…ØªØ±ØŒ Ø¨Ø¯ÙˆÙ† Ø³Ø§ÛŒÙ‡ØŒ Ù‡Ù…â€ŒØ§Ø±ØªÙØ§Ø¹ Ø¨Ø§ Ø¯Ú©Ù…Ù‡ */
.app-home-search .zh-form .zh-field {
    height: 52px;
    flex: 1 1 auto;
    padding: 0 16px;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    /* Ú¯Ø±Ø¯ÛŒ Ú©Ù…ØªØ± Ø§Ø² Ù‚Ø¨Ù„ */
    background: #fff;
    box-shadow: none;
    outline: 0;
}

@media (min-width:768px) {
    .app-home-search .zh-form .zh-field {
        height: 56px;
    }
}

.app-home-search .zh-form .zh-field:focus {
    border-color: #d0d7de;
    box-shadow: none;
}

/* Â«Ø­Ø³ Ø¨Ø§Ú©Ø³Â» Ø±Ø§ Ø§Ø² Ø§Ø·Ø±Ø§Ù ÙˆØ±ÙˆØ¯ÛŒ Ø¨Ú¯ÛŒØ± (Ø§Ú¯Ø± Ø¬Ø§ÛŒÛŒ Ø³Ø§ÛŒÙ‡â€ŒØ§ÛŒ Ù…Ø§Ù†Ø¯Ù‡ Ø¨Ø§Ø´Ø¯) */
.app-home-search .zh-form,
.app-home-search .zh-form * {
    box-shadow: none !important;
}

/* Ø¬Ø³ØªØ¬ÙˆÙ‡Ø§ÛŒ Ù¾Ø±ØªÚ©Ø±Ø§Ø±: Ø®Ø§Ú©Ø³ØªØ±ÛŒÙ Ú©Ù…â€ŒØ±Ù†Ú¯ØŒ Ù†Ù‡ Ø¢Ø¨ÛŒ */
.app-home-search .zh-popular {
    text-align: center;
    font-size: 13px;
    color: #9aa4b2;
}

.app-home-search .zh-popular .label {
    color: #9aa4b2;
    margin-left: 4px;
}

.app-home-search .zh-popular .item {
    color: #9aa4b2 !important;
    text-decoration: none;
}

.app-home-search .zh-popular .item:hover {
    color: #6b7280 !important;
    text-decoration: underline;
}

.app-home-search .zh-popular .sep {
    color: #cbd5e1;
    margin: 0 4px;
}

/* Ø¬Ø§ÛŒ Ø§ÙØªØ§Ø¯Ù† Ù†ØªØ§ÛŒØ¬ Ø§ÛŒØ¬Ú©Ø³ */
.mlm-ajax-search .mlm-search-results {
    top: calc(100% + 8px);
    border-radius: 12px;
    overflow: hidden;
}

/* =========================
   HOME: Hero Search (new)
   ========================= */
.app-home-search.zh-hero {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.app-home-search.zh-hero:before {
    content: none !important;
}

/* Ø¹Ù†ÙˆØ§Ù† Ùˆ Ø²ÛŒØ±Ø¹Ù†ÙˆØ§Ù† - ÙÙ‚Ø· Ø¨Ø±Ø§ÛŒ Ø§Ø·Ù…ÛŒÙ†Ø§Ù† Ø§Ø² Ø§Ù†Ø¯Ø§Ø²Ù‡â€ŒÙ‡Ø§ */
.app-home-search .zh-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.7;
    color: #222;
}

.app-home-search .zh-sub {
    font-size: 16px;
    color: #6c757d;
}

@media (min-width:992px) {
    .app-home-search .zh-title {
        font-size: 36px
    }

    .app-home-search .zh-sub {
        font-size: 18px
    }
}

/* ÙØ±Ù… Ø®Ø·ÛŒ Ø¨Ø§ Ø¯Ú©Ù…Ù‡ Ø¯Ø± Ø³Ù…Øª Ø±Ø§Ø³Øª (RTL) */
.app-home-search .zh-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
    direction: rtl;
    max-width: 820px;
    margin: 16px auto 0;
    position: relative;
}

/* Ø¯Ú©Ù…Ù‡â€ŒÛŒ Ø³Ø±Ú†: Ù…Ø±Ø¨Ø¹ Ø¨Ø§ Ú¯ÙˆØ´Ù‡â€ŒÛŒ Ú©Ù… + Ø±Ù†Ú¯ Ø§Ø² ØªÙ†Ø¸ÛŒÙ…Ø§Øª (CSS variable) */
.app-home-search .zh-form .zh-btn {
    order: 1;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-btn-bg, #20bf6b);
    color: #fff;
    border: 1px solid #e6e9ee;
    outline: 0;
    box-shadow: none;
}

@media (min-width:768px) {
    .app-home-search .zh-form .zh-btn {
        width: 56px;
        height: 56px
    }
}

.app-home-search .zh-form .zh-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.app-home-search .zh-form .zh-btn i {
    font-size: 20px;
    line-height: 1;
}

/* ÙÛŒÙ„Ø¯ Ø³Ø±Ú†: Ù‡Ù…â€ŒØ§Ø±ØªÙØ§Ø¹ Ø¨Ø§ Ø¯Ú©Ù…Ù‡ + Ú¯Ø±Ø¯ÛŒ Ú©Ù…ØªØ± */
.app-home-search .zh-form .zh-field {
    order: 2;
    height: 52px;
    flex: 1 1 auto;
    padding: 0 16px;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    outline: 0;
}

@media (min-width:768px) {
    .app-home-search .zh-form .zh-field {
        height: 56px
    }
}

.app-home-search .zh-form .zh-field:focus {
    border-color: #d0d7de;
    box-shadow: none;
}

/* Ø¬Ø³ØªØ¬ÙˆÙ‡Ø§ÛŒ Ù¾Ø±ØªÚ©Ø±Ø§Ø±: Ø®Ø§Ú©Ø³ØªØ±ÛŒ Ùˆ Ø®Ø·ÛŒ */
.app-home-search .zh-popular {
    text-align: center;
    font-size: 13px;
    color: #9aa4b2;
}

.app-home-search .zh-popular .label {
    color: #9aa4b2;
    margin-left: 4px;
}

.app-home-search .zh-popular .item {
    color: #9aa4b2;
    text-decoration: none;
}

.app-home-search .zh-popular .item:hover {
    color: #6b7280;
    text-decoration: underline;
}

.app-home-search .zh-popular .sep {
    color: #cbd5e1;
    margin: 0 4px;
}

/* Ø¯Ø±Ø§Ù¾â€ŒØ¯Ø§ÙˆÙ† Ù†ØªØ§ÛŒØ¬ AJAX */
.mlm-ajax-search .mlm-search-results {
    top: calc(100% + 8px);
    border-radius: 12px;
    overflow: hidden;
}

/* === HERO SEARCH: Ù†Ù‡Ø§ÛŒÛŒâ€ŒØ³Ø§Ø²ÛŒ === */
.app-home-search.zh-hero,
.app-home-search.zh-hero::before,
.app-home-search.zh-hero::after {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* ÙØ±Ù…: Ù‡Ù…â€ŒØ®Ø·ØŒ Ø±Ø§Ø³Øªâ€ŒØ¨Ù‡â€ŒÚ†Ù¾ØŒ ÙØ§ØµÙ„Ù‡ ÛŒÚ©Ù†ÙˆØ§Ø®Øª + ÙˆØ³Ø·â€ŒÚ†ÛŒÙ† Ø§ÙÙ‚ÛŒ */
.app-home-search.zh-hero .zh-form {
    display: flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
    max-width: 820px;
    margin: 16px auto 0;
    position: relative;
    padding: 0 10px;
    /* Ú©Ù…ÛŒ ÙØ§ØµÙ„Ù‡â€ŒÛŒ Ø§ÙÙ‚ÛŒ Ø¨Ø±Ø§ÛŒ Ù…ÙˆØ¨Ø§ÛŒÙ„ ØªØ§ Ø¨Ù‡ Ø¯ÛŒÙˆØ§Ø±Ù‡ Ù†Ú†Ø³Ø¨Ø¯ */
    max-width: 820px !important;
    margin: 16px auto 0 !important;
}

/* ÙÛŒÙ„Ø¯ Ø±Ø§Ø³ØªØŒ Ø¯Ú©Ù…Ù‡ Ú†Ù¾ (ØªØ±ØªÛŒØ¨ Ø¨ØµØ±ÛŒ) */
.app-home-search.zh-hero .zh-field {
    order: 1;
}

.app-home-search.zh-hero .zh-btn {
    order: 2;
}

/* Ø¸Ø§Ù‡Ø± Ø¯Ú©Ù…Ù‡ (Ù…Ø±Ø¨Ø¹ Ø¨Ø§ Ú¯ÙˆØ´Ù‡ Ú©Ù…ÛŒ Ú¯Ø±Ø¯) + Ø±Ù†Ú¯ Ø§Ø² ØªÙ†Ø¸ÛŒÙ…Ø§Øª */
.app-home-search.zh-hero .zh-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--hero-btn-bg, #20bf6b) !important;
    color: #fff;
}

/* ÙÛŒÙ„Ø¯ Ø¨Ø§ Ú¯Ø±Ø¯ÛŒ Ú©Ù…ØªØ± */
.app-home-search.zh-hero .zh-field {
    height: 48px;
    border-radius: 10px;
}

/* Ø¬Ø³ØªØ¬ÙˆÙ‡Ø§ÛŒ Ù¾Ø±ØªÚ©Ø±Ø§Ø±: Ø®Ø§Ú©Ø³ØªØ±ÛŒ Ùˆ Ø®Ø·ÛŒ */
.app-home-search.zh-hero .zh-popular {
    font-size: 10px !important;
    color: #9aa1a7;
}

.app-home-search.zh-hero .zh-popular .label {
    color: #9aa1a7;
}

.app-home-search.zh-hero .zh-popular .item {
    color: #9aa1a7;
    text-decoration: none;
}

.app-home-search.zh-hero .zh-popular .label,
.app-home-search.zh-hero .zh-popular .item {
    font-size: 10px !important;
}

.app-home-search.zh-hero .zh-popular .item:hover {
    text-decoration: underline;
}

/* ÙÙ‚Ø· ØµÙØ­Ù‡Ù” Ø§ØµÙ„ÛŒ: Ø¨Ø§Ú©Ø³ Ø³ÙÛŒØ¯ Ø¯ÙˆØ± Ø§Ø³Ù„Ø§ÛŒØ¯Ø±+Ø³Ø±Ú† Ø±Ø§ Ø®Ù†Ø«ÛŒ Ú©Ù† */
.site-main>.mlm-widget.bg-white.rounded-lg {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* === Hero Search: Ø¯Ø³ØªÙ‡â€ŒØ¨Ù†Ø¯ÛŒ Ú©Ù†Ø§Ø± ÙÛŒÙ„Ø¯ ====================== */
.app-home-search .zh-form {
    position: relative;
}

/* Ù…Ø±Ø¬Ø¹ Ø¨Ø±Ø§ÛŒ Ù…Ù†Ùˆ */

.app-home-search .zh-cat {
    order: 0;
    position: relative;
    /* Ø¨ÛŒØ§Ø¯ Ø³Ù…Øª Ø±Ø§Ø³Øª (Ø¯Ø± RTL) */
}

.app-home-search .zh-cat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 12px;
    background: #f3f4f6;
    color: #333;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    cursor: pointer;
    outline: 0;
    box-shadow: none;
    line-height: 1;
    white-space: nowrap;
}

@media (min-width:768px) {
    .app-home-search .zh-cat-toggle {
        height: 56px
    }
}

.app-home-search .zh-cat-toggle .chev {
    transition: transform .15s ease;
}

.app-home-search .zh-cat-menu.open+.zh-btn,
.app-home-search .zh-cat-toggle[aria-expanded="true"] .chev {
    transform: rotate(180deg);
}

.app-home-search .zh-cat-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 210px;
    max-height: 300px;
    overflow: auto;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    padding: 6px;
    display: none;
    z-index: 25;
}

.app-home-search .zh-cat-menu.open {
    display: block;
}

.app-home-search .zh-cat-item {
    display: block;
    width: 100%;
    text-align: right;
    padding: 8px 10px;
    margin: 2px 0;
    background: #fff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    color: #374151;
    font-size: 13px;
}

.app-home-search .zh-cat-item:hover {
    background: #f9fafb;
}

/* Ù‡Ù…Ø§Ù‡Ù†Ú¯ÛŒ Ø§Ø±ØªÙØ§Ø¹â€ŒÙ‡Ø§ Ø¨Ø§ ÙÛŒÙ„Ø¯ Ùˆ Ø¯Ú©Ù…Ù‡â€ŒÛŒ Ø³Ø±Ú† Ù…ÙˆØ¬ÙˆØ¯ */
.app-home-search .zh-field {
    height: 48px;
}

@media (min-width:768px) {
    .app-home-search .zh-field {
        height: 56px
    }
}

/* ==== HERO SEARCH: category inside the input ================================= */

/* Ø±Ù¾Ø± ÙÛŒÙ„Ø¯: Ø¬Ø§ÛŒ ÙˆØ±ÙˆØ¯ÛŒ + Ø¢Ú©Ø§Ø±Ø¯Ø¦ÙˆÙ† */
.app-home-search .zh-fieldwrap {
    position: relative;
    flex: 1 1 auto;
    /* Ù‡Ù…Ø§Ù† Ù†Ù‚Ø´ÛŒ Ú©Ù‡ Ù‚Ø¨Ù„Ø§Ù‹ input Ø¯Ø§Ø´ØªØ› Ø¹Ø±Ø¶ ÙØ±Ù… ØªØºÛŒÛŒØ± Ù†Ù…ÛŒâ€ŒÚ©Ù†Ø¯ */
    min-width: 0;
}

/* Ø®ÙˆØ¯ ÙÛŒÙ„Ø¯Ø› Ú†ÙˆÙ† Ø¯Ø³ØªÙ‡â€ŒØ¨Ù†Ø¯ÛŒ Ø¯Ø§Ø®Ù„ ÙÛŒÙ„Ø¯ Ø¢Ù…Ø¯Ù‡ØŒ ÙØ¶Ø§ÛŒ Ø±Ø§Ø³Øª Ø®Ø§Ù„ÛŒ Ú©Ù†ÛŒÙ… */
.app-home-search .zh-fieldwrap .zh-field {
    padding-right: 150px;
    /* Ø¬Ø§ÛŒ Ø¯Ú©Ù…Ù‡â€ŒÛŒ Ø¯Ø³ØªÙ‡â€ŒØ¨Ù†Ø¯ÛŒ Ø¯Ø§Ø®Ù„ ÙÛŒÙ„Ø¯ */
    height: 48px;
    border-radius: 10px;
}

@media (min-width:768px) {
    .app-home-search .zh-fieldwrap .zh-field {
        height: 56px
    }
}

/* Ø¨Ø§Ú©Ø³ Ø¯Ø³ØªÙ‡â€ŒØ¨Ù†Ø¯ÛŒ Ø¯Ø§Ø®Ù„ ÙÛŒÙ„Ø¯ */
.app-home-search .zh-fieldwrap .zh-cat {
    position: absolute;
    right: 6px;
    top: 6px;
    height: calc(100% - 12px);
    display: flex;
    align-items: center;
}

/* Ø¯Ú©Ù…Ù‡â€ŒÛŒ Ø¨Ø§Ø²Ú©Ù†Ù†Ø¯Ù‡ Ø¯Ø³ØªÙ‡â€ŒÙ‡Ø§ (Ø¯Ø§Ø®Ù„ ÙÛŒÙ„Ø¯) */
.app-home-search .zh-fieldwrap .zh-cat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 0 12px;
    background: #f3f4f6;
    color: #333;
    border: 1px solid #e6e9ee;
    border-radius: 8px;
    cursor: pointer;
    outline: 0;
    box-shadow: none;
    white-space: nowrap;
    line-height: 1;
}

/* Ù…Ù†ÙˆÛŒ Ú©Ø´ÙˆÛŒÛŒ Ù†Ø³Ø¨Øª Ø¨Ù‡ Ù‡Ù…ÛŒÙ† Ø¨Ø§Ú©Ø³ Ø¨Ø§Ø² Ø´ÙˆØ¯ */
.app-home-search .zh-fieldwrap .zh-cat-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 210px;
    max-height: 300px;
    overflow: auto;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    padding: 6px;
    display: none;
    z-index: 30;
}

.app-home-search .zh-fieldwrap .zh-cat-menu.open {
    display: block;
}

.app-home-search .zh-fieldwrap .zh-cat-item {
    display: block;
    width: 100%;
    text-align: right;
    padding: 8px 10px;
    margin: 2px 0;
    background: #fff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    color: #374151;
    font-size: 13px;
}

.app-home-search .zh-fieldwrap .zh-cat-item:hover {
    background: #f9fafb;
}

/* ØªØ±ØªÛŒØ¨ Ù†Ù…Ø§ÛŒØ´ Ø¯Ø± ÙØ±Ù… (RTL): ÙÛŒÙ„Ø¯ Ø³Ù…Øª Ø±Ø§Ø³ØªØŒ Ø¯Ú©Ù…Ù‡â€ŒÛŒ Ø¬Ø³ØªØ¬Ùˆ Ø³Ù…Øª Ú†Ù¾ */
.app-home-search .zh-form {
    display: flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
}

.app-home-search .zh-fieldwrap {
    order: 1;
}

.app-home-search .zh-btn {
    order: 2;
}

/* === WooCommerce My Account layout reset for default skin === */
body:not(.panel-skin-neo) .woocommerce-MyAccount-navigation,
body:not(.panel-skin-neo) .woocommerce-account .woocommerce-MyAccount-navigation {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    margin-bottom: 0;
}

/* Product and Post Images Fix */
.mlm-product .item-header img,
.mlm-product .item-header .position-absolute {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    z-index: 1;
}

.mlm-product .item-header {
    position: relative;
    overflow: hidden;
}

.mlm-product .item-header a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Blog Post Images Fix */
.mlm-product .item-header img[alt*="post"],
.mlm-product .item-header img[alt*="blog"] {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    z-index: 1;
}

/* Fallback for missing images */
.mlm-product .item-header img[src*="no-thumbnail.png"] {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlm-product .item-header img[src*="no-thumbnail.png"]::after {
    content: '📷';
    font-size: 2rem;
    opacity: 0.5;
}

/* Product Card Layout Fix */
.mlm-product {
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.mlm-product .item-header {
    height: 200px;
    flex-shrink: 0;
}

.mlm-product .item-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlm-product .item-title {
    flex-shrink: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.mlm-product .item-footer {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mlm-product .item-footer .row:last-child {
    margin-top: auto;
}

.mlm-product .item-purchase {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    padding: 8px 12px;
}

/* Vendor Box Classic Styling */
.mlm-vendor-box-classic {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mlm-vendor-box-classic:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mlm-vendor-box-classic .vendor-cover {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlm-vendor-box-classic .vendor-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.mlm-vendor-box-classic .mlm-vendor-social-nav {
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.mlm-vendor-box-classic .mlm-vendor-social-nav .nav-link {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.mlm-vendor-box-classic .mlm-vendor-social-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Social Media Locked Message */
.mlm-social-locked {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 20px !important;
    border-radius: 10px;
    margin: 20px;
}

.mlm-social-locked i {
    display: block;
    margin-bottom: 10px;
    opacity: 0.9;
}

.mlm-social-locked p {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.5;
}

.mlm-vendor-box-classic .vendor-avatar {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.mlm-vendor-box-classic .vendor-info {
    padding: 60px 30px 30px;
    text-align: center;
}

.mlm-vendor-box-classic .vendor-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.mlm-vendor-box-classic .vendor-bio {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mlm-vendor-box-classic .vendor-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.mlm-vendor-box-classic .vendor-stat {
    text-align: center;
}

.mlm-vendor-box-classic .vendor-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.mlm-vendor-box-classic .vendor-stat-label {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

.mlm-vendor-box-classic .vendor-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mlm-vendor-box-classic .vendor-btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mlm-vendor-box-classic .vendor-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.mlm-vendor-box-classic .vendor-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    color: white;
}

.mlm-vendor-box-classic .vendor-btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #4a5568;
}

.mlm-vendor-box-classic .vendor-btn-outline:hover {
    border-color: #667eea;
    color: #667eea;
}

.mlm-vendor-box-classic .vendor-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #48bb78;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.mlm-vendor-box-classic .vendor-verified i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mlm-vendor-box-classic .vendor-info {
        padding: 60px 20px 20px;
    }

    .mlm-vendor-box-classic .vendor-stats {
        gap: 20px;
    }

    .mlm-vendor-box-classic .vendor-actions {
        flex-direction: column;
        align-items: center;
    }

    .mlm-vendor-box-classic .vendor-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

body:not(.panel-skin-neo) .woocommerce-MyAccount-navigation ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

body:not(.panel-skin-neo) .woocommerce-MyAccount-navigation ul li {
    margin: 0 0 8px;
}

body:not(.panel-skin-neo) .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    transition: all .2s;
}

body:not(.panel-skin-neo) .woocommerce-MyAccount-navigation ul .is-active a,
body:not(.panel-skin-neo) .woocommerce-MyAccount-navigation a:hover {
    background: linear-gradient(180deg, #22c1dc, #10b981);
    color: #fff;
    border-color: transparent;
}

body:not(.panel-skin-neo) .woocommerce-MyAccount-content,
body:not(.panel-skin-neo) .woocommerce-account .woocommerce-MyAccount-content {
    display: block;
    width: 100%;
    float: none;
}

body:not(.panel-skin-neo) .woocommerce-MyAccount-content h3 {
    display: block;
    margin-bottom: 18px;
}

/* Classic Orders Template Styles */
.mlm-orders-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.mlm-orders-filters .form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
}

.mlm-orders-filters .btn-primary {
    background: linear-gradient(180deg, #22c1dc, #10b981);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
}

.mlm-order-item {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0 !important;
}

.mlm-order-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.mlm-order-item img {
    max-width: 80px;
    height: 80px;
    object-fit: cover;
}

.mlm-order-item .seller-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

.badge-paid {
    background: linear-gradient(180deg, #10b981, #059669);
    color: white;
}

.badge-wait-confirm {
    background: linear-gradient(180deg, #f59e0b, #d97706);
    color: white;
}

.badge-wait-pay {
    background: linear-gradient(180deg, #ef4444, #dc2626);
    color: white;
}

.badge-refunded {
    background: linear-gradient(180deg, #6b7280, #4b5563);
    color: white;
}

.badge-canceled {
    background: linear-gradient(180deg, #9ca3af, #6b7280);
    color: white;
}

.mlm-order-item .btn-outline-primary {
    border-color: #22c1dc;
    color: #22c1dc;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
}

.mlm-order-item .btn-outline-primary:hover {
    background: #22c1dc;
    color: white;
}

/* Order View Page Styles */
.woocommerce-order-details {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.woocommerce-order-details h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.woocommerce-order-details .woocommerce-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-order-details .woocommerce-table th,
.woocommerce-order-details .woocommerce-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce-order-details .woocommerce-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #374151;
}

.woocommerce-order-details .woocommerce-table tr:hover {
    background: #f8f9fa;
}

.woocommerce-order-details .product-name {
    font-weight: 500;
    color: #1e293b;
}

.woocommerce-order-details .product-total {
    font-weight: 600;
    color: #059669;
}

.woocommerce-order-details .order-total {
    background: #f0fdf4;
    font-weight: 700;
    color: #059669;
    font-size: 1.1rem;
}

.woocommerce-order-details .order-total .amount {
    font-size: 1.2rem;
}

/* Order Addresses */
.woocommerce-customer-details {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.woocommerce-customer-details h2 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.6;
    color: #374151;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Order Status */
.woocommerce-order-status {
    background: linear-gradient(180deg, #22c1dc, #10b981);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

/* Order Notes */
.woocommerce-order-notes {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.woocommerce-order-notes h2 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.woocommerce-order-notes .note {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #22c1dc;
}

.woocommerce-order-notes .note-date {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.woocommerce-order-notes .note-content {
    color: #374151;
    line-height: 1.5;
}

/* --- FIX: contain floats inside products slider widget --- */
.mlm-products-slider-wrapper {
    display: flow-root;
}

/* ایجاد BFC مدرن */
.mlm-products-slider-wrapper::after {
    content: "";
    display: block;
    clear: both;
}

/* پشتیبان برای مرورگرهای قدیمی */
/* Global CSS variables */
:root {
    --hero-btn-bg: #20bf6b;
    /* پیش‌فرضی که در استایل‌ها استفاده شده */
}

/* contain floats inside products slider widget */
.mlm-products-slider-wrapper {
    display: flow-root;
}

.mlm-products-slider-wrapper::after {
    content: "";
    display: block;
    clear: both;
}

/* === Global: lock horizontal page drag; allow only whitelisted areas === */
@media (max-width: 1024px) {

    html,
    body {
        overflow-x: hidden;
        /* جلوی اسکرول/درَگ افقی کل صفحه را بگیر */
        touch-action: pan-y;
        /* ژست پیش‌فرض: فقط عمودی */
        overscroll-behavior-x: none;
        /* جلوگیری از bounce افقی کروم/فایرفاکس */
    }

    /* نواحیِ مجاز برای اسکرول/سوایپ افقی */
    .modern-tabs-nav,
    .swiper,
    .mlm-rel-products,
    .mlm-rel-vendor-products,
    .mlm-rel-vendor-courses {
        touch-action: pan-x;
        /* فقط این‌ها مجاز به سوایپ افقی هستند */
        -webkit-overflow-scrolling: touch;
    }

    /* اسکرول‌بار افقی در WebKit (نمایان و استایل‌دار) */
    .modern-tabs-nav::-webkit-scrollbar {
        height: 6px;
    }

    .modern-tabs-nav::-webkit-scrollbar-track {
        background: #f1f3f7;
        border-radius: 999px;
    }

    .modern-tabs-nav::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }

    /* اسکرول‌بار فایرفاکس */
    .modern-tabs-nav {
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f3f7;
    }
}

/* === Mobile menu overlay (dim background) === */
#mlm-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* مقدار تیرگی */
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 9998;
    /* یک لایه پایین‌تر از پنل منو (که 9999 است) */
}

/* وقتی منو باز شد، اورلی دیده شود */
body.menu-open #mlm-mobile-overlay {
    opacity: 1;
    visibility: visible;
}

/* وقتی منو باز است، اسکرول صفحه قفل شود */
body.menu-open {
    overflow: hidden;
    overscroll-behavior: contain;
}

/* استایل‌های سبد خرید پیشفرض قالب - دقیقاً مثل نمونه جدید */
.modal {
    background: rgba(16, 24, 40, .35) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.modal-dialog {
    width: min(720px, 92vw) !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    border-radius: 18px 18px 0 0 !important;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .18) !important;
}

.modal-content {
    border: 1px solid rgba(8, 14, 40, .10) !important;
    border-radius: 18px 18px 0 0 !important;
    background: #fff !important;
}

.modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(16, 24, 40, .08) !important;
}

.modal-title {
    margin: 0 !important;
    font-weight: 800 !important;
}

.modal-header .close {
    appearance: none !important;
    border: 1px solid rgba(16, 24, 40, .12) !important;
    background: #fff !important;
    border-radius: 12px !important;
    padding: 8px 10px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.modal-body {
    padding: 12px 16px !important;
    max-height: 50vh !important;
    overflow: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* استایل‌های محصولات در سبد خرید - دقیقاً مثل نمونه جدید */
.widget_shopping_cart_content .cart_list li,
.woocommerce ul.cart_list li,
ul.woocommerce-mini-cart li,
.woocommerce-mini-cart-item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 56px 1fr auto !important;
    gap: 12px !important;
    align-items: flex-start !important;
    border: 1px solid rgba(16, 24, 40, .10) !important;
    background: #ffffffcc !important;
    border-radius: 14px !important;
    padding: 12px 10px 10px !important;
    margin: 0 0 12px 0 !important;
    list-style: none !important;
    overflow: visible !important;
    float: none !important;
    clear: both !important;
    text-align: right !important;
}

/* کانتینر تصویر محصول - ستون اول */
.widget_shopping_cart_content .cart_list li img,
.woocommerce ul.cart_list li img,
ul.woocommerce-mini-cart li img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
    background: #eef2ff !important;
    object-fit: cover !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    float: none !important;
    margin: 0 !important;
    position: relative !important;
}

/* کانتینر اطلاعات محصول - ستون دوم */
/* ستون اطلاعات: فقط لینکِ عنوان (نه لینکی که داخلش img است) */
.mc-items .woocommerce-mini-cart-item a:not(.remove_from_cart_button):not(:has(img)),
.mc-items .woocommerce-mini-cart-item .product-info {
    position: relative !important;
    grid-column: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    align-self: flex-start !important;
    text-decoration: none !important;
    color: inherit !important;
    width: 100% !important;
}

/* ستون تصویر: لینکی که داخلش img است */
.mc-items .woocommerce-mini-cart-item a:not(.remove_from_cart_button):has(img) {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    display: block !important;
    width: 56px !important;
}

.mc-items .woocommerce-mini-cart-item a:not(.remove_from_cart_button):has(img) img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    background: #eef2ff !important;
}

/* اطمینان از اینکه تمام محتوای متنی در ستون دوم قرار گیرد */
.widget_shopping_cart_content .cart_list li>*:not(img):not(.remove):not(.amount),
.woocommerce ul.cart_list li>*:not(img):not(.remove):not(.amount),
ul.woocommerce-mini-cart li>*:not(img):not(.remove):not(.amount) {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

/* استایل فروشنده */
.widget_shopping_cart_content .cart_list li .vendor,
.woocommerce ul.cart_list li .vendor,
ul.woocommerce-mini-cart li .vendor {
    color: rgb(108, 116, 128) !important;
    font-size: 13px !important;
    margin: 0 0 2px 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* استایل عنوان محصول */
.widget_shopping_cart_content .cart_list li .title,
.woocommerce ul.cart_list li .title,
ul.woocommerce-mini-cart li .title {
    margin: 2px 0 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    color: rgb(24, 28, 35) !important;
    display: block !important;
}

/* استایل تعداد محصول */
.widget_shopping_cart_content .cart_list li .qty,
.woocommerce ul.cart_list li .qty,
ul.woocommerce-mini-cart li .qty {
    color: rgb(108, 116, 128) !important;
    font-size: 13px !important;
    margin: 2px 0 0 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* استایل قیمت محصول - ستون سوم */
.mc-items .woocommerce-mini-cart-item .amount,
.mc-items .woocommerce-mini-cart-item .woocommerce-Price-amount {
    position: absolute !important;
    top: 12px !important;
    inset-inline-end: 10px !important;
    /* راست در RTL */
    font-weight: 800 !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    color: rgb(24, 28, 35) !important;
    margin: 0 !important;
}


/* مخفی کردن quantity اصلی WooCommerce */
.widget_shopping_cart_content .cart_list li .quantity,
.woocommerce ul.cart_list li .quantity,
ul.woocommerce-mini-cart li .quantity {
    display: none !important;
}

/* دکمه حذف محصول - دقیقاً مثل نمونه */
/* دکمه حذف محصول - روی گوشه بالای تصویر مثل نمونه */
.widget_shopping_cart_content .cart_list li a.remove,
.woocommerce ul.cart_list li a.remove,
ul.woocommerce-mini-cart li a.remove {
    position: absolute !important;
    top: 4px !important;
    left: 4px !important;
    right: auto !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(16, 24, 40, .12) !important;
    background: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    z-index: 10 !important;
    color: #666 !important;
}

.widget_shopping_cart_content .cart_list li a.remove:hover {
    border-color: rgba(16, 24, 40, .24) !important;
    background: #f8f9fa !important;
}

.modal-footer {
    padding: 14px 16px !important;
    border-top: 1px solid rgba(16, 24, 40, .08) !important;
    background: #fff !important;
    border-radius: 0 0 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.modal-footer .total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.modal-footer .total .amount {
    font-weight: 800 !important;
    font-size: 16px !important;
}

.modal-footer .total .label {
    color: rgb(108, 116, 128) !important;
    font-size: 13px !important;
}

/* کانتینر دکمه‌ها - مثل نمونه */
.modal-footer .buttons,
.widget_shopping_cart .buttons,
.woocommerce-mini-cart__buttons {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.modal-footer .buttons a,
.widget_shopping_cart .buttons a,
.woocommerce-mini-cart__buttons a {
    flex: 1 !important;
    text-align: center !important;
}

/* دکمه‌های فوتر سبد خرید - دقیقاً مثل نمونه */
.modal-footer .btn,
.modal-footer a,
.modal-footer button,
.modal-footer .buttons a,
.widget_shopping_cart .buttons a,
.woocommerce-mini-cart__buttons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(16, 24, 40, .12) !important;
    background: #fff !important;
    color: rgb(24, 28, 35) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    flex: 1 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    min-height: 44px !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

/* دکمه تسویه حساب - آبی با gradient مثل نمونه */
.modal-footer .btn-primary,
.modal-footer .btn-checkout,
.modal-footer a[href*="checkout"],
.modal-footer .buttons a.checkout,
.widget_shopping_cart .buttons a.checkout,
.woocommerce-mini-cart__buttons a.checkout {
    background: linear-gradient(135deg, rgb(35, 119, 255) 0%, #5af 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* دکمه‌های دیگر - سفید مثل نمونه */
.modal-footer .btn-secondary,
.modal-footer .btn-cart,
.modal-footer a[href*="cart"],
.modal-footer .buttons a:not(.checkout),
.widget_shopping_cart .buttons a:not(.checkout),
.woocommerce-mini-cart__buttons a:not(.checkout) {
    background: #fff !important;
    border: 1px solid rgba(16, 24, 40, .12) !important;
    color: rgb(24, 28, 35) !important;
    font-weight: 500 !important;
}

/* تغییر متن دکمه‌ها مثل نمونه */
.modal-footer .buttons a:not(.checkout)::before,
.widget_shopping_cart .buttons a:not(.checkout)::before,
.woocommerce-mini-cart__buttons a:not(.checkout)::before {
    content: "سبد خرید" !important;
    display: block !important;
}

.modal-footer .buttons a.checkout::before,
.widget_shopping_cart .buttons a.checkout::before,
.woocommerce-mini-cart__buttons a.checkout::before {
    content: "ادامه به تسویه حساب" !important;
    display: block !important;
}

/* مخفی کردن متن اصلی */
.modal-footer .buttons a,
.widget_shopping_cart .buttons a,
.woocommerce-mini-cart__buttons a {
    font-size: 0 !important;
    line-height: 0 !important;
}

.modal-footer .buttons a::before,
.widget_shopping_cart .buttons a::before,
.woocommerce-mini-cart__buttons a::before {
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: inherit !important;
}

/* هاور افکت‌ها */
.modal-footer .buttons a:hover,
.widget_shopping_cart .buttons a:hover,
.woocommerce-mini-cart__buttons a:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(16, 24, 40, .15) !important;
}

.modal-footer .buttons a.checkout:hover,
.widget_shopping_cart .buttons a.checkout:hover,
.woocommerce-mini-cart__buttons a.checkout:hover {
    box-shadow: 0 4px 12px rgba(35, 119, 255, .3) !important;
}

@media(min-width: 981px) {
    .modal-dialog {
        border-radius: 18px !important;
    }

    .modal-content {
        border-radius: 18px !important;
    }

    .modal-footer {
        border-radius: 0 0 18px 18px !important;
    }
}

/* ==== Mini-Cart Popup — UI جدید (RTL) ==== */
:root {
    --mc-bg: 245 248 255;
    --mc-text: 24 28 35;
    --mc-muted: 108 116 128;
    --mc-stroke: 8 14 40 / .10;
    --mc-brand: 35 119 255;
    --mc-radius: 18px;
    --mc-shadow: 0 18px 48px rgba(16, 24, 40, .18);
}

.mc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, .35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000
}

.mc-overlay.open {
    display: flex
}

.mc-dialog {
    width: min(720px, 92vw);
    border-radius: 18px 18px 0 0;
    background: #fff;
    border: 1px solid rgba(var(--mc-stroke));
    box-shadow: var(--mc-shadow)
}

.mc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(16, 24, 40, .08)
}

.mc-title {
    margin: 0;
    font-weight: 800
}

.mc-close {
    appearance: none;
    border: 1px solid rgba(16, 24, 40, .12);
    background: #fff;
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer
}

.mc-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 50vh;
    overflow: auto;
    padding: 12px 16px;
    background: #ffffff
}

.mc-footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(16, 24, 40, .08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 0 0 18px 18px
}

.mc-tot {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.mc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.mc-actions .btn {
    flex: 1
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(16, 24, 40, .12);
    background: #fff;
    color: rgb(var(--mc-text));
    text-decoration: none;
    cursor: pointer
}

.btn.brand {
    background: linear-gradient(135deg, rgb(var(--mc-brand)) 0%, #5af 100%);
    border: none;
    color: #fff
}

@media(min-width: 981px) {
    .mc-overlay {
        align-items: center
    }

    .mc-dialog {
        border-radius: 18px
    }
}

/* نگاشت مینی‌کارت ووکامرس به کارت‌های نمونه */
.mc-items .woocommerce-mini-cart,
.mc-items .product_list_widget {
    list-style: none;
    margin: 0;
    padding: 0
}

/* Layout اصلی برای آیتم‌های سبد */
.mc-items .woocommerce-mini-cart-item,
.mc-items .woocommerce-mini-cart-item.mlm-processed {
    position: relative !important;
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: flex-start !important;
    gap: 12px !important;
    border: 1px solid rgba(16, 24, 40, .10) !important;
    background: #ffffffcc !important;
    border-radius: 14px !important;
    padding: 12px !important;
    overflow: visible !important;
    min-height: 90px !important;
}

/* کانتینر محتوای متنی */
.mc-items .woocommerce-mini-cart-item .mlm-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

/* عنوان محصول */
.mc-items .woocommerce-mini-cart-item .woocommerce-mini-cart-item__title,
.mc-items .woocommerce-mini-cart-item .woocommerce-mini-cart-item__title a,
.mc-items .woocommerce-mini-cart-item>a:not(.remove_from_cart_button) {
    display: block !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: rgb(var(--mc-text)) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    order: 1 !important;
}

/* فروشنده */
.mc-items .vendor {
    color: rgb(var(--mc-muted)) !important;
    font-size: 12px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    order: 2 !important;
}

/* آواتار فروشنده - کوچک و دایره‌ای */
.mc-items .vendor .vendor-avatar {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    background-color: #ddd !important;
    order: 1 !important;
}

/* تعداد */
.mc-items .quantity {
    margin: 0 !important;
    color: rgb(var(--mc-muted)) !important;
    font-size: 12px !important;
    order: 3 !important;
}

/* تصویر محصول - فقط تصاویر بزرگ محصول */
.mc-items .woocommerce-mini-cart-item img:not(.vendor-avatar) {
    width: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    background: #eef2ff !important;
    flex-shrink: 0 !important;
    order: 4 !important;
}

.mc-items .mlm-cart-product-card {
    background: #ffffff;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.mc-items .mlm-cart-product-card:last-child {
    margin-bottom: 0;
}

.mc-items .mlm-cart-product-card:hover {
    border-color: #F97316;
}

.mc-items .mlm-cart-product-inner {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: flex-start;
}

.mc-items .mlm-cart-product-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #F3F4F6;
    width: 72px;
    height: 72px;
}

.mc-items .mlm-cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-items .mlm-cart-product-discount-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #EF4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
    z-index: 1;
}

.mc-items .mlm-cart-product-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mc-items .mlm-cart-product-title {
    font-size: 13px;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.4;
    margin: 0;
}

.mc-items .mlm-cart-product-title a {
    color: inherit;
    text-decoration: none;
}

.mc-items .mlm-cart-product-title a:hover {
    color: #F97316;
}

.mc-items .mlm-cart-product-vendor {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mc-items .mlm-cart-vendor-avatar {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.mc-items .mlm-cart-vendor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-items .mlm-cart-vendor-name {
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
}

.mc-items .mlm-cart-vendor-name:hover {
    color: #F97316;
}

.mc-items .mlm-cart-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.mc-items .mlm-cart-product-price {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.mc-items .mlm-cart-price-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 4px;
}

.mc-items .mlm-cart-price-current {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.mc-items .mlm-cart-price-original {
    font-size: 12px;
    font-weight: 600;
    color: #EF4444;
    text-decoration: line-through;
}

.mc-items .mlm-cart-price-current del {
    display: none !important;
}

.mc-items .mlm-cart-price-current ins {
    text-decoration: none !important;
    color: inherit !important;
}

.mc-items .mlm-cart-price-current .amount,
.mc-items .mlm-cart-price-current .woocommerce-Price-amount {
    position: static !important;
    inset: auto !important;
    display: block !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.mc-items .mlm-cart-price-original .amount,
.mc-items .mlm-cart-price-original .woocommerce-Price-amount {
    position: static !important;
    inset: auto !important;
    display: block !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #EF4444 !important;
}

.mc-items .mlm-cart-product-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-items .mlm-cart-quantity-stepper {
    display: none !important;
}

/* قیمت */
.mc-items .woocommerce-mini-cart-item__price,
.mc-items .woocommerce-mini-cart-item .amount,
.mc-items .woocommerce-Price-amount {
    font-weight: 800 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    order: 5 !important;
    align-self: center !important;
    margin-top: 10px !important;
}

/* دکمه حذف × - حالا در گوشه بالا راست */
.mc-items .remove_from_cart_button {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 1px solid rgba(16, 24, 40, .12);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    font-size: 12px;
    z-index: 1;
}

.mc-items .remove_from_cart_button:hover {
    border-color: rgba(16, 24, 40, .24);
    background: #f8f9fa
}

/* مخفی کردن جمع کل و دکمه‌های پیش‌فرض ویجت چون فوتر سفارشی داریم */
.mc-items .woocommerce-mini-cart__total,
.mc-items .woocommerce-mini-cart__buttons {
    display: none !important
}

/* جلوگیری از اسکرول پشت پاپ‌آپ */
html.mlm-no-scroll {
    overflow: hidden
}

/* === فقط فرم تسویه حساب === */
body.woocommerce-checkout .woocommerce-billing-fields .form-row,
body.woocommerce-checkout .woocommerce-shipping-fields .form-row,
body.woocommerce-checkout .woocommerce-additional-fields .form-row {
    margin-bottom: 16px;
}

body.woocommerce-checkout .woocommerce-billing-fields input,
body.woocommerce-checkout .woocommerce-shipping-fields input,
body.woocommerce-checkout .woocommerce-additional-fields input,
body.woocommerce-checkout .woocommerce-billing-fields select,
body.woocommerce-checkout .woocommerce-shipping-fields select,
body.woocommerce-checkout .woocommerce-additional-fields select,
body.woocommerce-checkout .woocommerce-billing-fields textarea,
body.woocommerce-checkout .woocommerce-shipping-fields textarea,
body.woocommerce-checkout .woocommerce-additional-fields textarea {
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(16, 24, 40, .12) !important;
    background: #ffffffcc !important;
    font-size: 14px !important;
}

body.woocommerce-checkout #payment .payment_methods {
    list-style: none !important;
    padding: 0 !important;
}

body.woocommerce-checkout #payment .payment_method {
    margin: 8px 0 !important;
}

body.woocommerce-checkout #payment .payment_method label {
    display: flex !important;
    align-items: center !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(16, 24, 40, .15) !important;
    background: #ffffffaa !important;
    cursor: pointer !important;
    margin: 0 !important;
}

body.woocommerce-checkout #payment .payment_method input[type="radio"] {
    margin-left: 8px !important;
}

body.woocommerce-checkout #place_order {
    padding: 14px 20px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #2377ff 0%, #5af 100%) !important;
    border: none !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100% !important;
}

/* مخفی کردن breadcrumb و عنوان در صفحه سبد خرید */
.woocommerce-cart .breadcrumb,
.woocommerce-cart nav[aria-label="breadcrumb"],
.woocommerce-cart .page-header,
.woocommerce-cart .entry-header,
.woocommerce-cart h1.entry-title,
.woocommerce-cart .woocommerce-cart-form::before,
.woocommerce-cart .woocommerce-breadcrumb,
.woocommerce-cart .mlm-breadcrumb,
body.woocommerce-cart .breadcrumb,
body.woocommerce-cart nav[aria-label="breadcrumb"],
body.woocommerce-cart .woocommerce-breadcrumb {
    display: none !important;
}

/* مخفی کردن عنوان صفحه سبد خرید */
body.woocommerce-cart .container>h1:first-child,
body.woocommerce-cart .container>.page-title,
body.woocommerce-cart .woocommerce>h1:first-child,
body.woocommerce-cart h1:contains("سبد خرید"),
body.woocommerce-cart .page-title:contains("سبد خرید"),
.woocommerce-cart h1,
.woocommerce-cart .page-title {
    display: none !important;
}

/* مخفی کردن breadcrumb و عنوان در صفحه تسویه حساب (دمو 1 - default) */
body.woocommerce-checkout .breadcrumb,
body.woocommerce-checkout nav[aria-label="breadcrumb"],
body.woocommerce-checkout .page-header,
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout .woocommerce-breadcrumb,
body.woocommerce-checkout .mlm-breadcrumb,
.woocommerce-checkout .breadcrumb,
.woocommerce-checkout nav[aria-label="breadcrumb"],
.woocommerce-checkout .page-header,
.woocommerce-checkout .entry-header,
.woocommerce-checkout h1.entry-title,
.woocommerce-checkout .woocommerce-breadcrumb,
.woocommerce-checkout .mlm-breadcrumb {
    display: none !important;
}

/* مخفی کردن عنوان صفحه تسویه حساب */
body.woocommerce-checkout .container>h1:first-child,
body.woocommerce-checkout .container>.page-title,
body.woocommerce-checkout .woocommerce>h1:first-child,
body.woocommerce-checkout h1.page-title,
body.woocommerce-checkout .page-title,
body.woocommerce-checkout h1.entry-title,
.woocommerce-checkout .container>h1:first-child,
.woocommerce-checkout .container>.page-title,
.woocommerce-checkout .woocommerce>h1:first-child,
.woocommerce-checkout h1.page-title,
.woocommerce-checkout .page-title,
.woocommerce-checkout h1.entry-title {
    display: none !important;
}

/* مخفی کردن breadcrumb در checkout page */
body.woocommerce-checkout .page-header-breadcrumb,
body.woocommerce-checkout .mlm-breadcrumb-wrapper,
body.woocommerce-checkout nav.breadcrumb,
.woocommerce-checkout .page-header-breadcrumb,
.woocommerce-checkout .mlm-breadcrumb-wrapper,
.woocommerce-checkout nav.breadcrumb {
    display: none !important;
}


/* Mini-Cart (Widget) — Hide default buttons & total inside popup
   چون در فوتر پاپ‌آپ خودمان دکمه‌ها/جمع‌کل را داریم */
.mc-items .woocommerce-mini-cart__buttons,
.mc-items .woocommerce-mini-cart__total,
#mlm-cart-modal .widget_shopping_cart .buttons,
#mlm-cart-modal .widget_shopping_cart .total {
    display: none !important;
}

/* === Ticket Rating Modal (Classic Demo 1) === */
.mlm-rate-modal-classic {
    text-align: center;
    padding: 2px 4px;
}

.mlm-rate-modal-classic .mlm-rate-ticket-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.mlm-rate-modal-classic .mlm-rate-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 2px 0 10px;
}

.mlm-rate-modal-classic .mlm-rate-stars span {
    font-size: 24px;
    cursor: pointer;
    user-select: none;
    color: #f59e0b;
    transition: color 0.2s ease;
}

.mlm-rate-modal-classic .mlm-rate-stars span:hover,
.mlm-rate-modal-classic .mlm-rate-stars span.filled {
    color: #fbbf24;
}

.mlm-rate-modal-classic .mlm-rate-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 4px 0 10px;
}

.mlm-rate-modal-classic .mlm-rate-tabs .tab {
    flex: 1 1 0;
    min-width: 140px;
    padding: 10px 12px;
    border: 1px solid #e6eaf5;
    border-radius: 12px;
    background: #f6f9ff;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mlm-rate-modal-classic .mlm-rate-tabs .tab:hover {
    background: #e3f2fd;
    border-color: #bbdefb;
}

.mlm-rate-modal-classic .mlm-rate-tabs .tab.on {
    background: #fff;
    box-shadow: 0 0 0 2px #d7e3ff inset;
    color: #111827;
}

.mlm-rate-modal-classic .mlm-rate-tabs .tab.on[data-tab="pros"] {
    box-shadow: 0 0 0 2px #b7e5c7 inset;
}

.mlm-rate-modal-classic .mlm-rate-tabs .tab.on[data-tab="cons"] {
    box-shadow: 0 0 0 2px #ffd6cc inset;
}

.mlm-rate-modal-classic .mlm-rate-sections {
    margin-top: 2px;
}

.mlm-rate-modal-classic .mlm-rate-sections .sec {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.mlm-rate-modal-classic .mlm-rate-sections .sec.show {
    display: flex;
}

.mlm-rate-modal-classic .chipx {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mlm-rate-modal-classic .chipx:hover {
    border-color: #c7d2fe;
    box-shadow: 0 0 0 2px #eef2ff inset;
}

.mlm-rate-modal-classic .chipx.active {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px #dbeafe inset;
    background: #eff6ff;
}

/* دکمه تایید سبز داخل swal (اثر حداقلی) */
.swal-button--confirm {
    background: #48bb4e !important;
}

.swal-button--confirm:hover {
    background: #3aa046 !important;
}

.swal-button--confirm:focus {
    box-shadow: none !important;
}