/* Estedad — local font files in wwwroot/font */
@font-face {
    font-family: "Estedad";
    src: url("../font/Estedad-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Estedad";
    src: url("../font/Estedad-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Estedad";
    src: url("../font/Estedad-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Estedad";
    src: url("../font/Estedad-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Estedad";
    src: url("../font/Estedad-ExtraBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

/* site-(3).css - حدود خط ۴۲ تا ۴۵ */
:root {
    --km-text: #e2e8f0;
    --km-muted: #a8b8cc;
    --km-surface: rgba(5, 18, 34, 0.94);
    --km-surface-hover: rgba(0, 210, 255, 0.08);
    --km-border: rgba(127, 177, 213, 0.2);
    --km-border-strong: rgba(0, 210, 255, 0.46);
    --km-accent: #08d8f4;
    --km-accent-soft: rgba(0, 210, 255, 0.12);
    --km-danger: #ff7186;
    --km-radius: 14px;
    --km-shadow: 0 20px 55px rgba(0, 0, 0, 0.48);
    --km-header-height: 82px;
    /* فونت پیش‌فرض کل سایت */
    --km-font-family: "Estedad", Tahoma, sans-serif;
}

html {
    font-family: var(--km-font-family);
}

body,
button,
input,
select,
textarea {
    font-family: var(--km-font-family);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--km-text);
    background: var(--km-bg);
    text-align: right;
}

/* ادامه‌ی CSS فعلی‌ات از اینجا، بدون تغییر */
a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-size: inherit;
}

button {
    color: inherit;
}

.km-site-shell {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    background: radial-gradient(ellipse at 4% 27%, rgba(0, 146, 255, 0.12), transparent 32%), radial-gradient(ellipse at 97% 41%, rgba(0, 193, 255, 0.09), transparent 35%), linear-gradient(180deg, #03101f 0%, #041326 52%, #030b17 100%);
}

    .km-site-shell::before {
        position: fixed;
        z-index: -1;
        inset: 0;
        background: radial-gradient(circle at 9% 25%, rgba(0, 202, 255, 0.15), transparent 10rem), radial-gradient(circle at 91% 33%, rgba(0, 174, 255, 0.12), transparent 13rem), radial-gradient(ellipse at 50% 0%, rgba(0, 97, 170, 0.09), transparent 48rem);
        content: "";
        pointer-events: none;
    }

.km-header {
    position: sticky;
    z-index: 1100;
    top: 10px;
    width: min(1396px, calc(100% - 48px));
    margin: 10px auto 0;
    border: 1px solid rgba(34, 156, 202, 0.35);
    border-radius: 17px;
    background: rgba(3, 15, 29, 0.88);
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.32), inset 0 0 24px rgba(0, 210, 255, 0.025);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.km-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(310px, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 3vw, 46px);
    min-height: var(--km-header-height);
    padding: 0 22px;
    direction: rtl;
}

/* اصلاح سایز لوگوی هدر */
.km-brand .km-brand-img {
    width: 110px !important;
    height: 110px !important;
    max-width: 110px !important;
    object-fit: contain;
}


.km-brand__mark {
    flex: 0 0 auto;
    color: var(--km-accent);
    filter: drop-shadow(0 0 9px rgba(0, 210, 255, 0.55));
}

.km-brand__name {
    color: #f5f8fc;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.4px;
    white-space: nowrap;
}

/* Navigation */
.km-nav {
    display: flex;
    align-self: stretch;
    justify-content: center;
    min-width: 0;
}

.km-nav__list {
    display: flex;
    align-items: stretch;
    gap: clamp(14px, 2.6vw, 40px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.km-nav__item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.km-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 100%;
    padding: 0 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #edf3f9;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color 160ms ease;
}

    .km-nav__link:hover,
    .km-nav__link:focus-visible,
    .km-nav__link[aria-current="page"],
    .km-category.is-open > .km-category__trigger {
        color: var(--km-accent);
        outline: none;
    }

        .km-nav__link[aria-current="page"]::after,
        .km-category.is-open > .km-category__trigger::after {
            position: absolute;
            right: 0;
            bottom: -1px;
            left: 0;
            height: 3px;
            border-radius: 4px 4px 0 0;
            background: var(--km-accent);
            box-shadow: 0 0 12px rgba(0, 210, 255, 0.7);
            content: "";
        }

.km-nav__small-chevron,
.km-nav__chevron {
    flex: 0 0 auto;
    transition: transform 180ms ease;
}

.km-category.is-open .km-nav__chevron {
    transform: rotate(180deg);
}

.km-category__trigger:focus-visible,
.km-nav__link:focus-visible {
    outline: 2px solid rgba(8, 216, 244, 0.75);
    outline-offset: 5px;
}

/* Mega menu */
.km-category {
    position: relative;
}

.km-mega {
    position: absolute;
    top: calc(100% - 1px);
    right: 50%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    gap: 25px;
    width: min(666px, calc(100vw - 36px));
    padding: 25px 27px;
    border: 1px solid rgba(0, 191, 232, 0.62);
    border-radius: 18px;
    background: rgba(3, 15, 29, 0.97);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.56), 0 0 24px rgba(0, 192, 232, 0.07);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(50%, 9px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.km-category.is-open > .km-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(50%, 0);
}

.km-mega__column {
    min-width: 0;
}

.km-mega__title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 17px;
    color: var(--km-text);
    font-size: 19px;
    font-weight: 750;
}

    .km-mega__title svg {
        flex: 0 0 auto;
        color: var(--km-accent);
    }

.km-mega__divider {
    width: 1px;
    align-self: stretch;
    background: rgba(151, 190, 219, 0.18);
}

.km-mega__links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.km-mega__link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 5px 2px;
    border-radius: 10px;
    color: #e8f0f7;
    transition: color 160ms ease, background 160ms ease;
}

    .km-mega__link:hover,
    .km-mega__link:focus-visible {
        outline: none;
        background: rgba(0, 210, 255, 0.055);
        color: #fff;
    }

.km-mega__label {
    font-size: 16px;
    font-weight: 550;
}

.km-mega__arrow {
    color: #668198;
    font-size: 23px;
    line-height: 1;
    transition: color 160ms ease, transform 160ms ease;
}

.km-mega__link:hover .km-mega__arrow,
.km-mega__link:focus-visible .km-mega__arrow {
    color: var(--km-accent);
    transform: translateX(-3px);
}

.km-mega__icon {
    display: grid;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin-inline-start: auto;
    place-items: center;
    border: 1px solid rgba(0, 210, 255, 0.08);
    border-radius: 14px;
    background: rgba(0, 210, 255, 0.07);
    color: var(--km-accent);
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.km-mega__link:hover .km-mega__icon,
.km-mega__link:focus-visible .km-mega__icon {
    border-color: rgba(0, 210, 255, 0.5);
    background: rgba(0, 210, 255, 0.15);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.14);
}

/* Search and action icons */
.km-tools {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    direction: ltr;
}

.km-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: clamp(205px, 21vw, 270px);
    height: 50px;
    padding: 0 14px 0 17px;
    border: 1px solid rgba(161, 192, 219, 0.22);
    border-radius: 999px;
    background: rgba(112, 145, 177, 0.13);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

    .km-search:focus-within {
        border-color: rgba(0, 210, 255, 0.6);
        background: rgba(15, 44, 68, 0.82);
        box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.08);
    }

    .km-search input {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--km-text);
        font-size: 13px;
        text-align: right;
    }

        .km-search input::placeholder {
            color: #8196ac;
            opacity: 1;
        }

    .km-search button {
        display: grid;
        flex: 0 0 25px;
        width: 25px;
        height: 25px;
        padding: 0;
        place-items: center;
        border: 0;
        background: transparent;
        color: #8eb9d4;
        cursor: pointer;
        transition: color 160ms ease;
    }

        .km-search button:hover {
            color: var(--km-accent);
        }

.km-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.km-icon-button {
    position: relative;
    display: grid;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #f2f7fc;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

    .km-icon-button svg {
        width: 26px;
        height: 26px;
    }

    .km-icon-button:hover,
    .km-icon-button:focus-visible {
        outline: none;
        background: rgba(0, 210, 255, 0.08);
        color: var(--km-accent);
    }

.km-cart {
    position: relative;
}

.km-cart__badge {
    position: absolute;
    top: -5px;
    right: -4px;
    display: grid;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    place-items: center;
    border-radius: 999px;
    background: var(--km-accent);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.55);
    color: #03101a;
    font-size: 10px;
    font-weight: 800;
}

.km-cart__popover {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 20;
    width: min(300px, calc(100vw - 30px));
    padding: 16px;
    border: 1px solid var(--km-border);
    border-radius: 14px;
    background: rgba(4, 16, 30, 0.97);
    box-shadow: var(--km-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(7px);
    transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.km-cart:hover .km-cart__popover,
.km-cart.is-open .km-cart__popover,
.km-cart:focus-within .km-cart__popover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.km-cart__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--km-border);
    color: var(--km-text);
    font-size: 13px;
    font-weight: 650;
}

.km-muted {
    color: var(--km-muted);
    font-size: 11px;
    font-weight: 400;
}

.km-cart__empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 22px 8px;
    color: var(--km-muted);
    font-size: 12px;
    text-align: center;
}

    .km-cart__empty svg {
        width: 34px;
        height: 34px;
        color: #7890a8;
    }

    .km-cart__empty p {
        margin: 0;
    }

