@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url(../webfonts/IRANSansWeb_Bold.eot);
    src: url(../webfonts/IRANSansWeb_Bold.eot?#iefix) format('embedded-opentype'),
     /* IE6-8 */ url(../webfonts/IRANSansWeb_Bold.woff2) format('woff2'),
      /* FF39+,Chrome36+, Opera24+*/ url(../webfonts/IRANSansWeb_Bold.woff) format('woff'),
       /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url(../webfonts/IRANSansWeb_Bold.ttf) format('truetype');
}

@font-face {
    font-family: IranYekan;
    font-style: normal;
    font-weight: normal;
    src: url('../webfonts/iranyekan/eot/iranyekanwebregular(fanum).eot');
    src: url('../webfonts/iranyekan/eot/iranyekanwebregular.eot') format('embedded-opentype'), /* IE6-8 */ url('../webfonts/iranyekan/woff2/iranyekanwebregular(fanum).woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../webfonts/iranyekan/woff2/iranyekanwebregular.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../webfonts/iranyekan/woff/iranyekanwebregular(fanum).woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../webfonts/iranyekan/woff/iranyekanwebregular.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../webfonts/iranyekan/ttf/iranyekanwebregular(fanum).ttf') format('truetype'),
url('../webfonts/iranyekan/ttf/iranyekanwebregular.ttf') format('truetype');
}

:root {
    --mks-primary-gradient: linear-gradient(135deg, #7352ac 0%, #5a3d8a 100%);
    --mks-primary-gradient-rev: linear-gradient(135deg, #5a3d8a 0%, #7352ac 100%);
    --mks-shadow: 0 4px 16px rgba(115, 82, 172, 0.2);
    --mks-shadow-hover: 0 4px 16px rgba(115, 82, 172, 0.4);
    --mks-color-primary: #7352ac;
    --mks-color-secondary: #5a3d8a;
    --mks-footer-bg: #3d2e58;
    --mks-footer-text: #f3f0f8;
    --mks-footer-text-muted: rgba(243, 240, 248, 0.72);
    --mks-footer-heading: #ffffff;
    --mks-footer-link: #e4dcf2;
    --mks-footer-link-hover: #f3f0f8;
    --mks-footer-icon: #7352ac;
    --mks-footer-border: rgba(255, 255, 255, 0.12);
    --mks-footer-border-subtle: rgba(255, 255, 255, 0.08);
    --mks-footer-card-bg: rgba(255, 255, 255, 0.08);
    --mks-footer-btn-bg: rgba(255, 255, 255, 0.1);
    --mks-footer-btn-border: rgba(255, 255, 255, 0.18);
    --mks-footer-btn-text: #f3f0f8;
    --mks-footer-desc-gradient: linear-gradient(to top, #3d2e58 0%, rgba(61, 46, 88, 0.88) 50%, transparent 100%);
}

body {
    overflow-x: hidden;
    background-color: #f1f1f14d;
    min-height: 120vh;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}

* {
    font-family: IranYekan, IRANSans, 'sans-serif';
}

a {
    text-decoration: none !important;
    color: #515151;
}

p{
    margin: 0;
}
h1, h2, h3, h4, h5, h6{
    margin: 0;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

a:visited {
    text-decoration: none;
}

section {
    position: relative;
}

hr {
    border: 0;
    box-sizing: content-box;
    overflow: visible;
    height: 1px !important;
    color: #e5e5e5e9 !important;
}

.form-control {
    font-size: 15px;
    border-radius: 10px;
    padding: 10px;
    outline: none;
    transition: all ease-in 0.150s;
    direction: rtl;
    border: solid 1px #e9e9e9e9;
}

.form-group label {
    font-size: 13px;
    margin: 20px 0 5px;
    direction: rtl;
    text-align: right;
    display: block;
}

.form-control:focus {
    box-shadow: rgb(0 0 0 / 12%) 0 0 4px 0;
    border: solid 1px #000;
}

.form-control:focus {
    border-color: #ced4da !important;
    box-shadow: none !important;
}

input.form-control {
    padding: 10px;
    border-radius: 10px;
}

input:focus-visible {
    outline: none;
}

textarea.form-control {
    border-radius: 10px;
}

.form-group label {
    margin-bottom: 5px;
}

.btn-check:focus + .btn, .btn:focus {
    box-shadow: none !important;
}

.c-container {
    padding: 0 30px !important;
}

.cc-p {
    padding: 0 5px !important;
}

.tab-pane .product-slider{
    margin-bottom: 0;
}

.brands-slider {
    position: relative;
    z-index: 1;
}

.brands-slider img{
    height: 120px !important;
    border-radius: 10px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 16px;
    margin: 8px;
}

.brands-slider img:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
    border-radius: 10px;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.mt-13px {
    margin-top: 13px !important;
}

.mks-main-header-tag{
    position: sticky;
    top: 0;
    z-index: 100;
    height: 133px;
}

/* Auto header switch by viewport (works with Bootstrap d-lg-* utilities) */
@media only screen and (max-width: 991.98px) {
    .mks-main-header-tag {
        height: auto !important;
    }

    .mks-header-desktop {
        display: none !important;
    }

    .mks-header-mobile {
        display: block !important;
    }
}

@media only screen and (min-width: 992px) {
    .mks-main-header-tag {
        height: 133px;
    }

    .mks-header-mobile {
        display: none !important;
    }

    .mks-header-desktop {
        display: block !important;
    }
}

.dm-header {
    width: 100%;
    /* position: fixed; */
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.mks-mbb{
    background: rgba(15, 23, 42, 0.45);
    width: 100%;
    height: 100%;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    opacity: 1;
    z-index: 100;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: opacity 0.25s ease;
}

.mks-main-header-tag.is-search-open .mks-bk-bh > .position-relative {
    position: relative;
    z-index: 110;
}

.mks-main-header-tag.is-search-open .mks-menu-animation,
.mks-main-header-tag.is-search-open #d-second-menu {
    z-index: 1;
    pointer-events: none;
    opacity: 0.35;
    filter: blur(1px);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.mks-bk-bh{
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5px 0;
}

.mks-visually-hidden{
    margin-top: -52px !important;
    z-index: -100 !important;
}

.dmh-logo {
    width: 100%;
    display: block;
    text-align: right;
    transition: all 0.3s ease;
}

.dmh-logo:hover {
    transform: scale(1.02);
}

.dmh-logo img {
    width: auto;
    max-width: 85%;
    max-height: 65px;
    padding: 3px;
    border-radius: 10px;
    transition: all .3s ease;
}

/* Subtle logo shine sweep (toggle: Theme Settings → logo_shine_effect) */
.mks-logo-shine {
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    line-height: 0;
    vertical-align: middle;
    isolation: isolate;
}

.dmh-logo .mks-logo-shine {
    max-width: 85%;
}

.mks-logo-shine > img {
    display: block;
    max-width: 100% !important;
}

.mks-logo-shine::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0) 65%,
        transparent 100%
    );
    transform: translateX(-160%) skewX(-18deg);
    animation: mks-logo-shine-sweep 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes mks-logo-shine-sweep {
    0%,
    20% {
        transform: translateX(-160%) skewX(-18deg);
    }
    55%,
    100% {
        transform: translateX(280%) skewX(-18deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mks-logo-shine::after {
        animation: none;
        content: none;
    }
}

.dmh-search {
    width: 100%;
    display: block;
    border-radius: 10px;
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.1);
    padding: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.dmh-search:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.dmh-search-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: absolute;
    right: 4px;
    top: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: center;
    border: 0;
    transition: all 0.3s ease;
}


.dmh-search-button > i {
    color: #ffffff;
    font-size: 26px;
    vertical-align: middle;
}

.dmh-search input {
    width: 100%;
    border: none;
    font-size: 16px;
    padding: 15px 65px 15px 20px;
    border-radius: 10px;
    background: transparent;
    color: #333;
    transition: all 0.3s ease;
}

.dmh-search input:focus {
    outline: none;
    color: #000;
}

.dmh-search input::placeholder {
    color: #999;
    transition: color 0.3s ease;
}

.dmh-search input:focus::placeholder {
    color: #ccc;
}

.dmh-search form {
    margin: 0 !important;
    display: block;
}

.mks-btn {
    display: inline-block;
    padding: 5px 20px;
    border-radius: 7px;
    border: 1px solid rgba(102, 126, 234, .2);
    color: #333;
    font-size: 13px;
    /* font-weight: 600; */
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    background: linear-gradient(135deg, #fff 0, #f5faff 100%);
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, .05); */
    position: relative;
    overflow: hidden;
}

.mks-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.mks-btn:hover {
    color: #ffffff;
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.mks-btn:hover::before {
    left: 0;
}

.dmh-login-i {
    font-size: 18px;
    vertical-align: middle;
    margin-left: 4px;
}

.mdh-cart {
    position: relative;
    margin-top: 10px;
    display: inline-block;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 15px;
    /* background: linear-gradient(135deg, #fff 0, #f8f9fa 100%); */
    /* border: 1px solid rgba(102, 126, 234, .1); */
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, .05); */
}

.mdh-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.mdh-cart i {
    font-size: 35px;
    margin-right: 5px;
    color: #667eea;
    transition: all 0.3s ease;
}

.mdh-cart:hover i {
    color: #764ba2;
    transform: scale(1.1);
}

.mdh-cart span {
    position: absolute;
    border-radius: 100%;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 20px;
    border: 2px solid #fff;
    top: 0px;
    right: 6px;
    background: #ef4056;
    color: #fff;
}

.mdh-cart:hover span {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(219, 49, 78, 0.4);
}

.mdh-nested-menu-list {
    padding: 0;
    margin: 0;
    display: inline-block;
    flex-shrink: 0;
}

.mdh-nested-menu-list > li {
    width: max-content;
    list-style: none;
    cursor: pointer;
    border-radius: 10px;
    height: 100%;
    position: static;
    margin-right: 2px;
}

.mdh-nested-menu-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    cursor: pointer;
    width: max-content;
    color: #ffffff !important;
    font-size: 14px;
    background: var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    border-radius: 4px;
}

.mdh-nested-menu-list > li:hover > a {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(102, 126, 234, 0.38);
}

.mdh-nested-menu-list > li > a > i {
    font-size: 17px;
    vertical-align: middle;
    margin-left: 0;
}

.mdh-nested-menu-list li.is-open > .cat-nested-main,
.mdh-nested-menu-list li:hover > .cat-nested-main {
    display: flex;
    animation: mksMegaSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mksMegaSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cat-nested-main {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 0;
    left: 0;
    top: calc(100% - 6px);
    width: 100%;
    background-color: #ffffff;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    z-index: 105;
    min-height: 380px;
    max-height: 78vh;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(102, 126, 234, 0.08);
    padding-top: 6px;
}

.cat-nested-main::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 22px;
}

.cat-mega__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    border-bottom: 1px solid #edf0fa;
    flex-shrink: 0;
}

.cat-mega__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #334155;
}

.cat-mega__title > i {
    color: var(--mks-color-primary, #667eea);
    font-size: 15px;
}

.cat-mega__all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mks-color-primary, #667eea);
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.cat-mega__all-link:hover {
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    color: var(--mks-color-primary, #667eea);
}

.cat-mega__content {
    display: flex;
    flex: 1;
    position: relative;
    min-height: 340px;
    overflow: visible;
}

.cat-lists {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    background: #f8f9fc;
    border-left: 1px solid #edf0fa;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    z-index: 2;
}

.cat-lists > ul {
    padding: 8px 0;
    margin: 0;
}

.cat-lists > ul > li {
    width: 100%;
    list-style: none;
    position: static;
}

.cat-lists > ul > li > a {
    width: 100%;
    color: #475569;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 14px;
    font-size: 14px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

.mks-cat-item-icon {
    font-size: 13px;
    color: var(--mks-color-primary, #667eea);
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    border-radius: 8px;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.cat-lists > ul > li:hover > a .mks-cat-item-icon,
.cat-lists > ul > li.mks-cat-active > a .mks-cat-item-icon {
    background: var(--mks-color-primary, #667eea);
    color: #ffffff;
}

.cat-lists > ul > li > a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--mks-color-primary, #667eea);
    border-radius: 3px 0 0 3px;
    transition: height 0.2s ease;
}

.cat-lists > ul > li.menu-item-has-children > a::after {
    content: '\f053';
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    font-size: 10px;
    opacity: 0.45;
    margin-right: 0;
    margin-left: auto;
}

.cat-lists > ul > li > a .mks-cat-item-label {
    flex: 1;
    min-width: 0;
}

.cat-lists > ul > li:hover > a,
.cat-lists > ul > li.mks-cat-active > a {
    background-color: #ffffff;
    color: var(--mks-color-primary, #667eea);
}

.cat-lists > ul > li:hover > a::before,
.cat-lists > ul > li.mks-cat-active > a::before {
    height: 55%;
}

.cat-lists > ul > li:hover > ul,
.cat-lists > ul > li.mks-cat-active > ul {
    display: grid;
}

.cat-lists > ul > li > ul {
    display: none;
    position: absolute;
    background-color: #ffffff;
    padding: 20px 24px;
    margin: 0;
    left: 0;
    right: 260px;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 16px;
    align-content: start;
    z-index: 1;
}

.cat-lists > ul > li > ul > li {
    list-style: none;
    break-inside: avoid;
}

.cat-lists > ul > li > ul > li > a {
    font-weight: 600;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    border-right: none;
    color: #334155;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
    line-height: 1.5;
}

.mks-subcat-icon {
    font-size: 11px;
    color: var(--mks-color-primary, #667eea);
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    border-radius: 6px;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.cat-lists > ul > li > ul > li > a:hover .mks-subcat-icon {
    background: var(--mks-color-primary, #667eea);
    color: #ffffff;
}

.cat-lists > ul > li > ul > li > a:hover {
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    color: var(--mks-color-primary, #667eea);
}

.cat-lists > ul > li > ul > li > ul {
    padding: 0;
    margin: 0;
}

.cat-lists > ul > li > ul > li > ul > li {
    list-style: none;
}

.cat-lists > ul > li > ul > li > ul > li > a {
    padding: 4px 14px 4px 0;
    display: block;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.cat-lists > ul > li > ul > li > ul > li > a:hover {
    color: var(--mks-color-primary, #667eea);
}

.cat-list-items {
    flex: 1;
    position: relative;
    min-height: 340px;
}

.cat-mega__empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    background-color: #ffffff;
    z-index: 1;
}

.cat-mega__empty[hidden] {
    display: none !important;
}

.cat-mega__empty-message {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
}

.cat-mega__empty-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--mks-color-primary, #667eea);
    transition: color 0.2s ease;
}

.cat-mega__empty-link:hover {
    color: var(--mks-color-primary, #667eea);
    text-decoration: underline;
}

#d-second-menu {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    white-space: nowrap;
    z-index: 101;
    transition: margin-top 0.25s ease, opacity 0.25s ease;
    width: 97%;
    padding: 2px 0;
    background-color: color-mix(in srgb, var(--mks-color-primary, #7352ac) 3%, #fff);
    border-radius: 7px;
}

.mks-menu-animation {
    position: relative;
}

.mdh-nested-menu-list + .dm-second {
    border-right: 1px solid #e2e8f0;
    padding-right: 10px;
    margin-right: 4px;
}

.mdh-nested-menu-list {
    order: 0;
}

.dm-second {
    display: inline-flex;
    order: 2;
    flex: 1;
}

.dm-second > ul {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.dm-second > ul > li {
    list-style: none;
    display: inline-block;
    position: relative;
}

.dm-second > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 8px;
    position: relative;
}

.dm-second > ul > li > a:hover,
.dm-second > ul > li.is-open > a {
    background-color: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    color: var(--mks-color-primary, #667eea);
}

.dm-second > ul > li > a > i {
    font-size: 15px;
    vertical-align: middle;
    margin-left: 0;
}

.dm-second > ul > li.menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    font-size: 9px;
    opacity: 0.4;
    margin-right: -2px;
    transition: transform 0.2s ease;
}

.dm-second > ul > li.menu-item-has-children.is-open > a::after {
    transform: rotate(180deg);
    opacity: 0.7;
}

.dm-second > ul > li.is-open > ul {
    display: block;
    animation: mksDropdownIn 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mksDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dm-second > ul > li > ul {
    display: none;
    position: absolute;
    padding: 10px 0;
    margin: 0;
    background-color: #ffffff;
    border-radius: 12px;
    top: calc(100% - 4px);
    padding-top: 10px;
    right: 0;
    min-width: 240px;
    z-index: 110;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(102, 126, 234, 0.07);
}

.dm-second > ul > li > ul::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 18px;
}

.dm-second > ul > li > ul:has(> li:nth-child(6)) {
    columns: 2;
    column-gap: 0;
    min-width: 460px;
}

.dm-second > ul > li > ul > li {
    list-style: none;
    break-inside: avoid;
}

.dm-second > ul > li > ul > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
    transition: background 0.15s ease, color 0.15s ease;
}

.mks-dropdown-item-icon {
    font-size: 11px;
    color: var(--mks-color-primary, #667eea);
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    border-radius: 6px;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.dm-second > ul > li > ul > li > a::before {
    display: none;
}

.dm-second > ul > li > ul > li > a:hover {
    color: var(--mks-color-primary, #667eea);
    background-color: var(--mks-bg-soft, rgba(102, 126, 234, 0.06));
}

.dm-second > ul > li > ul > li > a:hover .mks-dropdown-item-icon {
    background: var(--mks-color-primary, #667eea);
    color: #ffffff;
}

@media only screen and (max-width: 1199.98px) {
    .cat-lists {
        width: 220px;
        min-width: 220px;
    }

    .cat-lists > ul > li > ul {
        right: 220px;
        grid-template-columns: repeat(2, 1fr);
        padding: 16px 18px;
    }

    .dm-second > ul > li > ul:has(> li:nth-child(6)) {
        min-width: 380px;
    }
}

.mks-user-logged-in {
    position: relative;
    width: max-content;
    float: left;
    z-index: 250;
}

.mks-user-logged-in::before {
    content: "";
    position: absolute;
    top: 100%;
    height: 16px;
    width: 100%;
    left: 0;
    z-index: 249;
}

.mks-user-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.mks-user-trigger::before {
    display: none;
}

.mks-user-trigger:hover,
.mks-user-logged-in.is-open .mks-user-trigger {
    transform: translateY(-2px);
}

.mks-user-trigger__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.12));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.mks-user-trigger__avatar i {
    font-size: 15px;
    color: var(--mks-color-primary, #667eea);
    transition: color 0.25s ease;
}

.mks-user-trigger__text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}



.mks-user-trigger__sep {
    color: #cbd5e0;
    font-weight: 300;
}

.mks-user-trigger__arrow {
    font-size: 13px;
    color: #a0aec0;
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), color 0.2s ease;
}

.mks-user-logged-in.is-open .mks-user-trigger__arrow,
.mks-user-logged-in:hover .mks-user-trigger__arrow {
    transform: rotate(180deg);
    color: var(--mks-color-primary);
}

.mks-user-logged-in.is-open .mks-user-trigger,
.mks-user-logged-in:hover .mks-user-trigger {
    border-color: rgba(102, 126, 234, 0.35);
    box-shadow: var(--mks-shadow, 0 4px 16px rgba(102, 126, 234, 0.15));
}

.mks-user-logged-in.is-open .mks-user-trigger__avatar,
.mks-user-logged-in:hover .mks-user-trigger__avatar {
    transform: scale(1.05);
    background: var(--mks-color-primary, #667eea);
}

.mks-user-logged-in.is-open .mks-user-trigger__avatar i,
.mks-user-logged-in:hover .mks-user-trigger__avatar i {
    color: #fff;
}

.mks-user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    width: max-content;
    max-width: 320px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.12);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.06),
        0 20px 40px -8px rgba(102, 126, 234, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.97);
    pointer-events: none;
    transition:
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
        visibility 0.3s;
    transform-origin: top right;
}

.mks-user-logged-in:hover .mks-user-dropdown,
.mks-user-logged-in.is-open .mks-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mks-user-dropdown::after {
    content: "";
    position: absolute;
    top: -7px;
    right: 28px;
    transform: rotate(45deg);
    width: 14px;
    height: 14px;
    background: #fafbff;
    border-top: 1px solid rgba(102, 126, 234, 0.12);
    border-right: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 3px 0 0 0;
    z-index: 1;
}

.mks-user-dropdown__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 14px;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
    border-bottom: 1px solid #f0f2f8;
    position: relative;
    z-index: 2;
}

.mks-user-dropdown__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mks-primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.mks-user-dropdown__avatar i {
    font-size: 20px;
    color: #fff;
}

.mks-user-dropdown__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mks-user-dropdown__name {
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mks-user-dropdown__label {
    font-size: 12px;
    font-weight: 500;
    color: #718096;
}

.mks-user-dropdown__menu {
    list-style: none;
    padding: 8px;
    margin: 0;
    text-align: right;
}

.mks-user-dropdown__menu > li {
    margin: 0;
    padding: 0;
}

.mks-user-dropdown__menu > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    animation: mksUserMenuItemIn 0.35s ease both;
}

.mks-user-dropdown__menu > li:nth-child(1) > a { animation-delay: 0.03s; }
.mks-user-dropdown__menu > li:nth-child(2) > a { animation-delay: 0.06s; }
.mks-user-dropdown__menu > li:nth-child(3) > a { animation-delay: 0.09s; }
.mks-user-dropdown__menu > li:nth-child(4) > a { animation-delay: 0.12s; }
.mks-user-dropdown__menu > li:nth-child(5) > a { animation-delay: 0.15s; }
.mks-user-dropdown__menu > li:nth-child(6) > a { animation-delay: 0.18s; }
.mks-user-dropdown__menu > li:nth-child(7) > a { animation-delay: 0.21s; }

@keyframes mksUserMenuItemIn {
    from {
        opacity: 0;
        transform: translateX(8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mks-user-dropdown__menu > li > a > i {
    width: 20px;
    font-size: 16px;
    text-align: center;
    color: #667eea;
    flex-shrink: 0;
    margin: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mks-user-dropdown__menu > li > a > span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mks-user-dropdown__menu > li > a:hover {
    color: var(--mks-color-primary);
    background: rgba(102, 126, 234, 0.08);
    transform: translateX(-2px);
}

.mks-user-dropdown__menu > li > a:hover > i {
    color: var(--mks-color-primary);
    transform: scale(1.1);
}

.mks-user-dropdown__seller {
    background: linear-gradient(135deg, rgba(253, 221, 150, 0.35) 0%, rgba(251, 211, 141, 0.2) 100%) !important;
    color: #744210 !important;
}

.mks-user-dropdown__seller > i {
    color: #d69e2e !important;
}

.mks-user-dropdown__seller:hover {
    background: linear-gradient(135deg, rgba(253, 221, 150, 0.55) 0%, rgba(251, 211, 141, 0.35) 100%) !important;
    color: #5f370e !important;
}

.mks-user-dropdown__divider {
    height: 1px;
    margin: 6px 10px;
    background: #f0f2f8;
    list-style: none;
}

.mku-nav__divider,
.mku-mobile-drop__divider {
    height: 1px;
    margin: 8px 4px;
    background: #f0f2f8;
    list-style: none;
}

.mks-user-dropdown__logout {
    color: #c53030 !important;
}

.mks-user-dropdown__logout > i {
    color: #e53e3e !important;
}

.mks-user-dropdown__logout:hover {
    color: #9b2c2c !important;
    background: rgba(229, 62, 62, 0.08) !important;
}

.mks-user-dropdown__logout:hover > i {
    color: #c53030 !important;
}

.main-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-slider-full-width{
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-slider-full-width img{

}

.main-slider img{
    width: 100%;
    height: 100%;
    max-height: auto;
}
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
    padding: 15px 12px !important;
    z-index: 1;
    color: #667eea !important;
    border-radius: 10px;
    text-align: center;
    border: none !important;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.owl-next span {
    color: #667eea;
    display: block;
    font-size: 24px;
    line-height: 1;
    margin-top: 0;
    transition: all 0.3s ease;
}

.owl-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
    z-index: 1;
    color: #667eea !important;
    border-radius: 10px;
    text-align: center;
    border: none !important;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.owl-prev:hover, .owl-next:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--mks-shadow);
}

.owl-prev:focus, .owl-next:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%) !important;
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--mks-shadow);
}

.owl-prev span {
    color: #667eea;
    display: block;
    font-size: 24px;
    line-height: 1;
    margin-top: 0;
    transition: all 0.3s ease;
}
.top-of-header-ad-img{
    width: 100%;
    height: auto;
    display: block;
}
.top-of-header-ad-img img{
    width: 100%;
    height: auto;
    display: block;
}
.top-of-header-ad {
    display: block;
    padding: 1rem 16px;
}

.top-of-header-ad h3 {
    font-size: 23px;
    margin-bottom: 15px;
    margin-top: 0;
}

.top-of-header-ad p {
    margin: 0 0 0 0;
    font-size: 17px;
    text-align: center;
}

.mks-banners {
    width: 100%;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mks-banners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.mks-banners:hover {
}

.mks-banners:hover::before {
    opacity: 1;
}

.mks-banners a {
    display: block;
    position: relative;
    z-index: 2;
}

.mks-banners a img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.mks-banners:hover a img {
    
}

.category-boxes-item {
    width: 100%;
    display: block;
    text-align: center;
    padding: 20px 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: transparent;
    color: inherit;
}

.category-boxes-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--mks-primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-boxes-item:hover {
    transform: translateY(-4px);
}

/* Default hover for items without dynamic colors */
.category-boxes-item:not([style*="background-color"]):hover {
    background-color: #fff !important;
    color: #333 !important;
}

/* Hover effect for dynamic colored items */
.category-boxes-item[style*="background-color"]:hover {
    opacity: 0.9;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.category-boxes-item:hover::before {
    transform: scaleX(1);
}



.sections-title {
    color: #0f172a;
    font-size: 31px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sections-title b {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.sections-title__accent {
    width: 4px;
    height: 22px;
    border-radius: 999px;
    background: var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.28);
}

.sliders-show-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mks-color-primary, #7352ac);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.12);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.sliders-show-more i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.sliders-show-more:hover {
    color: var(--mks-color-primary, #5a67d8);
    background: rgba(102, 126, 234, 0.14);
    border-color: rgba(102, 126, 234, 0.22);
    transform: translateY(-1px);
}

.sliders-show-more:hover i {
    transform: translateX(-2px);
}

/* Simple / exclusive product slider header */
.mks-pb-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 16px;
    padding: 0 2px 14px;
    border-bottom: 1px solid #e8edf3;
    position: relative;
}

.mks-pb-section-header::after {
    content: '';
    position: absolute;
    right: 2px;
    bottom: -1px;
    width: 72px;
    height: 2px;
    border-radius: 999px;
    background: var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
}

.product-slider-item {
    width: 100%;
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    margin: 0 auto;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    padding: 4px 8px;
    text-align: center;
}

.product-slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.product-slider-item:hover::before {
    transform: scaleX(1);
}

.product-slider-item:hover {
    box-shadow: var(--mks-shadow-hover, 0 4px 16px rgba(102, 126, 234, 0.4));
}

/* ===== Modern product card (category + slider) ===== */
.mks-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    text-align: right;
    overflow: hidden;
}

.mks-product-card::before {
    display: none;
}

.mks-product-card:hover {
    border-color: rgba(102, 126, 234, 0.28);
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.mks-product-card__badge,
.mks-product-card .product-slider-item-discount-percent {
    height: 34px;
    width: 34px;
    line-height: 34px;
    font-size: 11px;
    font-weight: 600;
    right: 8px;
    top: 8px;
    border-radius: 8px;
    box-shadow: var(--mks-shadow, 0 4px 16px rgba(102, 126, 234, 0.2));
}

.mks-product-card__badge::before,
.mks-product-card .product-slider-item-discount-percent::before {
    border-radius: 8px;
}

.mks-product-card__media {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
}

.mks-product-card__media img,
.mks-product-card .mks-archive-product-image,
.mks-product-card .mks-archive-product-gallery {
    margin: 0;
}

.mks-product-card__media > img,
.mks-product-card .mks-archive-product-image img,
.mks-product-card .mks-archive-product-gallery .mks-archive-gallery-viewport {
    width: 100% !important;
    height: 250px !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    transition: transform 0.25s ease;
}

.mks-product-card .mks-archive-product-gallery .mks-archive-gallery-viewport {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mks-product-card .mks-archive-product-gallery .mks-archive-gallery-slide img {
    height: 250px !important;
    margin: 0 !important;
    padding: 0;
    background: transparent;
}

.mks-product-card:hover .mks-product-card__media > img,
.mks-product-card:hover .mks-archive-product-image img,
.mks-product-card:hover .mks-archive-product-gallery .mks-archive-gallery-slide.is-active img {
    transform: scale(1.03);
}

.mks-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
    min-width: 0;
}

.mks-product-card__title-link {
    text-decoration: none;
    color: inherit;
}

.mks-product-card .product-slider-item-title {
    height: auto;
    min-height: 40px;
    max-height: 40px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.55;
    text-align: right;
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: normal;
}

.mks-product-card:hover .product-slider-item-title {
    color: var(--mks-color-primary, #7352ac);
}

.mks-product-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #e8edf3;
    width: 100%;
}

.mks-product-card__footer.mks-ap {
    direction: rtl;
}

.mks-product-card .mks-price-container {
    display: flex;
    width: 100%;
    min-height: auto;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.mks-product-card .mks-price-container > div:first-child {
    flex: 1;
    min-width: 0;
}

.mks-product-card .price {
    text-align: right;
    margin: 0;
}

.mks-product-card .price del {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 2px;
}

.mks-product-card .price ins {
    font-size: 15px;
    line-height: 1.3;
}

.mks-product-card .psi-gc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    font-size: 16px;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mks-product-card .psi-gc:hover {
    background: var(--mks-color-primary, #7352ac);
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: var(--mks-shadow, 0 4px 12px rgba(102, 126, 234, 0.25));
}

.mks-product-card .p-slider-out-stock-icons {
    width: 38px;
    height: 38px;
    margin: 0;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
}

.mks-product-card .psi-rc {
    font-size: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.mks-product-card .psi-gc-x {
    font-size: 12px;
    top: auto;
    bottom: 2px;
    right: 2px;
}

.mks-product-card .mks-archive-gallery-dots {
    margin-top: 6px;
}

.product-slider-item-discount-percent {
    height: 40px;
    width: 40px;
    position: absolute;
    background: var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0, #764ba2 100%));
    background-repeat: no-repeat;
    background-size: contain;
    right: 16px;
    top: -6px;
    color: #fff;
    text-align: center;
    line-height: 45px;
    font-size: 13px;
    font-weight: 100;
    border-radius: 10px;
    box-shadow: var(--mks-shadow, 0 4px 16px rgba(102, 126, 234, .4));
    z-index: 2;
}

.product-slider-item-discount-percent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer-ribbon 2s infinite;
}

@keyframes shimmer-ribbon {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.product-slider-item img,
.mks-archive-product-image img,
.mks-archive-product-gallery img {
    /* max-width: 100% !important; */
    height: 250px;
    margin: 8px auto 0;
    object-fit: contain;
    border-radius: 10px;
    transition: transform .3s ease;
}

.mks-archive-product-image,
.mks-archive-product-gallery {
    position: relative;
    display: block;
    width: 100%;
    margin: 8px auto 0;
}

.mks-archive-product-image-link,
.mks-archive-gallery-viewport-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.mks-archive-product-image--list img,
.mks-archive-product-gallery.mks-archive-product-image--list img {
    width: 80px;
    height: 80px;
    margin: 0;
}

.mks-archive-gallery-viewport {
    overflow: hidden;
    width: 100%;
    height: 250px;
}

.mks-archive-product-gallery.mks-archive-product-image--list .mks-archive-gallery-viewport {
    height: 80px;
}

.mks-archive-gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.mks-archive-gallery-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mks-archive-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #5a6270;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.mks-archive-product-gallery:hover .mks-archive-gallery-nav,
.mks-archive-product-gallery:focus-within .mks-archive-gallery-nav {
    opacity: 1;
}

.mks-archive-gallery-nav:hover {
    background: #fff;
    color: #7352ac;
}

.mks-archive-gallery-prev {
    right: 6px;
}

.mks-archive-gallery-next {
    left: 6px;
}

.mks-archive-gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.mks-archive-gallery-dot {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #d5d9e0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.mks-archive-gallery-dot.is-active {
    background: #7352ac;
    transform: scale(1.25);
}

.product-slider-item:hover .mks-archive-product-image img,
.product-slider-item:hover .mks-archive-product-gallery .mks-archive-gallery-slide.is-active img {
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .mks-archive-gallery-nav {
        opacity: 1;
    }
}

.product-slider-item:hover img {
    transform: scale(1.05);
}

.product-slider-item-title {
    font-size: 14px;
    display: block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    line-height: 32px;
    height: 68px;
    color: #2c3e50;
    margin: 16px 0 12px 0;
    text-align: center;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-slider-item:hover .product-slider-item-title {
    color: #7352ac;
}

/* .cad {
    width: 100%;
    display: block;
    margin: 0;
    background-color: #EEEEEE;
    height: 1px;
} */

.price {
    text-align: center;
}

.price del {
    color: #95a5a6;
    display: block;
    font-size: 14px;
    text-decoration: line-through;
}

.price ins {
    color: #7352ac;
    display: block;
    font-size: 15px;
    text-decoration: none;
    font-weight: 700;
}

.price del > span > bdi > span {
    margin: 0 5px;
}
.price ins > span > bdi > span {
    margin: 0 5px;
}

.psi-gc {
    font-size: 26px;
    color: #009688;
    cursor: pointer;
}

.price-out-of-stock {
    font-weight: 600;
    font-size: 18px;
    color: gray !important;
    padding: 8px 15px;
    border-radius: 10px;
    margin: auto 0;
    display: block;
    text-align: center;
}

.p-slider-out-stock-icons {
    position: relative;
    margin: 0 auto;
    border-radius: 10px;
    width: 45px;
    height: 45px;
}

.psi-rc {
    color: gray;
    opacity: 0.6;
    position: absolute;
    font-size: 27px;
    right: 0;
    left: 0;
    top: 9px;
}

.psi-gc-x {
    color: gray;
    position: absolute;
    top: 12px;
    right: 3px;
    background: #fff;
    border-radius: 10px;
    font-size: 15px;
    border: solid 2px #fff;
}

.p-slider-in-stock-icons {
    position: relative;
    margin: 0 auto;
    border: dashed 1px #4fab2a;
    border-radius: 10px;
    width: 45px;
    height: 45px;
}

.psi-rci {
    color: #4fab2a;
    opacity: 0.6;
    position: absolute;
    font-size: 27px;
    right: 0;
    left: 0;
    top: 9px;
}

.psi-gc-check {
    color: #4fab2a;
    position: absolute;
    top: 12px;
    right: 3px;
    background: #fff;
    border-radius: 10px;
    font-size: 15px;
    border: solid 2px #fff;
}


.latest-articles-background {
    --mks-articles-radius: 18px;
    width: 100%;
    box-sizing: border-box;
    background: var(--mks-articles-bg, var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%)));
    border-radius: var(--mks-articles-radius);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    position: relative;
    padding: 18px 0 16px;
    color: #fff;
}

.latest-articles-background::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
        radial-gradient(90% 70% at 0% 100%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.latest-articles-background > * {
    position: relative;
    z-index: 1;
}

.latest-articles-background.has-custom-bg {
    background: var(--mks-articles-bg) !important;
}

@keyframes slide {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.section-title-article {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 30px 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.show-all-articles {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin: 30px 0 20px;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.show-all-articles:hover {
    color: #667eea;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.show-all-articles i {
    font-size: 25px;
    vertical-align: sub;
    margin: 0 5px;
}

.article-mpi {
    width: 100%;
    display: flex;
    align-items: stretch;
    background-color: #fff !important;
    color: #0f172a !important;
    border-radius: 14px;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid #e8edf3;
    text-decoration: none;
    min-height: 140px;
}

.article-mpi:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    border-color: rgba(102, 126, 234, 0.28);
    color: #0f172a !important;
}

.article-mpi-i {
    padding: 12px;
    flex-shrink: 0;
    width: 168px;
}

.article-mpi-i img {
    margin: 0;
    border-radius: 12px;
    height: 100%;
    min-height: 116px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: #f8fafc;
}

.article-mpi:hover .article-mpi-i img {
    transform: scale(1.04);
}

.article-mpi-t-d {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px 14px 8px;
    min-width: 0;
}

.article-mpi-t-d h3 {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    color: #0f172a;
    padding: 0 0 10px 0;
    text-align: right;
    border-bottom: 1px dashed #e8edf3;
    font-size: 15px;
    font-weight: 700;
    white-space: normal;
    overflow: hidden;
    margin: 0 0 10px 0;
    line-height: 1.45;
    transition: color 0.25s ease;
}

.article-mpi:hover .article-mpi-t-d h3 {
    color: var(--mks-color-primary, #7352ac);
    border-bottom-color: rgba(102, 126, 234, 0.25);
}

.article-mpi-t-d p {
    color: #64748b;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brands-slider .product-slider-item-title {
    height: 41px;
}

.main-footer {
    background-color: var(--mks-footer-bg, #3d2e58);
    color: var(--mks-footer-text, #e8eaed);
    position: relative;
    padding: 32px 16px 24px;
    border-top: 1px solid var(--mks-footer-border, rgba(255, 255, 255, 0.1));
    margin-top: 15px !important;
}

.mks-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.footer-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    margin: 0;
}

.mks-footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid var(--mks-footer-btn-border, rgba(255, 255, 255, 0.15));
    background: var(--mks-footer-btn-bg, rgba(255, 255, 255, 0.08));
    color: var(--mks-footer-btn-text, #e8eaed);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mks-footer-back-top:hover {
    background: var(--mks-color-primary, #7352ac);
    border-color: var(--mks-color-primary, #7352ac);
    color: #fff;
}

.mks-footer-back-top i {
    font-size: 16px;
}

.btn-back-to-top {
    margin: 16px 0;
}

.btn-back-to-top i {
    font-size: 19px;
    margin-right: 5px;
    vertical-align: middle;
}

.mks-footer-contact {
    padding: 20px 0;
    border-bottom: 1px solid var(--mks-footer-border-subtle, rgba(255, 255, 255, 0.06));
}

.footer-info-list {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
}

.footer-info-list > li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-info-list > li:first-child {
    margin-right: 0;
}

.footer-info-list > li > i {
    font-size: 16px;
    color: var(--mks-footer-icon, var(--mks-color-primary, #7352ac));
    flex-shrink: 0;
}

.footer-info-list > li > a {
    font-size: 14px;
    display: inline-block;
    color: var(--mks-footer-link, var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65)));
    text-decoration: none;
    line-height: 1.6;
}

.footer-info-list > li > a:hover {
    color: var(--mks-footer-link-hover, var(--mks-footer-text, #e8eaed));
}

.footer-info-list > li > span {
    font-size: 14px;
    display: inline-block;
    color: var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65));
    line-height: 1.6;
}

.footer-info-item__short {
    display: none;
}

.footer-info-item__full {
    display: inline;
}

.mks-footer-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    padding: 28px 0;
    align-items: start;
    border-bottom: 1px solid var(--mks-footer-border-subtle, rgba(255, 255, 255, 0.06));
}

.footer-lists {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px 32px;
}

.footer-lists--mobile {
    display: block;
}

.mobile-footer-collapse-item {
}

.collapsible {
}

.collapsible .content {
}

.footer-lists > ul {
    padding: 0;
    margin: 0;
}

.footer-lists > ul > li {
    list-style: none;
    text-align: right;
}

.footer-lists > ul > li:first-child {
    color: var(--mks-footer-heading, #ffffff);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-lists > ul > li > a {
    padding: 6px 0;
    display: block;
    color: var(--mks-footer-link, var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65)));
    text-align: right;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-lists > ul > li > a:hover {
    color: var(--mks-footer-link-hover, var(--mks-footer-text, #e8eaed));
    font-weight: 600;
}

.social-main {
    width: 100%;
    display: block;
    text-align: center;
}

.mks-footer-social {
    min-width: 160px;
}

.mks-footer-social__icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.socials-title {
    display: block;
    font-size: 16px;
    margin: 0 0 16px;
    font-weight: 700;
    color: var(--mks-footer-heading, #ffffff);
}

.socials-description {
    color: var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65));
    line-height: 2.5em;
    font-size: 15px;
}

.footer-social {
    display: inline-block;
    margin: 0;
}

.footer-social:hover i {
    color: var(--mks-footer-text, #e8eaed);
}

.footer-social i {
    font-size: 36px;
    color: var(--mks-footer-icon, var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65)));
}

.footer-social img{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.footer-social:hover img {
    transform: translateY(-2px);
}

.footer-site-description {
    margin-top: 0;
    padding: 24px 0;
    color: var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65));
    font-size: 14px;
    line-height: 2;
    border-bottom: 1px solid var(--mks-footer-border-subtle, rgba(255, 255, 255, 0.06));
}

.site-description {
    color: inherit;
}

.footer-site-description h1,
.footer-site-description h2,
.footer-site-description h3,
.footer-site-description h4,
.footer-site-description h5,
.footer-site-description h6 {
    color: var(--mks-footer-heading, #ffffff);
}

.footer-site-description a {
    color: var(--mks-color-primary, #7352ac);
}

.footer-site-description a:hover {
    color: var(--mks-footer-text, #e8eaed);
}

.height-100 {
    height: 100% !important;
    max-height: 100% !important;
}

.limited-box {
    max-height: 400px;
    overflow: hidden;
    position: relative;
    padding-bottom: 64px;
    line-height: 2em;
    font-size: 14px;
}

.limited-box h2{
    margin-top: 25px;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 800;
}

.limited-box h3,
.limited-box h4,
.limited-box h5,
.limited-box h6{
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 800;
}


.footer-site-description > .limited-box {
    max-height: 165px;
}

.limited-toggle-show {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 20px 16px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: var(--mks-color-primary, #7352ac);
    background: var(--mks-footer-desc-gradient, linear-gradient(to top, #3d2e58 0%, rgba(61, 46, 88, 0.88) 50%, transparent 100%));
    transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}


.limited-toggle-show:active {
    transform: translateY(0);
}

.limited-toggle-show i {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.limited-toggle-show[data-status="closed"]:hover i {
    transform: translateY(2px);
}

.limited-toggle-show[data-status="opened"]:hover i {
    transform: translateY(-2px);
}

.limited-box.height-100 {
    padding-bottom: 24px;
}

.limited-box.height-100 .limited-toggle-show {
    position: static;
    margin-top: 16px;
    padding: 14px 16px 0;
    background: none;
    border-top: 1px solid var(--mks-footer-border-subtle, rgba(255, 255, 255, 0.06));
}

.mks-footer-badges {
    padding: 20px 0;
}

.mks-footer-bottom {
    padding-top: 16px;
    border-top: 1px solid var(--mks-footer-border-subtle, rgba(255, 255, 255, 0.06));
}

.footer-copyright {
    color: var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65));
    display: block;
    text-align: center;
    padding: 8px 16px !important;
    font-size: 13px;
    margin: 0;
}

.footer-designed-by {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 13px;
    margin-top: 8px;
    color: var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65));
}

.footer-designed-by a {
    font-weight: 900;
    color: var(--mks-color-primary, #7352ac);
}

.breadcrumb {
    width: 100%;
    height: 21px !important;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.woocommerce-breadcrumb {
    padding:7px 15px !important;
    display: flex;
    margin: 0 0 0 0 !important;
    overflow-x: auto;
    white-space: nowrap;
}

.woocommerce-breadcrumb a {
    white-space: nowrap !important;
    color: #515151 !important;
    font-size: 11px;
}

.woocommerce-breadcrumb span {
    white-space: nowrap !important;
    font-size: 10px;
}

.woocommerce-breadcrumb a:first-child:after {
    font-family: "Font Awesome 6 Pro";
    padding: 0 8px 0 8px;
    color: #515151;
    content: "\f104" !important;
    margin: -1px 0;
    vertical-align: middle;
}

.woocommerce-breadcrumb a + a:after {
    font-family: "Font Awesome 6 Pro";
    padding: 0 8px 0 8px;
    color: #515151;
    content: "\f104" !important;
    margin: -1px 0;
    vertical-align: middle;
}

.breadcrumb > span {
    margin: 16px 0;
}

.breadcrumb > span > span{

}

.category-slider {
    margin: 0 0 35px;
}

.category-slider-item {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}


.category-slider-item img {
    max-height: 106px;
    border: 1px solid #e9e9e9;
    transition: border-color 1s ease;
    border-radius: 10px;
    margin: 0 auto;
}

.category-slider-item-h3 {
    width: 70%;
    display: block !important;
    text-align: center;
    line-height: 17px;
    font-size: 11px;
    overflow: hidden;
    margin: 5px auto 0;
}

.slick-slide {
    text-align: center;
}

.archive-list-title {
    font-size: 20px;
    font-weight: 700;
    padding: 10px;
}

.acp {
    width: 100%;
    display: block;
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    padding: 10px;
    margin: 18px 0;
}

.archive-pi {
    width: 100% !important;
    margin: 0;
}
.archive-pi .price{
    height: auto;
    min-height: 40px;
}
.archive-pi .price-out-of-stock{
    /*height: 49.5px;*/
}
.archive-pi h3{
    width: 100%;
    display: inline-flex;
}

.archive-pi h3 > b{
    margin: auto;
    line-height: 18px;
    text-align: center;
}

.mks-apr > .mks-app {
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-bottom: -35px;
}

.mks-apr.row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 24px;
    row-gap: 24px;
}

.product-slider .swiper-slide {
    height: auto;
}

.product-slider .swiper-slide > .mks-product-card,
.product-slider .swiper-slide > .product-slider-item {
    height: 100%;
}

.mks-pb-product-slider {
    padding: 2px 2px 6px;
}

.mks-pb-product-slider .swiper-wrapper {
    padding: 6px 0 4px;
    align-items: stretch;
}

.mks-page-builder-layout .mks_pbi_productSlider:has(.mks-pb-section-header),
.mks-page-builder-layout .mks_pbi_productSlider .amazing-offer-nt-section {
    width: 100%;
    box-sizing: border-box;
    border-radius: 18px;
    padding: 18px 16px 14px;
}

.mks-page-builder-layout .mks_pbi_productSlider .amazing-offer-nt-section {
    margin: 0;
}

.mks-page-builder-layout .mks_pbi_productSlider:has(.mks-pb-section-header) .mks-pb-section-header {
    margin-bottom: 14px;
}

.mks-page-builder-layout .mks_pbi_productSlider:has(.mks-pb-section-header) .mks-product-card,
.mks-page-builder-layout .mks_pbi_productSlider .amazing-offer-nt-section .mks-aot-nt-item {
    border-radius: 14px;
}

.mks-page-builder-layout .mks_pbi_productSlider:has(.mks-pb-section-header) .mks-sbn,
.mks-page-builder-layout .mks_pbi_productSlider .amazing-offer-nt-section .mks-sbn {
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.mks-ap{
    direction: rtl;
}
.mks-ap > div{
    margin: auto;
}

.archive-sort-header span {
    display: inline-block;
    padding: 8px 16px;
    font-size: 15px;
    cursor: pointer;
}

.archive-sort-header a:hover {
    background-color: transparent;
}

.archive-sort-header-icon {
    font-size: 25px;
    text-align: center;
    margin-right: 16px;
    vertical-align: sub;
}

.as-active {
    color: #cf3040;
    font-weight: 900;
}

.main-products-items-pagination {
    width: 100%;
    display: inline-flex;
    text-align: center;
    margin: 70px 0px;
    justify-content: center;
}

.main-products-items-pagination a {
    min-width: 45px;
    display: inline-block;
    background-color: #fff;
    border-radius: 10px;
    padding: 6px;
    font-size: 15px;
    border: solid 1px #e9e9e9;
}

.main-products-items-pagination a:hover {
    background-color: #dcdcdc;
    color: #1f1f1f;
}

.main-products-items-pagination a i {
    font-size: 15px;
}

.main-products-items-pagination span {
    min-width: 45px;
    display: inline-block;
    background-color: #fff;
    border-radius: 10px;
    padding: 6px;
    font-size: 15px;
}

.main-products-items-pagination span.current {
    background-color: #dcdcdc;
    color: #1f1f1f;
}


.p-archive-description {
    width: 100%;
    display: block;
    background-color: #fff;
    border: solid 1px #e9e9e9;
    margin: 16px 0;
    padding: 16px;
    color: #757575;
    border-radius: 10px;
    font-size: 14px;
    line-height: 40px;
    text-align: justify;
}

.p-archive-description h2,
.p-archive-description h3{
    font-size: 20px;
    margin: 40px 0 10px;
    text-align: right;
    font-weight: bold;
}

.p-archive-description h2 i {
    color: #cf3040;
    font-size: 26px;
    vertical-align: top;
}

.spm {
    margin-bottom: 16px;
    border-radius: 10px;
    background: #ffff;
    padding: 16px;
    transition: all 0.3s ease;
}

.spm-title {
    /* legacy hook – استایل اصلی در .mks-product-title-modern */
}

/* ===== عنوان محصول – طراحی مدرن (spm-title + mks-product-title-modern) ===== */
.spm-title.mks-product-title-modern {
    margin: 0;
}

.mks-product-title-modern__heading {
    margin: 0 0 0.7rem;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.45;
    color: #0f172a;
    letter-spacing: -0.015em;
}

.spm-title h1 {
    color: #0f172a;
    font-size: 1.2rem;
    margin: 13px 0 0 0;
    font-weight: 800;
    display: block;
    line-height: 1.45;
}

.spm-title small {
    color: #64748b;
    display: block;
    font-size: 0.8125rem;
}

.mks-product-title-modern__meta {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.mks-product-title-modern__row {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.mks-product-title-modern__row--toolbar {
    width: 100%;
    display: block;
}

.mks-product-title-modern__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    padding: 0.35rem 0;
}

.mks-product-title-modern__sku-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 36px;
    padding: 0 0.7rem;
    border-radius: 11px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mks-product-title-modern__sku-chip i {
    font-size: 0.9rem;
    color: #94a3b8;
}

.mks-product-title-modern__label {
    color: #64748b;
}

.mks-product-title-modern__link {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.mks-product-title-modern__link:hover {
    color: #475569;
}

.mks-product-title-modern__row--sku {
    gap: 0.5rem;
}

.mks-product-title-modern__sku {
    font-weight: 600;
    color: #475569;
}

.mks-product-title-modern__barcode {
    font-size: 0.9375rem;
    color: #94a3b8;
}

.mks-product-title-modern__actions.spm-mobile-rcs {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0;
    background: transparent;
    margin: 0;
}

.mks-product-title-modern__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    color: #334155;
    background: #f8fafc;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.mks-product-title-modern__btn i {
    font-size: 1rem;
    line-height: 1;
}

.mks-product-title-modern__btn:hover,
.mks-product-title-modern__btn:focus {
    background: #eef2ff;
    border-color: rgba(102, 126, 234, 0.22);
    color: var(--mks-color-primary, #667eea);
}

.mks-product-title-modern__btn:active {
    transform: scale(0.95);
}

.mks-product-title-modern__btn--fav.is-active,
.mks-product-title-modern__btn--fav .text-danger {
    color: #dc2626;
}

.mks-product-title-modern__btn--fav.is-active {
    background: #fff1f2;
    border-color: rgba(220, 38, 38, 0.18);
}

.mks-product-title-modern__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 38px;
    padding: 0 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #f8fafc;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mks-product-title-modern__chip:hover,
.mks-product-title-modern__chip:focus {
    background: #eef2ff;
    border-color: rgba(102, 126, 234, 0.22);
    color: var(--mks-color-primary, #667eea);
}

.mks-product-title-modern__chip--rating i.fa-star {
    color: #f59e0b;
    font-size: 0.85rem;
}

.mks-product-title-modern__chip--rating i.fa-message {
    color: #94a3b8;
    font-size: 0.85rem;
}

.mks-product-title-modern__chip-sep {
    width: 1px;
    height: 14px;
    background: rgba(15, 23, 42, 0.1);
    margin: 0 0.1rem;
}

.mks-product-title-modern__chip em {
    font-style: normal;
    color: #64748b;
    font-weight: 600;
}

.spm-like-icon,
.spm-share-icon {
    font-size: 1rem;
}

.mks-product-title-modern__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    color: #64748b;
    background: #f1f5f9;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.mks-product-title-modern__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 8px;
    background: #f1f5f9;
    min-width: 0;
}

.mks-product-title-modern .silva-spm-under-title {
    margin-top: 0.55rem;
}

.mks-product-title-modern .silva-spm-under-title li {
    display: inline-flex;
    margin: 0;
}

.mks-product-title-modern__row--desktop-share .mks-product-title-modern__btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
}

.mks-product-title-modern__row--mobile-meta {
    width: 100%;
    margin: 0;
}

.mks-product-title-modern__mobile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

.mks-product-title-modern__mobile-meta-info {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    min-width: 0;
}

.mks-product-title-modern__sku-plain {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mks-product-title-modern__sku-plain i {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.mks-product-title-modern__rating-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.mks-product-title-modern__rating-link i.fa-star {
    color: #f59e0b;
    font-size: 0.75rem;
}

.mks-product-title-modern__rating-link > span:first-of-type {
    color: #334155;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.mks-product-title-modern__rating-count {
    color: #94a3b8;
    font-weight: 500;
}

.mks-product-title-modern__rating-count::before {
    content: "·";
    margin-inline-end: 0.2rem;
    color: #cbd5e1;
}

.mks-product-title-modern__mobile-meta-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.mks-product-title-modern__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mks-product-title-modern__icon-btn i {
    font-size: 1.05rem;
    line-height: 1;
}

.mks-product-title-modern__icon-btn:active {
    background: rgba(15, 23, 42, 0.04);
}

.mks-product-title-modern__icon-btn--fav.is-active,
.mks-product-title-modern__icon-btn--fav .text-danger {
    color: #dc2626;
}

.gold-star {
    color: orange;
}

.spt-rating {
    font-family: star;
    position: relative;
    width: 5.4em;
    height: 1.1em;
    margin: 10px auto 0;
    font-size: 25px;
    line-height: 1;
}

.spt-rating:before {
    position: absolute;
    overflow: hidden;
    content: "sssss";
    color: #d3ced2;
}

.spt-rating span {
    display: block;
    font-family: star;
    position: relative;
    font-size: 25px;
    line-height: 1;
    overflow: hidden;
    height: 1.1em;
}
.mks-spca{
    font-weight: bolder;
    cursor: pointer;
    color: #cf3040;
}
.mks-spca i{
    vertical-align: middle;
}

.spt-rating span:before {
    position: absolute;
    overflow: hidden;
    content: "SSSSS";
    color: orange;
}

.spt-comment-count {
    font-size: 15px;
    color: #757575;
    padding: 4px 8px;
    display: block;
    text-align: center;
}

.spm-gallery {
    width: 100%;
    /* background-color: #fff; */
    display: block;
    position: sticky;
    top: 0;
    padding: 5px 5px;
    /* border-left: 1px solid #e9ecef; */
}
.mks-original-guaranty{
    cursor: pointer;
    position: absolute;
    top: -47px;
    left: 5px;
    z-index: 1;
}
.mks-original-guaranty img{
    width: 110px;
    height: auto;
}
.spm-sal {
    position: absolute;
    z-index: 1;
}

.spm-sal a {
    display: block;
    margin: 10px 0;
}

.spm-like-icon {
    font-size: 2em;
}

.spm-share-icon {
    font-size: 2em;
}

.spm-main-img {
    max-width: 80.7% !important;
    height: auto !important;
    margin: 0 auto !important;
}

.product-gallery {
    margin-top: 16px;
}

.pg-items {
    width: 100% !important;
    height: auto !important;
    /*width: 52px !important;*/
    /*height: 52px !important;*/
    margin: 0 auto;
    cursor: pointer;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

.spm-cip {
    margin-bottom: 16px;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    /* padding: 8px 16px; */
}

.spm-cip .mks-size-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.96), rgba(233, 213, 255, 0.92));
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
    margin-bottom: 16px;
}

.spm-cip .mks-size-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spm-cip .mks-size-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c4b5fd, #a855f7);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.25);
}

.spm-cip .mks-size-card-title {
    font-weight: 700;
    font-size: 18px;
    color: #6d28d9;
    display: block;
    margin-bottom: 4px;
}

.spm-cip .mks-size-card-subtitle {
    font-size: 13px;
    color: #7c3aed;
    opacity: 0.75;
}

.spm-cip .mks-size-card-body {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.25);
    background: rgba(237, 233, 254, 0.8);
    font-size: 14px;
    color: #5b21b6;
    font-weight: 600;
}

.spm-cip .mks-size-card-value {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #4c1d95;
}

.spm-attrs {

}

.spm-attrs > ul {
    margin-top: 3px;
    padding: 0;
    color: grey;
    list-style: none;
    line-height: 40px;
}

.spm-attrs > ul > li {
    font-size: 15px;
}

.spm-attrs > ul > li > a {
    font-size: 15px;
    text-decoration: underline;
}

.spm-attrs > ul > li > span {
    font-size: 15px;
    font-weight: 900;
    margin-left: 5px;
}

.spm-attrs > ul > li > i {
    color: #cf3040;
    font-size: 20px;
}

.quantity-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin: 16px 0;
}

.mks-variants-stock.stock.in-stock { 
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin: 16px 0;
}
.mks-variants-stock.stock.in-stock i{
    font-size: 18px;
    color: #22c55e !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.1);
    padding: 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}
.mks-variants-stock.stock.out-of-stock { 
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin: 16px 0;
 }
 .mks-variants-stock.stock.out-of-stock i{
    font-size: 18px;
    color: #fff !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.1);
    padding: 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.quantity-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transition: left 0.6s ease;
}

.quantity-alert:hover::before {
    left: 100%;
}

.quantity-alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
    background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%);
}

.quantity-alert i {
    font-size: 18px;
    color: #22c55e !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: rgba(34, 197, 94, 0.1);
    padding: 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.quantity-alert:hover i {
    transform: scale(1.1);
    background: rgba(34, 197, 94, 0.2);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

/* Modern Low Stock Alert */
.quantity-alert.low-stock {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.1);
}

.quantity-alert.low-stock:hover {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.quantity-alert.low-stock i {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1);
}

.quantity-alert.low-stock:hover i {
    background: rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* Modern Out of Stock Alert */
.quantity-alert.out-of-stock {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
}

.quantity-alert.out-of-stock:hover {
    background: linear-gradient(135deg, #fef2f2 0%, #fca5a5 100%);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
}

.quantity-alert.out-of-stock i {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1);
}

.quantity-alert.out-of-stock:hover i {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Modern Success Animation */
.quantity-alert.success {
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Modern Loading State */
.quantity-alert.loading {
    opacity: 0.7;
    pointer-events: none;
}

.quantity-alert.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #22c55e;
    border-top: 2px solid transparent;
    border-radius: 10px;
    animation: spin 1s linear infinite;
}

/* Modern Focus States */
.quantity-alert:focus-within {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1), 0 0 0 4px rgba(34, 197, 94, 0.1);
}




/* Modern Separator */
.mks-tav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mks-tav a {
    margin: 0;
}

/* Modern Loading State */
.table-responsive.loading {
    opacity: 0.7;
    pointer-events: none;
}

.table-responsive.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 10px;
    animation: spin 1s linear infinite;
}

/* Modern Success Animation */
.table-responsive.success {
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Modern Focus States */
.table-responsive:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.table a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}


.spm-price > .price {
    text-align: center;
    padding: 4px 8px;
}

.spm-price > .price del {
    color: #757575;
    display: block;
    font-size: 17px;
}

.spm-price > .price ins {
    color: #6a72d9;
    display: block;
    font-size: 25px !important;
    text-decoration: none;
    font-weight: 900;
}

.woocommerce-variation-price > span.price > div.price {
    text-align: center;
    padding: 4px 8px;
    margin-top: 30px;
}

.woocommerce-variation-price > span.price > div.price del {
    color: #757575;
    display: block !important;
    font-size: 18px;
}

.woocommerce-variation-price > span.price > div.price ins {
    color: #6a72d9;
    display: block !important;
    font-size: 36px;
    text-decoration: none;
    font-weight: 900;
}

.spm-brand-float {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.spm-brand-float img {
    width: 180px;
    height: 180px;
}

.spm-form-add-to-cart {
    display: inline-flex !important;
    width: 100%;
    justify-content: space-between;
    border: solid 1px #e9e9e9;
    border-radius: 10px;
    margin-top: 20px;
}

.spm-simple-qty {
    color: #7e7e7e;
    display: inline-flex;
    padding: 0 10px;
}

.radius-8{
    border-radius: 10px;
}

.spm-form-add-to-cart .quantity input {
    font-size: 23px;
    font-weight: 900;
    text-align: center !important;
    color: #d85a66;
    padding: 9px;
    width: 47px !important;
    height: 50px;
    border: none;
}

.spm-decrement, .spm-increment {
    color: #000000;
    border-radius: 10px;
    padding: 11px;
    border: none;
    background: transparent;
}

.spm-decrement i, .spm-increment i {
    font-size: 25px;
    vertical-align: bottom;
}

.btn-add-to-cart {
    width: 100%;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 17px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
}

.btn-add-to-cart:hover {
    color: #ffffff;
}

.btn-add-to-cart i {
    font-size: 20px;
    vertical-align: revert;
    margin-left: 5px;
}

.single_add_to_cart_button.loading {
    opacity: 0.92;
    cursor: wait;
    pointer-events: none;
}

.single_add_to_cart_button.loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-inline-end: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mks-atc-spin 0.65s linear infinite;
    vertical-align: -2px;
}

@keyframes mks-atc-spin {
    to {
        transform: rotate(360deg);
    }
}

.mks_attribute_name {
    color: #666;
    font-weight: 800;
    font-size: 18px;
    display: block;
    margin: 15px 0 !important;
}

.mks_attributes {
    display: block;
    margin-bottom: 10px;
}

.mks_attributes > select, .mks_attributes > input {
    display: none !important;
}

.mks-a-radio-label {
    margin-top: 5px;
    cursor: pointer;
    color: #757575;
    padding: 5px 10px;
    border: 1px solid #e9e9e9;
    text-align: center;
    border-radius: 10px;
}

.mks-a-radio-label i {
    font-size: 18px;
    margin-left: 5px;
}

.mks-a-radio-label span {
    font-size: 15px;
    font-weight: 100;
}

.green-check {
    color: #4caf50;
}


.half-opacity-attrs {
    opacity: 0.5 !important;
    cursor: no-drop !important;
}

.half-opacity {
    opacity: 0.5 !important;
    cursor: no-drop !important;
}

.mks-a-color-input {
}

.mks-a-color-label {
    font-size: 13px;
    position: relative;
    display: inline-block;
    margin-top: 5px;
    background-color: #fff;
    color: #757575;
    padding: 4px 13px;
    cursor: pointer;
    border: solid 1px #e9e9e9e9;
    border-radius: 10px;
}

.mks-a-color-label p {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.mks-a-color-label-active p {
    display: inline-block !important;

}

.mks-a-color-label-active {
    border: solid 2px #40d740 !important;
    background-color: #e9fff5 !important;
}

.mks-a-color-label span {
    padding: 12px;
    display: inline-block;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 5px;
    border: solid 1px #ddd;
}

.mks-a-image-input {
}

.mks-a-image-label {
    border-radius: 10px;
    font-size: 13px;
    position: relative;
    display: inline-block;
    margin-top: 5px;
    background-color: #fff;
    color: #757575;
    cursor: pointer;
    border: solid 1px #ddd;
    width: 80px;
    overflow: hidden;
}

.mks-a-image-label img {
    width: 100%;
    height: 80px;
    display: inline-block;
}
.mks-a-image-label span{
    display: block;
    padding: 4px 8px;
    text-align: center;
    background: #fafafaf1;
    font-size: 12px;
}
.nav-tabs .nav-link{
    border-radius: 10px;
}


.p-tabs-links {
    padding: 12px 16px;
    color: #616161;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
}

.tab-icons {
    font-size: 17px;
    vertical-align: baseline;
    margin-left: 5px;
}

.p-tabs-links:hover {
    color: #616161;
    border-color: transparent !important;
}

.p-tabs-content {
    /*box-shadow: 0 0 8px #d7d7d7;*/
    border: solid 1px #e9e9e9;
    color: #000;
    background-color: #fff;
    padding: 16px;
    border-radius: 10px;
}

.p-tabs-content table tr th {
    color: #000000 !important;
}

.p-main-tab {
    margin-top: 16px;
    border: none !important;
    white-space: nowrap;
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    padding: 1px 0;
}

.p-main-tab li {
    white-space: nowrap;
    margin: 0;
}

#p-images {
    text-align: center;
}

#p-images img {
    width: 18%;
    border-radius: 10px;
    border: 1px solid #ccc;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    height: auto;
}



.p-c-table {
    border: solid 1px #ddd;
}

.p-c-table tr th {
    padding: 8px;
    color: #fff !important;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
}

.p-c-table tr {

}

.cpc-table-padding {
}

.spm-comments {
    width: 100%;
    display: block;
    background-color: #ffffff;
    /*box-shadow: 0 0 8px #d7d7d7;*/
    border: solid 1px #e9e9e9;
    margin: 16px 0;
    border-radius: 10px;
}

.spm-comments h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, .1);
}

.spm-comment-item {
    display: inline-flex;
    width: 100%;
    margin: 16px 0;
}


.sci-content {
    padding: 8px 16px;
    border-radius: 10px;
    margin-right: 3%;
    color: #757575;
}

.sci-content div:first-child span {
    font-size: 15px;
    font-weight: 600;
    margin: auto 0;
}

.sci-content div:first-child {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.sci-content div:first-child .spt-rating {
    margin: 0;
    font-size: 20px;
}

.sci-content div:first-child .spt-rating span {
    font-size: 20px;
}

.sci-content p {
    margin-bottom: 15px;
    font-size: 15px;
}

.sci-child-content {
    width: 100%;
    line-height: 2em;
    color: #757575;
    background-color: #ffffff;
    padding: 4px 8px !important;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 15px;
}

.sci-child-content i {
    color: #cf3040;
    font-size: 16px;
    vertical-align: baseline;
}

.sci-child-content span {
    color: #cf3040;
    font-weight: 600;
    font-size: 15px;
}

.tell-me-in-stock-text {
    font-size: 15px;
}

.tell-me-in-stock-input {
    text-align: center;
    padding: 8px;
    border: 1px solid #ccc !important;
    border-radius: 10px;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 10px;
}

.tell-me-in-stock-btn {
    font-size: 15px;
    width: 100%;
    margin-top: 6px;
    border-radius: 10px;
}

.m-login-logo {
    width: 50%;
    height: auto;
    margin: 25px auto;
    display: block;
}

.mlm-title {
    font-weight: bolder;
    color: #000000;
    font-size: 22px;
    margin: 0 0 15px;
    text-align: center;
}
.mks-mal{
    width: 100%;
    height: 100%;
    display: inline-flex;
    justify-content: center;

}
.mml-label {
    text-align: center !important;
    font-size: 15px;
    color: #000000;
    font-weight: 500;
}

.mml-input {
    text-align: center;
    font-size: 15px;
}

.mml-code-input {
    text-align: center;
    font-size: 15px;
    margin: 15px 0 0;
}

input#code {
    text-align: center;
    font-size: 15px;
}

.btn-login {
    background-color: #da4646;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    border: none;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all ease-in-out 0.150s;
    color: white;
    font-size: 20px;
    padding: 10px;
    margin: 15px 0 0;
}

.btn-login:hover {
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 3px 20px 0 rgb(0 0 0 / 10%);
}

.mobile-login-spinner {
    vertical-align: sub;
    margin-left: 2px;
}

#mdh-cart,
.mks-header-cart-fragment {
    position: relative;
}

/* پل نامرئی بین آیکن و mini-cart تا ماوس بتونه بدون قطع شدن hover جابه‌جا بشه */
#mdh-cart::before {
    content: "";
    position: absolute;
    top: 100%;
    height: 18px;
    z-index: 998;
    width: 100%;
    left: 0;
}

#mdh-cart .mini-cart {
    max-height: min(78vh, 620px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: absolute;
    background: #fff;
    border-radius: 16px;
    left: 50%;
    top: calc(100% + 14px);
    width: 400px;
    max-width: 92vw;
    z-index: 999;
    border: 1px solid rgba(102, 126, 234, 0.12);
    padding: 0;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.06),
        0 20px 40px -8px rgba(102, 126, 234, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-14px) scale(0.97);
    pointer-events: none;
    transition:
        opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
        visibility 0.3s;
    transform-origin: top center;
}

#mdh-cart:hover .mini-cart,
#mdh-cart.is-open .mini-cart {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

#mdh-cart .mini-cart::after {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #fff;
    border-top: 1px solid rgba(102, 126, 234, 0.12);
    border-right: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 3px 0 0 0;
    z-index: 1;
}

#mdh-cart .mini-cart .widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    max-height: inherit;
    overflow: hidden;
}

#mdh-cart .mks-mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 14px;
    border-bottom: 1px solid #f0f2f8;
    flex-shrink: 0;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
    border-radius: 16px 16px 0 0;
}

#mdh-cart .mks-mini-cart-header__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
}

#mdh-cart .mks-mini-cart-header__title i {
    font-size: 18px;
    color: #667eea;
}

#mdh-cart .mks-mini-cart-header__count {
    font-size: 12px;
    font-weight: 600;
    color: var(--mks-color-primary);
    background: rgba(115, 82, 172, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

#mdh-cart .mks-mini-cart-items {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 10px;
    scroll-behavior: smooth;
}

#mdh-cart .mks-mini-cart-items::-webkit-scrollbar {
    width: 5px;
}

#mdh-cart .mks-mini-cart-items::-webkit-scrollbar-track {
    background: transparent;
}

#mdh-cart .mks-mini-cart-items::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.25);
    border-radius: 10px;
}

#mdh-cart .mks-mini-cart-items::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.45);
}

#mdh-cart .mks-mini-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px 36px;
    min-height: 280px;
}

#mdh-cart .mks-mini-cart-empty__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    animation: mksMiniCartEmptyPulse 2.5s ease-in-out infinite;
}

#mdh-cart .mks-mini-cart-empty__icon i {
    font-size: 34px;
    color: #667eea;
    opacity: 0.7;
}

@keyframes mksMiniCartEmptyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

#mdh-cart .mks-mini-cart-empty__title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px;
}

#mdh-cart .mks-mini-cart-empty__desc {
    font-size: 13px;
    color: #718096;
    margin: 0 0 22px;
    line-height: 1.6;
}

#mdh-cart .mks-mini-cart-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--mks-primary-gradient);
    border-radius: 12px;
    padding: 11px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#mdh-cart .mks-mini-cart-empty__btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.mini-cart {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.mini-cart-item-bb {
    border-bottom: solid 1px #ddd;
    padding: 10px 0;
}

.mini-cart-image {
    width: 100%;
}

.mini-cart-title {
    font-size: 15px;
    white-space: break-spaces;
}

.mini-cart-price {
    font-size: 14px;
    color: #db314e;
    font-weight: 700;
}

.mini-cart-price > .price {
    display: inline-block;
}

.mini-cart-price > .price ins {
    display: inline-block !important;
    font-size: 14px !important;
}

.mini-cart-price > .price del {
    display: none !important;
}

#mdh-cart .mini-cart-total-info {
    background: #fff;
    padding: 14px 16px 16px;
    position: sticky;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #f0f2f8;
    flex-shrink: 0;
    border-radius: 0 0 16px 16px;
}

#mdh-cart .mks-mini-cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

#mdh-cart .mks-mini-cart-total-label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

#mdh-cart .mks-mini-cart-total-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--mks-color-primary);
}

#mdh-cart .mks-mini-cart-total-price bdi {
    direction: rtl !important;
}

#mdh-cart .mks-mini-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mini-cart-btn {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--mks-primary-gradient);
    border-radius: 10px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    line-height: 1.4;
}

#mdh-cart .mini-cart-btn--outline {
    background: rgba(115, 82, 172, 0.08);
    border: 1px solid rgba(115, 82, 172, 0.2);
}

#mdh-cart .mini-cart-btn--outline:hover {
    color: var(--mks-color-primary);
    background: rgba(115, 82, 172, 0.14);
}

.mini-cart-btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}

.mini-cart-offcanvas {
    padding-bottom: 95px !important;
}

.mini-cart-icon {
    font-size: 20px;
    vertical-align: bottom;
    margin-left: 5px;
    color: #cf3040;
}

.acm-img {
    width: 100%;
    /*height: 213px;*/
}

.acm-title {
    width: 95%;
    padding: 15px 16px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
}

.acm-short-desc {
    min-height: 70px;
    color: #757575;
    font-size: 15px;
    padding: 0 16px 15px;
}

.acm-meta {
    width: 100%;
    display: inline-flex;
    padding: 15px 16px;
    justify-content: space-between;
}

.acm-meta span {
    font-size: 15px;
    font-weight: 600;
}

.acm-meta span i {
    color: #cf3040;
    font-size: 19px;
}

.as-box {
    width: 100%;
    display: block;
    background-color: #ffffff;
    box-shadow: 0 0 8px #d7d7d7;
    padding: 8px 16px !important;
    border-radius: 10px;
    margin: 16px 0;
    text-align: center;
}

.sa-writer-icon {
    font-size: 40px;
    display: block;
    margin: 16px 0;
}

.sa-writer-label {
    font-size: 16px;
    font-weight: 600;
    color: #757575;
}

.sa-writer-label-name {
    font-size: 18px;
    font-weight: 600;
    color: #cf3040;
    display: block;
}

.sa-view, .sa-created_at {
    display: block;
    margin: 15px 0;
    color: #757575;
    font-size: 15px;
    font-weight: 600;
}

.sa-update_text {
    display: block;
    margin: 15px 0;
    color: #757575;
}

.sa-updated_at {
    color: #cf3040;
    font-size: 24px;
}

.single-article {
    width: 100%;
    display: block;
    background-color: #ffffff;
    box-shadow: 0 0 8px #d7d7d7;
    padding: 8px 0;
    border-radius: 10px;
    margin: 16px 0;
}

.single-article-header {
    width: 100%;
    display: inline-flex;
    border-bottom: solid 1px #DDDDDD;
    justify-content: space-between;
    padding: 10px 16px;
}

.single-article-header h1 {
    font-weight: 700;
    color: #444;
    font-size: 22px;
}

.single-article-header i {
    margin: auto 0;
    font-size: 25px;
    cursor: pointer;
}

.single-article-body {
    padding: 16px 40px;
    font-size: 18px;
    line-height: 2em;
}

.single-article-body div {
    max-width: 100% !important;
}

.single-article-body .wp-video-shortcode {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgb(0 0 0 / 20%);
    margin: 0 auto;
}

.single-article-body p:has(> a > img) {
    display: block;
    text-align: center;
}

.send-new-comment {
    width: 100%;
    display: block;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 16px;
    margin: 16px 0;
}

.comments-txt {
    width: 100%;
    display: block;
    text-align: center;
    color: #757575;
    font-weight: 900;
    font-size: 15px;
}

.cr-s-input {
    display: none !important;
}

.cr-s-label {
    display: inline-block !important;
    margin: auto !important;
    cursor: pointer;
}

.cr-s-label i {
    font-size: 28px;
    color: #bdbdbd;
    cursor: pointer;
}

.sr-custom {
    display: inline-flex;
}

.sr-custom:not(:checked) > .cr-s-label:hover i, .sr-custom:not(:checked) > .cr-s-label:hover ~ .cr-s-label i {
    color: gold !important;
}

.gold-color {
    color: gold !important;
}

.btn-submit-comment {
    color: #ffffff;
    background-color: #cf3040;
    border-radius: 10px;
    font-size: 15px;
    padding: 7px 25px;
    display: inline-block;
    margin-left: 15px;
}

.btn-submit-comment:hover {
    color: #ffffff;
}

.share-social {
    width: 100%;
    display: block;
    text-align: center;
}

.share-social a {
    padding: 8px 8px 8px;
    border-radius: 10px;
    min-width: 42px;
    min-height: 42px;
    text-align: center;
    display: inline-block;
}

.share-social a:hover {
    color: #ffffff;
}

.share-social a i {
    font-size: 30px;
}

.share-social a img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

.share-social .mks-share-fallback {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    display: inline-block;
}

.sa-social-twitter {
    background: #55acee;
    color: #fff;
}

.sa-social-twitter i {
}

.sa-social-facebook {
    background: #3b5998;
    color: #fff;
}

.sa-social-facebook i {
}

.sa-social-telegram {
    background: #08c;
    color: #fff;
}

.sa-social-telegram i {
}

.sa-social-whatsapp {
    background: #25d366;
    color: #fff;
}

.sa-social-whatsapp i {
}

.sa-social-linkedin {
    background: #007bb5;
    color: #fff;
}

.sa-social-linkedin i {
}

.sa-social-rubika {
    background: #e31c3f;
    color: #fff;
}

.sa-social-bale {
    background: #00b894;
    color: #fff;
}

.sa-social-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.mks-cart-empty {
    width: 100%;
    margin: 8px 0 24px;
}

.mks-cart-empty__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e8edf3;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
    padding: 48px 32px 40px;
    min-height: 420px;
}

.mks-cart-empty__icon-wrap {
    margin-bottom: 8px;
}

.mks-cart-empty__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: mksCartEmptyPulse 2.5s ease-in-out infinite;
}

.mks-cart-empty__icon i {
    font-size: 30px;
    color: var(--mks-color-primary, #667eea);
    opacity: 0.85;
}

@keyframes mksCartEmptyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.mks-cart-empty__illustration {
    display: block;
    width: min(220px, 55vw);
    height: auto;
    margin: 4px auto 20px;
    opacity: 0.92;
    animation: mksCartEmptyFloat 3s ease-in-out infinite;
}

@keyframes mksCartEmptyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.mks-cart-empty__content {
    max-width: 480px;
}

.mks-cart-empty__title,
.cart-empty-section h2 {
    margin: 0 0 12px;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--mks-color-primary);
}

.mks-cart-empty__desc,
.cart-empty-section p {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.85;
    color: #64748b;
}

.mks-cart-empty__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mks-cart-empty__btn,
.cart-empty-section a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    padding: 13px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--mks-primary-gradient);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mks-cart-empty__btn:hover,
.cart-empty-section a:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

.mks-cart-empty__btn i {
    font-size: 16px;
}

.cart-title {
    color: #333;
    font-weight: 700;
    font-size: 24px;
    margin: 20px 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
}

.cart-title i {
    color: #667eea;
    font-size: 24px;
    margin-left: 8px;
    vertical-align: baseline;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.mks-notice-container {
    margin-top: 12px;
}

.mks-success-message.woocommerce-message::before,
.mks-success-message.woocommerce-message::after {
    display: none !important;
    content: none !important;
}

.mks-success-message.woocommerce-message {
    display: block;
    padding: 14px 18px !important;
    margin: 12px 0 !important;
    background: #fff !important;
    border: 1px solid #d1fae5 !important;
    border-right: 4px solid #16a34a !important;
    border-radius: 12px !important;
    color: #166534 !important;
    text-align: right !important;
    line-height: 1.6 !important;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
    animation: mks-success-message-in 0.35s ease;
}

@keyframes mks-success-message-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-success-message-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.mks-success-message-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 10px;
    font-size: 16px;
}

.mks-success-message-content {
    flex: 1;
    min-width: 0;
    padding-top: 0;
}

.mks-success-message-content p {
    margin: 0;
}

.mks-success-message-content .button,
.mks-success-message-content a.button,
.mks-success-message-content a.wc-forward {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 10px !important;
    margin-inline-end: 8px !important;
    padding: 8px 16px !important;
    background: #16a34a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mks-success-message-content .button:hover,
.mks-success-message-content a.button:hover,
.mks-success-message-content a.wc-forward:hover {
    background: #15803d !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.28);
}

@media (prefers-reduced-motion: reduce) {
    .mks-success-message.woocommerce-message {
        animation: none;
    }
}

/* Error notice base styles live in mks-notices.css (.mks-error-message) */
.mks-error-message:before {
    display: none !important;
}

.mks-warning-message {
    background-color: #fff3cd !important;
    border: 1px solid #664d03 !important;
    border-radius: 10px;
    color: #664d03 !important;
    margin: 16px 0 !important;
    font-size: 15px;
    line-height: 2;
}

.mks-warning-message:before {
    color: #664d03 !important;
}

.mks-checkout-form {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8edf3;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.mks-checkout-form:hover {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transform: none;
}

.mks-checkout-form form {
    width: 100%;
}

.mks-checkout-form .mks-checkout-section {
    margin: 0;
}

.mks-checkout-form .mks-checkout-section + .mks-checkout-section,
.mks-checkout-form .mks-checkout-section--notes {
    border-top: 1px solid #eef2f7;
}

.mks-checkout-form .mks-checkout-section__header,
.mks-checkout-review .mks-checkout-section__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid #eef2f7;
}

.mks-checkout-form .mks-checkout-section__icon,
.mks-checkout-review .mks-checkout-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    color: #667eea;
    font-size: 17px;
    flex-shrink: 0;
    line-height: 1;
}

.mks-checkout-form .mks-checkout-section__title,
.mks-checkout-form .mks-billing-fields-h3,
.mks-checkout-review .mks-checkout-section__title,
.mks-checkout-review #order_review_heading {
    width: auto;
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    padding: 0;
    border-bottom: none;
    margin: 0 !important;
    line-height: 1.5;
}

.mks-checkout-form .mks-checkout-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    padding: 20px 22px 22px;
}

.mks-checkout-form .mks-checkout-fields-grid > p,
.mks-checkout-form .mks-billing-fields > p {
    width: 100% !important;
    float: none !important;
    clear: none;
    margin: 0;
}

.mks-checkout-form #billing_address_1_field,
.mks-checkout-form #order_comments_field {
    grid-column: 1 / -1;
}

.mks-checkout-form .mks-checkout-fields-grid #billing_first_name_field {
    order: 10;
}

.mks-checkout-form .mks-checkout-fields-grid #billing_last_name_field {
    order: 20;
}

.mks-checkout-form .mks-checkout-fields-grid #billing_state_field {
    order: 51;
    grid-column: auto;
}

.mks-checkout-form .mks-checkout-fields-grid #billing_city_field {
    order: 52;
    grid-column: auto;
}

.mks-checkout-form .mks-checkout-fields-grid #billing_address_1_field {
    order: 53;
}

.mks-checkout-form .mks-checkout-fields-grid #billing_postcode_field {
    order: 54;
    grid-column: auto;
}

.mks-checkout-form .mks-checkout-fields-grid #billing_phone_field {
    order: 55;
    grid-column: auto;
}

.mks-checkout-form .woocommerce-billing-fields label,
.mks-checkout-form .woocommerce-additional-fields label,
.mks-checkout-form .mks-billing-fields label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    line-height: 1.4;
}

.mks-checkout-form .woocommerce-billing-fields label .required,
.mks-checkout-form .mks-billing-fields label .required {
    color: #e11d48;
}

.mks-checkout-form .woocommerce-billing-fields label .optional,
.mks-checkout-form .mks-billing-fields label .optional {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.mks-checkout-form .mks-billing-fields input,
.mks-checkout-form .mks-billing-fields select,
.mks-checkout-form .mks-billing-fields textarea,
.mks-checkout-form .woocommerce-additional-fields textarea,
.mks-checkout-form .woocommerce form .form-row .input-text {
    min-height: 46px;
    border-radius: 12px !important;
    color: #1e293b;
    padding: 11px 14px !important;
    line-height: 1.5 !important;
    box-shadow: none;
    display: block;
    width: 100%;
    background-color: #fff;
    border: 1px solid #dbe3ee !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 14px;
}

.mks-checkout-form .mks-billing-fields input:focus,
.mks-checkout-form .mks-billing-fields select:focus,
.mks-checkout-form .mks-billing-fields textarea:focus,
.mks-checkout-form .woocommerce-additional-fields textarea:focus,
.mks-checkout-form .woocommerce form .form-row .input-text:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
    outline: none;
}

.mks-checkout-form .mks-billing-fields .woocommerce-invalid input,
.mks-checkout-form .mks-billing-fields .woocommerce-invalid select,
.mks-checkout-form .mks-billing-fields .woocommerce-invalid textarea {
    border-color: #f87171 !important;
}

.mks-checkout-form #order_comments {
    min-height: 110px;
    height: auto;
    resize: vertical;
}

.mks-checkout-form .select2-container {
    width: 100% !important;
}

.mks-checkout-form .select2-container .select2-selection--single {
    min-height: 46px;
    border-radius: 12px !important;
    border: 1px solid #dbe3ee !important;
    padding: 0px 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mks-checkout-form .select2-container--default.select2-container--focus .select2-selection--single,
.mks-checkout-form .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.mks-checkout-form .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
    padding-right: 8px;
    color: #1e293b;
    font-size: 14px;
}

.mks-checkout-form .select2-container .select2-selection--single .select2-selection__arrow {
    height: 44px;
    margin: 0 8px;
}

.mks-checkout-form .select2-container .select2-dropdown,
.mks-checkout-form .select2-container .select2-selection {
    border-color: #dbe3ee !important;
}

.mks-checkout-form wc-order-attribution-inputs {
    display: none !important;
}

.woocommerce form .form-row .input-text, .woocommerce-page form .form-row .input-text{
    border: solid 1px #dbe3ee;
    border-radius: 12px;
}

.mks-checkout-review {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8edf3;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 20px;
}

.mks-checkout-review:hover {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transform: none;
}

.mks-checkout-review__body {
    padding: 0 20px 20px;
}

.mks-checkout-review .mks-checkout-totals {
    padding: 6px 0 2px;
}

.mks-checkout-review .mks-checkout-items-table,
.mks-checkout-review .mks-checkout-totals-table {
    border: none !important;
    margin: 0;
    width: 100%;
}

.mks-checkout-review .mks-checkout-totals-table thead,
.mks-checkout-review .mks-checkout-totals-table tbody {
    display: none !important;
}

.mks-checkout-review .mks-checkout-totals-table tfoot {
    display: block;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border: none !important;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr:not(:first-child):not(.order-total) {
    border-top: 1px solid #f1f5f9 !important;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr th,
.mks-checkout-review .mks-checkout-totals-table tfoot tr td {
    display: block;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: 14px;
    color: #475569;
    font-weight: 600;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr td {
    text-align: left;
    color: #1e293b;
    font-weight: 700;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr td .woocommerce-Price-amount bdi {
    font-size: 14px !important;
    font-weight: 700 !important;
    direction: rtl !important;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr.woocommerce-shipping-totals {
    align-items: flex-start;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr.woocommerce-shipping-totals th {
    padding-top: 2px !important;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr.woocommerce-shipping-totals td {
    text-align: right;
    flex: 1;
    min-width: 0;
}

.mks-checkout-review .mks-checkout-totals-table tfoot #shipping_method {
    margin: 0;
    padding: 0;
    list-style: none;
    direction: rtl;
    text-align: right;
}

.mks-checkout-review .mks-checkout-totals-table tfoot #shipping_method li {
    font-size: 13px;
    line-height: 1.65;
    color: #475569;
    text-align: right;
    direction: rtl;
}

.mks-checkout-review .mks-checkout-totals-table tfoot #shipping_method label {
    font-weight: 500;
    cursor: pointer;
    text-align: right;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr.order-total {
    margin-top: 8px;
    padding: 14px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 1px solid rgba(102, 126, 234, 0.15) !important;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr.order-total th {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr.order-total td {
    font-size: 16px;
    color: #667eea;
}

.mks-checkout-review .mks-checkout-totals-table tfoot tr.order-total td .woocommerce-Price-amount bdi {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #667eea !important;
}

.mks-checkout-review .mks-checkout-totals-discount td {
    color: #16a34a !important;
}

.mks-checkout-review .mks-payment-method {
    background: transparent !important;
    margin-top: 14px;
    padding: 14px 0 0 !important;
    border: none !important;
    border-top: 1px solid #eef2f7 !important;
}

.mks-checkout-review #payment ul.payment_methods {
    padding: 0 !important;
    margin: 0 0 14px !important;
    border: none !important;
}

.mks-checkout-review #payment ul.payment_methods li {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    background: #fff !important;
    overflow: hidden;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mks-checkout-review #payment ul.payment_methods li:has(input:checked) {
    border-color: rgba(102, 126, 234, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mks-checkout-review #payment ul.payment_methods li .input-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mks-checkout-review #payment ul.payment_methods li > label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    line-height: 1.5;
}

.mks-checkout-review #payment ul.payment_methods li > label::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mks-checkout-review #payment ul.payment_methods li input:checked + label::before {
    border-color: #667eea;
    box-shadow: inset 0 0 0 4px #667eea;
}

.mks-checkout-review #payment div.payment_box {
    margin: 0 !important;
    padding: 0 16px 14px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 13px;
    line-height: 1.7;
    color: #475569;
}

.mks-checkout-review #payment div.payment_box::before {
    display: none;
}

.mks-checkout-review #payment .place-order {
    margin: 0;
    padding: 0;
}

.mks-checkout-review .mks-checkout-btn,
.mks-checkout-review .payment-checkout-button {
    width: 100%;
    color: #fff !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.28) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 16px 24px !important;
    border-radius: 12px !important;
    border: none !important;
    line-height: 1.4;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mks-checkout-review .mks-checkout-btn:hover,
.mks-checkout-review .payment-checkout-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.34) !important;
    color: #fff !important;
}

.mks-checkout-items-table {
    border: none !important;
}

.checkout-button {
    color: #ffffff !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    display: block !important;
    padding: 18px 30px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3) !important;
    text-decoration: none !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
    color: #ffffff !important;
}

.checkout-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.mks-cart-coupon input[name=coupon_code],
.mks-cart-coupon .mks-cart-coupon__input {
    border-radius: 10px;
    padding: 8px 20px !important;
    text-align: right;
    border: 2px solid #e9e9e9;
    transition: all 0.3s ease;
}

.mks-cart-coupon button[name=apply_coupon],
.mks-cart-coupon .mks-cart-coupon__btn {
    color: #ef4055 !important;
    padding: 12px 15px !important;
    border-radius: 10px !important;
    border: solid 1px #ef4055 !important;
    font-weight: 600 !important;
    transition: all .3s ease !important;
    background: #fff !important;
    font-size: 14px !important;
}

.mks-cart-items-container .actions {
    padding: 16px 20px;
    border-top: 1px solid #f0f2f8;
}

.mks-cart-coupon {
    float: none !important;
    width: 100%;
}

.mks-cart-coupon__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mks-cart-coupon__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    text-align: right;
    cursor: pointer;
}

.mks-cart-coupon__toggle-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mks-cart-coupon__toggle-main i {
    color: var(--mks-color-primary, #667eea);
    font-size: 16px;
}

.mks-cart-coupon__chevron {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.mks-cart-coupon.is-open .mks-cart-coupon__chevron {
    transform: rotate(180deg);
}

.mks-cart-coupon__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: default;
}

.mks-cart-coupon__label i {
    color: #667eea;
    font-size: 16px;
}

.mks-cart-coupon__panel {
    display: block;
    width: 100%;
}

.mks-cart-coupon__field {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.mks-cart-coupon__field .mks-cart-coupon__input {
    flex: 1;
    min-width: 0;
}

.mks-cart-coupon__field .mks-cart-coupon__btn {
    flex-shrink: 0;
}

.mks-cart-coupon .coupon-error-notice,
.mks-cart-coupon .mks-coupon-notice {
    flex: 1 1 100%;
    margin: 12px 0 0;
}

.mks-cart-coupon__input.has-error {
    border-color: #f87171 !important;
    background: #fff5f5 !important;
}

.mks-cart-coupon__field:has(.mks-cart-coupon__input.has-error) {
    border-color: #fca5a5 !important;
    background: #fffafa !important;
}

.mks-cart-line-total {
    text-align: left;
}

.mks-cart-line-total .price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin: 0 !important;
}

.mks-cart-line-total del,
.mks-cart-line-total ins {
    display: block;
}

.mks-cart-line-total del {
    text-decoration: line-through !important;
    color: #a0aec0;
    font-size: 14px;
    font-weight: 400;
}

.mks-cart-line-total ins {
    text-decoration: none;
    color: #7352ac;
    font-size: 16px;
    font-weight: 500;
}

.mks-cart-line-total > .woocommerce-Price-amount.amount {
    color: #2d3748;
    font-size: 16px;
    font-weight: 400;
}

.mks-cart-line-total ins .woocommerce-Price-amount,
.mks-cart-line-total ins .woocommerce-Price-amount bdi {
    color: #7352ac;
    font-weight: 500;
    text-decoration: none;
}

.mks-cart-line-total del .woocommerce-Price-amount,
.mks-cart-line-total del .woocommerce-Price-amount bdi {
    color: #a0aec0;
    font-weight: 400;
    text-decoration: line-through;
}

@media only screen and (min-width: 992px) {
    .mks-cart-items-container .mks-cart-line-total .woocommerce-Price-amount bdi {
        display: inline-flex;
        flex-direction: row-reverse;
        align-items: baseline;
        gap: 5px;
        direction: ltr;
    }

    .mks-cart-coupon__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .mks-cart-coupon__toggle {
        width: auto;
        cursor: default;
        pointer-events: none;
    }

    .mks-cart-coupon__chevron {
        display: none;
    }

    .mks-cart-coupon__panel {
        display: block !important;
        flex: 1;
        max-width: 420px;
        margin-right: auto;
    }

    .mks-cart-coupon__field {
        flex: 1;
        max-width: none;
        margin-right: 0;
        gap: 0;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        overflow: hidden;
        background: #f8f9fb;
        transition: border-color 0.2s ease, background-color 0.2s ease;
    }

    .mks-cart-coupon__field:focus-within {
        border-color: rgba(102, 126, 234, 0.45);
        background: #fff;
    }

    .mks-cart-coupon__field .mks-cart-coupon__input {
        flex: 1;
        width: auto !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 12px 16px !important;
    }

    .mks-cart-coupon__field .mks-cart-coupon__btn {
        border: none !important;
        border-radius: 0 !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: #fff !important;
        padding: 12px 22px !important;
        white-space: nowrap;
    }

    .mks-cart-coupon__field .mks-cart-coupon__btn:hover {
        opacity: 0.92;
        color: #fff !important;
    }

    .mks-cart-table .product-subtotal {
        width: 14%;
        text-align: left;
        vertical-align: middle;
    }
}

.mks-cart-table {
    border: none !important;
    padding: 0;
    margin: 0 !important;
    border-radius: 10px;
    overflow: hidden;
    /* border: 2px solid rgba(102, 126, 234, 0.1) !important; */
}

.mks-cart-table thead {

}

.mks-cart-table thead tr {
}



input.qty::-webkit-outer-spin-button,
input.qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

input.qty[type=number] {
    -moz-appearance: textfield;
}

.mks-cart-img {
    width: 10%;
    padding: 5px !important;
}

.mks-cart-img img {
    width: 100% !important;
}

.mks-cart-name {
    width: 48%;
}

.mks-cart-name a {
    font-weight: 600;
    font-size: 12px;
    line-height: 30px;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mks-cart-price {
    padding: 5px !important;
}



.mks-cart-coupon {
    float: none !important;
}

.mks-cart-totals-container {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.mks-cart-summary-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.mks-cart-summary {
    background: #fff;
    overflow: hidden;
}

.mks-cart-summary__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #eef0f5;
    background: linear-gradient(135deg, #fafbff 0%, #fff 100%);
}

.mks-cart-summary__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.12);
    color: #667eea;
    font-size: 18px;
    flex-shrink: 0;
}

.mks-cart-summary__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

.mks-cart-total-table {
    border: none !important;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    margin: 0;
    width: 100%;
}

/* بدون border پیش‌فرض ووکامرس — فقط در باکس خلاصه سبد */
.woocommerce .mks-cart-summary table.shop_table,
.woocommerce .mks-cart-summary table.shop_table td,
.woocommerce .mks-cart-summary table.shop_table th,
.woocommerce .mks-cart-summary table.shop_table tbody th,
.woocommerce .mks-cart-summary table.shop_table tfoot td,
.woocommerce .mks-cart-summary table.shop_table tfoot th {
    border: none !important;
    border-top: none !important;
}

.mks-cart-total-table tbody {
    display: block;
}

.mks-cart-summary__row,
.mks-cart-total-table tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    margin: 0;
}

.mks-cart-total-table tr:last-child {
    border-bottom: none;
}

.mks-cart-total-table tr th {
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    border: none;
    color: #64748b;
    flex: 1 1 auto;
    text-align: right;
    background: transparent;
}

.mks-cart-total-table tr td {
    font-size: 15px !important;
    font-weight: 600;
    padding: 0 !important;
    color: #1e293b;
    border: none;
    text-align: left;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.mks-cart-summary__row--discount td,
.mks-cart-summary__discount-value,
.mks-cart-summary__discount-value .woocommerce-Price-amount,
.mks-cart-summary__discount-value .woocommerce-Price-amount bdi,
.mks-cart-summary__discount-value .woocommerce-Price-amount bdi span {
    color: #16a34a !important;
    font-weight: 600 !important;
}

.mks-shipping-note {
    background: #f0f7ff;
    border: 1px solid #cfe3ff;
    border-radius: 10px;
    padding: 5px 8px;
    color: #475569;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    text-align: right;
    max-width: 220px;
}

.mks-cart-total-table tr.woocommerce-shipping-totals {
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
}

.mks-cart-total-table tr.woocommerce-shipping-totals th {
    padding-top: 4px !important;
    white-space: nowrap;
}

.mks-cart-total-table tr.woocommerce-shipping-totals td {
    font-weight: 400;
    padding: 0 !important;
}

.mks-cart-summary__row--total th,
.mks-cart-total-table tr.order-total th {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #334155 !important;
}

.mks-cart-total-table tr.order-total td strong span bdi,
.mks-cart-total-table tr.order-total td strong span bdi span {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #667eea !important;
    text-shadow: none;
}

.mks-cart-total-table tr td strong span bdi {
    font-size: 20px !important;
    font-weight: 800;
    color: #667eea;
    text-shadow: none;
}

.mks-cart-total-table tr td strong span bdi span {
    font-size: 14px !important;
    font-weight: 600;
    color: #667eea;
    text-shadow: none;
}

.mks-cart-total-table tr td span bdi {
    font-size: 15px !important;
    font-weight: 600;
    direction: rtl !important;
}

.mks-cart-total-table tr td span bdi span {
    font-size: 12px !important;
    font-weight: 400;
}

.mks-cart-summary__checkout {
    padding: 16px 20px 20px;
    border-top: 1px solid #eef0f5;
    background: #fafbfc;
}

.mks-cart-summary__checkout .checkout-button {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px !important;
    font-size: 16px !important;
    padding: 16px 24px !important;
}

.mks-cart-summary__checkout .checkout-button::after {
    content: '\2190';
    font-size: 15px;
    line-height: 1;
    opacity: 0.9;
}

.mks-cart-coupon-row {
    flex-wrap: wrap;
}

.mks-cart-coupon-row th,
.mks-cart-coupon-row td {
    vertical-align: middle;
}

.mks-cart-coupon-row__label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mks-cart-coupon-row__label i {
    color: #22c55e;
    font-size: 14px;
    flex-shrink: 0;
}

.mks-cart-coupon-row__title {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
}

.mks-cart-coupon-row__code {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 50px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 12px;
    font-weight: 600;
    direction: ltr;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mks-cart-coupon-row__value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.mks-cart-coupon-row__amount,
.mks-cart-coupon-row__amount .woocommerce-Price-amount,
.mks-cart-coupon-row__amount .woocommerce-Price-amount bdi,
.mks-cart-coupon-row__amount .woocommerce-Price-amount bdi span {
    color: #16a34a !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

.mks-cart-coupon-row__remove {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #fecaca;
    color: #dc2626 !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.mks-cart-coupon-row__remove i {
    font-size: 10px;
}

.mks-cart-coupon-row__remove:hover {
    background: #fef2f2;
    border-color: #f87171;
    color: #b91c1c !important;
}

.mks-cart-total-table tr.mks-cart-coupon-row td {
    text-align: end;
}

.mks-billing-fields-h3, #order_review_heading {
    width: 100%;
    display: block;
    font-size: 17px;
    font-weight: 600;
    padding: 16px;
    border-bottom: solid 1px #e9e9e9;
    margin: 0 0 10px 0 !important;
}

.mks-checkout-form .mks-billing-fields-h3,
.mks-checkout-form #order_review_heading {
    padding: 0;
    border-bottom: none;
    margin: 0 !important;
}

.mks-payment-method {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

.mks-billing-fields {

}

#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods{
    padding: 0;
}


.mks-billing-fields > p:not(#billing_address_1_field) {
    width: calc(50%) !important;
    float: right !important;
    clear: none;
}

.mks-checkout-form .mks-billing-fields > p:not(#billing_address_1_field) {
    width: 100% !important;
    float: none !important;
}

.mks-billing-fields input, select, textarea {
    border-radius: 10px;
    color: #515151;
    padding: 8px !important;
    line-height: 2 !important;
    box-shadow: none;
    display: block;
    width: 100%;
    background-color: #fff;
    border: 1px solid #c1bfbf !important;
    transition: all .2s ease-out;
}

#billing_country_field {
    display: none !important;
}

.select2-container .select2-selection--single {
    border-radius: 10px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    margin: 2px 10px;
}
.select2-container .select2-dropdown, .select2-container .select2-selection{
    border-radius: 10px;
    border-color: #e9e9e9 !important;
    padding: 2px;
}

.input-coupon {
    width: 100% !important;
    border: solid 1px #e9e9e9;
    border-radius: 10px;
    padding: 8px !important;
    line-height: 2 !important;
}

.mks-checkout-coupon {
    margin: 16px 0 0;
}

.mks-checkout-coupon__toggle-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155 !important;
    text-decoration: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mks-checkout-coupon__toggle-link:hover {
    border-color: var(--mks-color-primary, #667eea);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
    color: #1e293b !important;
}

.mks-checkout-coupon__toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    color: #fff !important;
    font-size: 16px;
}

.mks-checkout-coupon__toggle-text {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: right;
}

.mks-checkout-coupon__toggle-text strong {
    font-weight: 700;
    color: var(--mks-color-primary, #667eea);
}

.mks-checkout-coupon__toggle-chevron {
    flex-shrink: 0;
    font-size: 13px;
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.2s ease;
}

.mks-checkout-coupon__toggle-link:hover .mks-checkout-coupon__toggle-chevron {
    color: var(--mks-color-primary, #667eea);
}

.mks-checkout-coupon__form.checkout_coupon.woocommerce-form-coupon {
    width: 100%;
    padding: 16px;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    margin: 12px 0 0 !important;
}

.mks-checkout-coupon__desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    text-align: right;
}

.mks-checkout-coupon__field {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.mks-checkout-coupon__input {
    flex: 1;
    min-width: 0;
    min-height: 46px;
    border: 1px solid #dbe3ee !important;
    border-radius: 12px !important;
    padding: 11px 14px !important;
    font-size: 14px;
    text-align: right;
    background: #fff;
    line-height: 1.5 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mks-checkout-coupon__input:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
    outline: none;
}

.mks-checkout-coupon__btn {
    flex-shrink: 0;
    min-height: 46px;
    padding: 0 20px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    color: #fff !important;
    background: var(--mks-primary-gradient) !important;
    border: none !important;
    box-shadow: var(--mks-shadow) !important;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.mks-checkout-coupon__btn:hover {
    opacity: 0.95;
    box-shadow: var(--mks-shadow-hover) !important;
    color: #fff !important;
}

.mks-checkout-coupon-alert {
    background: var(--mks-primary-gradient) !important;
    border-color: var(--mks-color-primary) !important;
}

.mks-checkout-coupon .coupon-error-notice,
.mks-checkout-coupon .mks-coupon-notice {
    width: 100%;
    margin: 12px 0 0;
}

.bg-white {
    background-color: #ffffff;
}

/* Modern Thank You Page Styles */
.thank-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    margin-top: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.thank-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}



/* Success Icon */
.thanks-success-icon {
    font-size: 64px;
    color: #48bb78;
    margin-bottom: 20px;
    animation: successIconPop 0.6s ease-out;
    display: block;
}

@keyframes successIconPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Error Icon */
.thanks-error-icon {
    font-size: 64px;
    color: #e53e3e;
    margin-bottom: 20px;
    animation: errorIconShake 0.6s ease-out;
    display: block;
}

/* Error Box Styles */
.text-center.error-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-radius: 10px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(229, 62, 62, 0.15);
    border: 1px solid rgba(229, 62, 62, 0.2);
    position: relative;
    overflow: hidden;
    margin: 30px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-center.error-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.text-center.error-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(229, 62, 62, 0.25);
}

/* Error Actions */
.woocommerce-notice--error {
    margin-top: 32px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.woocommerce-notice--error .button {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%) !important;
    border: none;
    border-radius: 10px;
    padding: 16px 32px;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.25) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
}

.woocommerce-notice--error .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.woocommerce-notice--error .button:hover::before {
    left: 100%;
}

.woocommerce-notice--error .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(229, 62, 62, 0.35);
    color: #ffffff;
}

.woocommerce-notice--error .button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(229, 62, 62, 0.3);
}

.woocommerce-notice--error .button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.woocommerce-notice--error .button:hover i {
    transform: scale(1.1);
}

/* My Account Button */
.woocommerce-notice--error .button:last-child {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25) !important;
    border-radius: 10px;
    color: #ffffff !important;
}

.woocommerce-notice--error .button:last-child:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.35);
}

.woocommerce-notice--error .button:last-child:active {
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

@keyframes errorIconShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Success Text */
.thanks-success-text {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 30px;
    line-height: 1.4;
    animation: textSlideIn 0.8s ease-out 0.3s both;
}

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Text */
.thanks-error-text {
    font-size: 18px;
    color: #e53e3e;
    margin-bottom: 30px;
    line-height: 1.5;
    animation: textSlideIn 0.8s ease-out 0.3s both;
}

/* Order Table */
.mks-ct {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    margin-top: 20px;
    animation: tableSlideIn 0.8s ease-out 0.6s both;
}

@keyframes tableSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-ct tr th {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.mks-ct tr th:first-child {
    border-top-right-radius: 16px;
}

.mks-ct tr th:last-child {
    border-top-left-radius: 16px;
}

.mks-ct tr td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: #4a5568;
    background: #ffffff;
}

.mks-ct tr:last-child td {
    border-bottom: none;
}

.mks-ct tr:last-child td:first-child {
    border-bottom-right-radius: 16px;
}

.mks-ct tr:last-child td:last-child {
    border-bottom-left-radius: 16px;
}

/* Order Details Button */
.mks-ct .btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.mks-ct .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(72, 187, 120, 0.4);
    color: #ffffff;
}

/* Pay Again Button */
.thanks-btn-pay-again {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.thanks-btn-pay-again:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 101, 101, 0.4);
    color: #ffffff;
}

.thanks-btn-pay-again i {
    font-size: 16px;
}

/* Gateway Description */
.thanks-gateway-description {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 20px;
    animation: gatewaySlideIn 0.8s ease-out 0.9s both;
}

@keyframes gatewaySlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.thank-box.loading {
    opacity: 0.7;
    pointer-events: none;
}

.thank-box.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #667eea;
    border-radius: 10px;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Success State Animation */
.thank-box.success {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Error State Animation */
.thank-box.error {
    animation: errorShake 0.6s ease-out;
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Modern Order Details Page Styles */
.woocommerce-order-details {
    
}


/* Order Details Title */
.mks-order-notes-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    animation: titleSlideIn 0.8s ease-out;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Order Details Table */
.mks-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    margin-top: 20px;
    animation: tableSlideIn 0.8s ease-out 0.3s both;
}

@keyframes tableSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-orders-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mks-orders-table thead tr th {
    color: #ffffff;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    border: none;
    position: relative;
}

.mks-orders-table thead tr th:first-child {
    border-top-right-radius: 16px;
}

.mks-orders-table thead tr th:last-child {
    border-top-left-radius: 16px;
}

.mks-orders-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.mks-orders-table tbody tr:hover {

}

.mks-orders-table tbody tr:last-child {
    border-bottom: none;
}

.mks-orders-table tbody tr:last-child td:first-child {
    border-bottom-right-radius: 16px;
}

.mks-orders-table tbody tr:last-child td:last-child {
    border-bottom-left-radius: 16px;
}

.mks-orders-table tbody tr td {
    padding: 20px 24px;
    text-align: center;
    font-size: 14px;
    color: #4a5568;
    background: #ffffff;
    vertical-align: middle;
}

/* Product Image */
.order-details-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.order-details-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Product Details */
.mks-orders-table tbody tr td p {
    margin: 0;
    line-height: 1.6;
}

.mks-orders-table tbody tr td p:first-child {
    margin-bottom: 8px;
}

.mks-orders-table tbody tr td p a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mks-orders-table tbody tr td p a:hover {
    color: #667eea;
    text-decoration: underline;
}

/* Price and Quantity */
.ods-price-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.ods-price-item b {
    color: #48bb78;
    font-size: 16px;
    font-weight: 600;
}

.ods-price-item span {
    color: #718096;
    font-size: 13px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 4px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* Customer Note */
.mks-orders-table tfoot tr th {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #4a5568;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    border: none;
}

.mks-orders-table tfoot tr td {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #4a5568;
    padding: 16px 24px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    border: none;
}

/* Loading State */
.woocommerce-order-details.loading {
    opacity: 0.7;
    pointer-events: none;
}

.woocommerce-order-details.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #667eea;
    border-radius: 10px;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

/* Success State Animation */
.woocommerce-order-details.success {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(1);
    }
}

.thanks-success-text {
    margin: 16px 0;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    color: #4caf50;
}

.mks-tyi-lb-success {
    border: dashed 2px #4caf50;
    padding: 10px;
    border-radius: 10px;
}

.mks-thank-you-info-list {
    text-align: center !important;
    width: max-content;
    margin: 16px auto !important;
}

.mks-thank-you-info-list li {
    font-size: 12px !important;
    padding: 5px 15px !important;
}

.mks-thank-you-info-list li strong {
    font-size: 20px !important;
}

.thanks-error-icon {
    margin: 16px 0 16px 4px;
    font-size: 24px;
    font-weight: 600;
    display: inline-block;
    color: #d85a66;
    vertical-align: bottom;
}

.thanks-error-text {
    margin: 16px 0;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    color: #d85a66;
}

.mks-tyi-l-error {
    border: dashed 2px #d85a66;
    padding: 10px;
    border-radius: 10px;
}

.mks-nav-main {
 
}

.mks-nav-main ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mks-nav-main ul li {
}

.mks-nav-main ul li a {
    position: relative;
}

.mks-nav-main ul li a i {
    font-size: 25px;
    margin-left: 10px;
    vertical-align: sub;
}

.mks-nav-main ul li a.active:hover {
    color: #fff;
    font-weight: 600;
}

.mks-nav-main ul li a strong {
    position: absolute;
    left: 10px;
    background-color: #cf3040;
    color: #fff;
    border-radius: 100%;
    font-size: 14px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 2;
    border: solid 1px;
}

.cp-content {
    background-color: #ffffff;
    border-radius: 10px;
    /*box-shadow: 0 0 8px #d7d7d7;*/
    border: solid 1px #e9e9e9e9;
    padding: 16px;
    margin: 16px 0;
}

.mks-dashboard-img {
    margin: -55px auto 25px;
    display: block;
    background: #fff;
    border-radius: 10px;
}

.mks-dashboard-name {
    width: 100%;
    display: block;
    margin: 16px 0;
    font-size: 20px;
    text-align: center;
    font-weight: 600;
    color: #cf3040;
}

.mks-dashboard-icons {
    width: 100%;
    margin: 16px 0;
    padding: 20px 0;
}

.mks-dashboard-icons span {
    display: inline-block;
    font-size: 15px;
}

.mks-dashboard-icons span i {
    display: block;
    font-size: 45px;
    color: #cf3040;
    margin-bottom: 10px;
}

.mks-profile-address {

}

.mks-profile-address header {
    background: #e9e9e9;
    padding: 10px;
    border-radius: 10px;
}

.mks-profile-address header h3 {
    margin: 0 !important;
}

.mks-profile-address header a {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.mks-profile-address address {
    border: solid 1px #ddd;
    padding: 10px;
    border-radius: 10px;
}

.mks-billing-fields-profile > p:not(#billing_address_1_field) {
    width: calc(100%) !important;
    float: right !important;
    clear: none;
}

.mks-billing-fields-profile input, select, textarea {
    border-radius: 10px;
    color: #515151;
    padding: 8px !important;
    line-height: 2 !important;
    box-shadow: none;
    display: block;
    width: 100%;
    background-color: #fff;
    border: 1px solid #c1bfbf;
    transition: all .2s ease-out;
}

#shipping_country_field {
    display: none !important;
}

#shipping_state_field .select2-container .select2-selection--single {
    height: 44px !important;
    padding-top: 8px !important;
}

#shipping_state_field .select2-container .select2-selection--single .select2-selection__arrow {
    margin: 8px;
}

.mks-pf-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

.otm {
    width: 100%;
    display: block;
    border-radius: 10px;
    border: solid 1px #DDDDDD;
    margin-bottom: 16px;
    padding: 16px;
}

.otm ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.otm ul li:first-child {
    display: block;
}

.otm ul li {
    width: 100%;
    padding: 6px 0;
    border-bottom: solid 1px #ddd;
    display: inline-flex;
    justify-content: space-between;
}

.otm ul li span {
    font-size: 15px;
}

.otm ul li span:first-child {
    font-weight: 600;
}

.otm ul li span:last-child {
    font-weight: 500;
}

.ajax-search-result {
    position: absolute;
    padding: 16px;
    right: 0;
    left: 0;
    top: 71px;
    background-color: #fff;
    z-index: 250;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    border-radius: 10px;
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* حالت باز – با کلیک روی اینپوت یا تایپ ۳+ کاراکتر */
.ajax-search-result.ajax-search-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ajax-search-result ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ajax-search-result ul li {
    display: block;
    width: 100%;
}

.ajax-search-result ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 4px;
    transition: background-color 0.15s ease;
}

.ajax-search-result ul li:not(.ajax-search-show-all) a:hover {
    background-color: #f8f9ff;
    border-radius: 8px;
}

.ajax-search-result ul li.ajax-search-item--outofstock a {
    opacity: 0.78;
}

.ajax-search-result ul li a .ajax-search-item-chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    color: #c4c4c4;
    font-size: 12px;
    opacity: 0.85;
}

.ajax-search-result ul li a .ajax-search-item-thumb {
    display: inline-flex;
    flex-shrink: 0;
}

.ajax-search-result ul li a .ajax-search-item-thumb img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    min-width: 44px;
    min-height: 44px;
    object-fit: cover;
    border: 1px solid #eee;
}

.ajax-search-result ul li a .ajax-search-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ajax-search-result ul li a .ajax-search-item-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ajax-search-result ul li a .ajax-search-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ajax-search-result ul li a .ajax-search-item-stock {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 999px;
}

.ajax-search-result ul li a .ajax-search-item-stock--instock {
    color: #059669;
    background: #ecfdf5;
}

.ajax-search-result ul li a .ajax-search-item-stock--outofstock {
    color: #dc2626;
    background: #fef2f2;
}

.ajax-search-result ul li a .ajax-search-item-price {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
}

.ajax-search-result ul li a .ajax-search-item-price .price {
    margin: 0;
}

.ajax-search-result ul li a .ajax-search-item-price del {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 500;
}

.ajax-search-result ul li a .ajax-search-item-price ins {
    text-decoration: none;
    color: #111827;
}

.ajax-search-result ul li.ajax-search-show-all a {
    justify-content: center;
    margin-top: 8px;
    padding: 12px;
    border-bottom: none;
    border-radius: 10px;
    background: var(--mks-bg-soft, #f5f6ff);
    color: var(--mks-color-primary, #667eea);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.ajax-search-result ul li.ajax-search-show-all a:hover {
    background: var(--mks-color-primary, #667eea);
    color: #fff;
}

.ajax-search-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    letter-spacing: -0.01em;
}

.ajax-search-section-title i {
    font-size: 18px;
    color: var(--mks-color-primary, #667eea);
    flex-shrink: 0;
}

.ajax-search-section-title span {
    line-height: 1.4;
}

.ajax-search-products-title {
    color: #222;
}

.ajax-search-categories,
.ajax-search-brands,
.ajax-search-products {
    margin-bottom: 4px;
}

.ajax-search-categories ul,
.ajax-search-brands ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
}

.ajax-search-categories ul li a,
.ajax-search-brands ul li a {
    border-bottom: none;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 8px;
    height: 100%;
    background: #fff;
}

.ajax-search-categories ul li a:hover,
.ajax-search-brands ul li a:hover {
    background-color: #f8f9ff;
    border-color: #e5e7ff;
}

.ajax-search-categories ul li a .ajax-search-item-thumb img,
.ajax-search-brands ul li a .ajax-search-item-thumb img,
.ajax-search-categories ul li a .ajax-search-item-thumb--empty,
.ajax-search-brands ul li a .ajax-search-item-thumb--empty {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 8px;
}

.ajax-search-categories ul li a .ajax-search-item-title,
.ajax-search-brands ul li a .ajax-search-item-title {
    font-size: 12px;
    -webkit-line-clamp: 1;
}

.ajax-search-categories ul li a .ajax-search-item-chevron,
.ajax-search-brands ul li a .ajax-search-item-chevron {
    display: none;
}

.ajax-search-categories:not(.d-none) ~ .ajax-search-brands:not(.d-none),
.ajax-search-categories:not(.d-none) ~ .ajax-search-products:not(.d-none),
.ajax-search-brands:not(.d-none) ~ .ajax-search-products:not(.d-none) {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.ajax-search-item-thumb--empty {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid #eee;
    background: var(--mks-bg-soft, #f5f6ff);
    color: var(--mks-color-primary, #667eea);
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.ajax-search-term-count {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.3;
}

.dmh-search form.is-ajax-search-loading .dmh-search-button {
    opacity: 0.55;
    cursor: wait;
    pointer-events: none;
}

.ajax-search-divider {
    margin: 14px 0;
    border: none;
    border-top: 1px solid #eee;
    opacity: 1;
}

.ajax-search-popular {
    margin-top: 4px;
}

.ajax-search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
}

.ajax-search-loading.d-none {
    display: none !important;
}

.ajax-search-loading__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.ajax-search-loading__spinner {
    width: 2rem;
    height: 2rem;
    color: var(--mks-color-primary, #667eea);
    border-width: 0.2em;
}

.ajax-search-loading__text {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.6;
}

.ajax-search-result p {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    display: inline-block;
    margin: 16px 0;
}

.ajax-search-result p i {
    font-size: 25px;
    color: var(--mks-color-primary);
    vertical-align: bottom;
    margin-left: 5px;
}

.close-ajax-search {
    position: absolute;
    left: 10px;
    top: 11px;
    font-size: 30px;
    color: var(--mks-color-primary);
    cursor: pointer;
}

.mks-header-support{
    display: inline-flex;
    width: 100%;
    justify-content: end;
}
.mks-header-support > span{
    margin: auto 0;
}
.mks-header-support > span > i{
    font-size: 35px;
    margin: 0 0 0 10px;
    color: var(--mks-color-primary, #667eea);
}
.mks-header-support > div{
    margin: auto 0;
}
.mks-header-support > div > p:first-child{
    font-size: 10px;
    text-align: center;
    color: #909090;
    margin: 0 0 0 0;
}
.mks-header-support > div > p:last-child,
.mks-header-support__phone{
    margin: 0px 0 0 0;
    font-size: 14px;
    text-align: right;
}

.ps-main-div{
    white-space: normal;
}


.as-cats {
    color: #555;
    padding: 7px 14px;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin: 4px;
    display: inline-block;
    background: #fafafa;
    transition: all 0.15s ease;
}

.as-cats:hover {
    border-color: var(--mks-color-primary, #667eea);
    color: var(--mks-color-primary, #667eea);
    background: var(--mks-bg-soft, #f5f6ff);
}

.as-cats i {
    font-size: 18px;
    display: inline-block;
    vertical-align: sub;
}

.menu-height-0 {
    height: 0 !important;
    overflow: hidden !important;
    padding-top: 10px;
    visibility: hidden;
    transition: all ease-in 0.200s;
}

/* Brands page */
.mks-brands-page {
    padding: 12px 0 56px;
}

.mks-brands-page__breadcrumb {
    margin-bottom: 8px !important;
    height: auto !important;
}

.mks-brands-page__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px 20px;
    margin-bottom: 28px;
}

.mks-brands-page__title {
    margin: 0 0 22px;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 700;
    color: #202124;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.mks-brands-page__search-wrap {
    width: 100%;
    max-width: 584px;
}

.mks-brands-page__search {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    height: 48px;
    padding: 0 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #dfe1e5;
    box-shadow: none;
    transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mks-brands-page__search:hover {
    background: #fff;
    border-color: rgba(223, 225, 229, 0);
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.mks-brands-page__search:focus-within {
    background: #fff;
    border-color: rgba(223, 225, 229, 0);
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.mks-brands-page__search i {
    color: #9aa0a6;
    font-size: 16px;
    flex-shrink: 0;
}

.mks-brands-page__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #202124;
}

.mks-brands-page__search-input::placeholder {
    color: #9aa0a6;
}

.mks-brands-page__alphabet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: 720px;
    margin-top: 18px;
    padding: 0;
}

.mks-brands-page__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #4d5156;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dadce0;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.mks-brands-page__letter:hover {
    color: var(--mks-color-primary, #7352ac);
    background: #f8f9fa;
    border-color: #dadce0;
    text-decoration: none;
}

.mks-brands-page__letter.is-active {
    color: #fff;
    background: var(--mks-color-primary, #7352ac);
    border-color: var(--mks-color-primary, #7352ac);
    text-decoration: none;
}

.mks-brands-page__content {
    max-width: 960px;
    margin: 0 auto;
}

.mks-brands-page__group {
    margin-bottom: 22px;
    width: 100%;
}

.mks-brands-page__group.is-hidden {
    display: none;
}

.mks-brands-page__group-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    scroll-margin-top: 24px;
}

.mks-brands-page__group-title {
    font-size: 14px;
    font-weight: 700;
    color: #202124;
    flex-shrink: 0;
    padding: 0px 7px 3px 7px;
    border-radius: 7px;
}

.mks-brands-page__group-line {
    flex: 1;
    height: 1px;
    background: #e8eaed;
}

.mks-brands-page__group-count {
    font-size: 12px;
    font-weight: 500;
    color: #80868b;
    flex-shrink: 0;
}

.mks-brands-page__grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.mks-brands-page__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 10px 6px 8px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mks-brands-page__card.is-hidden {
    display: none;
}

.mks-brands-page__card:hover {
    border-color: #dadce0;
    background: #f8f9fa;
    box-shadow: 0 1px 4px rgba(32, 33, 36, 0.12);
    text-decoration: none;
    color: inherit;
}

.mks-brands-page__card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    overflow: hidden;
}

.mks-brands-page__card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mks-brands-page__card-name {
    font-size: 11px;
    font-weight: 600;
    color: #3c4043;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    min-height: 2.7em;
}

.mks-brands-page__card:hover .mks-brands-page__card-name {
    color: var(--mks-color-primary, #7352ac);
}

.mks-brands-page__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px;
    text-align: center;
    border-radius: 12px;
    background: #fff;
    border: 1px dashed #dadce0;
    color: #80868b;
}

.mks-brands-page__empty[hidden] {
    display: none !important;
}

.mks-brands-page__empty--plain {
    margin-top: 16px;
}

.mks-brands-page__empty-icon {
    font-size: 32px;
    color: #dadce0;
}

.mks-brands-page__empty p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 1199.98px) {
    .mks-brands-page__grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .mks-brands-page__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .mks-brands-page__content {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .mks-brands-page {
        padding: 8px 0 40px;
    }

    .mks-brands-page__hero {
        padding: 16px 0 12px;
        margin-bottom: 18px;
    }

    .mks-brands-page__title {
        margin-bottom: 16px;
        font-size: 24px;
    }

    .mks-brands-page__search {
        height: 44px;
        padding: 0 16px;
        border-radius: 22px;
    }

    .mks-brands-page__search-input {
        font-size: 15px;
    }

    .mks-brands-page__alphabet {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        max-width: 100%;
        margin-top: 14px;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .mks-brands-page__alphabet::-webkit-scrollbar {
        display: none;
    }

    .mks-brands-page__letter {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
        flex-shrink: 0;
    }

    .mks-brands-page__group {
        margin-bottom: 18px;
    }

    .mks-brands-page__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .mks-brands-page__card {
        padding: 8px 4px 6px;
        border-radius: 8px;
        gap: 5px;
    }

    .mks-brands-page__card-logo {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }

    .mks-brands-page__card-name {
        font-size: 10px;
        min-height: 2.6em;
    }
}

@media (max-width: 399.98px) {
    .mks-brands-page__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mobile-footer-collapse-item {
    width: 100%;
    display: block;
    padding: 12px 16px;
    background: var(--mks-footer-card-bg, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--mks-footer-border-subtle, rgba(255, 255, 255, 0.06));
    border-radius: 10px;
    margin-bottom: 8px;
}

.mobile-footer-collapse-item .collapsible {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--mks-footer-heading, #ffffff);
    cursor: pointer;
}

.mobile-footer-collapse-item .collapsible i {
    font-size: 20px;
    margin: auto 0;
    transition: all ease-in-out 0.200s;
    color: var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65));
}

.mobile-footer-collapse-item .active i {
    transform: rotate(180deg);
}

.mobile-footer-collapse-item .content ul {
    padding: 8px 0 0;
    margin: 0;
    list-style: none;
}

.mobile-footer-collapse-item .content ul li {
    padding: 3px 5px;
}

.mobile-footer-collapse-item .content ul li:first-child {
    
}

.mobile-footer-collapse-item .content ul li a {
    font-size: 13px;
    color: var(--mks-footer-link, var(--mks-footer-text-muted, rgba(232, 234, 237, 0.65)));
}

.mobile-footer-collapse-item .content ul li a:hover {
    color: var(--mks-footer-link-hover, var(--mks-footer-text, #e8eaed));
}

.mobile-main-header {
    width: 100%;
    display: inline-flex;
    color: #424750;
    background-color: #fff;
    padding: 7px 5px;
    justify-content: space-around;
    z-index: 100;
    height: 50px;
    border: 2px solid rgba(102, 126, 234, .1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .05);
}

.mobile-main-header > i {
    font-size: 30px;
    margin: auto 0;
    /*color: #999999;*/
}

.mobile-main-header > span {
    position: relative;
    margin: auto 0;
}

.mobile-main-header span > i {
    font-size: 25px;
    margin: 5px 0;
}

.mobile-main-header a > i {
    font-size: 25px;
    margin: 5px 0px;
}
.mks-mmm-sr > .ajax-search-result{
    top: 105px;
    padding: 0 10px;
    border-radius: 10px;
    border-top: solid 1px #ddd;
    max-height: max-content;
    height: 84vh;
}
.mks-mmm-sr{
    background-color: #fff;
    padding: 6px 0 10px;
}

.mks-mmm-sr > span{
    width: 15%;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.mks-msr-search > span > .close-ajax-search {
    top: 6px;
}

.mks-msr-search > button {
    position: absolute;
    border: 0;
    right: 5px;
    top: 8px;
}
.mks-msr-search > button > i{
    font-size: 20px;
    color: #808080;
}

.mks-msr-search {
    width: 80%;
    position: relative;
    display: inline-block;
}

.mks-msr-search > input{
    background-color: #f0f0f1;
    padding: 8px 40px 8px 8px;
    border-radius: 10px;
    border: none;
    width: 100%;
    color: #808080;
}
.mks-msr-search > input::placeholder{
    color: #808080;
}
.mks-mms-icon {
    display: inline-block;
    text-align: center;
    width: 15%;
}
.mks-mms-icon > i{
    font-size: 28px;
    color: #515151;
    vertical-align: text-top;
}

.mobile-cart-count {
    position: absolute;
    border-radius: 100%;
    font-size: 11px;
    font-weight: 700;
    width: 23px;
    height: 23px;
    text-align: center;
    line-height: 20px;
    border: 2px solid;
    top: 10px;
    right: -12px;
    color: #fff;
    background-color: #d85a66;
    z-index: 1;
}

.mobile-cart-count--empty {
    display: none;
}

.mobile-main-header a {
    position: relative;
    margin: auto 0;
    color: #424750;
}

/* آیکن‌های همبرگر و یوزر در کادر با پس‌زمینه */
.mobile-main-header .mobile-hamburger-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    color: #515151;
}
.mobile-main-header .mobile-hamburger-box i {
    font-size: 22px;
}

.mobile-main-header .mobile-user-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    border-radius: 18%;
    color: #515151;
}
.mobile-main-header .mobile-user-box i {
    font-size: 22px;
}

.mobile-main-header .mobile-user-box--logged-in {
    color: var(--mks-color-primary, #7352ac);
    background: color-mix(in srgb, var(--mks-color-primary, #7352ac) 10%, #fff);
}

.mobile-main-header .mobile-user-box--logged-in i {
    color: var(--mks-color-primary, #7352ac) !important;
}

.mobile-main-header .mobile-user-box__status {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    border: 1.5px solid #fff;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    animation: mksUserOnlinePulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes mksUserOnlinePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.mobile-main-header .mobile-search-icon,
.mobile-main-header .mobile-search-icon i,
.mobile-main-header .mobile-cart-icon,
.mobile-main-header .mobile-cart-icon i {
    color: #474747 !important;
}

.mobile-main-header .mobile-cart-icon:hover,
.mobile-main-header .mobile-cart-icon:hover i {
    color: #6b7280 !important;
}

.mobile-main-header .mobile-header-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 150px;
    margin: 0 4px;
    overflow: hidden;
}

.mobile-main-header .mobile-header-logo .mks-logo-shine {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    max-height: 34px;
}

.mobile-main-header a.mobile-header-logo img,
.mobile-main-header .mobile-header-logo img {
    max-width: 130px;
    max-height: 34px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.offcanvas-mobile-logo {
    width: 100px;
    height: auto;
}

.mmc-list {
}

.mmc-list > ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mmc-list > ul > li {
    display: block;
    width: 100%;
    position: relative;
    padding: 3px 0;
    border-bottom: solid 1px #f5f5f5;
}

.mmc-li-plus {
    font-size: 14px;
    vertical-align: bottom;
    position: absolute;
    top: 13px;
    left: 15px;
    font-weight: 300;
}

.mmc-li-dot {
    font-size: 14px;
    margin-left: 5px;
}

.mmc-list > ul > li > a {
    font-size: 14px;
    padding: 10px 12px;
    display: inline-block;
    font-weight: 800;
}

.mmc-list > ul > li > a > i {
    font-size: 18px;
    vertical-align: unset;
    margin-left: 5px;
}

.mmc-list > ul > li > ul {
    display: none;
    background-color: #bfbfbf4a;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mmc-list > ul > li > ul > li {
    display: block;
    width: 100%;
    position: relative;
    padding: 8px 0;
}

.mmc-list > ul > li > ul > li > a {
    font-size: 14px;
    padding: 6px 20px;
    display: inline-block;
}

.mmc-list > ul > li > ul > li > ul {
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #8d8d8d4a;
}

.mmc-list > ul > li > ul > li > ul > li {
    display: block;
    width: 100%;
    position: relative;
    padding: 8px 0;
}

.mmc-list > ul > li > ul > li > ul > li > a {
    font-size: 14px;
    padding: 6px 20px;
    display: inline-block;
}

.mobile-archive-sorting {
    background-color: #d85a66;
    color: white;
}

.mobile-archive-sorting a {
    font-size: 15px;
    font-weight: 600;
}

.mobile-archive-sorting a i {
    font-size: 20px;
    vertical-align: sub;
    margin-left: 5px;
}

.mobile-sorting-item {
    width: 100%;
    display: block;
    padding: 6px 35px;
    position: relative;
}

.mobile-sorting-item-active {
    color: #ea5253;
    background-color: #a2a1a11a;
    border-radius: 10px;
}

.mobile-sorting-item-selected {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ea5253;
    border-radius: 10px;
    right: 13px;
    top: 24px;
}

.mobile-sorting-item::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: solid 2px #787878;
    right: 7px;
    top: 18px;
}

.woocommerce-widget-layered-nav {
    margin: 16px 0;
}

.woocommerce-widget-layered-nav header {
    padding: 8px 10px;
}

.woocommerce-widget-layered-nav header h3 {
    font-size: 17px !important;
    font-weight: 600 !important;
}

.woocommerce-widget-layered-nav ul {

}

.woocommerce-widget-layered-nav ul li {

}

.woocommerce-widget-layered-nav ul li a {
    position: relative;
    display: inline-block;
}

.woocommerce-widget-layered-nav ul li a:before {
    /*position: absolute;
    right: 0;
    top: 0;
    font-size: 17px;*/
    display: none;
}

.spm-mobile-rcs {
    width: 100%;
    background-color: #ffffff;
    display: inline-flex;
    justify-content: space-between;
}

.spm-mobile-rcs div {
    margin: auto 0;
}

.spm-mobile-rcs div:last-child {
    font-size: 15px;
}

.spm-mobile-rcs div:last-child i {
    font-size: 18px;
    vertical-align: top;
}

.cmp-column-count {
    column-count: 3;
}

.cmp-items {
    margin: 10px auto;
    display: block;
    text-align: center;
    position: relative;
}

.cmp-items span {
    display: block;
    text-align: center;
    font-size: 13px;
    margin: 6px 0 0 0;
    font-weight: 600;
}

.cmp-items i {
    width: 64px;
    height: 64px;
    text-align: center;
    font-size: 30px;
    background-color: #fff;
    margin: 0 auto;
    padding: 16px;
    border-radius: 10px;
    border: solid 1px #bdbdbd;
    position: relative;
}

.cmp-items i strong {
    position: absolute;
    font-size: 15px;
    width: 25px;
    height: 25px;
    border-radius: 10px;
    color: #fff;
    background-color: #d85a66;
    left: 0;
    top: 0;
    line-height: 25px;
    text-align: center;
}

.cmp-back {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 9px 15px 9px 12px;
        background: #fff !important;
        border: 1px solid #eef0f6;
        border-radius: 14px;
        font-weight: 600;
        font-size: 14px;
        line-height: 1;
        color: #1e293b;
        text-decoration: none;
        margin-bottom: 20px;
        transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  }

.cmp-back__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--mks-color-primary, #7352ac) 12%, #fff);
    color: var(--mks-color-primary, #7352ac);
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.2s ease;
}

.cmp-back i {
    font-size: 15px;
    margin: 0;
    line-height: 1;
}

.cmp-back__label {
    letter-spacing: -0.01em;
}

.cmp-back:hover {
    border-color: color-mix(in srgb, var(--mks-color-primary, #7352ac) 22%, #eef0f6);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--mks-color-primary, #7352ac) 12%, transparent);
}

.cmp-back:hover .cmp-back__icon {
    background: color-mix(in srgb, var(--mks-color-primary, #7352ac) 18%, #fff);
    transform: translateX(2px);
}

.cmp-back:active {
    transform: scale(0.98);
}

.mks-edit-order-address {
    max-width: 760px;
    margin: 0 auto;
}

.mks-edit-order-address__alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.mks-edit-order-address__alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.mks-edit-order-address__alert--success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.mks-edit-order-address__alert--success i {
    color: #16a34a;
}

.mks-edit-order-address__alert--error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.mks-edit-order-address__alert--error i {
    color: #dc2626;
}

.mks-edit-order-address__notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 16px 0 18px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #bfdbfe;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.mks-edit-order-address__notice-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
    background: #fff;
    border: 1px solid #dbeafe;
    font-size: 18px;
}

.mks-edit-order-address__notice-content strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 800;
    color: #1e3a8a;
}

.mks-edit-order-address__notice-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: #334155;
    font-weight: 500;
}

.mks-edit-order-address__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 18px 0 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e8edf3;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.mks-edit-order-address__head-main {
    min-width: 0;
    flex: 1 1 280px;
}

.mks-edit-order-address__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.mks-edit-order-address__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.mks-edit-order-address__title strong {
    color: #2563eb;
}

.mks-edit-order-address__subtitle {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: #64748b;
    font-weight: 500;
}

.mks-edit-order-address__status {
    flex: 1 1 220px;
    max-width: 100%;
}

.mks-edit-order-address__status .ods-payment-type {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    border: 1px solid transparent;
}

.mks-edit-order-address__status .ods-payment-type i {
    margin-left: 0 !important;
    font-size: 16px;
    flex-shrink: 0;
}

.mks-edit-order-address__status .ods-payment-type--on-hold {
    color: #b45309;
    background: #fff7ed;
    border-color: #fed7aa;
}

.mks-edit-order-address__status .ods-payment-type--processing {
    color: #166534;
    background: #f0fdf4;
    border-color: #86efac;
}

.mks-edit-order-address__status .ods-payment-type--packaging {
    color: #047857;
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.mks-edit-order-address__status .ods-payment-type--pending {
    color: #b45309;
    background: #fffbeb;
    border-color: #fcd34d;
}

.mks-edit-order-address__status .ods-payment-type--completed {
    color: #166534;
    background: #f0fdf4;
    border-color: #86efac;
}

.mks-edit-order-address__status .ods-payment-type--cancelled {
    color: #64748b;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.mks-edit-order-address__form {
    margin-bottom: 0;
}

.mks-edit-order-address__card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    padding: 6px 0 10px;
}

.mks-edit-order-address__card .mks-billing-fields-h3,
.mks-edit-order-address__card .woocommerce-additional-fields h3 {
    margin: 0;
    padding: 16px 20px 10px;
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    border-bottom: 1px solid #eef2f7;
    background: #f8fafc;
}

.mks-edit-order-address__card .woocommerce-billing-fields,
.mks-edit-order-address__card .woocommerce-additional-fields {
    margin: 0;
}

.mks-edit-order-address__card .woocommerce-additional-fields {
    border-top: 1px solid #eef2f7;
}

.mks-edit-order-address__card .woocommerce-additional-fields__field-wrapper,
.mks-edit-order-address__card .woocommerce-billing-fields__field-wrapper {
    padding: 16px 20px 8px;
}

.mks-edit-order-address__card .mks-billing-fields > p,
.mks-edit-order-address__card .woocommerce-additional-fields__field-wrapper > p {
    margin-bottom: 14px;
}

.mks-edit-order-address__card .mks-billing-fields label,
.mks-edit-order-address__card .woocommerce-additional-fields label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.mks-edit-order-address__card .mks-billing-fields input,
.mks-edit-order-address__card .mks-billing-fields select,
.mks-edit-order-address__card .mks-billing-fields textarea,
.mks-edit-order-address__card .woocommerce-additional-fields textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dbe3ee !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 14px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.mks-edit-order-address__card .mks-billing-fields textarea,
.mks-edit-order-address__card .woocommerce-additional-fields textarea {
    min-height: 110px;
    resize: vertical;
}

.mks-edit-order-address__card .mks-billing-fields input:focus,
.mks-edit-order-address__card .mks-billing-fields select:focus,
.mks-edit-order-address__card .mks-billing-fields textarea:focus,
.mks-edit-order-address__card .woocommerce-additional-fields textarea:focus {
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

.mks-edit-order-address__card #billing_country_field,
.mks-edit-order-address__card wc-order-attribution-inputs {
    display: none !important;
}

.mks-edit-order-address__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    margin-bottom: 8px;
}

.mks-edit-order-address__actions .btn {
    min-width: 150px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 700;
}

.mks-edit-order-address__cancel {
    border: 1px solid #dbe3ee;
    color: #475569;
    background: #fff;
}

.mks-edit-order-address__submit {
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.22);
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    border: none !important;
}

@media (max-width: 767px) {
    .mks-edit-order-address__notice {
        flex-direction: column;
        gap: 10px;
    }

    .mks-edit-order-address__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mks-edit-order-address__actions {
        flex-direction: column-reverse;
    }

    .mks-edit-order-address__actions .btn {
        width: 100%;
    }
}

.mobile-cart-item-t-section {
    width: 100%;
    display: inline-flex;
    justify-content: space-around;
    position: relative;
    padding: 10px 0 0 0;
}

.mobile-cart-item-t-section img {
    width: 50px;
    height: 50px !important;
    margin: auto 0;
}

.mobile-cart-item-t-section span{
    margin: auto 0;
    font-size: 13px;
    font-weight: 600;
    padding: 0 10px;
}

.mobile-cart-item-b-section a {
    color: #cf3040;
    border-radius: 10px;
    margin: auto 0;
}

.mobile-cart-item-b-section a i {
    font-size: 25px;
}

.woocommerce a.remove{
    color: #000000 !important;
}
.woocommerce a.remove:hover{
    color: #cf3040 !important;
    background-color: transparent;
}

.mobile-cart-item-b-section {
    width: 100%;
    display: inline-flex;
    justify-content: space-around;
    margin: 0;
    position: relative;
    padding: 0 0 5px;
}

.mobile-cart-item-b-section > div:nth-child(2){
    margin-right: 20px;
}

.mobile-cart-item-b-section:last-child {
    border-bottom: none;
}

.mobile-cart-item-b-section div {
    margin: auto 0;
}

.mks-cits{
    border: solid 1px #e9e9e9;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 5px 10px;
    background-color: #ffffff;
}

.otm ul li:last-child {
    border-bottom: none;
}

.custom-close-mobile-menu {
    position: absolute;
    left: -31px;
    top: 41%;
    background-color: #fff;
    border-radius: 25px 0 0 25px;
    padding: 15px 6px 11px 8px;
    text-align: center;
}

.custom-close-mobile-menu i {
    font-size: 25px;
}

/* ===== Mobile category offcanvas – refined ===== */
#mobile_cat_menu.mks-offcanvas-glass {
    --bs-offcanvas-width: min(88vw, 352px);
    --bs-offcanvas-transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    width: var(--bs-offcanvas-width) !important;
    max-width: 352px;
    height: 100%;
    border: none;
    background:
        radial-gradient(120% 60% at 100% 0%, rgba(115, 82, 172, 0.07), transparent 55%),
        linear-gradient(180deg, #fbfcfe 0%, #ffffff 32%);
    box-shadow: -18px 0 56px rgba(15, 23, 42, 0.16);
    border-radius: 22px 0 0 22px;
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1) !important;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__header {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__title {
    margin: 0;
    display: flex;
    align-items: center;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__logo {
    width: auto;
    max-width: 128px;
    max-height: 40px;
    height: auto;
    object-fit: contain;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__close {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    opacity: 1;
    box-shadow: none;
    transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__close:hover,
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__close:focus {
    background: rgba(15, 23, 42, 0.09);
    color: #0f172a;
    opacity: 1;
    box-shadow: none;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__close:active {
    transform: scale(0.94);
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__close i {
    font-size: 17px;
    line-height: 1;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__body {
    background: transparent;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    opacity: 0;
    transform: translateX(14px);
    transition:
        opacity 0.38s cubic-bezier(0.32, 0.72, 0, 1) 0.06s,
        transform 0.42s cubic-bezier(0.32, 0.72, 0, 1) 0.06s;
}

#mobile_cat_menu.mks-offcanvas-glass.show .mks-offcanvas-glass__body,
#mobile_cat_menu.mks-offcanvas-glass.showing .mks-offcanvas-glass__body,
#mobile_cat_menu.mks-offcanvas-glass.hiding .mks-offcanvas-glass__body {
    opacity: 1;
    transform: translateX(0);
}

#mobile_cat_menu.mks-offcanvas-glass.hiding .mks-offcanvas-glass__body {
    transition: none;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__toggle {
    display: none !important;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul {
    padding: 10px 10px 6px;
    margin: 0;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li {
    border: none;
    border-radius: 14px;
    margin: 0 0 2px;
    padding: 0;
    overflow: visible;
    transition: background 0.25s ease;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li:has(> .mmc-li-plus.fa-angle-up),
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li:has(> ul.sub-menu.is-open) {
    background: rgba(15, 23, 42, 0.035);
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    border-radius: 14px;
    transition: background 0.22s ease, color 0.22s ease;
    -webkit-tap-highlight-color: transparent;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li:has(> .mmc-li-plus) > a {
    padding-left: 48px;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > a:hover,
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > a:focus {
    background: rgba(115, 82, 172, 0.06);
    color: #0f172a;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > a:active {
    background: rgba(115, 82, 172, 0.1);
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > a > i:not(.mmc-li-dot) {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.04);
    vertical-align: middle;
}

#mobile_cat_menu.mks-offcanvas-glass .mmc-li-plus {
    font-size: 14px;
    vertical-align: bottom;
    position: absolute;
    top: 50%;
    left: 15px;
    font-weight: 300;
    width: auto;
    height: auto;
    display: inline-block;
    line-height: 1;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    color: #64748b;
    cursor: pointer;
    z-index: 2;
    transform: translateY(-50%);
    transition: color 0.22s ease;
}

#mobile_cat_menu.mks-offcanvas-glass .mmc-li-plus::before {
    display: block;
    line-height: 1;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li:has(> a:hover) > .mmc-li-plus,
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li:has(> a:focus) > .mmc-li-plus,
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li:has(> a:hover) > .mmc-li-plus::before,
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li:has(> a:focus) > .mmc-li-plus::before {
    color: #475569;
}

#mobile_cat_menu.mks-offcanvas-glass .mmc-li-plus.fa-angle-up {
    background: transparent !important;
    color: var(--mks-color-primary, #7352ac);
    transform: translateY(-50%);
}

#mobile_cat_menu.mks-offcanvas-glass .mmc-li-plus.fa-angle-up::before {
    color: inherit;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > ul,
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > ul > li > ul {
    background: transparent;
    padding: 0 6px 8px;
    margin: 0;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > ul > li,
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > ul > li > ul > li {
    padding: 0;
    border: none;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > ul > li > a,
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > ul > li > ul > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    border-radius: 11px;
    transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > ul > li > a:active,
#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li > ul > li > ul > li > a:active {
    background: rgba(15, 23, 42, 0.05);
    color: #0f172a;
}

#mobile_cat_menu.mks-offcanvas-glass .mmc-li-dot {
    font-size: 9px;
    margin: 0;
    color: #94a3b8;
    opacity: 0.9;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__section-title.mms {
    margin: 10px 14px 2px;
    padding: 11px 14px;
    border-radius: 14px;
    background: linear-gradient(
        100deg,
        color-mix(in srgb, var(--mks-color-primary, #7352ac) 12%, #fff),
        color-mix(in srgb, var(--mks-color-primary, #7352ac) 4%, #fff)
    );
    font-size: inherit;
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__section-title.mms span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--mks-color-primary, #7352ac);
}

#mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__section-title.mms span i {
    font-size: 14px;
    opacity: 0.9;
}

.offcanvas-backdrop.mks-offcanvas-soft {
    background-color: rgba(15, 23, 42, 0.36);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: opacity 0.45s cubic-bezier(0.32, 0.72, 0, 1) !important;
}

[dir="rtl"] #mobile_cat_menu.mks-offcanvas-glass {
    border-radius: 0 22px 22px 0;
    box-shadow: 18px 0 56px rgba(15, 23, 42, 0.16);
}

[dir="rtl"] #mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__body {
    transform: translateX(-14px);
}

[dir="rtl"] #mobile_cat_menu.mks-offcanvas-glass.show .mks-offcanvas-glass__body,
[dir="rtl"] #mobile_cat_menu.mks-offcanvas-glass.showing .mks-offcanvas-glass__body,
[dir="rtl"] #mobile_cat_menu.mks-offcanvas-glass.hiding .mks-offcanvas-glass__body {
    transform: translateX(0);
}

/* Chevron sits on the physical left in RTL menus */
[dir="ltr"] #mobile_cat_menu.mks-offcanvas-glass .mmc-li-plus {
    left: auto;
    right: 15px;
}

[dir="ltr"] #mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__nav.mmc-list > ul > li:has(> .mmc-li-plus) > a {
    padding-left: 14px;
    padding-right: 48px;
}

@media (prefers-reduced-motion: reduce) {
    #mobile_cat_menu.mks-offcanvas-glass,
    #mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__body,
    .offcanvas-backdrop.mks-offcanvas-soft {
        transition: none !important;
        --bs-offcanvas-transition: none;
    }

    #mobile_cat_menu.mks-offcanvas-glass .mks-offcanvas-glass__body {
        opacity: 1;
        transform: none;
    }
}

.owl-carousel.owl-rtl .owl-item {
    text-align: center;
}

.aligncenter {
    clear: both;
    margin-left: auto;
    margin-right: auto;
}

.blog-cat-box {
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 0 8px #d7d7d7;
    padding: 8px 16px;
}

.blog-cat-box h3 {
    padding: 8px 0;
    font-size: 25px;
    border-bottom: solid 1px #ddd;
}

.blog-cat-box ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog-cat-box ul li {
    transition: all ease-in-out 0.150s;
}

.blog-cat-box ul li:hover {
    color: #d85a66;
}

.blog-cat-box ul li i {
}

.blog-cat-box ul li a {
    display: inline-block;
    padding: 6px;
}

.comment-form {
    width: 100%;
    padding: 10px 20px;
}



.thank-box {
    width: 100%;
    display: block;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    margin: 20px 0;
    padding: 8px 16px;
}

.account-back-to-orders {
    display: inline-block;
    font-size: 17px;
    font-weight: 900;
    color: #000;
    padding: 8px 0;
}

.account-back-to-orders i {
    font-size: 20px;
    vertical-align: middle;
    font-weight: 900;
    color: #000;
}

.ods-payment-type {
    font-weight: 900;
    margin-bottom: 13px;
}
.ods-payment-type i{
    margin-left: 10px;
}
.ods-first-details {
    padding: 0 0 10px 0;
    margin: 0;
    list-style: none;
    border-bottom: solid 1px #ddd;
}



.ods-first-details li:first-child {
}


.ods-first-details li {
    display: inline-block;
    padding: 0 10px;
    border-left: solid 1px #ddd;
}

.ods-first-details li span:first-child {
    margin-left: 5px;
}

.ods-first-details li span:last-child {
    font-weight: 600;
}

.order-details-img {
    width: 100px;
    height: 100px;
}

.ods-price-item {

}

.ods-price-item .price del {
}

.ods-price-item .price ins {
}

.c-orders-title {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 900;
}

.c-order-item {
    display: block;
    width: 100%;
    border: solid 1px #ddd;
    padding: 8px 16px;
    border-radius: 10px;
    margin: 15px 0;
    position: relative;
    background: linear-gradient(180deg, rgb(242 242 242) 0%, rgba(255, 255, 255, 0.5) 30%);
}

.ca-order-image {
    display: inline-block;
    margin: 10px 5px;
}

.ca-order-image img {
    width: 100px;
    height: 100px;
}

.customer-orders-details {
    display: inline-block;
    width: 100%;
    border-bottom: solid 1px #ddd;
    padding: 5px 0 12px;
    margin-bottom: 14px;
}

.customer-orders-details > a{
    border: solid 1px #ddd;
    border-radius: 10px;
    padding: 5px 10px;
}

.customer-orders-details > a, label, form {
    font-weight: 600;
    display: inline-block;
}

.screen-reader-text{display: none;}

/*.cod-see{*/
/*    font-size: 17px;*/
/*    font-weight: 600;*/
/*}*/
.no-order-found {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 22px;
    color: #cf3040;
    padding: 50px 0;
}

.no-order-found i {
    font-size: 85px;
    display: block;
    margin-bottom: 15px;
    color: #cf3040;
}

.ca-orders-tabs {

}

.ca-orders-tabs .active {
    border-bottom: solid 3px #cf3040 !important;
    font-weight: 600;
}

.ca-orders-tabs li {

}

.ca-orders-tabs li button {
    box-shadow: none !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    color: #000 !important;
}

.mks-order-notes-title {
    font-size: 20px;
    font-weight: 900;
    color: #cf3040;
    margin-bottom: 15px;
}

.mks-order-notes-list {
    margin: 0;
}

.mks-order-notes-list li {
    margin-bottom: 8px;
    border-bottom: solid 1px #e9e9e9;
    padding: 14px 0;
    line-height: 33px;
}
.mks-order-notes-list li:last-child{
    border-bottom: none;
}

.mks-orders-table tr {
    border-bottom: solid 1px #ddd !important;
}

.mks-orders-table > :not(:last-child) > :last-child > * {
    border-bottom: none;
}

.mks-ct {

}

.mks-ct tr th {
}

.mks-ct tr td {
    white-space: nowrap;
}

.mks-cnv {
    box-shadow: none !important;
    border: solid 1px #dddddd;
}

.sc-add-to-cart-section {
    width: 100%;
    display: block;
    position: relative;
}

.sv-sp-price {
    display: block;
    padding: 0;
    margin: 0;
}

.silva-single-product-price {
    padding: 0;
    list-style: none;
    margin: 10px 0 15px;
}

.silva-single-product-price li {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    margin: 10px 0 0;
}

.silva-single-product-price li span:first-child {
    color: #979797;
    font-weight: 500;
    margin: auto 0;
}
.silva-single-product-price li:first-child span:last-child > span > bdi > span{
    margin: 0 5px;
}
.silva-single-product-price li span:last-child {
}

.silva-single-product-price li:last-child span:last-child > span > bdi {
    color: #d85a66;
    font-weight: 600;
}
.silva-single-product-price li:last-child span:last-child > span > bdi > span {
    color: #d85a66;
    margin: 0 5px;
    font-weight: 600;
}


.sspp-discount {
}

.sspp-discount span:last-child {
    color: #a8a8a8;
    font-size: 16px;
    text-decoration: line-through;
    margin: auto 0;
}

.sspp-price {
}

.sspp-price span:last-child {
    color: #000;
    font-weight: 900;
    margin: auto 0;
    font-size: 22px;
}

.mks-custom-note-variant {
    font-size: 15px;
    font-weight: 500;
}

.satcs {
    margin-top: 35px;
}

.warranty {
    position: absolute;
    top: -15px;
    background-color: #fff;
}

.warranty img {
    width: 60px;
    height: 60px !important;
    margin-top: -18px;
}

.warranty span {
    color: #0f76bb;
    font-size: 20px;
    display: inline-block;
    vertical-align: top;
    margin-right: -5px;
}

.warranty-change {
    width: 100%;
    display: inline-flex;
}

.mks-wc-mt {
    margin-top: 30px;
}

.warranty-change img {
    width: 60px;
    height: 60px !important;
    display: inline-block;
}

.warranty-change p {

    margin: auto 5px auto 0;

}

.warranty-change p span {
    display: block;
    font-size: 13px;
    color: #7f7f7f;
}

.silva-spm-under-title {
    padding: 0;
    margin: 15px 0 0 0;
    list-style: none;
}

.silva-spm-under-title li {
    display: inline-block;
    font-size: 13px;
    margin: auto 0;
}

.silva-spm-under-title li:first-child {
}

.silva-spm-under-title li:first-child span:first-child {
    color: #7f7f7f;
}

.silva-spm-under-title li:first-child span:last-child {
    color: #7f7f7f;
}

.silva-spm-under-title li:last-child {
    margin-right: 25px;
}

.silva-spm-under-title li:last-child span {
    font-weight: 600;
}

.silva-spm-under-title li:last-child span i{
    font-size: 15px;
    margin-right: 4px;
}

.silva-spm-under-title li:last-child a {
    color: #39c8d9;
    font-weight: 600;
}

.stock-sd {
    width: 100%;
    display: block;
    background: #f4f7f4;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 17px;
    margin: 10px 0 5px;
    color: #75757d;
    font-weight: 500;
    border: solid 1px #bdbdbd;
    line-height: 31px;
}

.stock-sd i {
    font-size: 23px;
    vertical-align: bottom;
    color: #5ab164;
}

.silva-custom-attr {
    margin: 0 0 16px 0;
    padding: 0;
    list-style: none;
}

.silva-custom-attr li {

}

.silva-custom-attr li span {
    color: #666674;
}

.silva-custom-attr li span:first-child {
    font-size: 16px;
}

.silva-custom-attr li span:first-child i {
    font-size: 21px;
    vertical-align: revert;
}

.silva-custom-attr li span:last-child {
    font-size: 16px;
}

.woocommerce div.product div.images {
    width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
}

.woocommerce-product-gallery__image {
    position: relative !important;
    border-radius: 10px;
}

.spm-gallery .flex-viewport {
    cursor: grab;
}

.spm-gallery .flex-viewport:active {
    cursor: grabbing;
}

.spm-gallery .woocommerce-product-gallery__image img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

@media (max-width: 767.98px) {
    .spm-gallery .flex-viewport {
        touch-action: pan-y pinch-zoom;
    }
}

.silva-us {
    width: 100%;
    display: block;
    text-align: center;
}

.silva-us i {
    font-size: 22px;
}

.silva-us span {
    font-size: 20px;
    color: #dc3545;
}

.silva-s-size {
    width: max-content;
    border: solid 1px #a5a5a5;
    text-align: center;
    margin: 10px auto;
    padding: 5px 50px;
    border-radius: 10px;
}

.silva-s-size span:first-child {
    color: #7f7f7f;
}

.silva-s-size span:last-child {
    color: #7f7f7f;
    font-weight: 500;
}

.silva-s-size img {

}

.silva-handmade-top-desc {
    width: 100%;
    display: block;
    padding: 20px 0;
    position: relative;
}

/*.silva-handmade-top-desc:after{*/
/*    content: '';*/
/*    position: absolute;*/
/*    background: #d85a66;*/
/*    width: 100%;*/
/*    height: 1px;*/
/*    right: 0;*/
/*    left: 0;*/
/*}*/
.silva-handmade-top-desc span {
    font-size: 13px;
    color: #66666b;
    font-weight: 500;
    white-space: nowrap;
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    background-color: #ffff;
    z-index: 1;
    width: max-content;
    margin: 0 auto;
}

.silva-handmade-top-desc span i {
    color: #009900;
    font-size: 20px;
    vertical-align: bottom;
}

.silva-fa {
    padding: 0;
    margin: 0;
    list-style: none;
}

.silva-fa li {
    color: #666666;
    font-size: 15px;
    margin-bottom: 15px;
}

.silva-fa li:last-child {
    margin-bottom: 0;
}

.silva-fa li:last-child span:last-child {

}

.silva-fa li span:first-child {

}

.silva-fa li span:last-child {
    font-size: 14px;
}

.silva-fa li span i {
    font-size: 22px;
    vertical-align: sub;
    margin-left: 10px;
}

.woocommerce div.product form.cart .variations {

}

.woocommerce-product-gallery__image a {
    display: inline-block;
}

.woocommerce-product-gallery__image a img {
    /*max-width: 65%;*/
    margin: 0 auto;
}

.product-gallery .owl-stage {
    padding: 5px 0;
}

.product-gallery .owl-carousel.owl-rtl .owl-item {
    overflow: hidden;
}

.silva_sr {
    background-color: #ee5a66;
    color: #fff;
    font-size: 1rem;
    padding: 3px 12px;
    border-radius: 10px;
    font-weight: 500;
}
.silva_sr > span {
    text-decoration: none !important;
}
.silva_sr > span > bdi {
    color: #000 !important;
}
.silva_sr > span > bdi > span {
    color: #000 !important;
    text-decoration: none !important;
}

.top-banners-slider .swiper-slide{
    text-align: center;
}

.top-banners-slider-a {
    display: inline-block;
    position: relative;
    padding: 4px;
    transition: all 0.3s ease;
}

.highlights .top-banners-slider-a{
    
}

.top-banners-slider-img {
    max-width: 100%;
    background: #fff;
    width: 122px !important;
    height: 122px;
    border-radius: 100%;
    color: #fff;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.top-banners-slider-a:hover .top-banners-slider-img {
    transform: scale(1.05);
    border-width: 2px;
}

.top-banners-slider-title {
    display: block;
    text-align: center;
    font-size: 11px;
    color: #1e3c58;
    font-weight: 600;
    transition: color 0.3s ease;
}

.top-banners-slider-a:hover .top-banners-slider-title {
    color: #db314e;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 0 0 10px 0;
}

.logos-main {
    display: block;
    text-align: center;
    position: relative;
}

.logos-main > div{
    display: inline-block;
}

.logos-main a {
    display: inline-block;
}

.logos-main img{
    width: 85px;
    margin: 0 10px;
}

.single-page-header {

}

.single-page-header h1 {
    margin: 25px 0 15px;
}

.spc-content {
    display: block;
    width: 100%;
    overflow: hidden;
}

.btn-organizational-purchase {
    display: flex;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.btn-organizational-purchase::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-organizational-purchase:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.btn-organizational-purchase:hover::before {
    left: 100%;
}

.btn-organizational-purchase:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-organizational-purchase i {
    font-size: 30px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin: auto 0;
}

.btn-organizational-purchase:hover i {
    transform: scale(1.1) rotate(5deg);
}

.btn-organizational-purchase span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
    line-height: 1.3;
    font-size: 15px;
}

.btn-organizational-purchase span small {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Focus States */
.btn-organizational-purchase:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3), 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* Modern Loading State */
.btn-organizational-purchase.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-organizational-purchase.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Success State */
.btn-organizational-purchase.success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.3);
}

.btn-organizational-purchase.success:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    box-shadow: 0 12px 32px rgba(72, 187, 120, 0.4);
}

/* Modern Error State */
.btn-organizational-purchase.error {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    box-shadow: 0 6px 20px rgba(245, 101, 101, 0.3);
}

.btn-organizational-purchase.error:hover {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    box-shadow: 0 12px 32px rgba(245, 101, 101, 0.4);
}

/* Modern Disabled State */
.btn-organizational-purchase:disabled,
.btn-organizational-purchase.disabled {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    color: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-organizational-purchase:disabled:hover,
.btn-organizational-purchase.disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.op_popup img {
    width: 200px;
    display: block;
    margin: 0 auto;
}

.op_title {
    margin: 0 0 16px;
    font-size: 20px;
    text-align: center;
    color: #35814f;
}

.op_title i {
    font-size: 30px;
    color: #35814f;
    vertical-align: bottom;
}

.op_desc {
    font-size: 17px;
    text-align: center;
    color: #618781;
    border: solid 1px #0e9f83b8;
    padding: 10px 6px;
    border-radius: 10px;
    background-color: #d6fff785;
}

.op_text {
    margin: 16px 0;
    text-align: center;
    color: #525252e0;
    font-weight: bolder;
    font-size: 18px;
}

.op_text i {
    font-size: 25px;
    color: #22b14c;
}

.la-op {
    color: #000 !important;
    vertical-align: bottom;
}

.op-cart-notification {
    width: max-content;
    background-color: #ff4154;
    color: #fff;
    margin: 5px auto;
    padding: 3px 10px;
    border-radius: 10px;
}

.op-cart-notification i {
    font-size: 20px;
}

.woocommerce-checkout {
    width: 100%;
    margin: 0;
}

.woocommerce-terms-and-conditions-link {
    text-decoration: revert;
    color: #cf3040;
}

input[name=billing_postcode], input[name=billing_phone] {
    font-family: sans-serif !important;
}

#mks_aa_tc {
    cursor: pointer;
}

#mks_aa_tc:hover {
    color: #000;
}

.mks_aac_ss {
    width: 30px;
    height: 30px;
    color: var(--mks-color-primary) !important;
}

.mks-modal-background {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    bottom: 0;
    z-index: 2000;
    left: 0;
    right: 0;
    display: inline-flex;
    justify-content: center;
}

.mks-modal-content {
    width: 450px !important;
    min-width: 450px;
    position: relative !important;
    background: #fff;
    border-radius: 10px !important;
    padding: 25px !important;
    height: max-content !important;
    margin: auto !important;
    white-space: normal;
}

.close-mks-modal {
    position: absolute;
    left: 15px;
    top: 10px;
    font-size: 25px;
    color: var(--mks-primary-color);
    cursor: pointer;
}




.mks-maac-text {
    font-size: 23px;
    margin: 25px 10px 15px 10px;
    display: block;
}

.mks-maac-text i {
    color: #009688;
    font-size: 30px;
}

.mks-product-attrs-block {
    position: relative;
    width: 100%;
}

.mks-attrs-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.mks-attrs-panel__head {
    display: none;
}

.mks-custom-attributes {
    display: inline;
    position: relative;
    padding: 0;
    list-style: none;
    margin: 0;
}

.mks-custom-attributes li {
    padding: 4px 0;
    margin: 10px 0;
}

.mks-cai {
    width: 21px;
    font-size: 21px;
    color: #cf3040;
    vertical-align: middle;
    margin-left: 11px;
}

.mks-cak {
    font-weight: 600;
    color: grey;
    font-size: 13px;
}

.mks-cak i {
    width: 21px;
    font-size: 20px;
    color: #754da6;
    vertical-align: middle;
    margin-left: 11px;
}

.mks-cak__text {
    font-weight: 600;
}

.mks-cav {
    font-weight: 500;
    color: grey;
    font-size: 13px;
}

@media only screen and (min-width: 992px) {
    .mks-cak,
    .mks-cav {
        font-size: 13px;
    }

    .mks-cak,
    .mks-cak__text {
        font-weight: 600;
    }

    .mks-cav {
        font-weight: 500;
    }
}

.mks-cav a {
    color: inherit;
    text-decoration: none;
    /* color: #3078f9; */
    font-weight: 700;
}

.mks-cav a:hover {
    color: var(--mks-color-primary, #0d9488);
}

.mks-product-attrs-summary {
    padding: 16px 18px;
    border-radius: 16px;
    direction: rtl;
    text-align: right;
    color: #333;
    line-height: 2;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.mks-product-attrs-summary .samin-desc h3 {
    margin: 2px 3px 20px;
    font-size: 18px;
    font-weight: 800;
}

.mks-product-attrs-summary .samin-desc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mks-product-attrs-summary .samin-desc li {
    position: relative;
    margin: 0 0 6px;
    padding: 8px 36px 8px 10px;
    font-size: 13px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #eef5f3;
}

.mks-product-attrs-summary .samin-desc li:before {
    content: "✔";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: #3A967F;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.skeleton img,
.skeleton h1,
.skeleton h2,
.skeleton h3,
.skeleton h4,
.skeleton h5,
.skeleton h6,
.skeleton p,
.skeleton a,
.skeleton input,
.skeleton span,
.skeleton del,
.skeleton ins,
.skeleton i,
.skeleton strong,
.skeleton div.footer-site-description,
.skeleton div.p-slider-out-stock-icons,
.skeleton button {
    filter: grayscale(100) contrast(0) brightness(1.5);
    animation: skeleton-loading 1s linear infinite alternate;
    background-image: radial-gradient(black, black);
    border-radius: 10px;
    margin: 5px 0;
}

@keyframes skeleton-loading {
    from {
        opacity: .5;
    }
    to {
        opacity: 1;
    }
}
.mks-tav{
    font-weight: 100;
    color: #7f7f7f;
}
.amazing{

}
.amazing .item{
    background-color: #fff;
    /*box-shadow: 0 0 8px #d7d7d7;*/
    border: solid 1px #ddd;
    border-bottom: none;
    border-radius: 10px;
    margin: 15px 0 0 0;
    min-height: 447.94px;
}
.amazing .owl-stage-outer{
    padding-top: 16px;
}
.amazing-image{
    position: relative;
    width: 100%;
    padding: 50px 40px;
}
.amazing-image > img{
    width: 60% !important;
    height: auto;
    margin: 0 auto;
}
.amazing-info{
    position: relative;
    width: 100%;
    padding: 60px 0 0 125px;
}
.amazing-slider-item-title{
    font-size: 20px;
    line-height: 30px;
    height: 90px;
    overflow: hidden;
}
.amazing-price{
    margin: 20px 0;
}
.amazing-price > div.price{
    text-align: center;
}

.amazing-price > div.price > del{
    text-decoration: none;
}
.amazing-price > div.price > del > span{
    font-size: 20px;
    font-weight: 600;
}
.amazing-price > div.price > del > span > bdi{
    text-decoration: line-through;
}
.amazing-price > div.price > del > span > bdi > span{}

.amazing-price > div.price > ins{}
.amazing-price > div.price > ins > span{
    font-size: 25px;
    font-weight: 600;
}
.amazing-price > div.price > ins > span > bdi{}
.amazing-price > div.price > ins > span > bdi > span{}

.acm {
    margin: 10px 0;
    direction: ltr;
    font-size: 25px;
    font-weight: 600;
    border-radius: 10px;
    background-color: #fff;
    padding: 0;
    text-align: center;
    overflow: hidden;
}
.acm i{
    font-size: 22px;
    margin-right: 10px;
    font-weight: 300;
}
.acm p{
    font-size: 14px;
    font-weight: 100;
    color: #878787;
}
.countdown-timer{
    display: inline-block;
}
.amazing .owl-dots{
    padding: 20px 0 15px;
    text-align: center;
    /*border-top: solid 1px #ddd;*/
    border: solid 1px #ddd;
    border-radius: 10px;
    background-color: #fff;
}
.amazing .owl-dot{
    position: relative;
    display: inline-block;
    margin: 0 10px;
    border-radius: 10px;
    border: solid 2px #adadad;
    overflow: hidden;
    padding: 3px;
}
.amazing .owl-dot img{
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.amazing .owl-dot button{
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
}
.amazing-slider-item-discount-percent {
    position: absolute;
    top: -14px;
    left: 40px;
}
.amazing-slider-item-discount-percent img{
    width: 85px !important;
}
.amazing-slider-item-discount-percent span{
    margin-top: -66px;
    display: block;
    font-size: 25px;
    color: #fff;
    font-weight: 600;
}

.amazing-width-flag {
    position: absolute;
    top: -11px;
    right: 40px;
}
.amazing-width-flag img{
    width: 200px !important;
}
.amazing-width-flag span{
    margin-top: -55px;
    display: block;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}
.woocommerce-notices-wrapper{
    margin: 0 30px !important;
}
.amazing .owl-dots .active{
    border: solid 3px #d85a66;
}
.amazing-add-to-cart{
    width: max-content;
    margin: 20px auto 10px;
    background: #d85a66;
    color: #fff;
    padding: 6px 15px;
    border-radius: 10px;
    font-size: 15px;
}
.amazing-add-to-cart i{
    font-size: 14px;
    margin-right: 7px;
}
.amazing-offers-page-title{
    text-align: center;
    font-size: 30px;
    margin: 30px 0 25px;
    font-weight: 600;
    color: #4c4c4c;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #FFF;
    border-radius: 10px;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 3px solid;
    border-color: #FF3D00 transparent;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.mks-seller-reg-form{
    display: block;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 8px #d7d7d7;
    margin: 35px 0;
    background-color: #fff;
    padding: 10px 20px;
}
.mks-seller-doc{
    position: relative;
    display: block;
    text-align: center;
    border: dashed 3px #63a9ff;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    margin: 47px 0;
}
.mks-seller-doc input{
    display: none;
}
.mks-seller-doc i{
    display: block;
    margin: 16px 0;
    font-size: 40px;
    color: #63a9ff;
}
.mks-seller-doc span{
    font-size: 15px;
    display: block;
    margin: 16px 0;
}
.mks-seller-doc img{
    width: max-content;
    max-width: 100%;
    margin: 16px 0;
    border-radius: 10px;
}
.border-radius-5{
    border-radius: 10px;
}
.border-radius-7{
    border-radius: 10px;
}
.border-radius-10{
    border-radius: 10px;
}
.mks-ssi{
    width: 70px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #ccc!important;
}
.mks-ssp-title{
    max-width: 150px;
    font-weight: 600;
}
.mks-ssr-price{
    color: red;
    text-decoration: line-through;
    font-size: 15px;
    margin: 0;
}
.mks-ssd-price{
    font-size: 18px;
    color:#000;
    font-weight: 600;
    margin: 0;
}
.mks-ssq{

}
.mks-ssq > .quantity{
    display: inline-block;
}
.mks-ssq input{
    width: 50px;
    margin: 5px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #ccc;
    text-align: center;
    padding: 5px;
}
.mks-ssq > button:first-child{
    background: #757575;
    color: #fff !important;
    padding: 3px;
    display: inline-block;
    vertical-align: middle;
}
.mks-ssq > button:first-child > i{
    font-size: 22px;
    font-weight: 400;
}
.mks-ssq > button:last-child{
    background: #757575;
    color: #fff !important;
    padding: 3px;
    display: inline-block;
    vertical-align: middle;
}
.mks-ssq > button:last-child > i{
    font-size: 22px;
    font-weight: 400;
}
.mks-ssa-tc{
    color: #fff;
    background-color: #cf3040;
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
}
.mks-ssa-tc:hover{
    color: #fff;
}
.woocommerce-product-gallery__trigger{
    float: left;
}
.hbb{
    display: block;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 10px !important;
}
.hbb img{
    width: 100%;
}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button{
    color: #fff !important;
    border: solid 1px #e9e9e9 !important;
    border-radius: 10px !important;
    padding: 10px 15px !important;
}
.woocommerce-shipping-destination{
    background: #ffffff;
    color: #727272;
    border: solid 1px #727272 !important;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin: 10px 0;
    transition: all 0.3s ease;
}
.woocommerce ul#shipping_method li{
    font-size: 12px;
}
.mks-mobile-reverse{
    direction: rtl;
}
.mks-mobile-reverse .price{
    height: 49.5px;
}
.product-slider-item .price{
    display: inline-flex;
    flex-direction: column;
}
.product-slider-item .price > del,
.product-slider-item .price > ins {
    margin: auto;
}
.mks-mobile-reverse > div{
    margin: auto;
}
.ct-over{
    font-size: 20px;
    font-weight: 100;
    color: #d85a66;
}
.mca-image {
    display: none;
}

.mca-image img {
    max-width: 180px;
    max-height: 180px;
    height: auto;
    position: absolute;
    left: 0;
    top: 145px;
    border-radius: 4px;
}

@media only screen and (min-width: 992px) {
    .mks-product-attrs-block:has(.mca-image) {
        position: relative;
        min-height: 180px;
        padding-left: 196px;
    }

    .mks-product-attrs-block .mca-image {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0;
        top: 0;
        width: 180px;
        height: 180px;
        margin: 0;
    }
}
.mks-spi-ats .spm-form-add-to-cart{
    justify-content: center;
    margin-top: 10px;
}
.mks-spi-ats .spm-form-add-to-cart > div{

}
.mks-sub-cats{
    width: 100%;
    display: block;
    border-radius: 10px;
    padding: 8px 16px;
    background-color: #fff;
    text-align: center;
    margin: 6px 0 7px;
    font-size: 14px;
    /*box-shadow: 0 0 8px #d7d7d7;*/
    border: solid 1px #e9e9e9;
}
.wmwd{

}
.wmwd li {
    list-style: none;
}
.wmwd > li{
    border: solid 1px #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 0 15px 10px;
}
.wmwd > li > h2{
    position: relative;
    font-size: 17px;
    font-weight: bold;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: solid 1px #ddd;
}

.wmwd > li > h2::after{
    content: '\f078';
    font-family: 'Font Awesome 6 Pro';
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 20px;
}
.wmwd > li ul{
    padding: 0;
    margin: 0;
}
.wmwd > li ul li{

}
.wmwd .star-rating > span{
    font-family: star;
}
.wmwd .star-rating > span:before{
    color: gold;
}
.wmwd form.woocommerce-product-search {
    width: 100%;
    text-align: center;
    display: grid;
}
.wmwd form.woocommerce-product-search input.search-field {
    padding: 8px 10px;
    border-radius: 10px;
    border: solid 1px #ededed;
    margin: 5px 0;
    position: relative;
    font-size: 17px;
}

.wmwd form.woocommerce-product-search button {
    color: #fff;
    background-color: #d85a66;
    border-radius: 10px;
    padding: 8px 20px;
    border: navajowhite;
    font-size: 17px;
}

.mks-toa-text{
    margin-bottom: 15px;
    display: block;
    color: #666;
}
.mms{
    padding: 16px 14px 10px;
}
.mms span{
    color: #cf3040;
    font-size: 18px;
    font-weight: 700;
}
.mks-pt {
    display: inline-block;
    margin: 10px;
    font-size: 17px;
}
.mks-pt i{
    margin: 0 0 0 8px;
    vertical-align: initial;
}

/*Shortcodes style*/
.mks-code-section, .hljs{
    border-radius: 10px;
}
.mks-code-section > h2{
    background-color: #000;
    color: #fff !important;
    padding: 8px 14px;
    direction: rtl;
    text-align: right;
    font-weight: 100;
    margin: 0;
    font-size: 22px;
    border-radius: 10px;
}
.mks-code-section > h2 > i{
    margin-left: 8px;
    vertical-align: baseline;
    font-size: 20px;
}
.mks-download-shb{
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 20px;
    color: #646464 !important;
    background-color: #ffffff;
    margin: 10px 5px;
    display: inline-block;
    box-shadow: 0 0 3px 3px rgb(0 0 0 / 8%);
}
.mks-download-shb > i{
    font-size: 35px;
    vertical-align: sub;
    margin-right: 5px;
    color: #9e2558;
}
.mks-rpd{
    display: inline-flex;
    width: 100%;
    border: 1px solid #ccc!important;
    padding: 7px;
    border-radius: 10px;
    position: relative;
    background-color: #f0faff;
}
.mks-rpd > img{

}
.mks-rpd-left{
    text-align: right !important;
    padding-right: 20px;
}
.mks-rpd > small {
    color: #000000;
    font-size: 14px;
}
.mrl-title{
    color: #3a3a3a;
    font-size: 18px;
}
mrl-desc{
    font-size: 13px;
    line-height: 2em;
    color: #757575!important;
}
.mks-ilp-2{
    background-color: #fffddb;
    padding: 10px 16px;
    border-radius: 10px;
    overflow: hidden;
}
.mks-ilp-2 > i{
    color: #ecc21b;
    font-size: 24px;
    vertical-align: middle;
    margin-left: 7px;
}
.mks-ilp-2 > span{

}
.mks-ilp-2 > a{
    color: #349bde;
}
.mks-ilp-3{
    width: 100%;
    display: inline-flex;
    background-color: #f8f8f8;
    border: #e3e3e3 solid 1px;
    border-left: 5px solid #ff6666;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 10px 0;
    overflow: hidden;
}
.mks-ilp-3 span{
    position: relative;
    display: inline-block;
    background-color: #ff6666;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 25% 100%, 15% 50%);
    color: #fff;
    font-weight: 600;
    padding: 9px 13px 0 55px;
}
.mks-ilp-3 span i{
    color: #fff;
}
.mks-ilp-3 a{
    padding: 9px 5px;
    color: #000;
    font-weight: 500;
}
.mks-note-shc{
    border-radius: 10px !important;
    padding: 15px !important;
    border: none !important;
    border-left: none !important;
    color: #e7fff2 !important;
}
.mks-note-shc::before,
.mks-note-shc::after
{
    display: none;
}
.mks-note-shc > p{
    font-weight: 100;
    font-size: 15px;
    color: #ffffff;
}
.mks-note-shc > p > i{
    font-size: 25px;
    margin-left: 5px;
    vertical-align: revert;
}
.mks-note-shc br{
    display: none;
}
.mks-blog-products{

}
.mks-blog-products .adp{
    border-radius: 10px;
    display: block;
    margin-top: 30px;
    background-color: #ededed;
    text-align: center;
}
.mks-blog-products .adp h3{
    padding: 10px;
    font-weight: 700;
    color: #000 !important;
    font-size: 20px;
    display: block;
    margin: 0 0 15px;
    line-height: 30px;
    height: 45px;
    overflow: hidden;
}
.mks-blog-products .adp img{
    width: 200px;
    height: 200px;
    border-radius: 10px;
}
.mks-blog-products .adp a{
    display: block;
    padding-bottom: 5px;
}
.mks-blog-products .mks-adp-btn{
    margin: 25px auto;
    width: 80%;
    display: block;
    color: #fff;
    background-color: #cf3040;
    border-radius: 10px;
}
.mks-blog-products .mks-adp-btn:hover {
    color: #000;
    background-color: #ccc;
}
.mks-video-shortcode{
    width: 100%;
    min-height: 400px;
    height: auto;
    border-radius: 10px;
}
/*Shortcodes style*/

#order_comments{
    height: 128px;
}

span.pinout {
    padding: 0 7px;
    border-radius: 10px;
    margin: 0;
    color: #fff;
    font-size: 15px;
    margin-right: 3px;
    display: inline-block;
    -webkit-transform: skew(-10deg);
    -ms-transform: skew(-10deg);
    transform: skew(-10deg);
    -moz-transform: skew(-10deg);
    -o-transform: skew(-10deg);
    line-height: initial !important;
}
.pinout.pinout-black {
    background-color: #333739;
}

/* Modern Orderby/Sorting Styles - Custom Classes */
.mks-archive-sort-header {
    margin-top: 16px;
    margin-bottom: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #f8f9fb;
    border: 1px solid #eef0f4;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: mksSortHeaderSlideIn 0.4s ease-out;
}

.mks-archive-sort-header-items {
    display: flex;
    align-items: center;
    gap: 0 14px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.mks-archive-sort-header-separator {
    color: #d8dce3;
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

@keyframes mksSortHeaderSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-archive-sort-header-icon {
    color: #667eea;
    font-size: 18px;
    flex-shrink: 0;
}

.mks-archive-sort-header a.mks-archive-sort-link {
    color: #4a5568;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    white-space: nowrap;
}

.mks-archive-sort-header a.mks-archive-sort-link:hover {
    color: #667eea;
    border-bottom-color: rgba(102, 126, 234, 0.35);
    background: transparent !important;
    transform: none;
    box-shadow: none;
}

.mks-archive-sort-header a.mks-archive-sort-link.as-active {
    color: #667eea;
    border-bottom-color: #667eea;
    font-weight: 700;
    background: transparent;
    box-shadow: none;
    transform: none;
}

/* Mobile Sorting */
.mks-mobile-archive-sorting {
    background: #fff;
    border: 1px solid rgba(102, 126, 234, 0.1);
    align-items: center;
    animation: mksMobileSortSlideIn 0.6s ease-out;
}

@keyframes mksMobileSortSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-mobile-archive-sorting a {
    color: #000 !important;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    justify-content: center;
    &:first-child{
        border-left: solid 1px #e9e9e9;
    }
}



.mks-mobile-archive-sorting-icon {
    font-size: 16px;
}

/* .mks-archive-sorting-separator {
    width: 1px;
    height: 30px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    margin: 0 16px;
} */

/* Offcanvas Modern Styles */
.mks-offcanvas-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
}

.mks-offcanvas-modern .offcanvas-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
}

.mks-offcanvas-modern .offcanvas-header h5 {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.mks-offcanvas-modern .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.mks-offcanvas-modern .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.mks-offcanvas-modern .offcanvas-body {
    padding: 24px;
}

/* Mobile Sorting Items */
.mks-mobile-sorting-item {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #4a5568;
    padding: 16px 34px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.mks-mobile-sorting-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

.mks-mobile-sorting-item-active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    border-color: transparent;
}

.mks-mobile-sorting-item-selected {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 10px;
    margin-left: 12px;
}

/* Modern Order Receipt Styles - Custom Classes */
.mks-order-receipt-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    animation: mksOrderReceiptSlideIn 0.6s ease-out;
}

@keyframes mksOrderReceiptSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-order-receipt-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mks-order-receipt-modern .order_details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mks-order-receipt-modern .order_details li {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    padding: 16px 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.mks-order-receipt-modern .order_details li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.mks-order-receipt-modern .order_details li:hover {
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.mks-order-receipt-modern .order_details li.order {
    border-left: 4px solid #667eea;
}

.mks-order-receipt-modern .order_details li.date {
    border-left: 4px solid #48bb78;
}

.mks-order-receipt-modern .order_details li.total {
    border-left: 4px solid #f6ad55;
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
}

.mks-order-receipt-modern .order_details li.method {
    border-left: 4px solid #9f7aea;
}

.mks-order-receipt-modern .order_details li strong {
    color: #2d3748;
    font-weight: 600;
    font-size: 15px;
}

.mks-order-receipt-modern .order_details li.total strong {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    font-weight: 700;
}

.pinout.pinout-gray {
    background-color: #95a5a6;
}

.pinout.pinout-yellow {
    background-color: #f1c40f;
}

.pinout.pinout-blue {
    background-color: #3498db;
}

.pinout.pinout-orange {
    background-color: #e67e22;
}

.pinout.pinout-green {
    background-color: #2ecc71;
}

.pinout.pinout-purple {
    background-color: #8d4ba3;
}

.pinout.pinout-red {
    background-color: #cb2b2b;
}

.pinout.pinout-turquoise {
    background-color: #1abc9c;
}

.pinout.pinout-dark-blue {
    background-color: #475577;
}
.mks-mcp-dwc{
    width: 100%;
    background: #fff;
    padding: 11px;
    text-align: center;
    border-radius: 10px;
    box-shadow: rgb(215, 215, 215) 0 0 8px;
}
.mks-mcp-dwc p{
    font-weight: 700;
    margin: 10px;
}
.mks-mcp-dwc p:first-child{

}
.mks-mcp-dwc p:last-child{
    color: #d85a66;
}
.modal-content{
    border-radius: 10px;
}
/* Chat widget styles moved to assets/css/mks-chat.css */


/* Colored / Amazing Products Slider */
.amazing-offer-nt-section {
    --mks-amazing-radius: 18px;
    --mks-amazing-card-radius: 14px;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--mks-amazing-radius);
    padding: 18px 16px 14px;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--mks-amazing-bg, var(--mks-primary-gradient));
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    transition: box-shadow 0.25s ease;
}

.amazing-offer-nt-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
        radial-gradient(90% 70% at 0% 100%, rgba(0, 0, 0, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.amazing-offer-nt-section > * {
    position: relative;
    z-index: 1;
}

.amazing-offer-nt-section .amazing-nt {
    overflow: hidden;
    margin: 0;
    padding: 2px 0 4px;
}

.mks-aoi-new-box-image {
    width: 130px;
    height: auto !important;
    margin: 13px 0;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
}

.mks-aoi-new-box-text {
    width: 100%;
    height: 77px;
    margin: 16px 0;
}

.mks-aot-nt-item {
    width: 100%;
    height: 100%;
    min-height: 260px;
    background: #fff !important;
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #0f172a !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e8edf3;
    border-radius: var(--mks-amazing-card-radius, 14px);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.mks-aot-nt-item::before {
    display: none;
}

.mks-aot-nt-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.mks-aot-nt-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.mks-aot-nt-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 148px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.mks-aot-nt-title-link {
    text-decoration: none;
    color: inherit;
}

.amazing-nt .owl-item:nth-child(2) .mks-aot-nt-item,
.amazing-nt .owl-item:last-child .mks-aot-nt-item {
    border-radius: var(--mks-amazing-card-radius, 14px);
}

.mks-aot-nt-item img,
.mks-aot-nt-media img {
    width: 100%;
    height: 100%;
    max-height: 148px;
    object-fit: contain;
    padding: 8px;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.mks-aot-nt-item:hover img {
    transform: scale(1.04);
}

.mks-aot-nt-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 8px;
}

.amazing-nt-2 img {
    max-height: 140px;
    border-radius: 10px;
}

/* Price + ajax cart – match simple product slider */
.mks-aoi-nt-price {
    min-height: 48px;
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #e8edf3;
    width: 100%;
    direction: rtl;
}

.mks-aoi-nt-price .mks-price-container {
    display: flex;
    width: 100%;
    min-height: auto;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin: 0;
}

.mks-aoi-nt-price .mks-price-container > div:first-child {
    flex: 1;
    min-width: 0;
}

.mks-aoi-nt-price .price,
.mks-aoi-nt-price .price.text-center {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right !important;
    gap: 2px;
    color: #0f172a;
}

.mks-aoi-nt-price .mks-dpl {
    font-size: 15px !important;
    margin: 0;
    font-weight: 700;
    color: #0f172a !important;
}

.mks-aoi-nt-price del,
.mks-aoi-nt-price ins {
    text-align: right;
    font-weight: 600;
    display: block;
    width: 100%;
}

.mks-aoi-nt-price del {
    color: #94a3b8 !important;
    text-decoration: line-through;
    font-size: 12px;
    line-height: 1.35;
    order: -1;
}

.mks-aoi-nt-price del .woocommerce-Price-currencySymbol {
    font-size: 11px;
    color: #94a3b8 !important;
}

.mks-aoi-nt-price ins {
    color: #0f172a !important;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    font-weight: 700;
}

.mks-aoi-nt-price .woocommerce-Price-amount,
.mks-aoi-nt-price .woocommerce-Price-amount bdi {
    color: inherit;
}

.mks-aoi-nt-price .woocommerce-Price-currencySymbol {
    display: inline !important;
    visibility: visible !important;
    font-size: 12px;
    font-weight: 500;
    color: #64748b !important;
    margin-right: 3px;
}

.mks-aoi-nt-price .psi-gc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    font-size: 16px;
    flex-shrink: 0;
    color: var(--mks-color-primary, #7352ac);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mks-aoi-nt-price .psi-gc:hover {
    background: var(--mks-color-primary, #7352ac);
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: var(--mks-shadow, 0 4px 12px rgba(102, 126, 234, 0.25));
}

.mks-aoi-nt-price .p-slider-out-stock-icons {
    width: 38px;
    height: 38px;
    margin: 0;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    position: relative;
}

.mks-aoi-nt-price .psi-rc {
    font-size: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.mks-aoi-nt-price a {
    text-decoration: none;
    color: inherit;
}

/* Modern Timeline Styles */
.mks-aoi-nt-timeline {
    height: 8px;
    background: linear-gradient(90deg, #db314e 0%, #ff6b8a 100%);
    border-radius: 10px;
    margin-top: 18px;
    direction: ltr;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(219, 49, 78, 0.4);
}

.mks-aoi-nt-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.mks-aoi-nt-timeline-bg {
    background: linear-gradient(90deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 10px;
    margin-top: 18px;
    direction: ltr;
    height: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Modern Navigation Buttons */
.owl-prev,
.owl-next {
    border-radius: 10px;
    padding: 9px 16px !important;
    text-align: center;
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translate(0, -50%);
    top: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.owl-prev::before,
.owl-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.owl-prev:hover::before,
.owl-next:hover::before {
    left: 100%;
}

.owl-prev span,
.owl-next span {
    font-size: 24px;
    color: #2c3e50;
    display: block;
    margin: 0;
    padding: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.owl-prev:hover,
.owl-next:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translate(0, -50%) scale(1.1);
    box-shadow: var(--mks-shadow);
    border-color: rgba(219, 49, 78, 0.3);
}

.owl-prev:hover span,
.owl-next:hover span {
    color: var(--mks-primary-color);
}

.owl-next:focus,
.owl-prev:focus {
    background: rgba(255, 255, 255, 1) !important;
    outline: none;
    box-shadow: var(--mks-shadow);
}

.owl-next.disabled,
.owl-prev.disabled {
    opacity: 0.5;
    pointer-events: none;
    transform: translate(0, -50%) scale(0.9);
}

/* Modern Title Styles */
.mks-aoi-nt-title {
    font-size: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    max-height: 34px;
    min-height: 34px;
    line-height: 1.55;
    height: auto;
    color: #334155;
    margin: 0;
    text-align: right;
    font-weight: 600;
    transition: color 0.25s ease;
    position: relative;
}

.mks-aot-nt-item:hover .mks-aoi-nt-title {
    color: var(--mks-color-primary, #7352ac);
}

.amazing-nt-red-bg-color {
    background: var(--mks-amazing-bg, var(--mks-primary-gradient));
}

.amazing-nt-red-bg-color.has-custom-bg {
    background: var(--mks-amazing-bg) !important;
}

#amazing-nt2 .price{
    display: inline-flex;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-around;
}
#amazing-nt2  .price del{
    font-size: 13px;
    margin: auto 0;
}
#amazing-nt2  .price del bdi span{
    display: none;
}



.mks-aoi-nt2-countdown  {
    margin: 10px 0 0 0;
    border-top: 1px dashed #e8edf3;
    padding-top: 8px;
    width: 100%;
}

.mks-aoi-nt2-countdown .mks-ccd{
    display: inline-flex;
}

.mks-ccd {
    width: 100%;
    direction: ltr;
}

.mks-aoi-nt2-countdown .mks-ccd span{
    color: #e6123d;
    text-align: center;
}

.mks-aoi-nt2-countdown .mks-ccd span::after{
    font-size: 9px !important;
    color: #e6123d;
}

.mks-aoi-nt2-countdown .mks-ccd span:first-child{
    position: relative;
}
.mks-aoi-nt2-countdown .mks-ccd span:first-child:after{
    content: 'روز';
    display: block;
    font-size: 11px;
    color: #e6123d;
    text-align: center;
}

.mks-aoi-nt2-countdown .mks-ccd span:nth-child(2){
    position: relative;
}
.mks-aoi-nt2-countdown .mks-ccd span:nth-child(2):after{
    content: 'ساعت';
    display: block;
    font-size: 11px;
    color: #e6123d;
    text-align: center;
}

.mks-aoi-nt2-countdown .mks-ccd span:nth-child(3){
    position: relative;
}
.mks-aoi-nt2-countdown .mks-ccd span:nth-child(3):after{
    content: 'دقیقه';
    display: block;
    font-size: 11px;
    color: #e6123d;
    text-align: center;
}

.mks-aoi-nt2-countdown .mks-ccd span:last-child{
    position: relative;
}
.mks-aoi-nt2-countdown .mks-ccd span:last-child:after{
    content: 'ثانیه';
    display: block;
    font-size: 11px;
    color: #e6123d;
    text-align: center;
}


.mks-ccd span{
    display: block;
}
.mks-ccd span:first-child{
    position: relative;
}
.mks-ccd span:first-child:after{
    content: ':';
    margin: 0 10px;
    color: #000000;
    text-align: center;
    font-size: 25px;
}

.mks-ccd span:nth-child(2){
    position: relative;
}
.mks-ccd span:nth-child(2):after{
    content: ':';
    margin: 0 10px;
    color: #000000;
    text-align: center;
    font-size: 25px;
}

.mks-ccd span:nth-child(3){
    position: relative;
}
.mks-ccd span:nth-child(3):after{
    content: ':';
    margin: 0 10px;
    color: #000000;
    text-align: center;
    font-size: 25px;
}
.mks-bst-2-img{
    height: 120px;
    border-radius: 10px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 16px;
    margin: 8px;
}

.mks-bst-2-img:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
    border-radius: 10px;
}
/* Page builder categories – Digikala-like grid */
.mks-pb-categories-section {
    width: 100%;
    padding: 8px 0 4px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.mks-pb-categories-header {
    margin-bottom: 14px;
}

.mks-pb-categories-header.mks-pb-section-header {
    justify-content: flex-start;
}

.mks-pb-categories-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px 12px;
    width: 100%;
    align-items: start;
}

.mks-pb-categories-slider {
    width: 100%;
}

.mks-pb-categories-pagination {
    display: none;
}

/* Desktop: flatten slide pages into one 8-col grid */
@media only screen and (min-width: 769px) {
    .mks-pb-categories-slider {
        overflow: visible;
    }

    .mks-pb-categories-slider > .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 20px 12px;
        width: 100%;
        align-items: start;
        transform: none !important;
    }

    .mks-pb-categories-slider .swiper-slide,
    .mks-pb-categories-slider .mks-pb-categories-page {
        display: contents;
    }

    .mks-pb-categories-section--text .mks-pb-categories-slider > .swiper-wrapper {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 10px;
    }
}

.mks-pb-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 0 4px;
    text-decoration: none;
    color: inherit;
    background: transparent !important;
    border: none;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.mks-pb-category-item:hover {
    transform: translateY(-2px);
    background: transparent !important;
    box-shadow: none;
}

.mks-pb-category-item__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f1;
    border: none;
    flex-shrink: 0;
    padding: 4px;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mks-pb-category-item:hover .mks-pb-category-item__media {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.mks-pb-category-item__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
    margin: 0;
    border-radius: 4px;
    transition: transform 0.25s ease;
}

.mks-pb-category-item:hover .mks-pb-category-item__media img {
    transform: scale(1.05);
}

.mks-pb-category-item__title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #0f172a;
    max-width: 100%;
    width: 100%;
    min-height: 0;
    transition: color 0.2s ease;
}

.mks-pb-category-item:hover .mks-pb-category-item__title {
    color: var(--mks-color-primary, #7352ac);
}

.mks-pb-categories-section--text .mks-pb-categories-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
}

.mks-pb-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.mks-pb-category-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    opacity: 0.95;
}

.mks-page-builder-layout .mks_pbi_categories {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Legacy selectors kept for safety */
.category-boxes-item-nt{
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: right;
}
.category-boxes-item-nt2-more{
    display: none;
}
.category-boxes-item-nt2{
    background: transparent;
    border: none;
    box-shadow: none;
    min-height: 0;
    padding: 0;
}
.category-boxes-item-nt2::before {
    display: none;
}
.category-boxes-item-nt2 img{
    width: 70px !important;
    height: 70px;
    margin: 0 auto 8px auto;
    border-radius: 4px;
    object-fit: cover;
}
.category-boxes-item-nt2 p{
    display: block;
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    text-align: center;
}
.mks-ntb-card{
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mks-ntb-card:hover {
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}
.mks-ntb-card-header{
    border-bottom: 2px solid #f0f0f0;
    padding: 20px 25px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: slide 15s ease infinite;
}
.mks-nch{
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}
.mks-nch i{
    color: #ffffff;
    font-size: 32px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.mks-nch h3{
    margin: 0;
    font-size: 26px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.mks-nch h3 small{
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 4px;
    font-weight: 400;
}

.articles-nt-section{
    --mks-articles-radius: 18px;
    width: 100%;
    box-sizing: border-box;
    background: var(--mks-articles-bg, var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%)));
    border-radius: var(--mks-articles-radius);
    padding: 18px 16px 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    position: relative;
    color: #fff;
}

.articles-nt-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
        radial-gradient(90% 70% at 0% 100%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.articles-nt-section > * {
    position: relative;
    z-index: 1;
}

.articles-nt-section.has-custom-bg {
    background: var(--mks-articles-bg) !important;
}

.ans-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
    padding: 0 2px 12px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.ans-header::after {
    content: '';
    position: absolute;
    right: 2px;
    bottom: -1px;
    width: 72px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
}

.ans-header__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ans-header__accent {
    width: 4px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.ans-header span,
.ans-header__title > span:last-child{
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.ans-header a,
.ans-header__all{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.ans-header a:hover,
.ans-header__all:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
    box-shadow: none;
}

.ans-header a i,
.ans-header__all i {
    font-size: 11px;
}

.articles-carousel {
    overflow: hidden;
    margin: 0;
    padding: 2px 0 4px;
}

.articles-carousel .swiper-slide {
    height: auto;
}

.articles-carousel a,
.mks-article-card{
    min-height: 280px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff !important;
    color: #0f172a !important;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid #e8edf3;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.articles-carousel a:hover,
.mks-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    border-color: rgba(102, 126, 234, 0.28);
    color: #0f172a !important;
}

.mks-article-card__media {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
}

.articles-carousel a img,
.mks-article-card__media img{
    width: 100% !important;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
    margin: 0;
    display: block;
}

.articles-carousel a:hover img,
.mks-article-card:hover .mks-article-card__media img {
    transform: scale(1.04);
}

.mks-article-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 14px 14px;
    min-width: 0;
}

.articles-carousel a span,
.mks-article-card__date{
    display: inline-block;
    text-align: right;
    padding: 0;
    margin: 0 0 8px 0;
    font-size: 11px;
    color: var(--mks-color-primary, #7352ac) !important;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.articles-carousel a p,
.mks-article-card__title{
    padding: 0;
    margin: 0;
    text-align: right;
    line-height: 1.55;
    font-size: 12px;
    font-weight: 600;
    color: #334155 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    min-height: 0;
}

.mks-article-card:hover .mks-article-card__title {
    color: var(--mks-color-primary, #7352ac) !important;
}

.articles-nt-section .mks-sbn {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
}

.mks-page-builder-layout .mks_pbi_articles .articles-nt-section,
.mks-page-builder-layout .mks_pbi_articles .latest-articles-background {
    width: 100%;
    box-sizing: border-box;
}
.relative{
    position: relative;
}
.limited-box img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;

}
.mks-d-search-result{
    font-weight: 600;
    font-size: 17px;
}

/* Search results page */
.mks-search-page {
    padding: 24px 0 48px;
}

.mks-search-page__header {
    margin-bottom: 24px;
    padding: 20px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--mks-bg-soft, #f8f9ff) 100%);
    border: 1px solid #eef0f4;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
    animation: mksSearchHeaderIn 0.35s ease-out;
}

@keyframes mksSearchHeaderIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-search-page__header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.mks-search-page__heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.mks-search-page__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--mks-bg-soft, #f5f6ff);
    color: var(--mks-color-primary, #667eea);
    flex-shrink: 0;
    font-size: 22px;
}

.mks-search-page__heading-text {
    min-width: 0;
}

.mks-search-page__label {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
}

.mks-search-page__term {
    margin: 0;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 800;
    color: #222;
    line-height: 1.4;
    word-break: break-word;
}

.mks-search-page__badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--mks-color-primary, #667eea);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.mks-search-page__form {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mks-search-page__form:focus-within {
    border-color: var(--mks-color-primary, #667eea);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.mks-search-page__form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 14px;
    background: transparent;
    min-width: 0;
}

.mks-search-page__form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: var(--mks-color-primary, #667eea);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.mks-search-page__form button:hover {
    opacity: 0.9;
}

.mks-search-page__grid {
    margin-top: 8px;
}

.mks-search-page__pagination {
    margin-top: 32px;
}

.mks-search-page__empty {
    text-align: center;
    padding: 48px 24px;
    margin: 16px 0 32px;
    border-radius: 16px;
    background: #fafbfc;
    border: 1px dashed #e0e4ea;
}

.mks-search-page__empty--plain {
    margin-top: 32px;
}

.mks-search-page__empty-icon {
    font-size: 48px;
    color: var(--mks-color-primary, #667eea);
    margin-bottom: 16px;
    opacity: 0.85;
}

.mks-search-page__empty-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.mks-search-page__empty-desc {
    margin: 0;
    font-size: 14px;
    color: #777;
    line-height: 1.7;
}

.mks-search-page__popular {
    padding: 20px 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef0f4;
}

.mks-search-page__popular .ajax-search-section-title {
    margin-bottom: 14px;
}

.mks-search-page__popular .ps-main-div {
    margin: 0 -4px;
}

.mks-m-search-result{
    border: solid 2px #d85a66;
    border-radius: 10px;
    padding: 5px 10px;
    width: max-content;
    margin: 0 auto;
}
.complete-info-ph{
    display: block;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    color: #434343;
}
.mks-button{
    border-radius: 10px;
    padding: 7px 22px;
    border: none;
    font-size: 20px;
    background: #d85a66;
    color: #fff;
    transition: all .150s;
}
.mks-button-outline{
    border-radius: 10px;
    padding: 7px 22px;
    border: solid 2px #d85a66;
    font-size: 20px;
    background: #fff;
    color: #d85a66;
    transition: all .150s;
}
.mks-button-outline:hover{
    background: #d85a66;
    color: #fff;
}
.mks-dpl{
    font-weight: 600;
    font-size: 17px;
    margin: 14px 0;
    color: #d85a66;
}
.mks-dpl-sp{
    display: block;
    margin: 10px 0;
    background: #d85a66;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    line-height: 32px;
}
.mks-pss-main{
    background-color: #fdd;
    color: #000;
    border-radius: 10px;
    padding: 10px;
    font-size: 15px;
    line-height: 30px;
    margin: 20px 0;
}
.woocommerce-cart-form{
    width: 100%;
}
.woocommerce-variation-availability .in-stock {
    background-color: #ddffdd;
    border: 1px solid #4caf50;
    padding: 12px;
}
.alert.alert-info.justify-content-center.align-items-center{
    margin: 7px; border-radius: 10px;
}
.woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
    
}
.woocommerce-shipping-methods li {
    margin-bottom: 8px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 12px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.woocommerce-shipping-methods li:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}
.shipping-cost {
    margin-top: 8px;
    font-size: 16px;
    color: #667eea;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}
.woocommerce ul#shipping_method .amount {
    font-weight: 700;
    background: #ffffff;
    color: #727272;
    transition: all 0.3s ease;
    display: inline-block;
}
.woocommerce ul#shipping_method li {
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 12px 16px;
    line-height: 24px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.woocommerce ul#shipping_method li:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}
.mks-as{
    /*background-color: #ffff;*/
    /*border-radius: 10px;*/
    /*border: solid 1px #e9e9e9;*/
    /*padding: 10px;*/
    list-style: none;
}
.mks-as > li{
    position: relative;
    background-color: #ffff;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 25px !important;
    max-height: 350px;
    overflow: hidden;
    border-top: solid 2px #667eea;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    animation: mksSortHeaderSlideIn 0.6s ease-out;
}

.mks-as > li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.woocommerce .widget_rating_filter ul{
    padding: 10px !important;
}
.mks-wf-tg-show{
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9));
    color: #000;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
}
.mks-as > li:first-child{
    margin-top: 0;
}
.mks-as li{
    position: relative;
}
.mks-as li.current-cat > a,
.mks-as li.current-cat > span{
    color: #667eea;
    font-weight: bolder;
}
.mks-as li.chosen > a,
.mks-as li.chosen > span{
    color: #667eea;
    font-weight: bolder;
}
.mks-as li form.woocommerce-product-search{
    width: 100%;
    justify-content: center;
    display: inline-flex;
}
.mks-as li form.woocommerce-product-search input,
.mks-as li form.woocommerce-product-search button{
    border: solid 1px #e9e9e9;
    padding: 7px 10px;
}
.mks-as li form.woocommerce-product-search input{
    border-radius: 10px;
}
.mks-as li form.woocommerce-product-search button{
    border-radius: 10px;
}
.mks-as .widgettitle {
    font-size: 18px;
    font-weight: bolder;
    border-bottom: solid 1px #e9e9e9;
    padding: 14px 0 !important;
    position: relative;
}
.mks-as .widgettitle:after{
    content: '\f107';
    font-family: "Font Awesome 6 Pro", serif;
    position: absolute;
    left: 10px;
    top: 12px;
    font-size: 20px;
    font-weight: 500;
}
.mks-as ul{
    list-style: none;
    padding: 10px;
    margin: 0;
}
.woocommerce .star-rating span::before{
    font-family: WooCommerce, serif;
    color: orange;
}

.widget_price_filter form{
    width: 100%;
    padding-top: 15px;
}
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content{
    background-color: #e5e5e5 !important;
}
.price_slider div,
.price_slider span{
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.woocommerce .widget_price_filter .price_slider_amount .button{
    float: none;
    width: 100%;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.price_slider_amount .price_label{
    text-align: center;
}

.widget_product_categories{

}
.widget_product_categories > ul{
    padding: 0;
    margin-bottom: 8px;
}
.widget_product_categories > ul > li > ul{
    margin-bottom: 8px;
}
.widget_product_categories li{
    position: relative;
    font-size: 15px;
    margin-top: 8px;
}
.widget_product_categories li:before,
.wc-layered-nav-term:before{
    content: '' !important;
    border: solid 1px #ddd;
    width: 20px;
    height: 20px;
    display: inline-block !important;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 7px;
}
.mks-as li.current-cat:after,
.mks-as li.chosen:after{
    content: '\f00c' !important;
    font-family: "Font Awesome 6 Pro", serif;
    position: absolute;
    font-size: 15px;
    color: #fff;
    top: 2px;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 20px;
    height: 20px;
    border-radius: 10px;
    text-align: center;
    display: inline-block !important;
}
.product_list_widget .mks_aac_loading{

}
.mks-as ul.cart_list li,
.mks-as ul.product_list_widget li{
    padding: 6px 8px !important;
    border-bottom: solid 1px #e9e9e9;
}
.mks-as ul.cart_list li .mks_aac_loading,
.mks-as ul.cart_list li .price,
.mks-as ul.product_list_widget li  .mks_aac_loading,
.mks-as ul.product_list_widget li  .price {
    display: none;
}
.product_list_widget .star-rating{
    display: none;
}
.mks-main-mini-cart-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    padding: 10px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

#mdh-cart .mks-main-mini-cart-item:hover {
    background: #f7f8fc;
}

#mdh-cart .mks-mini-cart-item__image {
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #eef0f6;
    background: #fff;
}

#mdh-cart .mks-mini-cart-item__image img,
.mks-main-mini-cart-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

#mdh-cart .mks-main-mini-cart-item:hover .mks-mini-cart-item__image img {
    transform: scale(1.04);
}

#mdh-cart .mks-mini-cart-item__info {
    flex: 1;
    min-width: 0;
    padding-left: 4px;
}

#mdh-cart .mks-mini-cart-item__title {
    font-size: 13px;
    font-weight: 600;
    color: #3d4663;
    line-height: 1.55;
    margin-bottom: 6px;
}

#mdh-cart .mks-mini-cart-item__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

#mdh-cart .mks-mini-cart-item__title a:hover {
    color: var(--mks-color-primary);
}

#mdh-cart .mks-mini-cart-item__title .mds-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #2b6cb0;
    background: rgba(66, 153, 225, 0.1);
    padding: 2px 7px;
    border-radius: 6px;
    margin-top: 4px;
    line-height: 1.5;
}

#mdh-cart .mks-mini-cart-item__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

#mdh-cart .mks-mini-cart-item__qty {
    font-size: 12px;
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
}

#mdh-cart .mks-mini-cart-item__price {
    font-size: 13px;
    font-weight: 700;
    color: #db314e;
    margin: 0 !important;
}

#mdh-cart .mks-mini-cart-item__remove {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(239, 64, 86, 0.9);
    color: #fff !important;
    font-size: 11px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    z-index: 2;
    text-decoration: none;
    line-height: 1;
}

#mdh-cart .mks-main-mini-cart-item:hover .mks-mini-cart-item__remove {
    opacity: 1;
    transform: scale(1);
}

#mdh-cart .mks-mini-cart-item__remove:hover {
    background: #c53030;
    color: #fff !important;
}

.mks-main-mini-cart-item p {
    white-space: normal;
    padding: 0 10px;
    color: #5e5e5e;
}

.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mdh-cart .woocommerce-mini-cart-item {
    width: 100%;
    margin-bottom: 4px;
    border: none;
    padding: 0;
    animation: mksMiniCartItemIn 0.35s ease both;
}

#mdh-cart .woocommerce-mini-cart-item:nth-child(1) { animation-delay: 0.03s; }
#mdh-cart .woocommerce-mini-cart-item:nth-child(2) { animation-delay: 0.06s; }
#mdh-cart .woocommerce-mini-cart-item:nth-child(3) { animation-delay: 0.09s; }
#mdh-cart .woocommerce-mini-cart-item:nth-child(4) { animation-delay: 0.12s; }
#mdh-cart .woocommerce-mini-cart-item:nth-child(5) { animation-delay: 0.15s; }

@keyframes mksMiniCartItemIn {
    from {
        opacity: 0;
        transform: translateX(8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.woocommerce-mini-cart-item {
    width: 100%;
    margin-bottom: 13px;
    border-bottom: solid 1px #e9e9e9;
    padding: 7px 0;
}

.woocommerce-mini-cart-item:last-child {
    border: none;
}

.woocommerce-mini-cart-item a img.attachment-woocommerce_thumbnail {
    width: 72px;
    height: 72px;
    border-radius: 10px;
}
.mks-amad{
    display: none;
    position: absolute;
    top: 8px;
    left: 17px;
    right: 17px;
}
.mks-ap-dpm{
    background-color: #d85a66;
    color: #fff;
    padding: 3px 6px;
    border-radius: 0 0 0 10px;
    font-size: 13px;
    position: absolute;
    right: 0;
    top: 0;
    display: none;
}
.archive-pi .mks-ap-dpm {
    border-radius: 10px;
    right: 5px;
    top: 5px;

}
.mks-app{
    padding-left: .25rem !important;
    padding-right: .25rem !important;
}

.mks-apm-ad .mks_aac_ss{
    width: 20px;
    height: 20px;
    border-width: 2px;
    margin-top: 10px;
}
.mks-apm-ad i{
    font-size: 23px;
}
.mks-spt{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 7px 16px;
    margin-bottom: 20px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #fde8ed 0%, #fce0e8 45%, #fde8ed 100%);
    animation: mks-special-sale-bg 4s ease-in-out infinite;
}
.mks-spt::before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
    animation: mks-special-sale-shimmer 2.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes mks-special-sale-bg{
    0%, 100%{ background-position: 0% 50%; }
    50%{ background-position: 100% 50%; }
}
@keyframes mks-special-sale-shimmer{
    0%{ transform: translateX(-120%); }
    100%{ transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce){
    .mks-spt,
    .mks-spt::before{
        animation: none;
    }
}
.mks-spt[half-width]{
    width: auto;
}
.mks-spt[full-width]{
    width: 100%;
}
.mks-special-sale-text{
    position: relative;
    z-index: 1;
    font-family: IranYekan, IRANSans, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #e6123d;
    letter-spacing: 0.4px;
    line-height: 1.4;
}
.mks-ap-fw{
    position: relative;
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    background-color: #fff;
    padding: 8px 10px;
    border-bottom: solid 1px #e9e9e9e9;
    overflow: hidden;
}
.mks-ap-fw *{
    margin: auto 0 !important;
}
.mks-ap-fw a{

}
.mks-ap-fw img{
    width: 80px;
    height: 80px;
}
.mks-ap-fw h3{
    text-align: right;
    height: 55px;
    line-height: 27px;
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}
.mks-ap-fw .mks-price-container{
    height: 40px;
    justify-content: space-between;
    padding: 0 13px;
}
.mks-ap-fw > div{
    flex: 1;
}
.mks-card {
    overflow: hidden;
    background: #ffffff !important;
    border-radius: 10px;
    margin: 15px 0;
    border: solid 1px #f3f3f3e9;
    padding: 15px;
}
.mks-card-header {
    width: 100%;
    justify-content: space-between;
    display: inline-flex;
    padding: 10px 20px !important;
    border-bottom: solid 1px #f3f3f3e9;
    font-size: 30px;
}
.mks-card-body{
   
}
.single_add_to_cart_button:hover,
.mini-cart-btn:hover,
.button:hover,
.btn-submit-comment:hover{
    transition: 0.3s !important;
}

.woocommerce table.shop_table{
    border-radius: 10px;
}

.payment_box{
    border-radius: 10px;
}

#add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li{
    border: solid 1px #e9e9e9;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background: #f8f8f8;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-search--dropdown .select2-search__field{
    border: solid 1px #e9e9e9;
}

.select2-dropdown{
    border: solid 2px #e9e9e9;
}

/* Modern Slider Tab Styles */
.mks-slider-tab {
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.mks-slider-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.mks-slider-tab .sections-title b {
    display: none;
}

.mks-slider-tab .nav-tabs {
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 24px;
    margin-bottom: 0;
    position: relative;
}

.mks-slider-tab .nav-tabs::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
}

.mks-slider-tab .nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    margin-left: 8px;
    padding: 12px 20px;
    border: 2px solid transparent;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Modern Services Accordion Styles */

.mks-modern-design h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mks-modern-design h3 i {
    color: #667eea;
}

.mks-modern-design .accordion {
    overflow: hidden;
}

.mks-modern-design .accordion-item {
    border-color: #f1f1f1;
    overflow: hidden;
}

.mks-modern-design .accordion-button {
    background: linear-(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2d3748;
    padding: 16px 20px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.mks-modern-design .accordion-button:not(.collapsed) {
    background: #e9e9e9;
}



.mks-modern-design .accordion-body {
    background: #ffffff;
    color: #4a5568;
    line-height: 1.7;
    font-size: 13px;
}

.mks-modern-design .accordion-collapse {
}

.mks-modern-design .alert {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8e9 100%);
    color: #2d3748;
    padding: 20px;
}

.mks-slider-tab .nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.mks-slider-tab .nav-tabs .nav-link:hover {
    color: #495057;
    background: rgba(108, 117, 125, 0.05);
    border-color: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mks-slider-tab .nav-tabs .nav-link:hover::before {
    left: 100%;
}

.mks-slider-tab .nav-tabs .nav-link.active {
    border-radius: 10px;
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    font-weight: 700;
}


.mks-slider-tab .tab-content {
    
}

.mks-slider-tab .tab-pane {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Slider Tab Interactions */
.mks-slider-tab .nav-tabs .nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mks-slider-tab .nav-tabs .nav-link:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Smooth tab switching animation */
.mks-slider-tab .tab-pane.fade {
    transition: opacity 0.3s ease-in-out;
}

.mks-slider-tab .tab-pane.fade.show {
    opacity: 1;
}

/* Loading state for tab content */
.mks-slider-tab .tab-pane.loading {
    position: relative;
    min-height: 200px;
}

.mks-slider-tab .tab-pane.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.table>:not(caption)>*>*{
    font-size: 14px;
}
.mks-vcc{
    flex: 1;
}


/* Success message styles with !important to override mks.css */
.mks-add-to-cart-success {
    background: #ffffff !important;
    color: #424242 !important;
    padding: 16px 20px !important;
    border-radius: 10px;
    margin: 15px 0 !important;
    text-align: right !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    border: 2px solid #8bc34a !important;
    position: relative !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateY(20px) scale(0.95) !important;
    transition: all 0.4s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    cursor: pointer !important;
    user-select: none !important;
    direction: rtl !important;
}

.mks-add-to-cart-success.show {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: successSlideIn 0.5s ease !important;
}

@keyframes successSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    60% {
        transform: translateY(-3px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mks-add-to-cart-success::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.8s ease !important;
}

.mks-add-to-cart-success.show::before {
    transform: translateX(100%) !important;
}

.mks-add-to-cart-success:hover {
    transform: translateY(-2px) scale(1.005) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.06) !important;
    border-color: #689f38 !important;
}

.mks-add-to-cart-success:active {
    transform: translateY(0) scale(1) !important;
    transition: transform 0.1s ease !important;
}

.mks-add-to-cart-success .success-icon {
    background: #8bc34a !important;
    border-radius: 10px;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    color: white !important;
    animation: iconPop 0.5s ease 0.3s both !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3) !important;
    border: none !important;
}

@keyframes iconPop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.mks-add-to-cart-success .success-text {
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    animation: textSlideIn 0.4s ease 0.4s both !important;
    flex: 1 !important;
    position: relative !important;
    line-height: 1.4 !important;
    color: #424242 !important;
}

.mks-add-to-cart-success .cart-link {
    color: #00bcd4 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
    text-decoration-color: #00bcd4 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 10px;
    box-shadow: none !important;
}

.mks-add-to-cart-success:hover .cart-link {
    color: #0097a7 !important;
    text-decoration-color: #0097a7 !important;
    text-decoration-thickness: 1.5px !important;
    transform: none !important;
}

.mks-add-to-cart-success:hover .success-text::after {
    content: "←" !important;
    position: absolute !important;
    left: -18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    opacity: 0 !important;
    animation: hintSlideIn 0.3s ease 0.15s forwards !important;
    color: #00bcd4 !important;
    font-weight: bold !important;
}

@keyframes hintSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-5px);
    }
    to {
        opacity: 0.7;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mks-add-to-cart-success::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 3px !important;
    background: #8bc34a !important;
    border-radius: 10px;
    animation: progressBar 10s linear !important;
    opacity: 0.6 !important;
    width: 100% !important;
}

.mks-add-to-cart-success:hover::after {
    animation-play-state: paused !important;
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.mks-add-to-cart-success.fade-out {
    opacity: 0 !important;
    transform: translateY(-20px) scale(0.95) !important;
    transition: all 0.4s ease !important;
}

.mks-add-to-cart-success.navigating {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #1e293b !important;
    border-color: #22d3ee !important;
    border-width: 3px !important;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    pointer-events: none !important;
    transform: translateY(-6px) scale(1.02) !important;
}

.mks-add-to-cart-success.navigating .success-text {
    color: #1e293b !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.mks-add-to-cart-success.navigating .success-icon {
    animation: navigationSpin 1.5s linear infinite !important;
    background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%) !important;
    color: white !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
    box-shadow: 
        0 8px 20px rgba(34, 211, 238, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
}

.mks-add-to-cart-success.navigating::after {
    background: linear-gradient(90deg, #22d3ee 0%, #06b6d4 50%, #0ea5e9 100%) !important;
    height: 4px !important;
    opacity: 0.8 !important;
    box-shadow: 0 -2px 8px rgba(34, 211, 238, 0.3) !important;
}

@keyframes navigationSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Modal Animation Classes */
.mks-modal-show {
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.mks-modal-hide {
    animation: modalSlideOut 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

/* Modal Animation Keyframes */
@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
        filter: blur(8px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-10px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes modalSlideOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.95) translateY(-5px);
        filter: blur(2px);
    }
    100% {
        opacity: 0;
        transform: scale(0.7) translateY(-30px);
        filter: blur(8px);
    }
}

/* Enhanced Modal Styles */
#mks-aac-modal.mks-modal-show {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(207, 48, 64, 0.2);
}

#mks-aac-modal.mks-modal-show .mks-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Add subtle pulse effect to success icon */
#mks-aac-modal.mks-modal-show .mks-maac-text i {
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        color: #28a745;
    }
    50% {
        transform: scale(1.1);
        color: #20c997;
    }
}

/* Modal Timer and Progress Bar */
.mks-modal-timer {
    margin-top: 10px;
    text-align: center;
}



.mks-progress-container {
    width: 100%;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.mks-progress-bar {
    height: 100%;
    background: var(--mks-primary-gradient);
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.mks-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 1%;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.6) 0%, transparent 100%);
    animation: progressShine 1s ease-in-out infinite;
}

.mks-progress-bar.active {
    animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(-20px);
        opacity: 0;
    }
}

/* Modern Bootstrap Alert Styles */
.alert {
    position: relative;
    padding: 20px 24px;
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
    opacity: 0.3;
}

.alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Alert Types */
.alert-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-left: 4px solid #4c63d2;
}

.alert-primary .alert-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.alert-primary .alert-link:hover {
    color: #e2e8f0;
}

.alert-secondary {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #4a5568;
    border-right: 4px solid #a0aec0;
}

.alert-secondary .alert-link {
    color: #2d3748;
    text-decoration: underline;
    font-weight: 600;
}

.alert-secondary .alert-link:hover {
    color: #1a202c;
}

.alert-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #ffffff;
    border-right: 4px solid #2f855a;
}

.alert-success .alert-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.alert-success .alert-link:hover {
    color: #c6f6d5;
}

.alert-info {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%) !important;
    color: #ffffff !important;
    border-right: 4px solid #2c5282;
}

.alert-info .alert-link {
    color: #ffffff !important;
    text-decoration: underline;
    font-weight: 600;
}

.alert-info .alert-link:hover {
    color: #bee3f8;
}

.alert-warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: #ffffff !important;
    border-right: 4px solid #c05621;
}

.alert-warning .alert-link {
    color: #ffffff !important;
    text-decoration: underline;
    font-weight: 600;
}

.alert-warning .alert-link:hover {
    color: #fed7aa;
}


.alert-danger {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: #ffffff;
    border-right: 4px solid #c53030;
}

.alert-danger .alert-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.alert-danger .alert-link:hover {
    color: #fed7d7;
}

.spm-cip .alert-danger{
    color: #383838;
    border-right: 4px solid #b5b5b5;
    background: #eee;
}

.alert-light {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    color: #4a5568;
    border-left: 4px solid #e2e8f0;
    border: 1px solid #e2e8f0;
}

.alert-light .alert-link {
    color: #2d3748;
    text-decoration: underline;
    font-weight: 600;
}

.alert-light .alert-link:hover {
    color: #1a202c;
}

.alert-dark {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: #ffffff;
    border-left: 4px solid #171923;
}

.alert-dark .alert-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.alert-dark .alert-link:hover {
    color: #e2e8f0;
}

/* Alert Dismissible */
.alert-dismissible {
    padding-right: 60px;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: currentColor;
    opacity: 0.7;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.alert-dismissible .btn-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Alert Headings */
.alert-heading {
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Alert Icons */
.alert::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    opacity: 0.3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.alert-primary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3C/svg%3E");
}

.alert-success::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3E%3C/svg%3E");
}

#add_payment_method #payment div.form-row, .woocommerce-cart #payment div.form-row, .woocommerce-checkout #payment div.form-row{
    padding: 1rem 0 !important;
}

.coupon-error-notice,
.mks-coupon-notice {
    display: block;
    width: 100%;
    margin: 12px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    text-align: right;
    line-height: 1.75;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    animation: mksCouponNoticeIn 0.25s ease-out;
}

.mks-coupon-notice__inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.mks-coupon-notice__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

.mks-coupon-notice__content {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.mks-coupon-notice--error {
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 55%, #fffafa 100%);
    border-color: #fecaca;
    color: #991b1b;
}

.mks-coupon-notice--error .mks-coupon-notice__icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
}

.mks-coupon-notice--warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 55%, #fffdf5 100%);
    border-color: #fde68a;
    color: #92400e;
}

.mks-coupon-notice--warning .mks-coupon-notice__icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
}

.mks-coupon-notice--info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 55%, #f8fbff 100%);
    border-color: #bfdbfe;
    color: #1e40af;
}

.mks-coupon-notice--info .mks-coupon-notice__icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.28);
}

@keyframes mksCouponNoticeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-archive-category-slider {
    margin-bottom: 16px;
    padding: 4px 0 0;
}

.mks-archive-category-slider .category-slider {
    margin-bottom: 0;
}

.mks-category-slider-modern {
    position: relative;
    padding: 0 52px;
}

.mks-category-slider-modern:has(.swiper-button-next.swiper-button-lock) {
    padding-left: 0;
    padding-right: 0;
}

.mks-category-slider-modern .swiper-slide {
    width: 100px;
    height: auto;
}

.mks-category-slider-modern .mks-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 6px 4px 10px;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.mks-category-slider-modern .mks-category-card:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.mks-category-slider-modern .category-slider-item {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e8eaed;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.mks-category-slider-modern .mks-category-card:hover .category-slider-item,
.mks-category-slider-modern .mks-category-card:focus-visible .category-slider-item {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mks-category-slider-modern .category-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: none;
    margin: 0;
    max-height: none;
    transition: transform 0.25s ease;
}

.mks-category-slider-modern .mks-category-card:hover .category-slider-item img,
.mks-category-slider-modern .mks-category-card:focus-visible .category-slider-item img {
    transform: scale(1.06);
}

.mks-category-slider-modern .category-slider-item-h3 {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    color: #424750;
    width: 100%;
    transition: color 0.2s ease;
}

.mks-category-marquee {
    width: 100%;
    max-width: 100px;
    overflow: hidden;
}

.mks-category-marquee-inner {
    display: inline-flex;
    white-space: nowrap;
}

.mks-category-marquee-text {
    display: inline-block;
    white-space: nowrap;
}

.mks-category-marquee:not(.is-overflow) .mks-category-marquee-inner {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.mks-category-marquee.is-overflow .mks-category-marquee-inner {
    animation: mks-category-marquee 3s ease-in-out infinite alternate;
    will-change: transform;
}

.mks-category-marquee.is-overflow:hover .mks-category-marquee-inner {
    animation-play-state: paused;
}

@keyframes mks-category-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(var(--mks-marquee-shift, 0));
    }
}

.mks-category-slider-modern .mks-category-card:hover .category-slider-item-h3,
.mks-category-slider-modern .mks-category-card:focus-visible .category-slider-item-h3 {
    color: #232933;
}

.mks-category-slider-modern .mks-category-slider-nav {
    top: calc(50% - 6px);
    margin-top: 0;
}

.mks-category-slider-modern .swiper-button-next {
    left: 0;
    right: auto;
}

.mks-category-slider-modern .swiper-button-prev {
    right: 0;
    left: auto;
}

.mks-category-slider-modern a:hover {
    text-decoration: none;
    color: inherit;
}

.woocommerce-billing-fields h3{
    display: none;
}

/* Modern Sub Categories Styles */

.mks-sub-categories-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}



.mks-sub-cats-modern {
    /* background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); */
    /* border: 1px solid #e2e8f0; */
    border-radius: 5px;
    padding: 6px 16px;
    margin: 4px 0;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mks-sub-cats-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mks-sub-cats-modern:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
    text-decoration: none;
    border-radius: 5px;
    border: none;
}

.mks-sub-cats-modern:hover::before {
    opacity: 1;
}

.mks-sub-cats-modern:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Modern Pagination Styles */

.main-products-items-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-products-items-pagination .page-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.main-products-items-pagination .page-numbers:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
    text-decoration: none;
}

.main-products-items-pagination .page-numbers:hover::before {
    opacity: 1;
}

.main-products-items-pagination .page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.main-products-items-pagination .page-numbers.current::before {
    opacity: 1;
}

.main-products-items-pagination .prev,
.main-products-items-pagination .next {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-products-items-pagination .prev:hover,
.main-products-items-pagination .next:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.main-products-items-pagination .prev:active,
.main-products-items-pagination .next:active,
.main-products-items-pagination .page-numbers:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.main-products-items-pagination .page-numbers.dots {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #9ca3af;
    font-weight: 400;
}

.main-products-items-pagination .page-numbers.dots:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
    color: #9ca3af;
}

/* Modern Archive Description Styles */
.mks-archive-description-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    animation: mksArchiveDescriptionSlideIn 0.6s ease-out;
}

@keyframes mksArchiveDescriptionSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-archive-description-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mks-archive-description-modern p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

.mks-archive-description-modern p:last-child {
    margin-bottom: 0;
}

.mks-archive-description-modern h1,
.mks-archive-description-modern h2,
.mks-archive-description-modern h3,
.mks-archive-description-modern h4,
.mks-archive-description-modern h5,
.mks-archive-description-modern h6 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 20px;
}

.mks-archive-description-modern h1:first-child,
.mks-archive-description-modern h2:first-child,
.mks-archive-description-modern h3:first-child,
.mks-archive-description-modern h4:first-child,
.mks-archive-description-modern h5:first-child,
.mks-archive-description-modern h6:first-child {
    margin-top: 0;
}

.mks-archive-description-modern ul,
.mks-archive-description-modern ol {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 20px;
}

.mks-archive-description-modern li {
    margin-bottom: 8px;
}

.mks-archive-description-modern a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.mks-archive-description-modern a:hover {
    color: #5a67d8;
    border-bottom-color: #667eea;
}

.mks-archive-description-modern table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mks-archive-description-modern th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 16px;
    font-weight: 600;
    text-align: right;
}

.mks-archive-description-modern td {
    background: #ffffff;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.mks-archive-description-modern tr:hover td {
    background: #f7fafc;
}

.mks-archive-description-modern blockquote {
    border-left: 4px solid #667eea;
    padding: 16px 20px;
    margin: 20px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    font-style: italic;
    color: #4a5568;
}

.mks-archive-description-modern code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    color: #667eea;
    font-size: 14px;
}

.mks-archive-description-modern pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 16px 0;
}

.mks-archive-description-modern pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Modern Product Tabs Styles */
.p-main-tab {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
}


.p-main-tab:hover::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

/* Modern Tab Navigation */
.p-main-tab .nav-item {
    position: relative;
    transition: all 0.3s ease;
}


/* Modern Tab Buttons */
.p-tabs-links {
    background: transparent !important;
    border: none !important;
    color: #6b7280 !important;
    font-weight: 500;
    font-size: 14px;
    padding: 16px 24px !important;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 60px;
}

.p-tabs-links::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 10px;
}

.p-tabs-links:hover {
    color: #374151 !important;
    background: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-1px);
}

.p-tabs-links:hover::before {
    width: 80%;
}

/* Active Tab State */
.p-tabs-links.active {
    color: #667eea !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    font-weight: 600;
}

.p-tabs-links.active::before {
    width: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.p-tabs-links.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Modern Tab Icons */
.tab-icons {
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.p-tabs-links:hover .tab-icons {
    opacity: 1;
    transform: scale(1.1);
}

.p-tabs-links.active .tab-icons {
    opacity: 1;
    color: #667eea;
}

/* Modern Tab Content */
.tab-content {
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
}

.tab-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.tab-content:hover::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

/* Modern Tab Panes */
.p-tabs-content {
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.p-tabs-content.fade {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.p-tabs-content.fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Limited Box */
.limited-box {
    background: #fff;
    border-radius: 10px;
    padding: 24px 24px 64px;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    line-height: 35px;
    text-align: justify;
    direction: rtl;
}

.limited-box:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Modern Product Tags */
.mks-pt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    margin: 4px;
    position: relative;
    overflow: hidden;
}

.mks-pt::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transition: left 0.5s ease;
}

.mks-pt:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.mks-pt:hover::before {
    left: 100%;
}

.mks-pt i {
    font-size: 12px;
    transition: all 0.3s ease;
}

.mks-pt:hover i {
    transform: scale(1.1);
}

/* Modern Loading State */
.p-main-tab.loading {
    opacity: 0.7;
    pointer-events: none;
}

.p-main-tab.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 10px;
    animation: spin 1s linear infinite;
}

/* Modern Success Animation */
.p-main-tab.success {
    animation: successPulse 0.6s ease;
}



/* Modern Comments Section Styles */
.spm-comments {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding: 24px;
    margin: 24px 0;
}


/* Modern Comments Title */
.spm-comments h3,
.spm-comments__title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spm-comments__title-icon {
    font-size: 1.125rem;
    color: #64748b;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.spm-comments h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 10px;
}

/* Modern Comment Items */
.spm-comment-item .mks-modal-content{

}


.spm-comment-item:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Modern Comment Avatar */
.spm-comment-item img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.spm-comment-item:hover img {
    border-color: rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

/* Modern Comment Content */
.sci-content {
    flex: 1;
    position: relative;
}

.sci-content div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}

.sci-content div:first-child span {
    font-weight: 600;
    color: #2d3748;
        font-size: 14px;
    transition: all 0.3s ease;
}

.spm-comment-item:hover .sci-content div:first-child span {
    color: #667eea;
}

/* Modern Comment Text */
.sci-content p {
    color: #4a5568;
        line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.spm-comment-item:hover .sci-content p {
    color: #2d3748;
}

/* Modern Child Comments */
.sci-child-content {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 12px 0;
    border-right: 3px solid #667eea;
    transition: all 0.3s ease;
}

.sci-child-content:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(4px);
}

.sci-child-content span {
    font-weight: 600;
    color: #667eea;
        font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

.sci-child-content span i {
    color: #10b981;
    margin-right: 4px;
    font-size: 12px;
}

.sci-child-content:hover span {
    color: #5a67d8;
}

/* Modern Comment Meta */
.sci-content span:last-child {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.spm-comment-item:hover .sci-content span:last-child {
    color: #6b7280;
}

/* Modern Answer Link */
.mks-spca {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
        font-size: 13px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.mks-spca:hover {
    color: #5a67d8;
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
}

.mks-spca i {
        font-size: 12px;
    transition: all 0.3s ease;
}

.mks-spca:hover i {
    transform: translateX(-2px);
}

/* Modern Collapse Animation */
.collapse {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


@keyframes commentSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Loading State */
.spm-comments.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spm-comments.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 10px;
    animation: spin 1s linear infinite;
}

/* Modern Success Animation */
.spm-comments.success {
    animation: successPulse 0.6s ease;
}


.spm-comment-item:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.mks-spca:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}


/* Modern Comment Form Styles */
.comment-form {
    overflow: hidden;
    backdrop-filter: blur(10px);
    position: relative;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}


/* Modern Form Description */
.comments-txt {
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    padding: 8px 12px;
    background: #f1f1f1;
    border-radius: 10px;
    border-right: 3px solid #667eea;
    transition: all 0.3s ease;
}


/* Modern Form Groups */
.form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group label .text-danger {
    color: #e53e3e;
    font-weight: 700;
}

/* Modern Form Controls */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.form-control::placeholder {
    color: #9ca3af;
    transition: all 0.3s ease;
}

.form-control:focus::placeholder {
    color: #6b7280;
}

/* Modern Textarea */
.i-comment {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

.i-comment:focus {
    min-height: 140px;
}

/* Modern Submit Button */
.btn-submit-comment {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit-comment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transition: left 0.6s ease;
}

.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-submit-comment:hover::before {
    left: 100%;
}

.btn-submit-comment:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Modern Star Rating System */
.sr-custom {
    align-items: center;
    margin-top: 16px;
}

.cr-s-input {
    display: none;
}

.cr-s-label {
    cursor: pointer;
    font-size: 20px;
    color: #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.cr-s-label:hover,
.cr-s-label:hover ~ .cr-s-label {
    color: #fbbf24;
    transform: scale(1.1);
}

.cr-s-label i {
    transition: all 0.3s ease;
}

.cr-s-label:hover i {
    transform: rotate(5deg);
}

.cr-s-input:checked ~ .cr-s-label,
.cr-s-input:checked ~ .cr-s-label ~ .cr-s-label {
    color: #f59e0b;
}

.cr-s-input:checked ~ .cr-s-label i {
    animation: starPop 0.3s ease;
}

@keyframes starPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Modern Login Required Section */
.comment-form .text-center {
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.comment-form:hover .text-center {
    
}

.comment-form .text-center i {
    color: #667eea;
    transition: all 0.3s ease;
}

.comment-form:hover .text-center i {
    transform: scale(1.1);
    color: #5a67d8;
}

.comment-form .text-center p {
    color: #2d3748;
    transition: all 0.3s ease;
}

.comment-form:hover .text-center p {
    color: #1a202c;
}

.comment-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 35px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.comment-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transition: left 0.6s ease;
}

.comment-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.comment-form .btn-primary:hover::before {
    left: 100%;
}

.comment-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Modern Loading State */
.comment-form.loading {
    opacity: 0.7;
    pointer-events: none;
}

.comment-form.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 10px;
    animation: spin 1s linear infinite;
    z-index: 3;
}

/* Modern Success Animation */
.comment-form.success {
    animation: successPulse 0.6s ease;
}

.form-control:focus-visible {
    outline: 2px solid #667eea;
}

.btn-submit-comment:focus-visible {
    outline: 2px solid #667eea;
}

.cr-s-label:focus-visible {
    outline: 2px solid #667eea;
}



.single-page-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
}

.single-page-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(102, 126, 234, 0.12);
}

.spc-content {
    color: #2d3748;
    line-height: 1.8;
    font-size: 1.1rem;
}

.spc-content h1,
.spc-content h2,
.spc-content h3,
.spc-content h4,
.spc-content h5,
.spc-content h6 {
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.spc-content h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spc-content h2 {
    font-size: 2rem;
    color: #4a5568;
}

.spc-content h3 {
    font-size: 1.75rem;
    color: #2d3748;
}

.spc-content p {
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.spc-content a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.spc-content a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.spc-content img {
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
}

.spc-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.spc-content blockquote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 6px solid #ffffff;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.spc-content blockquote p {
    color: white;
    margin: 0;
    font-style: italic;
    font-size: 1.1rem;
}

.spc-content table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: none;
    margin: 2rem 0;
}

.spc-content table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border: none;
}

.spc-content table td {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.spc-content table tr:hover td {
    background-color: #f7fafc;
    transform: scale(1.01);
}

.spc-content ul,
.spc-content ol {
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.spc-content li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.spc-content code {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.spc-content pre {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: #e2e8f0;
    padding: 2rem;
    border-radius: 10px;
    overflow-x: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin: 2rem 0;
}

/* Modern Login Page Styles */
.mks-mal {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.mobile-login-main {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 35px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
}

.mobile-login-main:hover {
    box-shadow: 0 24px 64px rgba(102, 126, 234, 0.12);
}

.mks-login-logo {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.mks-login-logo:hover {
    transform: scale(1.05);
}

.m-login-logo {
    max-width: 200px;
    height: auto;
}

.mlm-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mks-color-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.mml-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mml-input,
.mml-code-input {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    padding: 1rem 1.25rem !important;
    font-size: 1rem;
    color: #4a5568;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mml-input:focus,
.mml-code-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.mml-input::placeholder,
.mml-code-input::placeholder {
    color: #a0aec0;
}

.login-buttons{}
.login-buttons a{}

.login-help-text{
    text-align: center;
    font-size: 14px;
    line-height: 28px;
    margin: 0;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 100;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.btn-login:active {
    transform: translateY(0);
}

.mobile-login-spinner {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
}

#mks-login-countdown {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    color: #4a5568;
    font-size: 0.9rem;
}

#mks-login-countdown span {
    color: #2d3748;
}

#mks-login-countdown b {
    color: #667eea;
    font-weight: 700;
}

.mks-cart-price {}
.mks-cart-price .price {
    margin: 0 !important;
}

.mks-cart-price .price del {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 400;
    color: #a0aec0;
    text-decoration: line-through !important;
}

.mks-cart-price .price ins {
    font-size: 16px;
    font-weight: 500;
    color: #7352ac;
}

.mks-cart-price .price del > span > bdi > span{
    font-size: 11px;
}
.mks-cart-price .price ins > span > bdi > span{
    font-size: 13px;
}

.mks-cart-line-total .price ins {
    font-size: 16px;
    font-weight: 500;
    color: #7352ac;
}

.mks-cart-line-total .price del {
    font-size: 14px;
    font-weight: 400;
    color: #a0aec0;
    text-decoration: line-through !important;
}

.cart-quantity-info .spm-simple-qty {
    padding: 0;
    justify-content: center !important;
    width: 100%;
}

/* ── Cart quantity stepper ── */
.mks-cart-items-container .product-quantity {
    text-align: center;
    vertical-align: middle;
}

.mks-cart-items-container .mks-cart-qty {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100%;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.mks-cart-items-container .mks-cart-qty .spm-simple-qty {
    display: inline-flex;
    align-items: stretch;
    direction: ltr;
    width: auto !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    padding: 0;
    min-height: 42px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mks-cart-items-container .mks-cart-qty .spm-simple-qty:focus-within {
    border-color: rgba(102, 126, 234, 0.45);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mks-cart-items-container .mks-cart-qty .spm-decrement-cart,
.mks-cart-items-container .mks-cart-qty .spm-increment-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.mks-cart-items-container .mks-cart-qty .spm-decrement-cart {
    border-right: 1px solid #e2e8f0;
}

.mks-cart-items-container .mks-cart-qty .spm-increment-cart {
    border-left: 1px solid #e2e8f0;
}

.mks-cart-items-container .mks-cart-qty .spm-decrement-cart:hover {
    background: #fff1f2;
    color: #e11d48;
}

.mks-cart-items-container .mks-cart-qty .spm-increment-cart:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mks-cart-items-container .mks-cart-qty .spm-decrement-cart:active,
.mks-cart-items-container .mks-cart-qty .spm-increment-cart:active {
    transform: scale(0.96);
}

.mks-cart-items-container .mks-cart-qty .spm-decrement-cart i,
.mks-cart-items-container .mks-cart-qty .spm-increment-cart i {
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}

.mks-cart-items-container .mks-cart-qty .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    float: none;
    min-width: 52px;
}

.mks-cart-items-container .mks-cart-qty .quantity input.qty {
    width: 52px !important;
    height: 42px !important;
    min-height: 42px;
    padding: 0 6px !important;
    margin: 0;
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #667eea !important;
    text-align: center !important;
    box-shadow: none !important;
    appearance: textfield;
    -moz-appearance: textfield;
}

.mks-cart-items-container .mks-cart-qty .quantity input.qty:focus {
    outline: none;
    box-shadow: none !important;
}

.mks-cart-items-container .mobile-cart-item-b-section .mks-cart-qty .spm-simple-qty {
    min-height: 38px;
}

.mks-cart-items-container .mobile-cart-item-b-section .mks-cart-qty .spm-decrement-cart,
.mks-cart-items-container .mobile-cart-item-b-section .mks-cart-qty .spm-increment-cart {
    width: 38px;
    min-width: 38px;
}

.mks-cart-items-container .mobile-cart-item-b-section .mks-cart-qty .quantity input.qty {
    width: 46px !important;
    height: 38px !important;
    min-height: 38px;
    font-size: 15px !important;
}

/* ── Cart remove button ── */
.mks-cart-items-container .product-remove {
    width: 52px;
    text-align: center;
    vertical-align: middle;
}

.mks-cart-items-container .mks-cart-item-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #94a3b8 !important;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.mks-cart-items-container .mks-cart-item-remove i {
    font-size: 14px;
    pointer-events: none;
}

.mks-cart-items-container .mks-cart-item-remove:hover {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48 !important;
    transform: scale(1.05);
}

.mks-cart-items-container .mks-cart-item-remove:active {
    transform: scale(0.96);
}

.mks-cart-items-container .mobile-cart-item-b-section .mks-cart-item-remove {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    margin: auto 0;
}

.mks-cart-items-container .mobile-cart-item-b-section .mks-cart-item-remove i {
    font-size: 15px;
}

.mks-cart-items-container .mobile-cart-item-b-section .mks-cart-item-remove:hover {
    background: #fff1f2;
    border-color: #fecdd3;
}

.mks-sale-cart-notification{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: IranYekan, IRANSans, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #e6123d;
    background: linear-gradient(90deg, #fde8ed 0%, #fce0e8 45%, #fde8ed 100%);
    border: none;
    border-radius: 50px;
    padding: 4px 12px;
    width: max-content;
    margin: 8px 0 0;
    letter-spacing: 0.3px;
    line-height: 1.4;
}
.mks-sale-cart-notification i{
    font-size: 11px;
    color: #e6123d;
}

/* ── Cart cross-sells & bottom sliders ── */
.mks-cart-cross-sells {
    margin-top: 8px;
    padding-top: 8px;
}

.mks-cart-cross-sell-block + .mks-cart-cross-sell-block,
.mks-cart-cross-sell-block + .container-fluid,
.mks-cart-cross-sells > .container-fluid + .mks-cart-cross-sell-block {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e8edf3;
}

.mks-cart-cross-sell-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 0 4px;
}

.mks-cart-cross-sell-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.12));
    color: var(--mks-color-primary, #667eea);
    font-size: 18px;
    flex-shrink: 0;
}

.mks-cart-cross-sell-header__icon i {
    --fa-primary-color: var(--mks-color-primary, #667eea);
    --fa-secondary-color: var(--mks-color-primary, #667eea);
}

.mks-cart-cross-sell-header__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
}

.mks-cart-cross-sells .mks-cart-cross-sell-slider {
    position: relative;
    padding: 4px 2px 8px;
    margin-bottom: 0;
}

.mks-cart-cross-sells .mks-cart-cross-sell-slider .swiper-slide {
    height: auto;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 12px;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    text-align: right;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card::before {
    display: none;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card:hover {
    border-color: rgba(102, 126, 234, 0.28);
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__badge {
    top: 8px;
    right: 8px;
    height: 34px;
    width: 34px;
    line-height: 34px;
    font-size: 11px;
    border-radius: 8px;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__media {
    display: block;
    margin-bottom: 10px;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__media img {
    width: 100% !important;
    height: 150px !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8fafc;
    transition: transform 0.25s ease;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card:hover .mks-cart-cross-sell-card__media img {
    transform: scale(1.03);
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__title-link {
    text-decoration: none;
    color: inherit;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card .product-slider-item-title {
    height: auto;
    min-height: 44px;
    max-height: 44px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.55;
    text-align: right;
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card:hover .product-slider-item-title {
    color: #667eea;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #e8edf3;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__price {
    flex: 1;
    min-width: 0;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__price .price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: right;
    margin: 0;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__price .price del {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__price .price ins {
    font-size: 15px;
    font-weight: 700;
    color: #667eea;
    margin: 0;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__price .mks-toman-symbol {
    width: 14px;
    height: auto;
    vertical-align: middle;
    opacity: 0.85;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__atc-wrap {
    flex-shrink: 0;
    width: auto;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__atc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    gap: 0;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    color: var(--mks-color-primary, #7352ac);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__atc-text {
    display: none;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__atc i {
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
    color: inherit;
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__atc:hover {
    background: var(--mks-color-primary, #7352ac);
    color: #fff;
    opacity: 1;
    transform: scale(1.05);
    box-shadow: var(--mks-shadow, 0 4px 12px rgba(102, 126, 234, 0.25));
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__atc:active {
    transform: scale(1);
}

.mks-cart-cross-sells .mks-cart-cross-sell-card__atc-wrap .spinner-border {
    width: 1.1rem;
    height: 1.1rem;
    border-width: 2px;
}

.mks-cart-cross-sells .mks-cart-cross-sell-slider__nav {
    top: 42%;
    width: 38px;
    height: 38px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mks-cart-cross-sells .mks-cart-cross-sell-slider__nav:hover {
    border-color: rgba(102, 126, 234, 0.35);
    background: #fff;
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.12);
}

.mks-cart-cross-sells .mks-cart-cross-sell-slider__nav::after {
    font-size: 16px;
    color: #475569;
}

.mks-cart-cross-sells .swiper-button-next.mks-cart-cross-sell-slider__nav {
    left: 4px;
    right: auto;
}

.mks-cart-cross-sells .swiper-button-prev.mks-cart-cross-sell-slider__nav {
    right: 4px;
    left: auto;
}

.mks-cart-cross-sells > .container-fluid .sections-title {
    margin-bottom: 18px;
    font-size: 17px;
}

.mks-cart-cross-sells > .container-fluid .sections-title::before {
    display: none;
}

.mks-cart-cross-sells > .container-fluid .sections-title b {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

/* Product page – related / upsell slider sections */
.mks-psc:not(.mks-cart-cross-sells) {
    margin-top: 36px;
    padding-top: 28px;
}

.mks-psc:not(.mks-cart-cross-sells) .mks-psc-section {
    margin-bottom: 24px;
}

.mks-psc:not(.mks-cart-cross-sells) .mks-psc-section:last-of-type {
    margin-bottom: 0;
}

.mks-psc:not(.mks-cart-cross-sells) .mks-pb-section-header {
    margin-bottom: 16px;
}

.mks-psc:not(.mks-cart-cross-sells) .sections-title::before {
    display: none;
}

.mks-psc:not(.mks-cart-cross-sells) .sections-title b {
    font-size: 18px;
}

.mks-psc:not(.mks-cart-cross-sells) .spm-comments {
    margin-top: 32px;
}

.mks-cart-cross-sells > .container-fluid + .product-slider .product-slider-item {
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.woocommerce-variation-description{
    padding: 10px;
    border-radius: 11px;
    margin: 10px 0;
    font-size: 14px;
    color: #383737;
    font-weight: 100;
    border-right: 4px solid #9b9b9b;
    background-color: #f7f7f7;
}
.woocommerce-variation-description p{
    margin: 0;
}

.cart-blink,
.mobile-cart-count:not(.mobile-cart-count--empty) {
    animation: cartPulse 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes cartPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.08);
        filter: brightness(1.15);
        box-shadow: 0 0 6px 2px rgba(102, 126, 234, 0.25);
    }
}


.product_list_widget .psi-gc{
    display: none;
}

/* ========================================
   Product Navigation Bar & Sections
   ======================================== */

/* Fixed Navigation Bar */
.mks-product-navbar {
    position: fixed;
    top: var(--mks-product-navbar-top, 133px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(115, 82, 172, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    /* transition: all 0.3s ease; */
    transform: translateY(-100%);
    opacity: 0;
}
.mks-product-navbar li{
    padding: 8px 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.mks-product-navbar.show {
    transform: translateY(0);
    opacity: 1;
}

.mks-product-navbar .container {
    padding: 0 5px;
}

.mks-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    gap: 20px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.mks-nav-link {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    padding: 0 5px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    border: 2px solid transparent;
    flex-shrink: 0;
    min-width: max-content;
}

.mks-nav-link:hover {
    color: var(--mks-color-primary);
    background: rgba(115, 82, 172, 0.1);
    transform: translateY(-2px);
}

.mks-nav-link.active {
    color: white !important;
    background: var(--mks-primary-gradient);
    box-shadow: var(--mks-shadow);
    transform: translateY(-2px);
}

.mks-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: white;
    border-radius: 10px;
}

.mks-nav-link.active:hover {
    transform: translateY(-2px);
    box-shadow: var(--mks-shadow-hover);
}

/* Product Sections */
.mks-product-sections {
    padding-top: 28px;
}

.mks-product-navbar.show + .mks-product-sections {
    padding-top: 92px;
}

.mks-product-sections [id^="p-"] {
    scroll-margin-top: var(--mks-product-scroll-margin, 170px);
}

.mks-section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mks-section:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.section-header {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--mks-primary-gradient);
    border-radius: 10px;
}

.section-title {
    font-size: 16px;
    font-weight: bolder;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 10px;
    margin-bottom: 15px;
}

.section-title i {
    color: var(--mks-color-primary);
    font-size: 20px;
}

.mks-description-tags {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed rgba(115, 82, 172, 0.18);
}

.mks-description-tags-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #5f4f8b;
    font-size: 15px;
    font-weight: 800;
}

.mks-description-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.section-content {
    line-height: 1.6;
    color: #555;
}
.mks-comments-scroll{
    
}
.mks-comments-scroll.swiper .swiper-wrapper{
    align-items: stretch;
}
.mks-comments-scroll .swiper-slide{
    height: auto;
    display: flex;
    box-sizing: border-box;
}
.mks-comments-scroll .swiper-slide > .spm-comment-item,
.mks-comments-scroll .swiper-slide > .mks-comments-load-more-card{
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    align-self: stretch;
}
.mks-comments-scroll .spm-comment-item {
    white-space: normal;
    padding: 0;
    margin: 0;
    cursor: default;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.mks-comments-scroll .spm-comment-item .sci-content{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 16px 18px 14px;
    box-sizing: border-box;
}
.mks-comments-scroll .spm-comment-item .sci-content .mks-comment-text-wrapper{
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.mks-comments-scroll .spm-comment-item .sci-content .mks-comment-text-wrapper p,
.mks-comments-scroll .spm-comment-item .sci-content p{
    max-height: 100%;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.75;
}
.mks-comments-scroll .mks-comment-footer{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    flex-shrink: 0;
}
.mks-comments-scroll .mks-comment-read-more{
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--mks-color-primary, #5b6cf5) !important;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}
.mks-comments-scroll .mks-comment-read-more i{
    font-size: 11px;
    opacity: 0.85;
}
.mks-comments-scroll .mks-comment-read-more--reply{
    color: #0d9488 !important;
}
.mks-comments-scroll .mks-comment-read-more--reply:hover{
    color: #0f766e !important;
    background: rgba(13, 148, 136, 0.08);
}
.mks-comments-scroll .mks-comment-read-more:hover{
    color: var(--mks-color-primary, #5b6cf5);
    text-decoration: none;
    background: rgba(91, 108, 245, 0.08);
    border-radius: 6px;
}
#mks-comment-full-modal .mks-comment-full-body{
    max-height: 70vh;
    overflow-y: auto;
}
#mks-comment-full-modal .mks-comment-full-text {
    margin-bottom: 0;
    line-height: 1.6;
    color: #334155;
}
#mks-comment-full-modal .mks-comment-full-replies {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
#mks-comment-full-modal .mks-comment-full-replies-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mks-color-primary, #5b6cf5);
    margin-bottom: 0.75rem;
}
#mks-comment-full-modal .mks-comment-full-reply {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-right: 3px solid var(--mks-color-primary, #5b6cf5);
}
#mks-comment-full-modal .mks-comment-full-reply:last-child {
    margin-bottom: 0;
}
#mks-comment-full-modal .mks-comment-full-reply-meta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    display: block;
    margin-bottom: 6px;
}
#mks-comment-full-modal .mks-comment-full-reply-meta i {
    color: #10b981;
    margin-left: 4px;
}
#mks-comment-full-modal .mks-comment-full-reply-content {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #334155;
}
.mks-comments-scroll .spm-comment-item .sci-child-content{
    white-space: normal;
}

.mks-comments-scroll .spm-comment-item img{
    display: none;
}

.mks-comments-scroll .spm-comment-item .sci-content div:first-child{
    display: block;
}

.mks-comments-scroll .spm-comment-item .sci-content div:first-child .spt-rating{
    margin-top: 10px;
}

/* ----- Modern comment card (product swiper) ----- */
.mks-comments-scroll .spm-comment-item.mks-comment-card {
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border-radius: 18px !important;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--mks-color-primary, #5b6cf5) 0%, #764ba2 100%);
    opacity: 0.65;
    border-radius: 0 18px 18px 0;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card:hover {
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
    border-color: rgba(91, 108, 245, 0.28);
    transform: translateY(-2px);
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .sci-content {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-header {
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    margin-bottom: 14px !important;
    flex-shrink: 0;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-avatar-initial {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mks-color-primary, #5b6cf5) 0%, #764ba2 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-meta {
    flex: 1;
    min-width: 0;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-author {
    display: block;
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
    margin-bottom: 4px;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .spt-rating.mks-comment-rating {
    margin: 0;
    width: 5.4em;
    height: 1em;
    font-size: 20px;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .spt-rating.mks-comment-rating:before {
    color: #e2e8f0;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .spt-rating.mks-comment-rating span:before {
    color: #f59e0b;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-text-wrapper {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-text-wrapper p,
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-text-preview {
    color: #334155;
    line-height: 1.75;
    font-size: 14px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-date {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 20px;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-read-more {
    font-size: 11px;
    font-weight: 600;
    color: var(--mks-color-primary, #5b6cf5);
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-read-more--reply {
    color: #0d9488;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-read-more:hover {
    color: #4338ca;
    background: rgba(91, 108, 245, 0.08);
    text-decoration: none;
}
.mks-comments-scroll .spm-comment-item.mks-comment-card .mks-comment-read-more--reply:hover {
    color: #0f766e;
    background: rgba(13, 148, 136, 0.08);
}

/* Load more card */
.mks-comments-scroll .mks-comments-load-more-card {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px dashed rgba(91, 108, 245, 0.35);
    border-radius: 18px;
    padding: 24px 20px;
    margin: 0;
    height: 280px;
    min-height: 280px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mks-comments-scroll .mks-comments-load-more-card:hover {
    background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: rgba(91, 108, 245, 0.5);
    box-shadow: 0 4px 20px rgba(91, 108, 245, 0.12);
}
.mks-comments-scroll .mks-comments-load-more-card .mks-comments-scroll-more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mks-color-primary, #5b6cf5);
    background: #fff;
    border: 2px solid var(--mks-color-primary, #5b6cf5);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.mks-comments-scroll .mks-comments-load-more-card .mks-comments-scroll-more-link:hover {
    color: #fff;
    background: var(--mks-color-primary, #5b6cf5);
    text-decoration: none;
    transform: translateY(-2px);
}
.mks-comments-scroll .mks-comments-load-more-card .mks-comments-scroll-more-link i {
    margin: 0;
    font-size: 14px;
}

.mks-comments-scroll-more{
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 16px 0 16px 16px;
    border-radius: 10px;
    padding: 0 35px;
}
.mks-comments-scroll-more a{
    display: flex;
    justify-content: center;
    /* font-weight: bolder; */
    border: solid 1px #b4b4b4;
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
}
.mks-comments-scroll-more a span{
    margin: auto 0;
    display: block;
    white-space: nowrap;
}
.mks-comments-scroll-more a i{
    margin: auto 10px auto 0;
}

.ai-comments-summary-title{
    color: var(--mks-color-primary) !important;
}
.ai-comments-summary-title svg{
    display: inline-block;
    width: 30px;
    height: 30px;
}
.mks-comments-scroll .spm-comment-item:not(.mks-comment-card) .sci-content {
    height: 100%;
    min-height: 0;
}
.mks-ai-comments-summary-text{
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    height: auto !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.mks-ai-comments-summary-button-container{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: auto;
}
.mks-ai-comments-summary-button{
    display: block;
    width: 100%;
    border: none;
    border-radius: 10px;
    background-image: var(--mks-primary-gradient);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    margin: 0;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.mks-ai-comments-summary-button:hover{
    opacity: 0.92;
    transform: translateY(-1px);
}
.mks-generated-by-ai{
    display: block;
    width: 100%;
    font-size: 10px !important;
    text-align: center;
    color: #94a3b8;
    line-height: 1.4;
}

.woocommerce-product-gallery__image img{
    border-radius: 10px;
}
.flex-control-thumbs{
    list-style: none;
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin: 30px 0 0 0;
    overflow-x: auto;
    padding: 10px;
}
.flex-control-thumbs li{
    margin-left: 10px;
}
.flex-control-thumbs li img{
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}
.mks-mobile-gallery-hint{
    display: none;
}

@media (max-width: 767.98px) {
    .flex-control-thumbs{
        display: none;
    }
    .spm-gallery .flex-viewport{
        touch-action: pan-y pinch-zoom;
        -webkit-user-select: none;
        user-select: none;
    }
    .spm-gallery .woocommerce-product-gallery__image a{
        touch-action: manipulation;
    }
    .mks-mobile-gallery-hint{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 16px;
    }
    .mks-mobile-gallery-hint .mks-mobile-gallery-dots{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 14px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08),
                    0 1px 3px rgba(0, 0, 0, 0.04),
                    inset 0 1px 0 rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }
    .mks-mobile-gallery-hint .mks-mobile-gallery-dots span{
        width: 6px;
        height: 6px;
        min-width: 6px;
        border-radius: 100px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.22) !important;
        cursor: pointer;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }
    .mks-mobile-gallery-hint .mks-mobile-gallery-dots span::before{
        content: '';
        position: absolute;
        inset: -12px;
    }
    .mks-mobile-gallery-hint .mks-mobile-gallery-dots span:hover{
        background: rgba(0, 0, 0, 0.35);
    }
    .mks-mobile-gallery-hint .mks-mobile-gallery-dots span.mks-gallery-dot-active{
        width: 18px;
        min-width: 18px;
        background: gray;
        box-shadow: 0 2px 8px rgba(91, 108, 245, 0.4);
    }
    .mks-mobile-gallery-hint .mks-mobile-gallery-dots span:not(.mks-gallery-dot-active){
        opacity: 0.85;
    }
    /* Product comments - smaller text on mobile */
    .mks-comments-scroll .spm-comment-item .sci-content div:first-child span{
        font-size: 12px !important;
    }
    .mks-comments-scroll .spm-comment-item .sci-content p,
    .mks-comments-scroll .spm-comment-item .sci-content .mks-comment-text-preview{
        font-size: 11px !important;
        line-height: 1.65;
        -webkit-line-clamp: 4;
    }
    .mks-comments-scroll .spm-comment-item {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    .mks-comments-scroll .spm-comment-item.mks-comment-card {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
    .mks-comments-scroll .mks-comments-load-more-card {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    .mks-comments-scroll .spm-comment-item .sci-content{
        height: 100%;
        min-height: 0;
        padding: 14px 14px 12px;
    }
    .mks-comments-scroll .spm-comment-item .sci-content .mks-comment-text-wrapper p{
        max-height: 100%;
    }
    .mks-comments-scroll .mks-comment-read-more{
        font-size: 11px !important;
    }
    .mks-comments-scroll .spm-comment-item .sci-content .spt-rating,
    .mks-comments-scroll .spm-comment-item .sci-content .spt-rating span{
        font-size: 14px !important;
    }
    .mks-comments-scroll .mks-spca-date,
    .mks-comments-scroll .mks-spca-date span{
        font-size: 10px !important;
    }
}
/* overridden at end of file */
.woocommerce-product-gallery__wrapper{
    text-align: center;
    max-height: max-content !important;
}
.mks-atc-icon{
    font-size: 80px;
    margin: 25px auto;
    display: block;
    text-align: center;
    color: var(--mks-color-primary);
}

.mks-atc-text_1{
    font-weight: 600;
    font-size: 20px;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.mks-atc-text_2{
    font-size: 15px;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.mks-atc-continue-shopping{
    display: block;
    width: 100%;
    padding: 5px 25px;
    border: solid 1px #727272 !important;
    color: #727272;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    margin: 15px auto;
    cursor: pointer;
}

.mks-maac-link {
    background: var(--mks-primary-gradient);
    color: #fff;
    text-align: center;
    padding: 5px 25px;
    border-radius: 10px;
    display: block;
    width: 100%;
    margin: 15px auto;
    font-size: 16px;
    &:hover{
        color: #fff;
    }
}

#exampleModalOriginal .modal-body{
    text-align: center;
}

/* My Account Page Styles */
.main-page-newsletters {
    display: none
}


.mks-account-container {
    padding: 30px 0;
}

.mks-account-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.mks-account-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mks-account-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(-50px) translateY(-50px); }
    100% { transform: translateX(50px) translateY(50px); }
}

.mks-account-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.mks-account-header p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.mks-content-area {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    overflow: hidden;
    padding: 20px 20px;
}

.cp-content {
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.cp-content h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.cp-content .woocommerce-MyAccount-content {
    background: #f8f9ff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e8ecff;
}

.woocommerce-MyAccount-content table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.woocommerce-MyAccount-content table th {
    background: #667eea;
    color: white;
    font-weight: 600;
    padding: 15px;
    border: none;
}

.woocommerce-MyAccount-content table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-content table tr:last-child td {
    border-bottom: none;
}

.woocommerce-MyAccount-content .button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.woocommerce-MyAccount-content .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.woocommerce-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.woocommerce-form .form-row {
    margin-bottom: 20px;
}

.woocommerce-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.woocommerce-form input[type="text"],
.woocommerce-form input[type="email"],
.woocommerce-form input[type="password"],
.woocommerce-form select,
.woocommerce-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8ecff;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9ff;
}

.woocommerce-form input:focus,
.woocommerce-form select:focus,
.woocommerce-form textarea:focus {
    border-color: #667eea;
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 15px 45px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.woocommerce-message {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.woocommerce-error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.woocommerce-info {
    background: #d1ecf1;
    border: solid 2px #17a2b8 !important;
    color: #0c5460 !important;
}

/* Mobile Responsive for My Account */
@media (max-width: 768px) {
    .mks-account-container {
        padding: 0;
    }
    
    .mks-account-header {
        padding: 30px 20px;
    }
    
    .mks-account-header h1 {
        font-size: 24px;
    }
    
    .cp-content {
        padding: 0px;
    }
    
    .woocommerce-form {
        padding: 20px;
    }
}

/* Dashboard Welcome Card */
.mks-welcome-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mks-welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 15s infinite linear reverse;
}

.mks-welcome-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.mks-welcome-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

/* My Account Navigation Styles – legacy placeholders (overridden below) */
.mks-logout-item {
}



/* Mobile Navigation Styles */
.mks-mobile-nav {
    background: transparent;
    padding: 12px;
    margin-bottom: 16px;
}

.mks-mobile-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.mks-mobile-grid__item.cmp-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 14px;
    text-decoration: none;
    color: #3d4663;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eef0f6;
    animation: mksMobileGridIn 0.4s ease both;
}

.mks-mobile-grid__item:nth-child(1) { animation-delay: 0.04s; }
.mks-mobile-grid__item:nth-child(2) { animation-delay: 0.08s; }
.mks-mobile-grid__item:nth-child(3) { animation-delay: 0.12s; }
.mks-mobile-grid__item:nth-child(4) { animation-delay: 0.16s; }
.mks-mobile-grid__item:nth-child(5) { animation-delay: 0.2s; }
.mks-mobile-grid__item:nth-child(6) { animation-delay: 0.24s; }

@keyframes mksMobileGridIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.mks-mobile-grid__item.cmp-items:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    color: var(--mks-color-primary);
}

.mks-mobile-grid__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.2s ease;
}

.mks-mobile-grid__item:hover .mks-mobile-grid__icon {
    transform: scale(1.06);
}

.mks-mobile-grid__icon--dashboard { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.mks-mobile-grid__icon--seller { background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%); color: #744210; }
.mks-mobile-grid__icon--orders { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.mks-mobile-grid__icon--edit { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.mks-mobile-grid__icon--favorites { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%); }
.mks-mobile-grid__icon--logout { background: linear-gradient(135deg, #fc5c7d 0%, #e74c3c 100%); }

.mks-mobile-grid__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: #e53e3e;
    border: 2px solid #f5576c;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mks-mobile-grid__label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    line-height: 1.4;
}

.mks-mobile-grid__arrow {
    font-size: 13px;
    color: #cbd5e0;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mks-mobile-grid__item:hover .mks-mobile-grid__arrow {
    color: var(--mks-color-primary);
    transform: translateX(-3px);
}

.mks-mobile-grid__item--logout .mks-mobile-grid__label {
    color: #c53030;
}

.mks-mobile-grid__item--logout:hover {
    color: #c53030;
}

.cmp-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9e9e9;
}

.cmp-items:hover {
    transform: translateY(-3px);
}

.cmp-items i {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.cmp-items i strong {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-items span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.cmp-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px 9px 12px;
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 14px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 20px;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.cmp-back:hover {
    background: #fff;
    color: #1e293b;
    border-color: color-mix(in srgb, var(--mks-color-primary, #7352ac) 22%, #eef0f6);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--mks-color-primary, #7352ac) 12%, transparent);
}

.cmp-back i {
    margin: 0;
    font-size: 15px;
    line-height: 1;
}

/* My Address Page Styles */
.mks-address-container {
   
}

.mks-address-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.mks-address-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

.mks-address-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.mks-address-description {
    padding: 20px 10px 10px;
    margin: 0;
    color: #666;
    font-size: 15px;
}

.mks-address-description p{
    margin: 0;
}

.mks-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.mks-address-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    animation: slideInUp 0.5s ease-out;
}

.mks-address-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.mks-address-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.mks-address-card.billing::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.mks-address-card.shipping::before {
    background: linear-gradient(90deg, #56ab2f, #a8e6cf);
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-Address-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-Address-title h3::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 10px;
    background: #667eea;
}

.mks-address-card.shipping .woocommerce-Address-title h3::before {
    background: #56ab2f;
}

.woocommerce-Address-title .edit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.woocommerce-Address-title .edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: white;
}

.mks-address-card.shipping .woocommerce-Address-title .edit {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.mks-address-card.shipping .woocommerce-Address-title .edit:hover {
    box-shadow: 0 5px 15px rgba(86, 171, 47, 0.3);
}

.woocommerce-Address-title .edit::before {
    content: '\f044';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

address {
    font-style: normal;
    line-height: 1.6;
    color: #555;
    font-size: 14px;
    background: #f8f9ff;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e8ecff;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.mks-address-card.shipping address {
    background: #f0f8f0;
    border-color: #d4edda;
}

address:empty::before {
    content: 'آدرس هنوز تنظیم نشده است.';
    color: #999;
    font-style: italic;
}

/* Empty State Styling */
.mks-empty-address {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.mks-empty-address i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

/* Animation for address cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Edit Account Form Styles */
.mks-edit-account-container {
    
}

.mks-edit-account-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.mks-edit-account-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

.mks-edit-account-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.woocommerce-EditAccountForm {
    background: transparent;
}

.form-section {
    animation: slideInUp 0.5s ease-out;
}



.form-section-title {
    color: #667eea;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 10px;
    background: #667eea;
}

.password-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-color: rgba(255, 65, 108, 0.1);
}

.password-section::before {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
}

.password-section .form-section-title {
    color: #ff416c;
}

.password-section .form-section-title::before {
    background: #ff416c;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group .required {
    color: #ff416c;
    font-weight: bold;
    display: inline;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-section .form-control:focus {
    border-color: #ff416c;
    box-shadow: 0 0 0 3px rgba(255, 65, 108, 0.1);
}

.woocommerce-Button {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(86, 171, 47, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px auto;
    display: block;
}

.woocommerce-Button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(86, 171, 47, 0.4);
    color: white;
}

.woocommerce-Button:active {
    transform: translateY(-1px);
}

/* Input Icons */
.form-group.has-icon {
    position: relative;
}

.form-group.has-icon .form-control {
    padding-left: 45px;
}

.form-group.display-name .mks-field-hint--box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0 0;
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.65;
    color: #6b7280;
    background: #f7f8fc;
    border: 1px solid #e6eaf3;
    border-radius: 8px;
}

.form-group.display-name .mks-field-hint--box i {
    color: #667eea;
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
    opacity: 0.85;
}

.form-group.display-name .mks-field-hint--box span {
    display: block;
}

/* Orders Page Styles */
.mks-orders-container {
    --mks-orders-accent: var(--mks-color-primary, #667eea);
    --mks-orders-accent-soft: var(--mks-bg-soft, rgba(102, 126, 234, 0.08));
    --mks-orders-success: #059669;
    --mks-orders-success-soft: #ecfdf5;
    --mks-orders-danger: #e11d48;
    --mks-orders-danger-soft: #fff1f2;
    --mks-orders-border: #e8ecf4;
    --mks-orders-text: #1f2937;
    --mks-orders-muted: #6b7280;
}

.mks-orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mks-orders-border);
}

.mks-orders-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--mks-orders-text);
    border-bottom: none;
    padding-bottom: 0;
}

.mks-orders-subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--mks-orders-muted);
    font-weight: 500;
}

.mks-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mks-orders-tab-content {
    padding-top: 18px;
}

.ca-orders-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    border: none;
    border-bottom: 2px solid #eceef4;
    margin: 0 0 4px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    width: 100%;
}

.ca-orders-tabs .nav-item {
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
}

.ca-orders-tabs .nav-link {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 3px solid transparent !important;
    color: #666;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 8px;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
    box-shadow: none !important;
    transform: none !important;
}

.ca-orders-tabs .nav-link:hover {
    color: var(--mks-color-primary, #667eea);
    background: transparent;
}

.ca-orders-tabs .nav-link.active {
    color: var(--mks-color-primary, #667eea);
    background: transparent;
    border-bottom-color: var(--mks-color-primary, #667eea) !important;
    box-shadow: none;
}

.ca-orders-tabs__count,
.ca-orders-tabs .nav-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    margin: 0 !important;
    vertical-align: unset;
    flex-direction: row;
}

.ca-orders-tabs .nav-link[data-bs-target="#new"] .ca-orders-tabs__count,
.ca-orders-tabs .nav-link[data-bs-target="#new"] span {
    background: var(--mks-primary-gradient, linear-gradient(135deg, var(--mks-color-primary, #667eea) 0%, #764ba2 100%));
    color: #fff;
}

.ca-orders-tabs .nav-link[data-bs-target="#completed"] .ca-orders-tabs__count,
.ca-orders-tabs .nav-link[data-bs-target="#completed"] span {
    background: linear-gradient(135deg, #059669 0%, #34d399 100%);
    color: #fff;
}

.ca-orders-tabs .nav-link[data-bs-target="#canceled"] .ca-orders-tabs__count,
.ca-orders-tabs .nav-link[data-bs-target="#canceled"] span {
    background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%);
    color: #fff;
}

.ca-orders-tabs .nav-link[data-bs-target="#new"].active {
    color: var(--mks-orders-accent);
}

.ca-orders-tabs .nav-link[data-bs-target="#completed"].active {
    color: var(--mks-orders-success);
}

.ca-orders-tabs .nav-link[data-bs-target="#canceled"].active {
    color: var(--mks-orders-danger);
}

.mks-orders-container .c-order-item {
    background: #fff;
    border: 1px solid #eceef4;
    border-right: 4px solid var(--mks-color-primary, #667eea);
    border-radius: 10px;
    padding: 12px 14px 14px;
    margin: 0;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    animation: mksOrderCardIn 0.35s ease both;
}

.mks-orders-container .c-order-item::before {
    display: none;
}

.mks-orders-container .c-order-item--completed {
    border-right-color: #56ab2f;
}

.mks-orders-container .c-order-item--canceled {
    border-right-color: #ff416c;
}

.mks-orders-container .c-order-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.1);
}

.mks-orders-container .c-order-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #eceef4;
}

.mks-orders-container .c-order-item__action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 10px;
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

.mks-orders-container .c-order-item__action:hover {
    transform: translateY(-1px);
    color: #fff;
}

.mks-orders-container .c-order-item__action--factor {
    background: var(--mks-primary-gradient, linear-gradient(135deg, var(--mks-color-primary, #667eea) 0%, #764ba2 100%));
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25);
}

.mks-orders-container .c-order-item__action--edit {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 3px 10px rgba(245, 87, 108, 0.22);
}

.mks-orders-container .c-order-item__action--details {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 3px 10px rgba(79, 172, 254, 0.22);
}

.mks-orders-container .c-order-item__action--track {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    box-shadow: 0 3px 10px rgba(86, 171, 47, 0.22);
}

.mks-orders-container .c-order-item__action--receipt {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 3px 10px rgba(17, 153, 142, 0.22);
}

.mks-orders-container .c-order-item__tracking {
    position: relative;
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 2px solid #86efac;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 55%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.14);
    overflow: hidden;
    animation: mks-tracking-glow 2.8s ease-in-out infinite;
}

.mks-orders-container .c-order-item__tracking::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: mks-tracking-shine 4s ease-in-out infinite;
    pointer-events: none;
}

.mks-orders-container .c-order-item__tracking-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.mks-orders-container .c-order-item__tracking-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    color: #166534;
}

.mks-orders-container .c-order-item__tracking-badge i {
    font-size: 16px;
    color: #16a34a;
}

.mks-orders-container .c-order-item__tracking-carrier {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #047857;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #bbf7d0;
}

.mks-orders-container .c-order-item__tracking-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px dashed #6ee7b7;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: inherit;
    text-align: right;
}

.mks-orders-container .c-order-item__tracking-copy:hover {
    transform: translateY(-1px);
    border-color: #34d399;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.16);
}

.mks-orders-container .c-order-item__tracking-copy.is-copied {
    border-color: #22c55e;
    background: #dcfce7;
    animation: mks-tracking-copy-pop 0.45s ease;
}

.mks-orders-container .c-order-item__tracking-code {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #14532d;
    direction: ltr;
    unicode-bidi: plaintext;
    word-break: break-all;
    font-family: inherit;
    background: transparent;
}

.mks-orders-container .c-order-item__tracking-copy-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
}

.mks-orders-container .c-order-item__tracking-copied-icon {
    display: none;
    color: #16a34a;
}

.mks-orders-container .c-order-item__tracking-copy.is-copied .c-order-item__tracking-copy-icon {
    display: none;
}

.mks-orders-container .c-order-item__tracking-copy.is-copied .c-order-item__tracking-copied-icon {
    display: inline-block;
}

.mks-orders-container .c-order-item__tracking-copy.is-copied .c-order-item__tracking-copy-text {
    color: #166534;
}

.mks-orders-container .c-order-item__tracking-follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #166534;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #bbf7d0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mks-orders-container .c-order-item__tracking-follow:hover {
    color: #14532d;
    background: #fff;
    transform: translateY(-1px);
}

@keyframes mks-tracking-glow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(22, 163, 74, 0.14);
    }

    50% {
        box-shadow: 0 10px 28px rgba(22, 163, 74, 0.24);
    }
}

@keyframes mks-tracking-shine {
    0%, 70%, 100% {
        transform: translateX(-120%);
    }

    85% {
        transform: translateX(120%);
    }
}

@keyframes mks-tracking-copy-pop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.mks-orders-container .mks-payment-invoice-box {
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #f8f9fb;
    border: 1px solid #e6eaf3;
    border-radius: 10px;
}

.mks-payment-invoice-box__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.mks-payment-invoice-box__intro-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.mks-payment-invoice-box__intro-text p {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
    color: #666;
    font-weight: 500;
}

.mks-payment-invoice-box__status-msg {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 600;
    color: #059669;
}

.mks-payment-invoice-box__status-msg i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 14px;
    color: #059669;
}

.mks-payment-invoice-box__thumb {
    flex-shrink: 0;
}

.mks-payment-invoice-box__thumb img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dde3ef;
    background: #fff;
}

.mks-orders-container .mks-payment-invoice-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.mks-orders-container .mks-invoice-box-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    width: auto;
}

.mks-orders-container .mks-invoice-box-btn--view {
    color: #4f5bd5;
    border-color: #d8def8;
    background: #eef2ff;
}

.mks-orders-container .mks-invoice-box-btn--change,
.mks-orders-container .mks-invoice-box-btn--upload {
    color: #fff;
    background: var(--mks-primary-gradient, linear-gradient(135deg, var(--mks-color-primary, #667eea) 0%, #764ba2 100%));
}

.mks-orders-container .mks-invoice-box-btn--delete {
    color: #dc3545;
    border-color: #f1c2c7;
    background: #fff5f5;
}

.mks-orders-container .mks-invoice-box-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.2);
}

.mks-payment-invoice-box__status-msg--confirmed {
    color: #0369a1;
}

.mks-payment-invoice-box__status-msg--confirmed i {
    color: #0284c7;
}

.mks-orders-container .mks-invoice-delete-form {
    display: inline-block;
    margin: 0;
}

.mks-orders-container .c-order-item__facts {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #e8ecff;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9ff;
}

.mks-orders-container .c-order-item__facts li {
    flex: 1 1 0;
    min-width: 100px;
    padding: 9px 12px;
    font-size: 12px;
    color: #333;
    text-align: center;
    border-left: 1px solid #e8ecff;
}

.mks-orders-container .c-order-item__facts li:last-child {
    border-left: none;
}

.mks-orders-container .c-order-item__facts li span:first-child {
    color: var(--mks-color-primary, #667eea);
    font-weight: 600;
    margin-left: 4px;
}

.mks-orders-container .c-order-item__facts li i {
    margin-left: 5px;
    color: var(--mks-color-primary, #667eea);
}

.mks-orders-container .c-order-item__facts-price {
    font-weight: 700;
}

.mks-orders-container .c-order-item__facts-price small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 500;
    color: #888;
}

.mks-orders-container .c-order-item--completed .c-order-item__facts {
    background: #f0f8f0;
    border-color: #d4edda;
}

.mks-orders-container .c-order-item--completed .c-order-item__facts li {
    border-left-color: #d4edda;
}

.mks-orders-container .c-order-item--completed .c-order-item__facts li span:first-child {
    color: #56ab2f;
}

.mks-orders-container .c-order-item--canceled .c-order-item__facts {
    background: #fff5f5;
    border-color: #f8d7da;
}

.mks-orders-container .c-order-item--canceled .c-order-item__facts li {
    border-left-color: #f8d7da;
}

.mks-orders-container .c-order-item--canceled .c-order-item__facts li span:first-child {
    color: #ff416c;
}

.mks-orders-container .c-order-item__pay-type {
    margin-bottom: 12px;
}

.mks-orders-container .ods-payment-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mks-orders-container .ods-payment-status__badge .ods-payment-type {
    width: 100%;
}

.mks-orders-container .ods-payment-status__hint {
    margin: 0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.9;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.mks-orders-container .ods-payment-status--processing .ods-payment-status__hint {
    color: #166534;
    background: #f0fdf4;
    border-color: #86efac;
}

.mks-orders-container .ods-payment-status--packaging .ods-payment-status__hint {
    color: #047857;
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.mks-orders-container .ods-payment-status--cancelled .ods-payment-status__hint {
    color: #64748b;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.mks-orders-container .ods-payment-status--failed .ods-payment-status__hint {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.mks-orders-container .ods-payment-status__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 4px 14px rgba(17, 153, 142, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mks-orders-container .ods-payment-status__action:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(17, 153, 142, 0.32);
}

.mks-orders-container .ods-payment-status__action i {
    font-size: 15px;
}

.mks-orders-container .c-order-item__pay-type .ods-payment-type {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    border: 1px solid transparent;
}

.mks-orders-container .c-order-item__pay-type .ods-payment-type i {
    margin-left: 0 !important;
    font-size: 16px;
    flex-shrink: 0;
}

.mks-orders-container .ods-payment-type--on-hold {
    color: #b45309;
    background: #fff7ed;
    border-color: #fed7aa;
}

.mks-orders-container .ods-payment-type--on-hold i {
    color: #ea580c;
}

.mks-orders-container .ods-payment-type--processing {
    color: #166534;
    background: #f0fdf4;
    border-color: #86efac;
}

.mks-orders-container .ods-payment-type--processing i {
    color: #16a34a;
}

.mks-orders-container .ods-payment-type--loading .ods-payment-type__loader {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.mks-orders-container .ods-payment-type__loader span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.35;
    animation: ods-payment-dot 1.4s infinite ease-in-out both;
}

.mks-orders-container .ods-payment-type__loader span:nth-child(1) {
    animation-delay: -0.32s;
}

.mks-orders-container .ods-payment-type__loader span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes ods-payment-dot {
    0%, 80%, 100% {
        transform: scale(0.55);
        opacity: 0.35;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.mks-orders-container .ods-payment-type--packaging {
    color: #047857;
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.mks-orders-container .ods-payment-type--packaging i {
    color: #059669;
}

.mks-orders-container .ods-payment-type--pending {
    color: #b45309;
    background: #fffbeb;
    border-color: #fcd34d;
}

.mks-orders-container .ods-payment-type--pending i {
    color: #d97706;
}

.mks-orders-container .ods-payment-type--completed {
    color: #166534;
    background: #f0fdf4;
    border-color: #86efac;
}

.mks-orders-container .ods-payment-type--completed i {
    color: #16a34a;
}

.mks-orders-container .ods-payment-type--cancelled {
    color: #64748b;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.mks-orders-container .ods-payment-type--cancelled i {
    color: #94a3b8;
}

.mks-orders-container .ods-payment-type--failed {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.mks-orders-container .ods-payment-type--failed i {
    color: #dc2626;
}

.mks-orders-container .c-order-item__products {
    padding: 0;
}

.mks-orders-container .c-order-product-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mks-orders-container .c-order-product {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
}

.mks-orders-container .c-order-product__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.mks-orders-container .c-order-product__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mks-orders-container .c-order-product__link--rebuy {
    color: #16a34a;
}

.mks-orders-container .c-order-product__link--rebuy:hover {
    color: #15803d;
}

.mks-orders-container .c-order-product__link--comment {
    color: var(--mks-color-primary, #667eea);
}

.mks-orders-container .c-order-product__link--comment:hover {
    color: #4f46e5;
}

.mks-orders-container .c-order-product__actions-sep {
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.mks-orders-container .c-order-product:first-child {
    border-top: none;
    padding-top: 0;
}

.mks-orders-container .c-order-product__thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eceef4;
    background: #fff;
}

.mks-orders-container .c-order-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mks-orders-container .c-order-product__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.mks-orders-container .c-order-product__name:hover {
    color: var(--mks-color-primary, #667eea);
}

.mks-orders-container .c-order-product__qty {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 500;
    color: #888;
}

.mks-orders-container .c-order-product__price {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.mks-orders-container .c-order-product--hidden {
    display: none !important;
}

.mks-orders-container .c-order-item.is-products-expanded .c-order-product--hidden {
    display: grid !important;
}

.mks-orders-container .c-order-item__show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
    padding: 7px 0;
    border: none;
    background: transparent;
    color: var(--mks-color-primary, #667eea);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.mks-orders-container .c-order-item__show-more:hover {
    color: #764ba2;
}

.mks-orders-container .c-order-item__show-more.is-open i {
    transform: rotate(180deg);
}

.mks-orders-container .c-order-item__show-more i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.mks-orders-container .no-order-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    padding: 40px 20px;
    text-align: center;
    color: var(--mks-orders-muted);
    background: #f8fafc;
    border: 1px dashed var(--mks-orders-border);
    border-radius: 16px;
}

.mks-orders-container .no-order-found i {
    font-size: 52px;
    color: #cbd5e1;
    margin: 0;
}

.mks-orders-container .no-order-found p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--mks-orders-muted);
}

.mks-orders-container .mks-payment-invoice-box__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.mks-orders-container .mks-payment-invoice-box__thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--mks-orders-border);
    background: #fff;
}

.mks-orders-container .mks-payment-invoice-box__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mks-orders-success);
}

.mks-orders-container .mks-payment-invoice-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mks-orders-container .mks-invoice-box-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
}

.mks-orders-container .mks-invoice-box-btn--view {
    color: var(--mks-orders-accent);
    border-color: rgba(102, 126, 234, 0.25);
    background: var(--mks-orders-accent-soft);
}

.mks-orders-container .mks-invoice-box-btn--change,
.mks-orders-container .mks-invoice-box-btn--upload {
    color: #fff;
    background: var(--mks-primary-gradient, linear-gradient(135deg, var(--mks-color-primary, #667eea) 0%, #764ba2 100%));
    border-color: transparent;
}

.mks-orders-container .mks-invoice-box-btn--delete {
    color: var(--mks-orders-danger);
    border-color: #fecdd3;
    background: var(--mks-orders-danger-soft);
}

.mks-orders-container .mks-invoice-delete-form {
    display: inline-block;
    margin: 0;
}

.mks-orders-container .mks-invoice-upload-form {
    display: none;
}

@keyframes mksOrderCardIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-invoice-upload-btn__loading {
    display: none;
    align-items: center;
    gap: 6px;
}

.mks-invoice-upload-trigger.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

.mks-invoice-upload-trigger.is-loading .mks-invoice-upload-btn__default {
    display: none;
}

.mks-invoice-upload-trigger.is-loading .mks-invoice-upload-btn__loading {
    display: inline-flex;
}

/* Favorites Page Styles */
.mks-favorites-page {
    margin-bottom: 10px;
}

.mks-favorites-page__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 16px;
}

.mks-favorites-page__header-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--mks-primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.28);
}

.mks-favorites-page__header-icon i {
    font-size: 24px;
    color: #fff;
}

.mks-favorites-page__header-text {
    min-width: 0;
}

.mks-favorites-page__title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #2d3748;
    line-height: 1.4;
}

.mks-favorites-page__subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #718096;
}

.mks-stock-notify-unsubscribe-all {
    margin: 0;
    margin-inline-start: auto;
    flex-shrink: 0;
}

.mks-stock-notify-unsubscribe-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.28);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.mks-stock-notify-unsubscribe-all-btn i {
    font-size: 15px;
}

.mks-stock-notify-unsubscribe-all-btn:hover {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 65, 108, 0.4);
    filter: brightness(1.03);
}

.mks-stock-notify-unsubscribe-all-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
    filter: none;
}

.mks-favorites-container {
    margin-bottom: 10px;
}

.mks-favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.mks-favorite-card {
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    animation: mksFavoriteCardIn 0.45s ease both;
}

.mks-favorite-card:nth-child(1) { animation-delay: 0.04s; }
.mks-favorite-card:nth-child(2) { animation-delay: 0.08s; }
.mks-favorite-card:nth-child(3) { animation-delay: 0.12s; }
.mks-favorite-card:nth-child(4) { animation-delay: 0.16s; }
.mks-favorite-card:nth-child(5) { animation-delay: 0.2s; }
.mks-favorite-card:nth-child(6) { animation-delay: 0.24s; }

@keyframes mksFavoriteCardIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mks-favorite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(102, 126, 234, 0.14);
    border-color: rgba(102, 126, 234, 0.25);
}

.mks-favorite-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #fafbff 0%, #f3f5fb 100%);
}

.mks-favorite-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.mks-favorite-img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.mks-favorite-card:hover .mks-favorite-img {
    transform: scale(1.06);
}

.mks-favorite-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #e53e3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mks-favorite-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 65, 108, 0.35);
}

.mks-favorite-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 55, 72, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.mks-favorite-card:hover .mks-favorite-overlay {
    opacity: 1;
}

.mks-favorite-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--mks-color-primary);
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    transform: translateY(8px);
}

.mks-favorite-card:hover .mks-favorite-view-btn {
    transform: translateY(0);
}

.mks-favorite-view-btn:hover {
    background: var(--mks-primary-gradient);
    color: #fff;
}

.mks-favorite-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.mks-favorite-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    min-height: 44px;
}

.mks-favorite-title a {
    color: #3d4663 !important;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.mks-favorite-title a:hover {
    color: var(--mks-color-primary) !important;
}

.mks-favorite-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--mks-color-primary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.mks-sale-price {
    color: #e53e3e;
    font-weight: 800;
}

.mks-regular-price {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 13px;
    font-weight: 500;
}

.mks-favorite-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.mks-favorite-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(102, 126, 234, 0.08);
    color: var(--mks-color-primary);
    border: 1px solid rgba(102, 126, 234, 0.18);
    padding: 9px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    text-align: center;
}

.mks-favorite-details-btn:hover {
    background: var(--mks-primary-gradient);
    color: #fff;
    transform: translateY(-1px);
}

.mks-favorite-remove-form {
    margin: 0;
}

.mks-favorite-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: rgba(229, 62, 62, 0.08);
    color: #c53030;
    border: 1px solid rgba(229, 62, 62, 0.18);
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mks-favorite-remove-btn:hover {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
}

.mks-stock-notify-page .mks-favorite-title {
    font-size: 12px;
    min-height: 36px;
    line-height: 1.5;
}

.mks-stock-notify-page .mks-favorite-actions {
    grid-template-columns: 1fr;
}

.mks-stock-notify-page .mks-favorite-remove-btn {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.25);
}

.mks-stock-notify-page .mks-favorite-remove-btn:hover {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 65, 108, 0.35);
}

.mks-favorites-empty {
    text-align: center;
    padding: 48px 24px 56px;
    background: #fff;
    border: 1px dashed rgba(102, 126, 234, 0.2);
    border-radius: 16px;
}

.mks-favorites-empty .mks-empty-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #a0aec0;
    animation: mksFavoriteEmptyPulse 2.5s ease-in-out infinite;
}

@keyframes mksFavoriteEmptyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.mks-empty-title {
    font-size: 18px;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0 10px;
}

.mks-empty-description {
    font-size: 14px;
    color: #718096;
    margin: 0 0 24px;
    line-height: 1.7;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.mks-empty-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mks-primary-gradient);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mks-empty-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(102, 126, 234, 0.35);
    color: #fff;
}

.mks-empty-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mks-empty-action-btn--outline {
    background: #fff;
    color: #667eea;
    border: 2px solid rgba(102, 126, 234, 0.35);
    box-shadow: none;
}

.mks-empty-action-btn--outline:hover {
    background: rgba(102, 126, 234, 0.06);
    color: #667eea;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.15);
}

@media (max-width: 768px) {
    .mks-favorites-page__header {
        padding: 16px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }

    .mks-favorites-page__title {
        font-size: 17px;
    }

    .mks-stock-notify-unsubscribe-all {
        width: 100%;
        margin-inline-start: 0;
    }

    .mks-stock-notify-unsubscribe-all-btn {
        width: 100%;
        padding: 11px 14px;
        font-size: 12px;
    }

    .mks-favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mks-favorite-content {
        padding: 12px;
    }

    .mks-favorite-title {
        font-size: 12px;
        min-height: 38px;
    }

    .mks-favorite-price {
        font-size: 13px;
    }

    .mks-favorite-actions {
        grid-template-columns: 1fr;
    }

    .mks-favorite-details-btn span,
    .mks-favorite-remove-btn span {
        display: none;
    }

    .mks-favorite-details-btn,
    .mks-favorite-remove-btn {
        padding: 10px;
    }

    .mks-stock-notify-page .mks-favorites-page__header {
        gap: 12px;
        padding: 14px 14px 16px;
        margin-bottom: 14px;
    }

    .mks-stock-notify-page .mks-favorites-page__header-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .mks-stock-notify-page .mks-favorites-page__header-icon i {
        font-size: 18px;
    }

    .mks-stock-notify-page .mks-favorites-page__title {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .mks-stock-notify-page .mks-favorites-page__subtitle {
        font-size: 12px;
    }

    .mks-stock-notify-page .mks-stock-notify-unsubscribe-all {
        margin-top: 2px;
    }

    .mks-stock-notify-page .mks-stock-notify-unsubscribe-all-btn {
        padding: 12px 14px;
        font-size: 12px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(229, 62, 62, 0.22);
    }

    .mks-stock-notify-page .mks-favorites-container {
        padding: 0 12px 18px;
    }

    .mks-stock-notify-page .mks-favorites-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mks-stock-notify-page .mks-favorite-card {
        display: grid;
        grid-template-columns: 110px 1fr;
        border-radius: 14px;
        border: 1px solid #eef0f6;
        overflow: hidden;
    }

    .mks-stock-notify-page .mks-favorite-image {
        aspect-ratio: 1 / 1;
        min-height: 110px;
    }

    .mks-stock-notify-page .mks-favorite-img {
        padding: 10px;
    }

    .mks-stock-notify-page .mks-favorite-badge {
        display: none;
    }

    .mks-stock-notify-page .mks-favorite-sale-badge {
        top: 8px;
        left: 8px;
        font-size: 9px;
        padding: 2px 8px;
    }

    .mks-stock-notify-page .mks-favorite-overlay {
        display: none;
    }

    .mks-stock-notify-page .mks-favorite-content {
        padding: 12px 12px 12px 10px;
        gap: 8px;
        justify-content: center;
    }

    .mks-stock-notify-page .mks-favorite-title {
        font-size: 12px;
        min-height: 0;
        line-height: 1.55;
    }

    .mks-stock-notify-page .mks-favorite-price {
        font-size: 13px;
        margin: 0;
    }

    .mks-stock-notify-page .mks-favorite-actions {
        margin-top: 2px;
        padding-top: 0;
    }

    .mks-stock-notify-page .mks-favorite-remove-btn {
        padding: 9px 10px;
        font-size: 11px;
        border-radius: 9px;
        gap: 0;
        box-shadow: none;
    }

    .mks-stock-notify-page .mks-favorite-remove-btn i {
        display: none;
    }

    .mks-stock-notify-page .mks-favorite-remove-btn span {
        display: inline;
    }

    .mks-favorite-view-btn span {
        display: none;
    }

    .mks-favorites-empty {
        padding: 36px 18px 42px;
    }
}

#p-attrs tr:last-child{
    border-color: white;
}
.customer-orders-details>a, form, label{
    font-weight: 100 !important;
    display: inline-block;
}
.woocommerce ul#shipping_method li input{
    vertical-align: sub !important;
}
.woocommerce-shipping-methods .woocommerce-Price-amount bdi{
    font-size: 13px !important;
}
.woocommerce table.shop_table th{
    padding: 9px 9px 9px 0;
}
.shipping-calculator-form button[name="calc_shipping"]{
    background: var(--mks-primary-gradient);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box{
    border-radius: 6px;
}
.mks-toman-symbol{
    width: 15px !important;
    height: 15px !important;
    display: inline-block;
    margin: 0 0 2px 0 !important;
}
.price ins bdi,
.mks-favorite-price bdi,
.mini-cart-price bdi
{
    direction: rtl !important;
}
.price del bdi,
.mks-favorite-price bdi,
.mini-cart-price bdi{
    direction: rtl !important;
}

.mks-price-container{
    display: inline-flex;
    width: 95%;
    justify-content: space-around;
    /* padding: 10px 0 0 0; */
    min-height: 44px;

}
.mks-price-container > div{
    margin: auto 0;
}
.swiper-wrapper{
    padding: 10px 0;
}

.product_list_widget .mks-price-container{
    display: none;
}
.mks-amazing-section{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 2px;
}
.mks-amazing-section__brand{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.mks-amazing-section__icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}
.mks-asi-cutom-image{
    max-width: 200px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.mks-asi-1{
    width: 18px;
    height: 18px;
}
.mks-asi-2{
    width: 112px;
    min-height: 24px;
    height: auto;
    margin: 0;
    filter: brightness(0) invert(1);
}
.mks-amazing-section__all,
.mks-amazing-section a{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.mks-amazing-section__all:hover,
.mks-amazing-section a:hover{
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    transform: translateY(-1px);
}
.mks-amazing-section a i{
    vertical-align: middle;
    font-size: 12px;
}
.amazing-offer-nt-section .mks-sbn{
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.amazing-offer-nt-section .mks-sbn:hover{
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}
.mks-sbn{
    background: #fff;
    border: solid 1px #e0e0e2;
    border-radius: 100%;
    width: 45px;
    height: 45px;
}
.mks-sbn::after{
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
}
.mks-sbn.swiper-button-disabled{
    display: none;
}
.swiper-pagination-bullet-active{
    background-color: #fff !important;
    border-radius: 9999px !important;
    height: 6px !important;
    opacity: 1 !important;
    transform: translateY(1px) !important;
    width: 16px !important;
}

.swiper-pagination-bullet{
    height: 4px;
    opacity: .3;
    transition: width .2s ease-in-out !important;
    width: 4px;
}
.main-slider .swiper-wrapper{
    padding: 0;
}

.mks-wizard {
    --mks-wizard-green: #16a34a;
    --mks-wizard-green-dark: #15803d;
    --mks-wizard-green-light: #dcfce7;
    --mks-wizard-gray-50: #f9fafb;
    --mks-wizard-gray-100: #f3f4f6;
    --mks-wizard-gray-200: #e5e7eb;
    --mks-wizard-gray-300: #d1d5db;
    --mks-wizard-gray-400: #9ca3af;
    --mks-wizard-gray-500: #6b7280;
    --mks-wizard-gray-600: #4b5563;
    padding: 1.25rem 0 1.75rem;
    width: 100%;
}

.mks-wizard__card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--mks-wizard-gray-200);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.mks-wizard__progress {
    height: 4px;
    background: var(--mks-wizard-gray-100);
}

.mks-wizard__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mks-wizard-green) 0%, #22c55e 100%);
    border-radius: 0 2px 2px 0;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mks-wizard__container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    direction: rtl;
    padding: 1.75rem 2rem 1.5rem;
}

.mks-wizard__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    z-index: 2;
    min-width: 0;
}

.mks-wizard__step-ring {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}

.mks-wizard__step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mks-wizard-gray-50);
    border: 2px solid var(--mks-wizard-gray-200);
    color: var(--mks-wizard-gray-400);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    z-index: 1;
}

.mks-wizard__step--pending .mks-wizard__step-circle {
    background: #fff;
    border-color: var(--mks-wizard-gray-200);
    color: var(--mks-wizard-gray-400);
}

.mks-wizard__step--active .mks-wizard__step-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--mks-wizard-green) 0deg,
        #4ade80 70deg,
        #bbf7d0 130deg,
        var(--mks-wizard-gray-200) 190deg,
        var(--mks-wizard-gray-200) 250deg,
        var(--mks-wizard-green-dark) 310deg,
        var(--mks-wizard-green) 360deg
    );
    animation: mks-wizard-ring-spin 2.2s linear infinite;
}

.mks-wizard__step--active .mks-wizard__step-ring::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #fff;
    z-index: 0;
}

.mks-wizard__step--active .mks-wizard__step-ring {
    filter: drop-shadow(0 0 10px rgba(22, 163, 74, 0.35));
}

.mks-wizard__step--active .mks-wizard__step-circle {
    background: linear-gradient(145deg, var(--mks-wizard-green) 0%, #22c55e 100%);
    border-color: var(--mks-wizard-green-dark);
    color: #fff;
    box-shadow:
        0 0 0 3px var(--mks-wizard-green-light),
        0 6px 20px rgba(22, 163, 74, 0.38);
    animation: mks-wizard-active-pulse 2.4s ease-in-out infinite;
}

.mks-wizard__step--completed .mks-wizard__step-circle {
    background: var(--mks-wizard-green);
    border-color: var(--mks-wizard-green);
    color: #fff;
}

.mks-wizard__step-icon,
.mks-wizard__check-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    flex-shrink: 0;
}

.mks-wizard__step-number {
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
}

.mks-wizard__step-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 10px;
    text-align: center;
    padding: 0 4px;
}

.mks-wizard__step-index {
    font-size: 11px;
    font-weight: 500;
    color: var(--mks-wizard-gray-400);
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.mks-wizard__step-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--mks-wizard-gray-500);
    line-height: 1.45;
    transition: color 0.3s ease;
}

.mks-wizard__step--active .mks-wizard__step-index {
    color: var(--mks-wizard-green);
}

.mks-wizard__step--active .mks-wizard__step-label {
    color: var(--mks-wizard-green-dark);
}

.mks-wizard__step--completed .mks-wizard__step-index {
    color: var(--mks-wizard-gray-400);
}

.mks-wizard__step--completed .mks-wizard__step-label {
    color: var(--mks-wizard-gray-600);
}

.mks-wizard__connector {
    position: absolute;
    top: 34px;
    right: calc(50% + 34px);
    left: calc(-50% + 34px);
    height: 3px;
    background: var(--mks-wizard-gray-200);
    border-radius: 999px;
    z-index: 1;
    transition: background 0.35s ease;
}

.mks-wizard__step--completed .mks-wizard__connector {
    background: var(--mks-wizard-green);
}

@keyframes mks-wizard-ring-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes mks-wizard-active-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 3px var(--mks-wizard-green-light),
            0 6px 20px rgba(22, 163, 74, 0.38);
    }
    50% {
        box-shadow:
            0 0 0 5px rgba(220, 252, 231, 0.9),
            0 8px 28px rgba(22, 163, 74, 0.52),
            0 0 32px rgba(34, 197, 94, 0.22);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mks-wizard__step--active .mks-wizard__step-ring::before {
        animation: none;
    }

    .mks-wizard__step--active .mks-wizard__step-circle {
        animation: none;
    }
}

@media (max-width: 768px) {
    .mks-wizard {
        padding: 0.75rem 0 1.25rem;
    }

    .mks-wizard__card {
        border-radius: 12px;
        margin: 0 0.5rem;
    }

    .mks-wizard__container {
        padding: 1.25rem 0.75rem 1rem;
    }

    .mks-wizard__step-ring {
        width: 54px;
        height: 54px;
    }

    .mks-wizard__step-circle {
        width: 42px;
        height: 42px;
    }

    .mks-wizard__step--active .mks-wizard__step-ring::after {
        inset: 3px;
    }

    .mks-wizard__step-icon,
    .mks-wizard__check-icon {
        width: 18px;
        height: 18px;
    }

    .mks-wizard__step-meta {
        margin-top: 8px;
        gap: 2px;
    }

    .mks-wizard__step-index {
        font-size: 10px;
    }

    .mks-wizard__step-label {
        font-size: 11px;
        font-weight: 600;
    }

    .mks-wizard__connector {
        top: 27px;
        right: calc(50% + 27px);
        left: calc(-50% + 27px);
        height: 2px;
    }
}

@media (max-width: 400px) {
    .mks-wizard__step-index {
        display: none;
    }
}

button.accordion-button.collapsed {
    font-size: 12px;
}
.accordion-button {
    font-size: 12px;
}
.mks-stat-value bdi{
    direction: rtl !important;
}

/* ===== Cart Login Form – استایل از صفر فقط با #cart-login و .cl-* ===== */
#cart-login {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

#cart-login .cl-desc {
    margin: 0 0 1.25rem;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

#cart-login .cl-field {
    margin-bottom: 1rem;
}

#cart-login .cl-field:last-child {
    margin-bottom: 0;
    margin-top: 1.25rem;
}

#cart-login .cl-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

#cart-login .cl-row {
    display: flex;
    align-items: stretch;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

#cart-login .cl-row:focus-within {
    border-color: #94a3b8;
    background: #fff;
}

#cart-login .cl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
    font-size: 14px;
}

#cart-login .cl-icon--code#mks-code-group-span {
    background: #22c55e !important;
    color: #fff !important;
}

#cart-login .cl-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 15px;
    color: #1e293b;
}

#cart-login .cl-input::placeholder {
    color: #94a3b8;
}

#cart-login .cl-input:focus {
    outline: none;
}

#cart-login .cl-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
    color: #fff;
}

#cart-login .cl-btn:hover {
    opacity: 0.95;
}

#cart-login .cl-btn .mobile_login_spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

#cart-login #code-group:has(#code.d-none) {
    display: none;
    margin: 0;
}

/* Comment form – compact inputs */
#commentform .form-control,
#commentform .i-comment {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.45;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    font-family: inherit;
}

#commentform .form-control:focus,
#commentform .i-comment:focus {
    border-color: var(--mks-color-primary, #5b6cf5);
    box-shadow: 0 0 0 2px rgba(91, 108, 245, 0.15);
    background: #fff;
    outline: none;
}

#commentform .form-control::placeholder,
#commentform .i-comment::placeholder {
    color: #94a3b8;
}

#commentform .form-group label {
    color: #475569;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 12px;
}

#commentform .form-group {
    margin-bottom: 10px;
}

#commentform .comment-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
}

#commentform .comment-contact-row > div {
}

#commentform #comment_mobile {
    direction: ltr;
    text-align: left;
    letter-spacing: 0.3px;
}

#commentform .comment-meta-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

#commentform .form-group:last-child {
    margin-bottom: 0;
}

#commentform .i-comment {
    min-height: 72px;
    resize: vertical;
}

#commentform .btn-submit-comment {
    background: linear-gradient(135deg, var(--mks-color-primary, #5b6cf5) 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

#commentform .btn-submit-comment:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 108, 245, 0.35);
    color: #fff;
    text-decoration: none;
}

#commentform .btn-submit-comment:active {
    transform: translateY(0);
}

#commentform .sr-custom {
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 8px;
}

#commentform .mks-comment-form-response {
    display: none;
    margin-top: 12px;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.8;
}

#commentform .mks-comment-form-response.is-error,
#commentform .mks-comment-form-response.is-success {
    display: block;
}

#commentform .mks-comment-form-response.is-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

#commentform .mks-comment-form-response.is-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

@media (max-width: 768px) {
    #commentform.comment-form,
    .spm-comments .comment-form {
        padding: 10px !important;
        border: 1px solid rgb(255 255 255 / 8%) !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .spm-comments {
        padding: 10px !important;
        margin: 10px 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    #commentform .comments-txt,
    .comment-form .comments-txt {
        margin: 0 0 10px;
        padding: 8px 10px;
        font-size: 12px;
        line-height: 1.6;
        border-radius: 8px;
        border-right-width: 3px;
    }

    #commentform .form-group,
    .comment-form .form-group {
        margin-bottom: 10px;
    }

    #commentform .form-group label,
    .comment-form .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    #commentform .comment-contact-row {
        display: block;
    }

    #commentform .form-control,
    #commentform .i-comment,
    .comment-form .form-control {
        padding: 8px 10px;
        font-size: 12px;
        border-width: 1px;
        border-radius: 8px;
    }

    #commentform .i-comment {
        min-height: 72px;
    }

    #commentform .i-comment:focus {
        min-height: 72px;
    }

    #commentform .sr-custom,
    .comment-form .sr-custom {
        /* display: flex !important; */
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        margin-top: 4px;
        padding-top: 0;
    }

    #commentform .btn-submit-comment,
    .comment-form .btn-submit-comment {
        flex: 0 0 auto;
        margin: 0;
        padding: 7px 12px;
        font-size: 12px;
        border-radius: 8px;
        white-space: nowrap;
    }

    #commentform .cr-s-label,
    .comment-form .cr-s-label {
        flex: 0 0 auto;
        font-size: 14px;
        margin: 0;
        transform: none !important;
    }

    #commentform .cr-s-label i,
    .comment-form .cr-s-label i,
    .cr-s-label i {
        font-size: 15px !important;
    }

    #commentform .cr-s-label:hover,
    #commentform .cr-s-label:hover ~ .cr-s-label {
        transform: none !important;
    }
}

.price del span bdi span{
    display: none;
}

.mks-spca-date{
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
}

.mks-page-builder-layout{
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    margin: 10px 0;
}

/* Full-width image slider flush under header */
.mks-page-builder-layout--flush-top {
    margin-top: 0;
}

.mks-pb-full-width {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mks-page-builder-layout--flush-top > .mks-pb-full-width--slider:first-child {
    margin-top: 0;
}

.mks-pb-full-width--slider .main-slider,
.main-slider.main-slider--edge {
    width: 100%;
    margin: 0;
    border-radius: 0 !important;
}

.mks-pb-full-width--slider .main-slider img,
.main-slider.main-slider--edge img {
    border-radius: 0;
}

.mks-rg-3{
    row-gap: 15px;
}

.mks_pbi_productSlider > .container-fluid > .row > div:last-child{
    place-content: end;
}
.woocommerce-shipping-destination{
    display: none;
}

/* ══════════════════════════════════════════
   Dashboard – mkd-* components
══════════════════════════════════════════ */
.mkd-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Hero Banner */
.mkd-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--mks-primary-gradient, linear-gradient(135deg, #7352ac 0%, #5a3d8a 100%));
    padding: 28px 24px 24px;
    color: #fff;
}

.mkd-hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.12) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(255,255,255,0.08) 0%, transparent 45%);
    pointer-events: none;
}

.mkd-hero__deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    pointer-events: none;
}

.mkd-hero__deco-circle--1 {
    width: 140px;
    height: 140px;
    top: -50px;
    left: -40px;
}

.mkd-hero__deco-circle--2 {
    width: 90px;
    height: 90px;
    bottom: -30px;
    right: 20px;
}

.mkd-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 18px;
}

.mkd-hero__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 28px;
    font-weight: 900;
    color: var(--mks-color-primary, #7352ac);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.mkd-hero__welcome {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
}

.mkd-hero__name {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: #fff;
}

/* Stat cards */
.mkd-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mkd-stat {
    background: #fff;
    border-radius: 18px;
    padding: 16px 14px 14px;
    border: 1px solid color-mix(in srgb, var(--mks-color-primary, #7352ac) 12%, #fff);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.28s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.28s ease;
    animation: mkdStatIn 0.5s ease both;
    position: relative;
    overflow: hidden;
}

.mkd-stat::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 0 0 18px 18px;
    opacity: 0.85;
}

.mkd-stat--wallet { animation-delay: 0.06s; }
.mkd-stat--wallet::after { background: var(--mks-primary-gradient); }
.mkd-stat--comments { animation-delay: 0.12s; }
.mkd-stat--comments::after {
    background: linear-gradient(
        90deg,
        var(--mks-color-primary, #7352ac),
        var(--mks-color-secondary, #5a3d8a)
    );
}
.mkd-stat--orders { animation-delay: 0.18s; }
.mkd-stat--orders::after { background: var(--mks-primary-gradient-rev); }
.mkd-stat--total { animation-delay: 0.24s; }
.mkd-stat--total::after {
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--mks-color-primary, #7352ac) 70%, #fff),
        var(--mks-color-secondary, #5a3d8a)
    );
}

.mkd-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px color-mix(in srgb, var(--mks-color-primary, #7352ac) 18%, transparent);
}

@keyframes mkdStatIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mkd-stat__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mkd-stat__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.mkd-stat--wallet .mkd-stat__icon {
    background: var(--mks-primary-gradient);
}
.mkd-stat--comments .mkd-stat__icon {
    background: linear-gradient(
        135deg,
        var(--mks-color-primary, #7352ac),
        var(--mks-color-secondary, #5a3d8a)
    );
}
.mkd-stat--orders .mkd-stat__icon {
    background: var(--mks-primary-gradient-rev);
}
.mkd-stat--total .mkd-stat__icon {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--mks-color-primary, #7352ac) 70%, #fff),
        var(--mks-color-secondary, #5a3d8a)
    );
}

.mkd-stat__tag {
    font-size: 11px;
    font-weight: 700;
    color: #a0aec0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.mkd-stat__val {
    font-size: 15px;
    font-weight: 900;
    color: #2d3748;
    line-height: 1.2;
    word-break: break-word;
}

.mkd-stat__val bdi { direction: rtl !important; }

.mkd-stat__val--num {
    font-size: 28px;
    color: var(--mks-color-primary);
}

.mkd-stat__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    .mkd-hero { padding: 22px 18px 18px; }
    .mkd-hero__avatar { width: 52px; height: 52px; font-size: 22px; }
    .mkd-hero__name { font-size: 18px; }

    .mkd-stats {
        gap: 6px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mkd-stat {
        padding: 10px 8px 10px;
        gap: 6px;
        border-radius: 14px;
    }

    .mkd-stat__top {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .mkd-stat__icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
        border-radius: 10px;
    }

    .mkd-stat__tag {
        font-size: 10px;
        text-align: center;
        letter-spacing: 0;
    }

    .mkd-stat__val {
        font-size: 11px;
        text-align: center;
        line-height: 1.3;
        word-break: break-all;
    }

    .mkd-stat__val bdi {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2px;
    }

    .mkd-stat__val .mks-toman-symbol {
        width: 12px !important;
        height: 12px !important;
    }

    .mkd-stat__val--num {
        font-size: 20px;
        text-align: center;
    }
}

/* ══════════════════════════════════════════
   Mobile User Panel – aligned with desktop dropdown
══════════════════════════════════════════ */
.mkum-panel {
    --bs-offcanvas-transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
    width: min(300px, 88vw) !important;
    background: #fff;
    border: none;
    border-radius: 0 16px 0 0;
    border-right: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow:
        4px 0 6px -1px rgba(0, 0, 0, 0.04),
        12px 0 32px -8px rgba(102, 126, 234, 0.14);
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1) !important;
}

[dir="ltr"] .mkum-panel {
    border-radius: 16px 0 0 0;
    border-right: none;
    border-left: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow:
        -4px 0 6px -1px rgba(0, 0, 0, 0.04),
        -12px 0 32px -8px rgba(102, 126, 234, 0.14);
}

.mkum-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px 14px;
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
    border-bottom: 1px solid #f0f2f8;
    color: #2d3748;
    overflow: hidden;
    flex-shrink: 0;
}

.mkum-header__deco,
.mkum-header__deco-circle {
    display: none;
}

.mkum-header__close {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 0 0;
    border: none;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 10px;
    color: #4a5568;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.mkum-header__close:hover,
.mkum-header__close:focus {
    background: rgba(15, 23, 42, 0.09);
    color: #1a202c;
}

.mkum-header__close:active {
    transform: scale(0.95);
}

.mkum-header__profile {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mkum-header__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mks-primary-gradient, linear-gradient(135deg, #667eea, #764ba2));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.22);
    color: #fff;
    font-size: 18px;
}

.mkum-header__avatar i {
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.mkum-header__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mkum-header__name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    color: #2d3748;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mkum-header__welcome {
    margin: 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #718096;
    opacity: 1;
}

.mkum-header__sep {
    color: #cbd5e0;
    font-weight: 400;
}

.mkum-header__edit {
    color: var(--mks-color-primary, #667eea);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.mkum-header__edit:hover,
.mkum-header__edit:focus {
    color: var(--mks-color-primary, #667eea);
    opacity: 0.85;
    text-decoration: underline;
}

.mkum-body {
    padding: 8px;
}

.mku-nav--panel {
    padding: 0;
    gap: 0;
}

.mku-nav--panel .mku-nav__item {
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    animation: none;
}

.mku-nav--panel .mku-nav__item > i {
    width: 20px;
    flex-shrink: 0;
    margin: 0;
    font-size: 16px;
    text-align: center;
    color: #667eea;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mku-nav--panel .mku-nav__item:hover,
.mku-nav--panel .mku-nav__item:focus {
    color: var(--mks-color-primary, #667eea);
    background: rgba(102, 126, 234, 0.08);
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.mku-nav--panel .mku-nav__item:hover > i,
.mku-nav--panel .mku-nav__item:focus > i {
    color: var(--mks-color-primary, #667eea);
    transform: scale(1.08);
}

.mku-nav--panel .mku-nav__item:active {
    background: rgba(102, 126, 234, 0.12);
}

.mku-nav--panel .mku-nav__icon,
.mku-nav--panel .mku-nav__chevron {
    display: none;
}

.mku-nav--panel .mku-nav__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.mku-nav--panel .mku-nav__count {
    flex-shrink: 0;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--mks-color-primary, #667eea);
    font-size: 11px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
}

.mku-nav--panel .mku-nav__count--wallet {
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.mku-nav--panel .mku-nav__item:hover .mku-nav__count,
.mku-nav--panel .mku-nav__item:focus .mku-nav__count {
    background: rgba(102, 126, 234, 0.16);
}

.mku-nav--panel .mku-nav__badge {
    position: static;
    top: auto;
    right: auto;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: none;
    border-radius: 9px;
    background: #e53e3e;
    font-size: 10px;
    font-weight: 700;
}

.mku-nav--panel .mku-nav__divider {
    height: 1px;
    margin: 6px 10px;
    background: #f0f2f8;
}

.mku-nav--panel .mku-nav__item--seller {
    background: linear-gradient(135deg, rgba(253, 221, 150, 0.35) 0%, rgba(251, 211, 141, 0.2) 100%);
    color: #744210;
    border: none;
}

.mku-nav--panel .mku-nav__item--seller > i {
    color: #d69e2e;
}

.mku-nav--panel .mku-nav__item--seller:hover,
.mku-nav--panel .mku-nav__item--seller:focus {
    background: linear-gradient(135deg, rgba(253, 221, 150, 0.55) 0%, rgba(251, 211, 141, 0.35) 100%);
    color: #5f370e;
    box-shadow: none;
}

.mku-nav--panel .mku-nav__item--logout {
    margin-top: 0;
    color: #c53030;
    border: none;
    background: transparent;
}

.mku-nav--panel .mku-nav__item--logout > i {
    color: #e53e3e;
}

.mku-nav--panel .mku-nav__item--logout:hover,
.mku-nav--panel .mku-nav__item--logout:focus {
    color: #9b2c2c;
    background: rgba(229, 62, 62, 0.08);
    border-color: transparent;
    box-shadow: none;
}

.mku-nav--panel .mku-nav__item--logout:hover > i,
.mku-nav--panel .mku-nav__item--logout:focus > i {
    color: #c53030;
}

.mku-nav__icon--logout {
    background: none !important;
    color: inherit;
}

/* Nav (dashboard account page) */
.mku-nav {
    display: flex;
    flex-direction: column;
    padding: 14px 12px 8px;
    gap: 4px;
    flex: 1;
}

.mku-nav__item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    border: 1px solid #edf0f7;
    transition: background 0.18s, color 0.18s, transform 0.22s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.18s;
    animation: mkuItemSlide 0.4s ease both;
}

.mku-nav__item:nth-child(1) { animation-delay: 0.04s; }
.mku-nav__item:nth-child(2) { animation-delay: 0.08s; }
.mku-nav__item:nth-child(3) { animation-delay: 0.12s; }
.mku-nav__item:nth-child(4) { animation-delay: 0.16s; }
.mku-nav__item:nth-child(5) { animation-delay: 0.20s; }

@keyframes mkuItemSlide {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: translateX(0); }
}

.mku-nav__item:hover {
    background: #f0f2ff;
    color: var(--mks-color-primary);
    border-color: rgba(102,126,234,0.2);
    transform: translateX(-3px);
    box-shadow: 0 4px 14px rgba(102,126,234,0.1);
}

.mku-nav__item--seller {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fde68a;
    color: #78350f;
}

.mku-nav__item--seller:hover {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #78350f;
    border-color: #fbbf24;
}

.mku-nav__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.2s ease;
}

.mku-nav__item:hover .mku-nav__icon {
    transform: scale(1.08);
}

.mku-nav__icon--1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.mku-nav__icon--2 { background: linear-gradient(135deg, #f77f00, #fcbf49); }
.mku-nav__icon--3 { background: linear-gradient(135deg, #f72585, #b5179e); }
.mku-nav__icon--4 { background: linear-gradient(135deg, #4cc9f0, #4361ee); }
.mku-nav__icon--seller { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }

.mku-nav__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #ef4444;
    color: #fff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 800;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}

.mku-nav__label {
    flex: 1;
    line-height: 1.4;
}

.mku-nav__chevron {
    font-size: 12px;
    color: #d1d5db;
    transition: color 0.18s, transform 0.18s;
}

.mku-nav__item:hover .mku-nav__chevron {
    color: var(--mks-color-primary);
    transform: translateX(-2px);
}

/* Dashboard nav – 3-column icon grid (mobile) */
.mku-nav--dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 4px 0 8px;
    margin-top: 14px;
    background: transparent;
}

.mku-nav--dashboard .mku-nav__item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 8px 14px;
    min-height: 108px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef0f6;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    text-align: center;
    animation-name: mkuItemFade;
}

.mku-nav--dashboard .mku-nav__item:hover {
    background: #fff;
    color: #374151;
    border-color: color-mix(in srgb, var(--mks-color-primary, #7352ac) 28%, #eef0f6);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--mks-color-primary, #7352ac) 14%, transparent);
}

.mku-nav--dashboard .mku-nav__item--seller {
    background: #fff;
    border-color: #eef0f6;
    color: #374151;
}

.mku-nav--dashboard .mku-nav__item--seller:hover {
    background: #fff;
    color: #374151;
    border-color: #fde68a;
}

.mku-nav--dashboard .mku-nav__item--logout {
    color: #64748b;
}

.mku-nav--dashboard .mku-nav__chevron {
    display: none;
}

.mku-nav--dashboard .mku-nav__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 20px;
    background: #f1f5f9;
    color: #64748b;
}

.mku-nav--dashboard .mku-nav__item:hover .mku-nav__icon {
    transform: scale(1.06);
}

.mku-nav--dashboard .mku-nav__label {
    flex: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    color: #334155;
}

.mku-nav--dashboard .mku-nav__badge {
    top: -5px;
    right: auto;
    left: -5px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #16a34a;
    border-color: #fff;
    font-size: 10px;
}

.mku-nav--dashboard .mku-nav__icon--dashboard {
    background: color-mix(in srgb, var(--mks-color-primary, #7352ac) 14%, #fff);
    color: var(--mks-color-primary, #7352ac);
}

.mku-nav--dashboard .mku-nav__icon--orders {
    background: #e8f8ef;
    color: #16a34a;
}

.mku-nav--dashboard .mku-nav__icon--edit {
    background: #e8f1ff;
    color: #3b82f6;
}

.mku-nav--dashboard .mku-nav__icon--wallet {
    background: #fff6e5;
    color: #d97706;
}

.mku-nav--dashboard .mku-nav__icon--comments {
    background: #ffe8ec;
    color: #e11d48;
}

.mku-nav--dashboard .mku-nav__icon--favorites {
    background: #ffe8f3;
    color: #db2777;
}

.mku-nav--dashboard .mku-nav__icon--stock-notify {
    background: color-mix(in srgb, var(--mks-color-secondary, #5a3d8a) 14%, #fff);
    color: var(--mks-color-secondary, #5a3d8a);
}

.mku-nav--dashboard .mku-nav__icon--chat {
    background: #e6f6ff;
    color: #0284c7;
}

.mku-nav--dashboard .mku-nav__icon--seller {
    background: #fff7e6;
    color: #b45309;
}

.mku-nav--dashboard .mku-nav__icon--logout {
    background: #f1f5f9;
    color: #64748b;
}

@keyframes mkuItemFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   Desktop Account Nav – improved
══════════════════════════════════════════ */
.mks-account-nav {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    margin-bottom: 24px;
}

.mks-nav-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 28px 20px 22px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mks-nav-header::before {
    content: '';
    position: absolute;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -40px; right: -30px;
}

.mks-nav-header::after {
    content: '';
    position: absolute;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    bottom: -20px; left: -20px;
}

.mks-nav-header h3 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.mks-nav-header p {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.mks-nav-main ul {
    list-style: none;
    padding: 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mks-nav-main ul li {
    border: none !important;
}

.mks-nav-main ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 13px 14px !important;
    text-decoration: none !important;
    color: #374151 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    transition: background 0.18s, color 0.18s, transform 0.22s cubic-bezier(0.34,1.3,0.64,1) !important;
    position: static !important;
}

.mks-nav-main ul li a:hover {
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08)) !important;
    color: var(--mks-color-primary) !important;
    transform: translateX(-3px) !important;
    box-shadow: none !important;
}

.mks-nav-main ul li a.active {
    background: var(--mks-bg-soft, rgba(102, 126, 234, 0.08)) !important;
    color: var(--mks-color-primary) !important;
    font-weight: 700 !important;
    transform: translateX(-3px) !important;
}

.mks-nav-main ul li a i {
    width: 34px !important;
    height: 34px !important;
    margin-left: 12px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    background: var(--mks-primary-gradient, linear-gradient(135deg, var(--mks-color-primary, #667eea) 0%, #764ba2 100%)) !important;
    color: #fff !important;
    --fa-primary-color: #fff;
    --fa-secondary-color: rgba(255, 255, 255, 0.65);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    vertical-align: unset !important;
    transition: transform 0.2s ease !important;
}

.mks-nav-main ul li a:hover i,
.mks-nav-main ul li a.active i {
    transform: scale(1.08) !important;
}

.mks-nav-main ul li a strong {
    background: #ef4444 !important;
    color: white !important;
    border-radius: 9px !important;
    min-width: 20px !important;
    height: 20px !important;
    width: auto !important;
    padding: 0 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    margin-right: auto !important;
    font-weight: 800 !important;
    position: static !important;
    left: auto !important;
    line-height: 1 !important;
    border: none !important;
    text-align: center !important;
}

.mks-seller-item li a,
.mks-seller-item > a {
    background: linear-gradient(135deg, #fffbeb, #fef3c7) !important;
    color: #78350f !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
}

.mks-seller-item li a:hover,
.mks-seller-item > a:hover {
    background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
    color: #78350f !important;
}

.mks-seller-item li a i,
.mks-seller-item > a i {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #fff !important;
}

.mks-logout-item li a,
.mks-logout-item > a {
    color: #e11d48 !important;
}

.mks-logout-item li a:hover,
.mks-logout-item > a:hover {
    background: #fff1f2 !important;
    color: #be123c !important;
}

.mks-logout-item li a i,
.mks-logout-item > a i {
    background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
}

/* ===== 404 Page ===== */
.mks-404-page {
    padding: 24px 0 48px;
}

.mks-404-hero {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e8edf3;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 28px;
}

.mks-404-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(102, 126, 234, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.mks-404-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px 24px 40px;
}

.mks-404-hero__code {
    font-size: clamp(72px, 14vw, 120px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    background: var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.18;
    margin-bottom: -28px;
    user-select: none;
}

.mks-404-hero__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: mks404IconPulse 2.5s ease-in-out infinite;
}

.mks-404-hero__icon i {
    font-size: 30px;
    color: #667eea;
}

@keyframes mks404IconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.mks-404-hero__title {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    color: #2d3748;
    margin: 0 0 10px;
}

.mks-404-hero__desc {
    font-size: 15px;
    color: #718096;
    line-height: 1.75;
    max-width: 480px;
    margin: 0 auto 28px;
}

.mks-404-hero__search {
    display: flex;
    align-items: stretch;
    max-width: 460px;
    margin: 0 auto 24px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mks-404-hero__search:focus-within {
    border-color: rgba(102, 126, 234, 0.45);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #fff;
}

.mks-404-hero__search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 13px 16px;
    font-size: 14px;
    color: #2d3748;
    outline: none;
}

.mks-404-hero__search input::placeholder {
    color: #a0aec0;
}

.mks-404-hero__search button {
    border: none;
    background: var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.mks-404-hero__search button:hover {
    opacity: 0.9;
}

.mks-404-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mks-404-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mks-404-hero__btn--primary {
    background: var(--mks-primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: #fff;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}

.mks-404-hero__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(102, 126, 234, 0.35);
    color: #fff;
}

.mks-404-hero__btn--outline {
    background: #fff;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.mks-404-hero__btn--outline:hover {
    border-color: rgba(102, 126, 234, 0.35);
    color: #667eea;
    transform: translateY(-2px);
}

.mks-404-products {
    border-radius: 20px;
    overflow: hidden;
}

.mks-404-products .mks-card-body {
    padding: 20px 16px 8px;
}

.mks-404-products .mks-pb-section-header {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .mks-404-page {
        padding: 16px 0 32px;
    }

    .mks-404-hero__inner {
        padding: 36px 18px 32px;
    }

    .mks-404-hero__code {
        margin-bottom: -20px;
    }

    .mks-404-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .mks-404-hero__btn {
        width: 100%;
        justify-content: center;
    }
}
}