.km-checkout {
    display: flex;
    min-height: 41px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 210, 255, 0.45);
    border-radius: 8px;
    background: linear-gradient(115deg, #08d8f4, #078de4);
    color: #03121d;
    font-size: 12px;
    font-weight: 750;
    transition: filter 160ms ease;
}

    .km-checkout:hover {
        filter: brightness(1.08);
        color: #03121d;
    }

/* Page and footer */
.km-main {
    min-height: calc(100vh - var(--km-header-height) - 70px);
}

.km-footer {
    border-top: 1px solid rgba(127, 177, 213, 0.14);
    background: rgba(2, 9, 18, 0.72);
}

.km-footer__inner {
    display: flex;
    width: min(1396px, calc(100% - 48px));
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-inline: auto;
}

.km-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--km-text);
    font-size: 15px;
    font-weight: 750;
}

.km-footer__mark {
    color: var(--km-accent);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -8px;
    direction: ltr;
}

.km-footer__copyright {
    color: var(--km-muted);
    font-size: 11px;
}

/* Responsive header */
.km-mobile-toggle {
    display: none;
}

@media (max-width: 1050px) {
    .km-header__inner {
        grid-template-columns: auto minmax(255px, 1fr) auto;
        gap: 20px;
        padding-inline: 17px;
    }

    .km-nav__list {
        gap: 19px;
    }

    .km-tools {
        gap: 13px;
    }

    .km-search {
        width: 205px;
    }

    .km-actions {
        gap: 9px;
    }

    .km-brand__name {
        font-size: 19px;
    }
}

@media (max-width: 820px) {
    :root {
        --km-header-height: 68px;
    }

    .km-header {
        width: calc(100% - 28px);
    }

    .km-header__inner {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        padding-inline: 14px;
    }

    .km-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .km-brand__mark {
        width: 29px;
        height: 29px;
    }

    .km-brand__name {
        font-size: 17px;
    }

    .km-mobile-toggle {
        display: flex;
        grid-column: 3;
        grid-row: 1;
        width: 39px;
        height: 39px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--km-border);
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.025);
        cursor: pointer;
    }

        .km-mobile-toggle span {
            width: 17px;
            height: 2px;
            border-radius: 2px;
            background: var(--km-text);
            transition: transform 160ms ease, opacity 160ms ease;
        }

        .km-mobile-toggle[aria-expanded="true"] span:first-child {
            transform: translateY(7px) rotate(45deg);
        }

        .km-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
            opacity: 0;
        }

        .km-mobile-toggle[aria-expanded="true"] span:last-child {
            transform: translateY(-7px) rotate(-45deg);
        }

    .km-tools {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        gap: 10px;
    }

    .km-search {
        width: clamp(125px, 29vw, 220px);
        height: 42px;
    }

    .km-actions {
        gap: 6px;
    }

    .km-icon-button {
        width: 32px;
        height: 34px;
        flex-basis: 32px;
    }

        .km-icon-button svg {
            width: 23px;
            height: 23px;
        }

    .km-nav {
        position: absolute;
        top: calc(100% + 9px);
        right: 0;
        left: 0;
        display: none;
        padding: 8px;
        border: 1px solid var(--km-border);
        border-radius: 13px;
        background: rgba(3, 15, 29, 0.98);
        box-shadow: var(--km-shadow);
    }

        .km-nav.is-open {
            display: block;
        }

    .km-nav__list {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
    }

    .km-nav__item {
        display: block;
    }

    .km-nav__link {
        width: 100%;
        min-height: 44px;
        justify-content: flex-start;
        padding-inline: 12px;
    }

        .km-nav__link[aria-current="page"]::after,
        .km-category.is-open > .km-category__trigger::after {
            right: 8px;
            bottom: 3px;
            left: auto;
            width: 3px;
            height: 28px;
            border-radius: 4px;
        }

    .km-mega {
        position: static;
        width: 100%;
        margin: 4px 0 7px;
        transform: none;
    }

    .km-category.is-open > .km-mega {
        transform: none;
    }
}

@media (max-width: 560px) {
    .km-header {
        top: 7px;
        width: calc(100% - 20px);
        margin-top: 7px;
        border-radius: 14px;
    }

    .km-header__inner {
        min-height: 62px;
        gap: 7px;
        padding-inline: 10px;
    }

    .km-brand {
        gap: 6px;
    }

    .km-brand__mark {
        width: 25px;
        height: 25px;
    }

    .km-brand__name {
        font-size: 15px;
    }

    .km-mobile-toggle {
        width: 34px;
        height: 34px;
    }

    .km-tools {
        gap: 5px;
    }

    .km-search {
        width: 38px;
        height: 36px;
        justify-content: center;
        padding: 0;
        border-color: transparent;
        background: transparent;
    }

        .km-search input {
            position: absolute;
            top: calc(100% + 11px);
            right: 0;
            z-index: 25;
            display: none;
            width: min(340px, calc(100vw - 24px));
            height: 43px;
            padding: 0 13px;
            border: 1px solid var(--km-border-strong);
            border-radius: 10px;
            background: #071425;
            box-shadow: var(--km-shadow);
        }

        .km-search:focus-within input {
            display: block;
        }

        .km-search button {
            flex-basis: 28px;
            width: 28px;
            height: 28px;
            color: var(--km-accent);
        }

    .km-icon-button {
        width: 29px;
        height: 32px;
        flex-basis: 29px;
    }

        .km-icon-button svg {
            width: 21px;
            height: 21px;
        }

    .km-actions {
        gap: 2px;
    }

    .km-mega {
        grid-template-columns: 1fr;
        gap: 11px;
        padding: 17px;
        border-radius: 13px;
    }

    .km-mega__divider {
        width: 100%;
        height: 1px;
    }

    .km-mega__title {
        margin-bottom: 9px;
        font-size: 16px;
    }

    .km-mega__links {
        gap: 2px;
    }

    .km-mega__link {
        min-height: 47px;
    }

    .km-mega__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .km-mega__label {
        font-size: 14px;
    }

    .km-footer__inner {
        width: calc(100% - 24px);
        min-height: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
.km-profile-menu {
    position: relative;
    direction: rtl;
    z-index: 1050;
}

.km-profile-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: #fff;
    background: transparent;
    font: inherit;
    text-align: right;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

    .km-profile-menu__trigger:hover,
    .km-profile-menu.is-open .km-profile-menu__trigger {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.26);
    }

.km-profile-menu__avatar,
.km-profile-menu__summary-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #7357ff, #4a8dff);
    font-size: 18px;
}

.km-profile-menu__identity,
.km-profile-menu__summary-text {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.km-profile-menu__email {
    max-width: 180px;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.km-profile-menu__caption {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
}

.km-profile-menu__chevron {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    transition: transform 160ms ease;
}

.km-profile-menu.is-open .km-profile-menu__chevron {
    transform: rotate(180deg);
}

.km-profile-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: min(320px, calc(100vw - 24px));
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    color: #fff;
    background: #171923;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

    .km-profile-menu__panel[hidden] {
        display: none;
    }

.km-profile-menu__summary {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 9px 14px;
}

.km-profile-menu__summary-text strong {
    max-width: 230px;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.km-profile-menu__summary-text small {
    color: #b7bac8;
    font-size: 11px;
}

.km-profile-menu__wallet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #f1f2f7;
    background: rgba(255, 255, 255, 0.045);
    font-size: 12px;
}

    .km-profile-menu__wallet span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .km-profile-menu__wallet a {
        color: #b9aaff;
        font-size: 11px;
        text-decoration: none;
    }

.km-profile-menu__links {
    display: grid;
    gap: 3px;
}

    .km-profile-menu__links a,
    .km-profile-menu__logout button {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 42px;
        padding: 9px 12px;
        border: 0;
        border-radius: 10px;
        color: #e9eaf0;
        background: transparent;
        font: inherit;
        font-size: 12px;
        text-align: right;
        text-decoration: none;
        cursor: pointer;
        transition: color 150ms ease, background-color 150ms ease;
    }

        .km-profile-menu__links a:hover,
        .km-profile-menu__logout button:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
        }

    .km-profile-menu__links i,
    .km-profile-menu__logout i {
        width: 18px;
        color: #b9aaff;
        font-size: 15px;
        text-align: center;
    }

.km-profile-menu__logout {
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

    .km-profile-menu__logout button {
        color: #ffb7bd;
    }

        .km-profile-menu__logout button i {
            color: #ff8993;
        }

@media (max-width: 576px) {
    .km-profile-menu__identity,
    .km-profile-menu__chevron {
        display: none;
    }

    .km-profile-menu__trigger {
        width: 46px;
        justify-content: center;
        padding: 4px;
    }

    .km-profile-menu__panel {
        inset-inline-end: -8px;
    }
}
.km-cart__popover {
    z-index: 1100;
}

.km-checkout {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid rgba(0, 242, 255, .24);
    border-radius: 12px;
    background: linear-gradient(110deg, #08c7df, #168de2);
    color: #041522;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

    .km-checkout:hover {
        transform: translateY(-2px);
        filter: brightness(1.08);
        box-shadow: 0 9px 24px rgba(0, 211, 242, .2);
        color: #041522;
    }
/* افکت نئونی و استایل لوگو */
.km-brand-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.45));
    transition: filter 0.25s ease, transform 0.25s ease;
}

.km-brand:hover .km-brand-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.8));
}

.km-footer__mark {
    object-fit: contain;
    border-radius: 4px;
    vertical-align: middle;
}
