@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

:root {
    --bg: #f2f5f5;
    --bg-soft: #fafcfc;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --text: #1f2933;
    --muted: #667785;
    --line: rgba(31, 41, 51, 0.08);
    --brand: #52737b;
    --brand-dark: #38575e;
    --accent: #b8906e;
    --danger: #b91c1c;
    --success: #166534;
    --shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(82, 115, 123, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(184, 144, 110, 0.1), transparent 24%),
        linear-gradient(180deg, #fbfcfc 0%, #f1f5f5 100%);
    color: var(--text);
    font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
}

.container {
    width: min(1880px, calc(100% - 24px));
    margin: 0 auto;
}

.content-space {
    padding: 28px 0 64px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(82, 115, 123, 0.08);
    background: rgba(249, 251, 251, 0.84);
    backdrop-filter: blur(16px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand strong {
    display: block;
    font-size: 1.05rem;
}

.brand small {
    color: var(--muted);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand), #1f9d94);
    color: white;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 16px 28px rgba(15, 118, 110, 0.2);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-search {
    position: relative;
    flex: 1 1 420px;
    max-width: 560px;
    min-width: 280px;
}

.site-search-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 2;
    width: 20px;
    height: 20px;
    color: var(--brand-dark);
    transform: translateY(-50%);
    pointer-events: none;
}

.site-search-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.site-search-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 999px;
    background:
        radial-gradient(circle at 94% 20%, rgba(15, 118, 110, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.86);
    color: var(--text);
    font-weight: 800;
    padding: 12px 48px 12px 46px;
    outline: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 16px 32px rgba(15, 23, 42, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.site-search-input::placeholder {
    color: rgba(102, 119, 133, 0.82);
}

.site-search-input:focus,
.site-search.is-open .site-search-input {
    border-color: rgba(15, 118, 110, 0.28);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.08), 0 18px 38px rgba(15, 23, 42, 0.09);
}

.site-search-clear {
    position: absolute;
    top: 50%;
    left: 10px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.1);
    color: var(--brand-dark);
    cursor: pointer;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.92);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease, background 0.18s ease;
}

.site-search-clear.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.site-search-clear:hover {
    background: rgba(185, 28, 28, 0.1);
    color: var(--danger);
}

.site-search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    z-index: 45;
    max-height: min(520px, calc(100vh - 120px));
    overflow: auto;
    padding: 10px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 62px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.site-search.is-open .site-search-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-search-empty {
    padding: 18px;
    border-radius: 16px;
    background: rgba(242, 245, 245, 0.78);
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.site-search-empty.is-loading {
    color: var(--brand-dark);
}

.site-search-result {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 18px;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-search-result:hover,
.site-search-result.is-active {
    border-color: rgba(15, 118, 110, 0.16);
    background: rgba(15, 118, 110, 0.07);
    transform: translateY(-1px);
}

.site-search-result img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(82, 115, 123, 0.08);
    background: #f7fbfb;
}

.site-search-result-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.site-search-result-copy strong,
.site-search-result-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-search-result-copy strong {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 900;
}

.site-search-result-copy small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.site-search-price {
    border-radius: 999px;
    background: rgba(184, 144, 110, 0.12);
    color: #8a5a2b;
    font-size: 0.76rem;
    font-weight: 900;
    padding: 7px 10px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 800;
    transition: 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: rgba(15, 118, 110, 0.09);
    color: var(--brand-dark);
}

.nav-link-featured {
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-dark);
    border: 1px solid rgba(82, 115, 123, 0.1);
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.cart-nav-link {
    position: relative;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding-inline: 7px;
    border-radius: 999px;
    background: #b26928;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(178, 105, 40, 0.22);
    transition: transform 0.18s ease, background 0.18s ease;
}

.cart-badge.is-updated {
    transform: scale(1.18);
    background: var(--brand);
}

.profile-menu {
    position: relative;
}

.departments-menu {
    position: relative;
}

.departments-trigger {
    border: 1px solid rgba(82, 115, 123, 0.1);
    background: rgba(255, 255, 255, 0.74);
    color: var(--brand-dark);
    cursor: pointer;
}

.departments-trigger .chevron {
    font-size: 1rem;
    line-height: 1;
    margin-inline-start: 2px;
}

.departments-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: auto;
    z-index: 30;
    width: min(520px, calc(100vw - 28px));
    padding: 12px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.departments-menu:hover .departments-dropdown,
.departments-menu:focus-within .departments-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.departments-dropdown-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px 12px;
    border-bottom: 1px solid rgba(82, 115, 123, 0.1);
}

.departments-dropdown-head strong {
    color: var(--text);
    font-size: 0.98rem;
}

.departments-dropdown-head span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 10px;
}

.department-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--text);
    font-weight: 800;
    line-height: 1.5;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.department-item:hover {
    border-color: rgba(82, 115, 123, 0.12);
    background: rgba(15, 118, 110, 0.08);
    color: var(--brand-dark);
}

.department-item.is-active {
    border-color: rgba(15, 118, 110, 0.18);
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
}

.about-dropdown {
    width: min(320px, calc(100vw - 28px));
}

.about-grid {
    grid-template-columns: 1fr;
}

.department-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(82, 115, 123, 0.16), rgba(184, 144, 110, 0.16));
    color: var(--brand-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.department-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    display: block;
}

.department-icon.icon-freeware {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(45, 212, 191, 0.1));
    color: #0f766e;
}

.department-icon.icon-windows {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.15), rgba(0, 188, 242, 0.1));
    color: #0078d4;
}

.department-icon.icon-office {
    background: linear-gradient(135deg, rgba(216, 59, 1, 0.16), rgba(250, 173, 20, 0.1));
    color: #c2410c;
}

.department-icon.icon-games {
    background: linear-gradient(135deg, rgba(16, 124, 16, 0.16), rgba(132, 204, 22, 0.1));
    color: #15803d;
}

.department-icon.icon-digital-cards {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(217, 119, 6, 0.1));
    color: #0369a1;
}

.department-icon.icon-design {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.14), rgba(249, 115, 22, 0.1));
    color: #a21caf;
}

.department-icon.icon-video {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.14), rgba(244, 63, 94, 0.1));
    color: #be123c;
}

.department-icon.icon-ai {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(20, 184, 166, 0.1));
    color: #1d4ed8;
}

.department-icon.icon-security {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.16), rgba(16, 185, 129, 0.1));
    color: #047857;
}

.department-icon.icon-utilities {
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.16), rgba(148, 163, 184, 0.1));
    color: #475569;
}

.department-icon.icon-education {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(99, 102, 241, 0.1));
    color: #6d28d9;
}

.department-icon.icon-finance {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.15), rgba(245, 158, 11, 0.1));
    color: #92400e;
}

.department-icon.icon-marketing {
    background: linear-gradient(135deg, rgba(219, 39, 119, 0.14), rgba(251, 113, 133, 0.1));
    color: #be185d;
}

.department-icon.icon-devtools {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.14), rgba(51, 65, 85, 0.1));
    color: #1f2937;
}

.profile-trigger {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
}

.profile-trigger .chevron {
    font-size: 1rem;
    line-height: 1;
    margin-inline-start: 2px;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 30;
    min-width: 230px;
    padding: 8px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.profile-menu:hover .profile-dropdown,
.profile-menu:focus-within .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown a,
.profile-dropdown button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 0;
    border-radius: 12px;
    padding: 11px 12px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-weight: 800;
    text-align: right;
    transition: background 0.18s ease, color 0.18s ease;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
    background: rgba(15, 118, 110, 0.08);
    color: var(--brand-dark);
}

.profile-dropdown form {
    margin: 0;
}

.topbar-inner {
    flex-wrap: nowrap;
    gap: 14px;
    padding: 12px 0;
}

.brand {
    flex: 0 0 auto;
    min-width: 0;
    gap: 9px;
}

.brand small {
    display: block;
    max-width: 136px;
    font-size: 0.72rem;
    line-height: 1.55;
}

.brand strong {
    font-size: 0.92rem;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1rem;
}

.site-search {
    flex: 0 1 500px;
    min-width: 240px;
}

.site-search-input {
    min-height: 42px;
    padding: 9px 42px 9px 40px;
    font-size: 0.86rem;
}

.site-search-icon {
    right: 14px;
    width: 17px;
    height: 17px;
}

.site-search-clear {
    width: 28px;
    height: 28px;
    font-size: 1.15rem;
}

.nav-links {
    flex: 0 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 7px;
}

.nav-link,
.profile-trigger,
.departments-trigger {
    white-space: nowrap;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.84rem;
    line-height: 1.2;
}

.profile-menu,
.departments-menu {
    flex: 0 0 auto;
}

.nav-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}

.cart-badge {
    min-width: 20px;
    height: 20px;
    padding-inline: 6px;
    font-size: 0.66rem;
}

.profile-trigger .chevron,
.departments-trigger .chevron {
    font-size: 0.78rem;
}

.departments-dropdown,
.profile-dropdown {
    top: calc(100% + 10px);
}

@media (max-width: 1500px) {
    .topbar-inner {
        flex-wrap: wrap;
        align-items: center;
    }

    .brand {
        order: 1;
    }

    .site-search {
        order: 2;
        flex: 1 1 360px;
        max-width: none;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 8px 10px;
        border: 1px solid rgba(82, 115, 123, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.56);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }
}

@media (max-width: 1180px) {
    .nav-links {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .nav-link,
    .profile-trigger {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

@media (max-width: 720px) {
    .topbar-inner {
        gap: 10px;
        padding: 10px 0;
    }

    .brand {
        width: 100%;
        justify-content: space-between;
    }

    .brand > span:last-child {
        margin-inline-end: auto;
    }

    .brand small {
        max-width: none;
    }

    .site-search {
        order: 2;
        width: 100%;
        flex-basis: 100%;
    }

    .nav-links {
        order: 3;
        margin-inline: -2px;
        width: calc(100% + 4px);
        border-radius: 16px;
        gap: 6px;
    }

    .nav-link,
    .profile-trigger,
    .departments-trigger {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 0.78rem;
    }

    .nav-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }
}

.section {
    margin-top: 28px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.1);
    color: #9a5a00;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.14;
}

h2 {
    font-size: 1.6rem;
    line-height: 1.25;
}

h3 {
    font-size: 1.08rem;
    line-height: 1.4;
}

.lead {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #334155;
}

.legal-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: center;
    min-height: 360px;
    overflow: hidden;
    padding: 42px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 247, 0.92)),
        repeating-linear-gradient(135deg, rgba(82, 115, 123, 0.07) 0 1px, transparent 1px 14px);
    box-shadow: var(--shadow);
}

.legal-hero::before,
.legal-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(82, 115, 123, 0.12);
    transform: rotate(12deg);
}

.legal-hero::before {
    width: 220px;
    height: 220px;
    left: -70px;
    top: -80px;
    border-radius: 42px;
}

.legal-hero::after {
    width: 150px;
    height: 150px;
    right: 48%;
    bottom: -90px;
    border-radius: 999px;
}

.legal-hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.legal-stamp {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 220px;
    height: 220px;
    margin-inline-start: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 87, 94, 0.12), rgba(184, 144, 110, 0.14));
}

.legal-stamp-ring {
    position: absolute;
    inset: 18px;
    border: 2px dashed rgba(56, 87, 94, 0.28);
    border-radius: 50%;
}

.legal-stamp svg {
    width: 104px;
    height: 104px;
    fill: var(--brand-dark);
}

.legal-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.legal-summary-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.legal-summary-item strong {
    color: var(--text);
}

.legal-summary-item span:last-child {
    grid-column: 2;
    color: var(--muted);
    font-weight: 700;
}

.legal-icon {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
}

.legal-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.legal-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 22px;
}

.legal-sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.legal-sidebar strong {
    padding-bottom: 8px;
    color: var(--brand-dark);
    border-bottom: 1px solid rgba(82, 115, 123, 0.1);
}

.legal-sidebar a {
    padding: 9px 10px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
    transition: background 0.18s ease, color 0.18s ease;
}

.legal-sidebar a:hover {
    background: rgba(15, 118, 110, 0.08);
    color: var(--brand-dark);
}

.legal-clauses {
    display: grid;
    gap: 16px;
}

.legal-clause {
    position: relative;
    display: grid;
    gap: 12px;
    overflow: hidden;
    padding: 26px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
    scroll-margin-top: 112px;
}

.legal-clause::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand), var(--accent));
}

.clause-number {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(184, 144, 110, 0.13);
    color: #8a5a31;
    font-size: 0.78rem;
    font-weight: 900;
}

.legal-clause h2 {
    color: var(--text);
}

.legal-clause p,
.legal-clause li {
    color: #455866;
    line-height: 1.95;
    font-weight: 700;
}

.legal-clause ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-inline-start: 22px;
}

.legal-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid rgba(184, 144, 110, 0.18);
    border-radius: 16px;
    background: rgba(184, 144, 110, 0.08);
    color: #6f4d2e;
    font-weight: 800;
    line-height: 1.8;
}

.legal-note svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 3px;
    fill: currentColor;
}

.legal-signature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(82, 115, 123, 0.1);
}

.legal-signature span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 42px;
    border-radius: 14px;
    background: var(--brand-dark);
    color: white;
    font-weight: 900;
}

.legal-signature strong {
    color: var(--brand-dark);
}

.subtle {
    color: var(--muted);
    line-height: 1.85;
}

.stack,
.stack-lg {
    display: flex;
    flex-direction: column;
}

.stack {
    gap: 12px;
}

.stack-lg {
    gap: 20px;
}

.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.align-end {
    align-items: flex-end;
}

.card {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.tinted {
    background: rgba(248, 250, 252, 0.72);
    border-color: var(--line);
    box-shadow: none;
}

.hero {
    padding: 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.hero-actions,
.toolbar,
.action-row,
.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price-row {
    justify-content: space-between;
    margin-top: auto;
}

.price-row strong {
    font-size: 1.3rem;
}

.card-grid {
    display: grid;
    gap: 16px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stats-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    padding: 18px;
}

.stat-card strong {
    font-size: 1.9rem;
    color: var(--brand-dark);
}

.feature-card,
.product-card {
    height: 100%;
}

.info-list {
    display: grid;
    gap: 10px;
}

.info-list.compact {
    gap: 8px;
}

.info-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed rgba(100, 116, 139, 0.18);
    padding-bottom: 8px;
}

.info-list dt {
    color: var(--muted);
}

.pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.pill-muted {
    background: rgba(148, 163, 184, 0.16);
    color: #475569;
}

.status-pending {
    background: rgba(217, 119, 6, 0.12);
    color: #92400e;
}

.status-fulfilled {
    background: rgba(22, 101, 52, 0.12);
    color: var(--success);
}

.status-partially_fulfilled {
    background: rgba(15, 118, 110, 0.12);
    color: var(--brand-dark);
}

.status-failed {
    background: rgba(185, 28, 28, 0.1);
    color: var(--danger);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.button-icon {
    display: inline-flex;
    width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    flex: 0 0 17px;
}

.button-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.button-primary {
    background: linear-gradient(135deg, var(--brand), #149a90);
    color: white;
    box-shadow: 0 18px 28px rgba(15, 118, 110, 0.22);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    border: 1px solid var(--line);
}

.button-ghost {
    background: transparent;
    color: var(--brand-dark);
    border: 1px solid rgba(15, 118, 110, 0.18);
}

.small-button {
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 0.88rem;
}

.full-width {
    width: 100%;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-full {
    grid-column: 1 / -1;
}

.label {
    font-weight: 700;
    color: #334155;
}

.input,
.textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 13px 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input:focus,
.textarea:focus {
    border-color: rgba(15, 118, 110, 0.45);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.textarea {
    resize: vertical;
    min-height: 120px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 18px;
    align-items: start;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.details-grid.smart-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.76);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-card span {
    color: var(--muted);
    font-size: 0.88rem;
}

.smart-detail-card {
    position: relative;
    overflow: hidden;
    min-height: 138px;
    border-color: rgba(15, 118, 110, 0.13);
    background:
        radial-gradient(circle at 12% 12%, rgba(20, 184, 166, 0.11), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 250, 0.9));
}

.smart-detail-card::after {
    content: "";
    position: absolute;
    inset-inline-end: 16px;
    top: 16px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0f766e;
    box-shadow: 0 0 0 7px rgba(15, 118, 110, 0.08);
}

.smart-detail-card strong {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.55;
    padding-inline-end: 18px;
}

.smart-detail-card small {
    color: #52737b;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.75;
}

.smart-product-panel {
    display: grid;
    gap: 14px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at 82% 18%, rgba(196, 121, 45, 0.11), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 252, 251, 0.9));
    padding: 20px;
}

.smart-product-panel h3 {
    margin: 6px 0 0;
    color: var(--text);
}

.smart-product-panel p {
    margin: 0;
    color: #52737b;
    line-height: 1.9;
}

.smart-product-description {
    display: grid;
    gap: 7px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    padding: 14px;
}

.smart-product-description strong {
    color: var(--text);
}

.smart-product-description span {
    color: var(--muted);
    line-height: 1.85;
}

.checkout-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 26px;
    background:
        radial-gradient(circle at 12% 8%, rgba(20, 184, 166, 0.15), transparent 32%),
        radial-gradient(circle at 92% 24%, rgba(196, 121, 45, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 252, 251, 0.92));
    box-shadow: 0 26px 70px rgba(35, 63, 67, 0.13);
    padding: 22px;
}

.checkout-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(15, 118, 110, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 72%);
}

.checkout-panel > * {
    position: relative;
    z-index: 1;
}

.checkout-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-head h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.checkout-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.checkout-summary-card {
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    padding: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.checkout-product-mini {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.checkout-product-mini img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #eef8f7);
    padding: 8px;
}

.checkout-product-mini span,
.checkout-summary-grid span,
.product-terms-head span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.checkout-product-mini strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    line-height: 1.65;
}

.checkout-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 13px;
}

.checkout-summary-grid div {
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 16px;
    background: rgba(248, 251, 251, 0.86);
    padding: 12px;
}

.checkout-summary-grid strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    line-height: 1.5;
}

.checkout-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.checkout-trust-strip span {
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #355d63;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    padding: 9px 10px;
}

.paypal-payment-note {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(196, 121, 45, 0.18);
    border-radius: 20px;
    background:
        radial-gradient(circle at 12% 20%, rgba(196, 121, 45, 0.13), transparent 34%),
        rgba(255, 250, 242, 0.76);
    padding: 14px;
}

.paypal-payment-note span {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: rgba(196, 121, 45, 0.12);
    color: #9a5a13;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 6px 10px;
}

.paypal-payment-note strong {
    display: block;
    margin-top: 7px;
    color: var(--text);
}

.paypal-payment-note p {
    margin: 0;
    color: #52737b;
    line-height: 1.85;
    font-size: 0.9rem;
}

.checkout-cart-action {
    border: 1px dashed rgba(15, 118, 110, 0.26);
    border-radius: 20px;
    background: rgba(242, 250, 249, 0.68);
    padding: 14px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checkout-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-terms-card {
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(236, 251, 248, 0.82)),
        radial-gradient(circle at 20% 12%, rgba(196, 121, 45, 0.12), transparent 34%);
    padding: 16px;
}

.product-terms-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(82, 115, 123, 0.1);
}

.product-terms-head strong {
    color: #0f766e;
}

.product-terms-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.product-terms-list li {
    position: relative;
    color: #355d63;
    line-height: 1.85;
    padding-inline-start: 24px;
}

.product-terms-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.8em;
    width: 9px;
    height: 9px;
    border: 2px solid rgba(15, 118, 110, 0.28);
    border-radius: 50%;
    background: #0f766e;
}

.product-terms-card p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.9;
}

.product-terms-card a {
    color: #0f766e;
    font-weight: 900;
    text-decoration: none;
}

.terms-acceptance {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border: 1px solid rgba(196, 121, 45, 0.22);
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.76);
    color: #355d63;
    line-height: 1.85;
    padding: 14px;
}

.terms-acceptance input {
    width: 20px;
    height: 20px;
    margin-top: 5px;
    accent-color: #0f766e;
}

.terms-acceptance span {
    font-weight: 800;
}

.field-error {
    margin: -4px 0 0;
    color: #b42318;
    font-size: 0.88rem;
    font-weight: 900;
}

.is-hidden {
    display: none !important;
}

.checkout-customer-smart {
    display: grid;
    gap: 12px;
}

.checkout-account-card,
.checkout-auth-gate {
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 251, 249, 0.86));
    padding: 16px;
}

.checkout-account-card {
    display: grid;
    gap: 14px;
}

.checkout-account-top {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.checkout-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f766e, #22a39a);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 14px 24px rgba(15, 118, 110, 0.18);
}

.checkout-account-top span:not(.checkout-avatar),
.checkout-account-data span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.checkout-account-top strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.6;
}

.checkout-account-data {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(120px, 0.65fr);
    gap: 10px;
}

.checkout-account-data div {
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    padding: 11px 12px;
    min-width: 0;
}

.checkout-account-data strong {
    display: block;
    margin-top: 4px;
    color: #0f766e;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.checkout-auth-gate {
    display: grid;
    gap: 14px;
}

.checkout-auth-gate h3 {
    margin: 4px 0 6px;
    color: var(--text);
    font-size: 1.12rem;
}

.checkout-auth-gate p,
.checkout-auth-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.checkout-auth-note {
    border: 1px dashed rgba(196, 121, 45, 0.26);
    border-radius: 16px;
    background: rgba(255, 250, 242, 0.78);
    padding: 11px 13px;
    font-weight: 800;
    text-align: center;
}

.checkout-submit {
    min-height: 54px;
    font-size: 1rem;
}

.checkout-submit:disabled {
    cursor: not-allowed;
}

body.modal-open {
    overflow: hidden;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.auth-modal.is-open {
    display: flex;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(20, 184, 166, 0.2), transparent 32%),
        rgba(13, 27, 31, 0.42);
    backdrop-filter: blur(12px);
}

.auth-modal-panel {
    position: relative;
    width: min(100%, 620px);
    max-height: min(92vh, 780px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    background:
        radial-gradient(circle at 8% 8%, rgba(20, 184, 166, 0.14), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 250, 0.95));
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.24);
    padding: 22px;
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(82, 115, 123, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.auth-modal-hero {
    padding-inline-end: 42px;
}

.auth-modal-hero h2 {
    margin: 8px 0;
    color: var(--text);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.auth-modal-hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.auth-modal-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0 14px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    padding: 6px;
}

.auth-modal-tab {
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #52737b;
    cursor: pointer;
    font-weight: 900;
    padding: 11px 12px;
}

.auth-modal-tab.is-active {
    background: linear-gradient(135deg, #0f766e, #149a90);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.16);
}

.auth-modal-status {
    display: none;
    margin-bottom: 12px;
    border-radius: 16px;
    padding: 12px 14px;
    line-height: 1.8;
}

.auth-modal-status.is-error,
.auth-modal-status.is-success {
    display: block;
}

.auth-modal-status.is-error {
    border: 1px solid rgba(185, 28, 28, 0.18);
    background: rgba(254, 242, 242, 0.9);
    color: #991b1b;
}

.auth-modal-status.is-success {
    border: 1px solid rgba(15, 118, 110, 0.18);
    background: rgba(236, 253, 245, 0.9);
    color: #0f766e;
}

.auth-modal-status ul {
    margin: 6px 0 0;
    padding-inline-start: 18px;
}

.auth-modal-form {
    display: none;
    gap: 13px;
}

.auth-modal-form.is-active {
    display: grid;
}

.auth-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.table-wrap {
    overflow-x: auto;
}

.table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.table th,
.table td {
    text-align: right;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    vertical-align: top;
}

.table th {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.line-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.line-item.bordered {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding-bottom: 14px;
}

.delivery-card {
    border: 1px solid rgba(15, 118, 110, 0.1);
    background: rgba(255, 255, 255, 0.84);
    border-radius: 18px;
    padding: 16px;
}

.secret-box {
    margin: 10px 0 0;
    border-radius: 14px;
    background: #111827;
    color: #ecfeff;
    padding: 14px;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.empty-state {
    border: 1px dashed rgba(100, 116, 139, 0.35);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    color: var(--muted);
    background: rgba(248, 250, 252, 0.75);
}

.flash {
    margin-bottom: 16px;
    border-radius: 18px;
    padding: 14px 16px;
    line-height: 1.85;
}

.flash-success {
    background: rgba(240, 253, 244, 0.9);
    color: var(--success);
    border: 1px solid rgba(22, 101, 52, 0.1);
}

.flash-error {
    background: rgba(254, 242, 242, 0.92);
    color: #991b1b;
    border: 1px solid rgba(185, 28, 28, 0.1);
}

.flash-info {
    background: rgba(239, 246, 255, 0.92);
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.simple-list {
    margin: 8px 0 0;
    padding-right: 18px;
}

.auth-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 160px);
}

.auth-login-shell {
    align-items: stretch;
    padding: 18px 0 36px;
}

.auth-login-grid {
    width: min(100%, 1180px);
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
    gap: 18px;
    align-items: stretch;
}

.auth-form-panel,
.auth-motion-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
}

.auth-form-panel {
    padding: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(20, 154, 144, 0.08), transparent 38%),
        linear-gradient(315deg, rgba(184, 144, 110, 0.09), transparent 34%);
    pointer-events: none;
}

.auth-form-panel > * {
    position: relative;
    z-index: 1;
}

.auth-form-head {
    margin-bottom: 22px;
}

.auth-form-head h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.18;
    letter-spacing: 0;
}

.auth-input {
    min-height: 56px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.auth-input:focus {
    border-color: rgba(20, 154, 144, 0.42);
    box-shadow: 0 0 0 4px rgba(20, 154, 144, 0.1);
}

.auth-check-row {
    padding: 11px 13px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.76);
    border: 1px solid rgba(82, 115, 123, 0.08);
}

.auth-submit {
    min-height: 56px;
    box-shadow: 0 18px 30px rgba(20, 154, 144, 0.2);
}

.google-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(82, 115, 123, 0.14);
    border-radius: 16px;
    background: #ffffff;
    color: var(--text);
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.google-auth-button:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, 0.22);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.google-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 999px;
    background: conic-gradient(from -45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(82, 115, 123, 0.12);
}

.auth-switch-compact {
    background: rgba(255, 255, 255, 0.82);
}

.auth-motion-panel {
    min-height: 600px;
    padding: clamp(24px, 3vw, 42px);
    display: grid;
    grid-template-rows: 1fr auto;
    background:
        linear-gradient(135deg, rgba(248, 252, 252, 0.98), rgba(233, 244, 243, 0.86)),
        linear-gradient(45deg, rgba(184, 144, 110, 0.08), transparent 45%);
}

.auth-motion-stage {
    position: relative;
    min-height: 470px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.1);
    background:
        linear-gradient(90deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 247, 0.9));
    background-size: 44px 44px, 44px 44px, auto;
}

.motion-grid-lines {
    position: absolute;
    inset: 9%;
    border: 1px dashed rgba(82, 115, 123, 0.16);
    border-radius: 24px;
}

.auth-motion-stage .motion-core {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 190px;
    min-height: 136px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px solid rgba(20, 154, 144, 0.2);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
    animation: authCoreFloat 5.5s ease-in-out infinite;
}

.auth-motion-stage .motion-core span {
    color: var(--accent);
    font-weight: 900;
    font-size: 0.9rem;
}

.auth-motion-stage .motion-core strong {
    color: var(--brand-dark);
    font-size: 1.35rem;
    line-height: 1.2;
}

.auth-motion-stage .motion-card {
    position: absolute;
    width: 126px;
    min-height: 86px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border-radius: 20px;
    border: 1px solid rgba(82, 115, 123, 0.11);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    animation: authTileFloat 6.8s ease-in-out infinite;
}

.auth-motion-stage .motion-card span {
    color: #149a90;
    font-size: 0.86rem;
    font-weight: 900;
}

.auth-motion-stage .motion-card strong {
    color: #38575e;
    font-size: 0.92rem;
}

.auth-motion-stage .motion-card-a {
    top: 12%;
    right: 15%;
}

.auth-motion-stage .motion-card-b {
    top: 18%;
    left: 13%;
    animation-delay: -1.5s;
}

.auth-motion-stage .motion-card-c {
    right: 10%;
    bottom: 18%;
    animation-delay: -2.6s;
}

.auth-motion-stage .motion-card-d {
    left: 14%;
    bottom: 13%;
    animation-delay: -3.7s;
}

.auth-motion-stage .motion-route {
    position: absolute;
    height: 2px;
    width: 42%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(20, 154, 144, 0.68), transparent);
    transform-origin: center;
    animation: authRoutePulse 3.2s linear infinite;
}

.route-one {
    top: 33%;
    right: 25%;
    transform: rotate(18deg);
}

.route-two {
    bottom: 32%;
    left: 23%;
    transform: rotate(-17deg);
    animation-delay: -1.1s;
}

.route-three {
    top: 50%;
    left: 29%;
    width: 34%;
    transform: rotate(0deg);
    animation-delay: -2s;
}

.auth-motion-stage .motion-scan {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    background: linear-gradient(90deg, transparent, rgba(20, 154, 144, 0.14), transparent);
    transform: translateX(140%);
    animation: authScan 6s ease-in-out infinite;
}

.auth-motion-caption {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.auth-motion-caption span {
    padding: 9px 12px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 0.85rem;
}

.admin-motion-panel .auth-motion-stage .motion-card span,
.auth-motion-stage .admin-core span {
    color: #b87333;
}

@keyframes authCoreFloat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, calc(-50% - 10px)) scale(1.02);
    }
}

@keyframes authTileFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes authRoutePulse {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    35%, 70% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
}

@keyframes authScan {
    0%, 100% {
        transform: translateX(180%);
        opacity: 0;
    }
    15%, 75% {
        opacity: 1;
    }
    50% {
        transform: translateX(-520%);
    }
}

.login-card {
    width: min(100%, 620px);
}

.auth-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(20, 154, 144, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 250, 0.9));
}

.auth-card::after {
    content: "";
    position: absolute;
    inset: auto -70px -90px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.08);
    pointer-events: none;
}

.auth-card > * {
    position: relative;
    z-index: 1;
}

.auth-security-strip,
.auth-switch,
.captcha-panel {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.auth-security-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    margin: 8px 0 18px;
}

.auth-security-strip span {
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(82, 115, 123, 0.08);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.auth-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    color: var(--muted);
}

.auth-switch a {
    color: var(--brand-dark);
    font-weight: 800;
}

.auth-inline-form {
    margin-top: 12px;
}

.field-hint {
    color: var(--muted);
    line-height: 1.7;
}

.captcha-panel {
    display: grid;
    grid-template-columns: minmax(210px, 0.95fr) 1fr;
    gap: 14px;
    padding: 14px;
    align-items: end;
}

.captcha-code {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 76px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px dashed rgba(82, 115, 123, 0.24);
    background:
        repeating-linear-gradient(135deg, rgba(82, 115, 123, 0.08) 0 8px, transparent 8px 16px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(236, 243, 243, 0.9));
    user-select: none;
}

.captcha-code::before {
    content: "";
    position: absolute;
    inset: 50% 12px auto;
    height: 2px;
    transform: rotate(-4deg);
    background: rgba(184, 144, 110, 0.38);
}

.captcha-code span {
    position: relative;
    display: inline-flex;
    width: 30px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--brand-dark);
    font-size: 1.25rem;
    font-weight: 800;
}

.captcha-code span:nth-child(odd) {
    transform: rotate(-7deg) translateY(2px);
}

.captcha-code span:nth-child(even) {
    transform: rotate(6deg) translateY(-1px);
}

.captcha-input {
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.verification-code-input {
    direction: ltr;
    text-align: center;
    letter-spacing: 0.4em;
    font-size: 1.35rem;
    font-weight: 800;
}

.account-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.35fr);
    gap: 18px;
    align-items: stretch;
    background:
        radial-gradient(circle at 8% 10%, rgba(20, 154, 144, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 248, 0.9));
}

.account-profile-card {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 22px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.78);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.account-profile-card span,
.account-profile-card small {
    color: var(--muted);
}

.account-profile-card strong {
    color: var(--text);
    font-size: 1.18rem;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 18px;
    align-items: start;
}

.compact-head {
    margin-bottom: 0;
}

.account-purchase-list {
    display: grid;
    gap: 12px;
}

.account-purchase-card,
.order-mini-card {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.76);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.account-purchase-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.account-purchase-actions span {
    color: var(--brand-dark);
    font-weight: 800;
}

.account-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.account-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.account-product-card {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 22px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.82);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-product-card .catalog-image-frame {
    border-radius: 18px;
}

.account-product-card .subtle {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 3.7em;
}

.mono {
    direction: ltr;
    unicode-bidi: plaintext;
    font-family: Consolas, "Courier New", monospace;
}

.pre-wrap {
    white-space: pre-wrap;
}

.pagination-wrap {
    margin-top: 16px;
}

.store-hero {
    margin-top: 10px;
}

.motion-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
    gap: 26px;
    overflow: hidden;
    min-height: 680px;
    padding: clamp(22px, 3vw, 42px);
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 247, 0.9)),
        repeating-linear-gradient(90deg, rgba(82, 115, 123, 0.05) 0 1px, transparent 1px 76px);
    box-shadow: var(--shadow);
}

.motion-hero::before,
.motion-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.motion-hero::before {
    inset: 24px;
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 26px;
}

.motion-hero::after {
    width: 56%;
    height: 1px;
    left: 22%;
    top: 50%;
    background: linear-gradient(90deg, transparent, rgba(82, 115, 123, 0.24), transparent);
    animation: motion-scan 5s ease-in-out infinite;
}

.motion-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    min-height: 540px;
    max-width: none;
    padding-block: clamp(18px, 2.4vw, 34px);
}

.motion-copy .hero-actions {
    justify-content: flex-start;
    width: 100%;
}

.motion-copy .hero-actions .button {
    min-width: 190px;
    min-height: 54px;
    border-radius: 16px;
    font-size: 0.94rem;
    font-weight: 900;
}

.motion-signal-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(128px, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 4px;
}

.motion-signal-strip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.motion-stage {
    position: relative;
    z-index: 1;
    min-height: 540px;
    overflow: hidden;
    border-radius: 28px;
    isolation: isolate;
}

.motion-stage::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 44% 56% 50% 50%;
    border: 1px solid rgba(82, 115, 123, 0.12);
    transform: rotate(-8deg);
    animation: motion-frame 12s ease-in-out infinite;
}

.motion-core {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 210px;
    height: 210px;
    padding: 22px;
    border: 1px solid rgba(82, 115, 123, 0.14);
    border-radius: 46px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 243, 243, 0.9));
    box-shadow: 0 34px 64px rgba(15, 23, 42, 0.12);
    transform: translate(-50%, -50%) rotate(-3deg);
}

.motion-core span {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 900;
}

.motion-core strong {
    color: var(--brand-dark);
    font-size: 3.2rem;
    line-height: 1;
}

.motion-core small {
    color: var(--muted);
    font-weight: 800;
}

.motion-ring {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.motion-ring-one {
    width: 420px;
    height: 420px;
    animation: motion-turn 28s linear infinite;
}

.motion-ring-two {
    width: 620px;
    height: 330px;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    animation: motion-turn-reverse 34s linear infinite;
}

.motion-product {
    position: absolute;
    z-index: 4;
    display: grid;
    justify-items: center;
    gap: 6px;
    width: 148px;
    min-height: 174px;
    padding: 10px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.09);
    backdrop-filter: blur(10px);
    animation: motion-float 5.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.45s);
}

.motion-product:hover {
    transform: translateY(-6px) scale(1.03);
}

.motion-product img {
    width: 126px;
    height: 126px;
    object-fit: contain;
    display: block;
}

.motion-product span {
    width: 100%;
    overflow: hidden;
    color: var(--text);
    direction: ltr;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.motion-product-1 {
    top: 6%;
    left: 42%;
}

.motion-product-2 {
    top: 18%;
    right: 7%;
}

.motion-product-3 {
    top: 48%;
    right: 4%;
}

.motion-product-4 {
    bottom: 7%;
    right: 22%;
}

.motion-product-5 {
    bottom: 6%;
    left: 35%;
}

.motion-product-6 {
    top: 47%;
    left: 5%;
}

.motion-product-7 {
    top: 16%;
    left: 10%;
}

.motion-product-8 {
    top: 2%;
    left: 61%;
}

.conversion-motion {
    position: relative;
    z-index: 2;
    align-self: stretch;
    width: 100%;
    min-height: clamp(300px, 24vw, 360px);
    margin-top: 4px;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 16% 20%, rgba(178, 105, 40, 0.14), transparent 28%),
        radial-gradient(circle at 84% 72%, rgba(15, 118, 110, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 247, 246, 0.74));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 24px 48px rgba(15, 23, 42, 0.08);
    isolation: isolate;
}

.conversion-motion::before,
.conversion-motion::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.conversion-motion::before {
    inset: 18px;
    z-index: 1;
    border: 1px dashed rgba(82, 115, 123, 0.18);
    border-radius: 24px;
    animation: conversion-frame 5s ease-in-out infinite;
}

.conversion-motion::after {
    z-index: 2;
    top: -30%;
    bottom: -30%;
    left: -26%;
    width: 38%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: rotate(12deg);
    animation: conversion-sweep 4.6s ease-in-out infinite;
}

.conversion-orbit {
    position: absolute;
    inset: 42px 58px;
    z-index: 2;
    border: 1px solid rgba(15, 118, 110, 0.13);
    border-radius: 999px;
    transform: rotate(-4deg);
    animation: conversion-orbit 12s ease-in-out infinite;
}

.conversion-orbit::before,
.conversion-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(178, 105, 40, 0.12);
    border-radius: inherit;
}

.conversion-orbit::before {
    inset: 36px 76px;
    transform: rotate(11deg);
}

.conversion-orbit::after {
    inset: 70px 28px;
    transform: rotate(-16deg);
}

.conversion-node {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(82, 115, 123, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
    animation: conversion-node 4.4s ease-in-out infinite;
}

.node-key {
    top: -18px;
    right: 18%;
}

.node-ai {
    top: 34%;
    left: -18px;
    animation-delay: -0.7s;
}

.node-games {
    right: -18px;
    bottom: 31%;
    animation-delay: -1.3s;
}

.node-secure {
    bottom: -17px;
    left: 24%;
    animation-delay: -2s;
}

.conversion-core {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: min(48%, 280px);
    min-height: 136px;
    padding: 20px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 48px rgba(15, 23, 42, 0.1);
    transform: translate(-50%, -50%);
    animation: conversion-core 4.8s ease-in-out infinite;
}

.conversion-core span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
}

.conversion-core strong {
    color: var(--brand-dark);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.25;
}

.conversion-core small {
    color: #526670;
    max-width: 190px;
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
    font-weight: 800;
}

.conversion-route {
    position: absolute;
    z-index: 3;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.12);
}

.conversion-route::after {
    content: "";
    position: absolute;
    inset-block: 0;
    width: 38%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.8), transparent);
    animation: conversion-route 3.6s linear infinite;
}

.route-one {
    top: 88px;
    right: 58px;
    left: 94px;
}

.route-two {
    right: 100px;
    bottom: 88px;
    left: 58px;
}

.route-two::after {
    animation-delay: -1.6s;
}

.conversion-beam {
    position: absolute;
    z-index: 2;
    top: 54px;
    right: 18%;
    width: 154px;
    height: 154px;
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.13), transparent),
        linear-gradient(45deg, transparent 44%, rgba(178, 105, 40, 0.42) 45% 47%, transparent 48%);
    filter: blur(0.2px);
    transform: rotate(10deg);
    animation: conversion-beam 6s ease-in-out infinite;
}

.conversion-chip {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid rgba(82, 115, 123, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    animation: conversion-chip 4.8s ease-in-out infinite;
}

.conversion-chip span {
    position: relative;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #0f766e;
    box-shadow: 0 0 0 7px rgba(15, 118, 110, 0.1);
}

.conversion-chip span::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: inherit;
    background: #fff;
}

.conversion-chip strong {
    color: var(--brand-dark);
    font-size: 0.84rem;
    font-weight: 900;
    white-space: nowrap;
}

.chip-order {
    top: 34px;
    right: 28px;
}

.chip-trust {
    bottom: 34px;
    right: 42px;
    animation-delay: -1.4s;
}

.chip-speed {
    bottom: 40px;
    left: 32px;
    animation-delay: -2.7s;
}

.chip-speed span {
    background: #b26928;
    box-shadow: 0 0 0 7px rgba(178, 105, 40, 0.11);
}

@keyframes conversion-frame {
    0%, 100% {
        opacity: 0.46;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(0.985);
    }
}

@keyframes conversion-sweep {
    0%, 26% {
        transform: translateX(0) rotate(12deg);
        opacity: 0;
    }

    48% {
        opacity: 0.9;
    }

    76%, 100% {
        transform: translateX(420%) rotate(12deg);
        opacity: 0;
    }
}

@keyframes conversion-orbit {
    0%, 100% {
        transform: rotate(-4deg) translateY(0);
    }

    50% {
        transform: rotate(3deg) translateY(-4px);
    }
}

@keyframes conversion-node {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes conversion-core {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.035);
    }
}

@keyframes conversion-route {
    from {
        transform: translateX(180%);
    }

    to {
        transform: translateX(-280%);
    }
}

@keyframes conversion-beam {
    0%, 100% {
        opacity: 0.45;
        transform: rotate(10deg) translateY(0);
    }

    50% {
        opacity: 0.82;
        transform: rotate(16deg) translateY(10px);
    }
}

@keyframes conversion-chip {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes motion-scan {
    0%, 100% {
        opacity: 0.22;
        transform: translateY(-80px);
    }

    50% {
        opacity: 0.75;
        transform: translateY(80px);
    }
}

@keyframes motion-frame {
    0%, 100% {
        transform: rotate(-8deg) scale(1);
    }

    50% {
        transform: rotate(4deg) scale(1.04);
    }
}

@keyframes motion-turn {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes motion-turn-reverse {
    to {
        transform: translate(-50%, -50%) rotate(-372deg);
    }
}

@keyframes motion-float {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -14px;
    }
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 20px;
    align-items: stretch;
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 248, 0.88)),
        radial-gradient(circle at top left, rgba(82, 115, 123, 0.08), transparent 40%);
}

.hero-intro {
    justify-content: center;
}

.hero-campaign {
    position: relative;
    overflow: hidden;
    align-self: stretch;
    padding: clamp(22px, 3vw, 38px);
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 8% 12%, rgba(20, 154, 144, 0.12), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(184, 144, 110, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 248, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-campaign::before,
.hero-campaign::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-campaign::before {
    inset: -90px auto auto -60px;
    width: 220px;
    height: 220px;
    background: rgba(82, 115, 123, 0.08);
}

.hero-campaign::after {
    inset: auto 10% -120px auto;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(82, 115, 123, 0.08);
}

.hero-campaign > * {
    position: relative;
    z-index: 1;
}

.hero-campaign h1 {
    max-width: 920px;
    font-size: clamp(2.2rem, 4.5vw, 4.1rem);
}

.hero-campaign .lead {
    max-width: 920px;
    color: #465a65;
}

.hero-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hero-promise {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    padding: 18px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.hero-promise::before {
    content: "";
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.hero-promise span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-promise strong {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.75;
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-trust-strip span {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 999px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hero-kpi {
    border: 1px solid rgba(82, 115, 123, 0.1);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-kpi strong {
    font-size: 1.8rem;
    color: var(--brand-dark);
}

.hero-panel {
    display: flex;
}

.hero-panel-card {
    width: 100%;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(247, 250, 250, 0.96), rgba(255, 255, 255, 0.84));
    padding: 20px;
}

.promo-slider {
    position: relative;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 28px;
    padding: 18px;
    background:
        radial-gradient(circle at 14% 12%, rgba(184, 144, 110, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(249, 252, 252, 0.98), rgba(236, 243, 243, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.promo-slider::after {
    content: "";
    position: absolute;
    inset: auto -40px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.08);
    pointer-events: none;
}

.promo-slider-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.promo-slider-pill {
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.promo-viewport {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 16px;
    border-radius: 24px;
}

.promo-track {
    display: flex;
    direction: ltr;
}

.promo-slider:hover .promo-track {
    animation-play-state: paused;
}

.promo-slider.slides-2 .promo-track {
    animation: promo-slide-2 12s infinite;
}

.promo-slider.slides-3 .promo-track {
    animation: promo-slide-3 18s infinite;
}

.promo-slider.slides-4 .promo-track {
    animation: promo-slide-4 24s infinite;
}

.promo-slide {
    position: relative;
    display: grid;
    flex: 0 0 100%;
    min-height: 460px;
    gap: 18px;
    direction: rtl;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 24px;
}

.promo-visual {
    position: relative;
    display: block;
    height: 245px;
    padding: 18px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(229, 238, 238, 0.84));
    border: 1px solid rgba(82, 115, 123, 0.08);
}

.promo-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.promo-visual span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.promo-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo-copy > span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.promo-copy h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.promo-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.promo-product-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(82, 115, 123, 0.1);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.promo-product-link:hover {
    transform: translateY(-2px);
    border-color: rgba(82, 115, 123, 0.22);
}

.promo-product-link strong {
    overflow: hidden;
    color: var(--text);
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.promo-product-link small {
    flex-shrink: 0;
    color: var(--brand-dark);
    font-weight: 800;
}

.promo-dots {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.promo-dots span {
    width: 24px;
    height: 5px;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.24);
}

@keyframes promo-slide-2 {
    0%, 42% {
        transform: translateX(0);
    }

    50%, 92% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes promo-slide-3 {
    0%, 27% {
        transform: translateX(0);
    }

    34%, 61% {
        transform: translateX(-100%);
    }

    68%, 94% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes promo-slide-4 {
    0%, 20% {
        transform: translateX(0);
    }

    25%, 45% {
        transform: translateX(-100%);
    }

    50%, 70% {
        transform: translateX(-200%);
    }

    75%, 95% {
        transform: translateX(-300%);
    }

    100% {
        transform: translateX(0);
    }
}

.department-rail {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.dept-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.8);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.dept-card:hover {
    transform: translateY(-2px);
    border-color: rgba(82, 115, 123, 0.2);
}

.dept-card strong {
    font-size: 0.98rem;
}

.dept-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.9rem;
}

.dept-card > span {
    min-width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(82, 115, 123, 0.1);
    color: var(--brand-dark);
    font-weight: 800;
}

.catalog-jumpbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
}

.jump-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(248, 250, 250, 0.94);
    border: 1px solid rgba(82, 115, 123, 0.08);
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.jump-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(82, 115, 123, 0.18);
}

.jump-chip span {
    font-weight: 700;
    color: var(--text);
}

.jump-chip small {
    color: var(--muted);
}

.catalog-section {
    scroll-margin-top: 100px;
}

.catalog-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.catalog-meta {
    min-width: 260px;
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 20px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.catalog-meta strong {
    font-size: 1.1rem;
    color: var(--brand-dark);
}

.catalog-meta span {
    color: var(--muted);
    line-height: 1.8;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
}

.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
    overflow: hidden;
    border-color: rgba(82, 115, 123, 0.08);
    padding: 12px;
    border-radius: 20px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.catalog-card::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: 2;
    width: 0;
    background: #dc2626;
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.22);
    transition: width 0.18s ease;
}

.catalog-card.is-in-cart {
    border-color: rgba(220, 38, 38, 0.28);
    box-shadow: 0 22px 46px rgba(220, 38, 38, 0.1);
}

.catalog-card.is-in-cart::before {
    width: 7px;
}

.catalog-card-header {
    gap: 4px;
}

.catalog-product-title {
    display: -webkit-box;
    min-height: 2.72em;
    overflow: hidden;
    color: var(--text);
    font-size: 0.78rem;
    line-height: 1.36;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.catalog-product-type {
    font-size: 0.7rem;
    color: var(--muted);
}

.catalog-card .subtle {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.catalog-image-link {
    display: block;
}

.catalog-image-frame,
.product-hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(242, 246, 246, 1), rgba(231, 238, 238, 1));
    border: 1px solid rgba(82, 115, 123, 0.08);
}

.catalog-image-frame {
    aspect-ratio: 1 / 1;
    padding: 10px;
    border-radius: 16px;
}

.product-hero-image {
    aspect-ratio: 16 / 10;
}

.catalog-image,
.product-detail-image {
    width: 100%;
    height: 100%;
    display: block;
}

.catalog-image {
    object-fit: contain;
    object-position: center;
}

.product-detail-image {
    object-fit: contain;
}

.catalog-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: -4px;
    color: var(--muted);
    font-size: 0.7rem;
}

.rating-stars {
    color: #d79b28;
    font-size: 0.78rem;
    letter-spacing: 0;
    line-height: 1;
}

.rating-stars .star-muted {
    color: #d2dcde;
}

.catalog-details {
    gap: 8px;
}

.catalog-card .price-row {
    align-items: center;
    gap: 8px;
}

.catalog-card .price-row strong {
    font-size: 0.82rem;
}

.catalog-card .button {
    padding: 7px 9px;
    font-size: 0.74rem;
    border-radius: 10px;
}

.price-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.price-actions form {
    margin: 0;
}

.cart-add-button {
    white-space: nowrap;
}

.cart-add-button.is-remove {
    border-color: rgba(220, 38, 38, 0.24);
    background: rgba(220, 38, 38, 0.09);
    color: #b91c1c;
}

.cart-add-button.is-remove:hover {
    background: rgba(220, 38, 38, 0.14);
}

.official-download-button {
    border-color: rgba(15, 118, 110, 0.2);
    background: rgba(236, 253, 245, 0.86);
    color: #0f766e;
    white-space: nowrap;
}

.free-download-panel .checkout-head h2 {
    color: #0f766e;
}

.official-download-card {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 20px;
    background:
        radial-gradient(circle at 16% 12%, rgba(20, 184, 166, 0.14), transparent 30%),
        rgba(245, 251, 250, 0.86);
    padding: 16px;
}

.official-download-card span {
    width: fit-content;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 6px 10px;
}

.official-download-card strong {
    color: var(--text);
    overflow-wrap: anywhere;
}

.official-download-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.cart-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    max-width: min(360px, calc(100vw - 32px));
    padding: 13px 16px;
    border: 1px solid rgba(82, 115, 123, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand-dark);
    font-weight: 900;
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-experience {
    display: grid;
    gap: 22px;
}

.cart-hero-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    gap: 22px;
    align-items: stretch;
    overflow: hidden;
    min-height: 300px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(237, 247, 246, 0.88)),
        repeating-linear-gradient(90deg, rgba(82, 115, 123, 0.05) 0 1px, transparent 1px 74px);
    box-shadow: var(--shadow);
}

.cart-hero-copy {
    display: grid;
    align-content: center;
    gap: 16px;
    min-width: 0;
}

.cart-hero-copy h1 {
    max-width: 760px;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.15;
}

.cart-hero-copy p {
    max-width: 720px;
    color: #465a65;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.9;
}

.cart-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 760px;
}

.cart-metrics div {
    display: grid;
    gap: 5px;
    min-height: 86px;
    padding: 14px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.74);
}

.cart-metrics span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.cart-metrics strong {
    color: var(--brand-dark);
    font-size: 1.28rem;
    line-height: 1.2;
}

.cart-visual {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(229, 244, 243, 0.76)),
        repeating-linear-gradient(0deg, transparent 0 34px, rgba(82, 115, 123, 0.05) 35px);
}

.cart-route-line {
    position: absolute;
    right: 26px;
    left: 26px;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.12);
}

.cart-route-line::after {
    content: "";
    position: absolute;
    inset-block: 0;
    width: 44%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.82), transparent);
    animation: cart-route-flow 3.6s linear infinite;
}

.line-one {
    top: 72px;
    transform: rotate(-8deg);
}

.line-two {
    bottom: 72px;
    transform: rotate(9deg);
}

.line-two::after {
    animation-delay: -1.4s;
}

.cart-terminal {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 174px;
    min-height: 130px;
    padding: 18px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.1);
    transform: translate(-50%, -50%) rotate(-2deg);
}

.cart-terminal span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
}

.cart-terminal strong {
    color: var(--brand-dark);
    font-size: 2.7rem;
    line-height: 1;
}

.cart-terminal small {
    color: var(--muted);
    font-weight: 900;
}

.cart-packet {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(82, 115, 123, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.09);
    animation: cart-packet-float 4.8s ease-in-out infinite;
}

.packet-one {
    top: 28px;
    right: 28px;
}

.packet-two {
    left: 34px;
    top: 44%;
    animation-delay: -1.3s;
}

.packet-three {
    right: 46px;
    bottom: 30px;
    animation-delay: -2.4s;
}

.cart-empty-state {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
}

.cart-empty-mark {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(220, 38, 38, 0.09);
    color: #b91c1c;
}

.cart-empty-mark svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.cart-layout-premium {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.36fr);
    gap: 20px;
    align-items: start;
}

.cart-items-panel,
.cart-summary-premium {
    border: 1px solid rgba(82, 115, 123, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
}

.cart-items-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.cart-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 4px 12px;
    border-bottom: 1px solid rgba(82, 115, 123, 0.1);
}

.cart-panel-head h2,
.cart-summary-head h2 {
    color: var(--text);
    font-size: 1.2rem;
}

.cart-item-premium {
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) minmax(190px, 0.28fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 250, 0.86));
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cart-item-premium:hover {
    border-color: rgba(15, 118, 110, 0.18);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.cart-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(242, 246, 246, 1), rgba(231, 238, 238, 1));
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-info {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.cart-item-info h2 {
    color: var(--text);
    font-size: 1.06rem;
    line-height: 1.45;
}

.cart-item-meta,
.cart-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cart-item-meta span,
.cart-assurance span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 900;
}

.cart-item-price {
    display: grid;
    justify-items: end;
    gap: 9px;
    text-align: left;
}

.cart-item-price > span,
.cart-summary-row span {
    color: var(--muted);
    font-weight: 900;
}

.cart-item-price strong,
.cart-summary-row strong {
    color: var(--brand-dark);
    font-size: 1.16rem;
}

.cart-item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.cart-item-actions form {
    margin: 0;
}

.cart-remove-button {
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.22);
}

.cart-summary-premium {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
    padding: 18px;
}

.cart-summary-head {
    display: grid;
    gap: 4px;
}

.cart-summary-box {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(248, 251, 251, 0.98), rgba(255, 255, 255, 0.86));
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(82, 115, 123, 0.16);
}

.cart-summary-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

@keyframes cart-route-flow {
    from {
        transform: translateX(180%);
    }

    to {
        transform: translateX(-260%);
    }
}

@keyframes cart-packet-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

.tone-windows {
    background-image: linear-gradient(180deg, rgba(247, 251, 252, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-office {
    background-image: linear-gradient(180deg, rgba(249, 250, 251, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-games {
    background-image: linear-gradient(180deg, rgba(248, 250, 249, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-digital-cards {
    background-image: linear-gradient(180deg, rgba(247, 251, 252, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-design {
    background-image: linear-gradient(180deg, rgba(250, 249, 247, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-video {
    background-image: linear-gradient(180deg, rgba(248, 249, 250, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-ai {
    background-image: linear-gradient(180deg, rgba(247, 250, 250, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-security {
    background-image: linear-gradient(180deg, rgba(249, 251, 250, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-education {
    background-image: linear-gradient(180deg, rgba(248, 251, 247, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-finance {
    background-image: linear-gradient(180deg, rgba(247, 251, 249, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-marketing {
    background-image: linear-gradient(180deg, rgba(249, 250, 252, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-devtools {
    background-image: linear-gradient(180deg, rgba(247, 249, 252, 0.98), rgba(255, 255, 255, 0.88));
}

.tone-utilities,
.tone-freeware,
.tone-other {
    background-image: linear-gradient(180deg, rgba(250, 250, 248, 0.98), rgba(255, 255, 255, 0.88));
}

.admin-product-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-product-thumb {
    width: 88px;
    height: 66px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(82, 115, 123, 0.08);
    flex-shrink: 0;
}

.admin-command-bar {
    position: sticky;
    top: 78px;
    z-index: 18;
    border-bottom: 1px solid rgba(82, 115, 123, 0.08);
    background: rgba(245, 250, 250, 0.88);
    backdrop-filter: blur(16px);
}

.admin-command-inner {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px 0;
}

.admin-command-title {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
}

.admin-command-title span {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
}

.admin-command-title strong {
    color: var(--brand-dark);
}

.admin-command-menu {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.admin-command-link {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-height: 66px;
    padding: 10px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand-dark);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-command-link:hover,
.admin-command-link.is-active {
    transform: translateY(-2px);
    border-color: rgba(20, 154, 144, 0.26);
    background: linear-gradient(135deg, rgba(20, 154, 144, 0.12), rgba(255, 255, 255, 0.86));
}

.admin-command-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(82, 115, 123, 0.08);
}

.admin-command-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.admin-command-link strong,
.admin-command-link small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-command-link strong {
    font-size: 0.88rem;
}

.admin-command-link small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 22px;
}

.admin-hero-copy,
.admin-motion-console,
.admin-panel,
.admin-page-hero,
.admin-metric-card {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.07);
}

.admin-hero-copy {
    padding: clamp(24px, 3vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(20, 154, 144, 0.12), transparent 42%),
        rgba(255, 255, 255, 0.88);
}

.admin-hero-copy h1,
.admin-page-hero h1 {
    max-width: 760px;
    margin: 10px 0 12px;
    font-size: clamp(2.3rem, 4.8vw, 4.6rem);
    line-height: 1.1;
    letter-spacing: 0;
}

.admin-hero-copy p,
.admin-page-hero p {
    max-width: 720px;
    color: var(--muted);
    line-height: 2;
    font-weight: 700;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.admin-motion-console {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(135deg, rgba(250, 252, 252, 0.98), rgba(231, 244, 243, 0.86));
    background-size: 46px 46px, 46px 46px, auto;
}

.admin-console-grid {
    position: absolute;
    inset: 42px;
    border: 1px dashed rgba(82, 115, 123, 0.16);
    border-radius: 30px;
}

.admin-console-core {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 188px;
    min-height: 142px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border: 1px solid rgba(20, 154, 144, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.1);
    animation: adminCoreFloat 5.8s ease-in-out infinite;
}

.admin-console-core span,
.admin-console-core small {
    color: var(--accent);
    font-weight: 900;
}

.admin-console-core strong {
    color: var(--brand-dark);
    font-size: 3rem;
    line-height: 1;
}

.admin-console-node {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    width: 132px;
    min-height: 84px;
    border: 1px solid rgba(82, 115, 123, 0.11);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    animation: adminNodeFloat 7s ease-in-out infinite;
}

.admin-console-node span {
    color: #149a90;
    font-size: 1.5rem;
    font-weight: 900;
}

.admin-console-node strong {
    color: var(--brand-dark);
    font-size: 0.86rem;
}

.node-products {
    top: 12%;
    right: 11%;
}

.node-stock {
    top: 18%;
    left: 12%;
    animation-delay: -1.2s;
}

.node-suppliers {
    right: 11%;
    bottom: 15%;
    animation-delay: -2.4s;
}

.node-team {
    left: 13%;
    bottom: 14%;
    animation-delay: -3.2s;
}

.admin-console-beam {
    position: absolute;
    height: 2px;
    width: 44%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(20, 154, 144, 0.64), transparent);
    animation: adminBeam 3.5s linear infinite;
}

.beam-one {
    top: 34%;
    right: 24%;
    transform: rotate(17deg);
}

.beam-two {
    bottom: 34%;
    left: 22%;
    transform: rotate(-17deg);
    animation-delay: -1s;
}

.beam-three {
    top: 50%;
    left: 28%;
    width: 36%;
    animation-delay: -2s;
}

.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.admin-metric-card {
    padding: 18px;
}

.admin-metric-card span,
.admin-metric-card small {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.admin-metric-card strong {
    display: block;
    margin: 8px 0 4px;
    color: var(--brand-dark);
    font-size: 2.25rem;
    line-height: 1;
}

.admin-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 18px;
    margin-bottom: 22px;
}

.admin-panel {
    padding: 20px;
}

.compact-head {
    margin-bottom: 16px;
}

.admin-table th,
.admin-table td {
    white-space: nowrap;
}

.admin-section-bars,
.admin-stock-list,
.admin-user-list {
    display: grid;
    gap: 10px;
}

.admin-section-bar {
    display: grid;
    gap: 8px;
}

.admin-section-bar div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--brand-dark);
    font-weight: 900;
}

.admin-section-bar i {
    display: block;
    height: 9px;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.1);
    overflow: hidden;
}

.admin-section-bar i::after {
    content: "";
    display: block;
    width: var(--bar-width);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #149a90, #b8906e);
}

.admin-stock-item,
.admin-user-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.72);
}

.admin-stock-item img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 14px;
    background: white;
}

.admin-stock-item strong,
.admin-stock-item small,
.admin-user-card strong,
.admin-user-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-stock-item strong,
.admin-user-card strong {
    color: var(--brand-dark);
    font-size: 0.88rem;
}

.admin-stock-item small,
.admin-user-card small {
    color: var(--muted);
    font-weight: 700;
}

.admin-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
    padding: clamp(22px, 3vw, 36px);
    background:
        linear-gradient(135deg, rgba(20, 154, 144, 0.12), transparent 42%),
        rgba(255, 255, 255, 0.88);
}

.admin-page-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-page-metrics article {
    padding: 14px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.74);
}

.admin-page-metrics span,
.admin-page-metrics strong {
    display: block;
}

.admin-page-metrics span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-page-metrics strong {
    margin-top: 6px;
    color: var(--brand-dark);
    font-size: 2rem;
    line-height: 1;
}

.admin-user-avatar {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 154, 144, 0.16), rgba(184, 144, 110, 0.18));
    color: var(--brand-dark);
    font-weight: 900;
}

.admin-permission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-permission-card {
    display: grid;
    gap: 14px;
    min-height: 170px;
    padding: 16px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.72);
}

.admin-permission-card strong {
    color: var(--brand-dark);
    font-size: 1.02rem;
}

.admin-permission-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 700;
}

.admin-permission-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-self: end;
}

.admin-permission-roles span {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.admin-permission-roles .is-allowed {
    color: #0f766e;
    background: rgba(20, 184, 166, 0.12);
}

.admin-permission-roles .is-denied {
    color: #991b1b;
    background: rgba(239, 68, 68, 0.1);
}

@keyframes adminCoreFloat {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, calc(-50% - 10px));
    }
}

@keyframes adminNodeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes adminBeam {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    35%, 70% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
}

@media (max-width: 1440px) {
    .catalog-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-command-inner {
        grid-template-columns: 1fr;
    }

    .admin-command-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-permission-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .motion-hero,
    .hero-shell,
    .hero-grid,
    .admin-hero,
    .admin-grid-layout,
    .admin-page-hero,
    .detail-layout,
    .legal-hero,
    .legal-layout,
    .cart-layout,
    .grid-5,
    .grid-3,
    .hero-promise-grid,
    .hero-kpis,
    .details-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .checkout-panel {
        position: static;
    }

    .topbar-inner,
    .section-head,
    .catalog-head,
    .split,
    .line-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
    }

    .site-search {
        width: 100%;
        max-width: none;
        min-width: 0;
        order: 2;
    }

    .departments-menu,
    .profile-menu {
        flex: 1 1 auto;
    }

    .departments-dropdown {
        left: 0;
        right: auto;
    }

    .profile-dropdown {
        right: 0;
        left: auto;
    }

    .catalog-meta {
        min-width: 100%;
    }

    .cart-hero-panel {
        grid-template-columns: 1fr;
    }

    .cart-visual {
        min-height: 250px;
    }

    .cart-summary-premium {
        position: static;
    }

    .cart-item {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .cart-item-price {
        grid-column: 1 / -1;
        justify-items: stretch;
        text-align: right;
    }

    .legal-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-sidebar strong {
        grid-column: 1 / -1;
    }

    .legal-stamp {
        margin: 0;
    }

    .motion-hero {
        min-height: auto;
    }

    .motion-copy {
        max-width: none;
        min-height: auto;
        padding-block: 10px;
    }

    .motion-signal-strip {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }

    .conversion-motion {
        min-height: 320px;
    }

    .motion-stage {
        min-height: 620px;
    }

    .auth-login-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-panel {
        order: 2;
    }

    .auth-motion-panel {
        order: 1;
        min-height: 460px;
    }

    .auth-motion-stage {
        min-height: 360px;
    }

    .admin-command-bar {
        position: static;
    }
}

@media (max-width: 640px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .container {
        width: min(100% - 20px, 100%);
    }

    .site-search-result {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .site-search-result img {
        width: 50px;
        height: 50px;
    }

    .site-search-price {
        grid-column: 2;
        width: fit-content;
        font-size: 0.72rem;
    }

    .admin-command-menu,
    .admin-metrics-grid,
    .admin-page-metrics,
    .admin-permission-grid {
        grid-template-columns: 1fr;
    }

    .admin-command-link {
        min-height: 58px;
    }

    .admin-hero-copy,
    .admin-panel,
    .admin-page-hero,
    .admin-metric-card {
        border-radius: 22px;
        padding: 18px;
    }

    .admin-motion-console {
        min-height: 310px;
        border-radius: 22px;
    }

    .admin-console-grid {
        inset: 22px;
        border-radius: 22px;
    }

    .admin-console-core {
        width: 148px;
        min-height: 108px;
        border-radius: 24px;
    }

    .admin-console-core strong {
        font-size: 2rem;
    }

    .admin-console-node {
        width: 96px;
        min-height: 66px;
        border-radius: 17px;
    }

    .admin-console-node span {
        font-size: 1rem;
    }

    .admin-console-node strong {
        font-size: 0.68rem;
    }

    .node-products,
    .node-suppliers {
        right: 6%;
    }

    .node-stock,
    .node-team {
        left: 6%;
    }

    .card,
    .hero {
        padding: 18px;
    }

    .hero-shell,
    .promo-slider {
        padding: 16px;
    }

    .motion-hero {
        padding: 18px;
        border-radius: 24px;
    }

    .cart-hero-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .checkout-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .checkout-field-grid,
    .checkout-summary-grid,
    .checkout-trust-strip,
    .checkout-account-data,
    .auth-modal-grid {
        grid-template-columns: 1fr;
    }

    .checkout-product-mini {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .checkout-product-mini img {
        width: 64px;
        height: 64px;
    }

    .auth-modal {
        padding: 12px;
    }

    .auth-modal-panel {
        border-radius: 22px;
        padding: 18px;
    }

    .auth-modal-hero {
        padding-inline-end: 0;
        padding-top: 36px;
    }

    .cart-hero-copy h1 {
        font-size: 2rem;
    }

    .cart-metrics {
        grid-template-columns: 1fr;
    }

    .cart-panel-head,
    .cart-empty-state {
        align-items: stretch;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .cart-visual {
        min-height: 230px;
    }

    .motion-copy .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .motion-copy .hero-actions .button {
        width: 100%;
        min-width: 0;
    }

    .motion-signal-strip {
        grid-template-columns: 1fr;
    }

    .motion-stage {
        min-height: 560px;
    }

    .auth-motion-stage .motion-core {
        width: 160px;
        height: 160px;
        border-radius: 34px;
    }

    .auth-motion-stage .motion-core strong {
        font-size: 2.3rem;
    }

    .motion-ring-one {
        width: 300px;
        height: 300px;
    }

    .motion-ring-two {
        width: 420px;
        height: 240px;
    }

    .motion-product {
        width: 118px;
        min-height: 144px;
        border-radius: 18px;
    }

    .motion-product img {
        width: 96px;
        height: 96px;
    }

    .motion-product span {
        font-size: 0.68rem;
    }

    .catalog-card .price-row {
        align-items: stretch;
        flex-direction: column;
    }

    .price-actions {
        justify-content: stretch;
    }

    .price-actions,
    .price-actions form,
    .price-actions .button {
        width: 100%;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-image {
        max-width: 180px;
    }

    .cart-item-price {
        justify-items: stretch;
        text-align: right;
    }

    .cart-item-actions,
    .cart-item-actions .button,
    .cart-item-actions form {
        width: 100%;
    }

    .motion-product-2,
    .motion-product-3 {
        right: 0;
    }

    .motion-product-6,
    .motion-product-7 {
        left: 0;
    }

    .motion-product-8 {
        left: 50%;
    }

    .conversion-motion {
        width: 100%;
        min-height: 300px;
    }

    .conversion-orbit {
        inset: 46px 18px;
    }

    .conversion-node {
        min-width: 54px;
        min-height: 31px;
        padding: 6px 9px;
        font-size: 0.66rem;
    }

    .conversion-core {
        width: 174px;
        min-height: 112px;
        border-radius: 25px;
    }

    .conversion-core strong {
        font-size: 0.98rem;
    }

    .conversion-chip {
        min-height: 38px;
        padding: 8px 10px;
        border-radius: 16px;
    }

    .conversion-chip strong {
        font-size: 0.7rem;
    }

    .chip-order {
        top: 20px;
        right: 16px;
    }

    .chip-trust {
        right: 18px;
        bottom: 20px;
    }

    .chip-speed {
        left: 16px;
        bottom: 24px;
    }

    .promo-slide {
        min-height: 420px;
        padding: 14px;
    }

    .promo-visual {
        height: 210px;
    }

    .promo-product-link {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-link,
    .profile-trigger {
        flex: 1 1 auto;
    }

    .departments-menu,
    .profile-menu {
        width: 100%;
    }

    .departments-trigger,
    .profile-trigger {
        width: 100%;
    }

    .departments-dropdown,
    .profile-dropdown {
        width: 100%;
        min-width: 100%;
    }

    .departments-grid {
        grid-template-columns: 1fr;
    }

    .legal-hero {
        min-height: auto;
        padding: 22px;
    }

    .legal-stamp {
        width: 150px;
        height: 150px;
    }

    .legal-stamp svg {
        width: 76px;
        height: 76px;
    }

    .legal-summary-grid,
    .legal-sidebar {
        grid-template-columns: 1fr;
    }

    .legal-clause {
        padding: 20px;
    }

    .legal-signature {
        align-items: flex-start;
        flex-direction: column;
    }

    .captcha-panel {
        grid-template-columns: 1fr;
    }

    .auth-login-shell {
        padding-top: 0;
    }

    .auth-login-grid {
        gap: 12px;
    }

    .auth-form-panel,
    .auth-motion-panel {
        border-radius: 22px;
    }

    .auth-form-panel {
        padding: 20px;
    }

    .auth-form-head h1 {
        font-size: 1.9rem;
    }

    .auth-motion-panel {
        min-height: 330px;
        padding: 14px;
    }

    .auth-motion-stage {
        min-height: 255px;
        border-radius: 20px;
    }

    .auth-motion-stage .motion-core {
        width: 148px;
        min-height: 108px;
        border-radius: 22px;
    }

    .auth-motion-stage .motion-core strong {
        font-size: 1.02rem;
    }

    .auth-motion-stage .motion-card {
        width: 94px;
        min-height: 62px;
        border-radius: 16px;
    }

    .auth-motion-stage .motion-card span {
        font-size: 0.72rem;
    }

    .auth-motion-stage .motion-card strong {
        font-size: 0.74rem;
    }

    .auth-motion-stage .motion-card-a {
        right: 8%;
    }

    .auth-motion-stage .motion-card-b {
        left: 7%;
    }

    .auth-motion-stage .motion-card-c {
        right: 6%;
    }

    .auth-motion-stage .motion-card-d {
        left: 7%;
    }

    .auth-motion-caption {
        justify-content: stretch;
    }

    .auth-motion-caption span {
        flex: 1 1 auto;
        text-align: center;
        font-size: 0.74rem;
    }

    .auth-switch {
        align-items: flex-start;
        flex-direction: column;
    }

    h1 {
        font-size: 1.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-motion-stage .motion-core,
    .auth-motion-stage .motion-card,
    .auth-motion-stage .motion-route,
    .auth-motion-stage .motion-scan,
    .admin-console-core,
    .admin-console-node,
    .admin-console-beam {
        animation: none;
    }
}

.inventory-command,
.inventory-workspace,
.inventory-table-shell {
    margin-bottom: 22px;
}

.inventory-command {
    display: grid;
    gap: 16px;
}

.inventory-hero-card,
.inventory-quick-card,
.inventory-watch-card,
.inventory-table-shell,
.inventory-kpi-card {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.07);
}

.inventory-hero-card {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
    gap: 18px;
    overflow: hidden;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(20, 154, 144, 0.11), transparent 48%),
        linear-gradient(315deg, rgba(192, 111, 39, 0.1), transparent 42%),
        rgba(255, 255, 255, 0.9);
}

.inventory-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding: clamp(22px, 3vw, 42px);
}

.inventory-hero-copy h1 {
    max-width: 760px;
    margin: 10px 0 12px;
    color: var(--brand-dark);
    font-size: clamp(2.2rem, 4.5vw, 4.45rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.inventory-hero-copy p {
    max-width: 720px;
    color: var(--muted);
    font-weight: 800;
    line-height: 2;
}

.inventory-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.inventory-motion-board {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(135deg, rgba(250, 252, 252, 0.96), rgba(232, 246, 245, 0.84));
    background-size: 44px 44px, 44px 44px, auto;
}

.inventory-motion-grid {
    position: absolute;
    inset: 42px;
    border: 1px dashed rgba(82, 115, 123, 0.16);
    border-radius: 30px;
}

.inventory-core-card,
.inventory-flow-card {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(82, 115, 123, 0.1);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.inventory-core-card {
    top: 50%;
    left: 50%;
    width: 190px;
    min-height: 142px;
    gap: 4px;
    transform: translate(-50%, -50%);
    border-color: rgba(20, 154, 144, 0.24);
    border-radius: 30px;
    animation: inventoryFloat 5.8s ease-in-out infinite;
}

.inventory-core-card span,
.inventory-core-card small {
    color: var(--accent);
    font-weight: 900;
}

.inventory-core-card strong {
    color: var(--brand-dark);
    font-size: 3rem;
    line-height: 1;
}

.inventory-flow-card {
    width: 128px;
    min-height: 82px;
    gap: 3px;
    border-radius: 22px;
    animation: inventoryNodeFloat 7.2s ease-in-out infinite;
}

.inventory-flow-card span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 900;
}

.inventory-flow-card strong {
    color: var(--brand-dark);
    font-size: 1.45rem;
    line-height: 1;
}

.flow-card-a {
    top: 55px;
    right: 60px;
}

.flow-card-b {
    top: 76px;
    left: 60px;
    animation-delay: -1.4s;
}

.flow-card-c {
    bottom: 62px;
    right: 70px;
    animation-delay: -2.6s;
}

.flow-card-d {
    bottom: 55px;
    left: 72px;
    animation-delay: -3.5s;
}

.inventory-scan-line,
.inventory-pulse-route {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.inventory-scan-line {
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(20, 154, 144, 0.5), transparent);
    animation: inventoryScan 5.5s linear infinite;
}

.scan-one {
    top: 35%;
    left: 11%;
    right: 11%;
}

.scan-two {
    top: 66%;
    left: 16%;
    right: 16%;
    animation-delay: -2.2s;
}

.inventory-pulse-route {
    height: 1px;
    transform-origin: center;
    background: linear-gradient(90deg, transparent, rgba(192, 111, 39, 0.6), rgba(20, 154, 144, 0.45), transparent);
    animation: inventoryRoute 4.8s ease-in-out infinite;
}

.route-one {
    top: 48%;
    left: 14%;
    right: 14%;
    transform: rotate(-18deg);
}

.route-two {
    top: 52%;
    left: 18%;
    right: 18%;
    transform: rotate(18deg);
    animation-delay: -1.7s;
}

.inventory-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.inventory-kpi-card {
    display: grid;
    gap: 6px;
    min-height: 132px;
    padding: 20px;
    overflow: hidden;
    position: relative;
}

.inventory-kpi-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(20, 154, 144, 0.95), rgba(47, 111, 173, 0.85));
}

.inventory-kpi-card.is-green::before {
    background: linear-gradient(90deg, #149a90, #39a96b);
}

.inventory-kpi-card.is-blue::before {
    background: linear-gradient(90deg, #2f6fad, #60a5fa);
}

.inventory-kpi-card.is-gold::before {
    background: linear-gradient(90deg, #c06f27, #f2b84b);
}

.inventory-kpi-card.is-ink::before {
    background: linear-gradient(90deg, #243f4a, #52737b);
}

.inventory-kpi-card span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.inventory-kpi-card strong {
    color: var(--brand-dark);
    font-size: 2.35rem;
    line-height: 1;
}

.inventory-kpi-card small {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.7;
}

.inventory-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    gap: 16px;
    align-items: start;
}

.inventory-quick-card,
.inventory-watch-card,
.inventory-table-shell {
    padding: clamp(18px, 2.4vw, 28px);
}

.inventory-card-head,
.inventory-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.inventory-card-head h2,
.inventory-table-head h2 {
    margin: 4px 0 0;
    color: var(--brand-dark);
    font-size: 1.45rem;
}

.inventory-card-head.compact {
    margin-bottom: 12px;
}

.inventory-live-badge,
.inventory-result-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 154, 144, 0.11);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.inventory-live-badge.is-gold {
    background: rgba(192, 111, 39, 0.12);
    color: #a75d19;
}

.inventory-mode-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
    margin-bottom: 16px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    background: rgba(245, 250, 250, 0.78);
}

.inventory-mode-tab {
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-family: inherit;
    font-weight: 900;
}

.inventory-mode-tab.is-active {
    background: linear-gradient(135deg, var(--accent), #21857f);
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(20, 154, 144, 0.22);
}

.inventory-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.inventory-preset-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 16px;
}

.inventory-preset-row button {
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(82, 115, 123, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--brand-dark);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 900;
}

.inventory-preset-row button:hover {
    border-color: rgba(20, 154, 144, 0.28);
    background: rgba(20, 154, 144, 0.08);
}

.inventory-mode-panel {
    display: none;
}

.inventory-mode-panel.is-active {
    display: block;
}

.inventory-submit {
    width: 100%;
    margin-top: 6px;
}

.inventory-watch-stack {
    display: grid;
    gap: 14px;
}

.inventory-watch-list,
.inventory-mini-list {
    display: grid;
    gap: 10px;
}

.inventory-watch-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 18px;
    background: rgba(250, 252, 252, 0.84);
    color: var(--brand-dark);
}

.inventory-watch-item img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(82, 115, 123, 0.08);
    background: #ffffff;
}

.inventory-watch-item span {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.inventory-watch-item strong,
.inventory-mini-item strong {
    overflow: hidden;
    color: var(--brand-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inventory-watch-item small,
.inventory-mini-item span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.inventory-watch-item i {
    display: block;
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.1);
}

.inventory-watch-item i::before {
    content: "";
    display: block;
    width: var(--stock-width);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c06f27, #149a90);
}

.inventory-mini-item {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 16px;
    background: rgba(250, 252, 252, 0.78);
}

.inventory-soft-empty {
    padding: 14px;
    border: 1px dashed rgba(82, 115, 123, 0.18);
    border-radius: 16px;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.inventory-filter-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(160px, 0.35fr) minmax(220px, 0.55fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.inventory-filter-grid .button {
    min-height: 48px;
}

.inventory-table-wrap {
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
}

.inventory-table {
    min-width: 980px;
}

.inventory-product-cell {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 250px;
}

.inventory-product-cell img {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 16px;
    object-fit: cover;
    background: #ffffff;
}

.inventory-product-cell span,
.inventory-secret-cell,
.inventory-movement-cell {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.inventory-product-cell strong,
.inventory-secret-cell strong,
.inventory-movement-cell strong {
    overflow: hidden;
    color: var(--brand-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inventory-product-cell small,
.inventory-secret-cell small,
.inventory-movement-cell small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inventory-secret {
    display: inline-flex;
    width: fit-content;
    max-width: 280px;
    min-height: 32px;
    align-items: center;
    padding: 6px 10px;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 12px;
    background: rgba(245, 250, 250, 0.9);
    color: #314b54;
    direction: ltr;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.8rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inventory-status-pill,
.inventory-date-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.inventory-status-pill {
    background: rgba(82, 115, 123, 0.09);
    color: var(--brand-dark);
}

.inventory-status-available {
    background: rgba(20, 154, 144, 0.12);
    color: #0c7770;
}

.inventory-status-reserved {
    background: rgba(47, 111, 173, 0.12);
    color: #255d96;
}

.inventory-status-delivered,
.inventory-status-used {
    background: rgba(36, 63, 74, 0.1);
    color: #243f4a;
}

.inventory-status-failed,
.inventory-date-pill.is-expired {
    background: rgba(190, 24, 24, 0.1);
    color: #991b1b;
}

.inventory-date-pill {
    background: rgba(82, 115, 123, 0.08);
    color: var(--muted);
}

.inventory-date-pill.is-warning {
    background: rgba(192, 111, 39, 0.13);
    color: #a75d19;
}

.inventory-filter-empty[hidden] {
    display: none;
}

@keyframes inventoryFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

@keyframes inventoryNodeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes inventoryScan {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    28%, 72% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
}

@keyframes inventoryRoute {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    35%, 68% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
}

@media (max-width: 1200px) {
    .inventory-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .inventory-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inventory-filter-grid .button {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .inventory-hero-card,
    .inventory-workspace {
        grid-template-columns: 1fr;
    }

    .inventory-hero-copy {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .inventory-hero-card,
    .inventory-quick-card,
    .inventory-watch-card,
    .inventory-table-shell,
    .inventory-kpi-card {
        border-radius: 22px;
        padding: 18px;
    }

    .inventory-motion-board {
        min-height: 310px;
        border-radius: 20px;
    }

    .inventory-motion-grid {
        inset: 22px;
        border-radius: 22px;
    }

    .inventory-core-card {
        width: 148px;
        min-height: 108px;
        border-radius: 24px;
    }

    .inventory-core-card strong {
        font-size: 2rem;
    }

    .inventory-flow-card {
        width: 96px;
        min-height: 64px;
        border-radius: 17px;
    }

    .inventory-flow-card strong {
        font-size: 1rem;
    }

    .flow-card-a,
    .flow-card-c {
        right: 6%;
    }

    .flow-card-b,
    .flow-card-d {
        left: 6%;
    }

    .inventory-kpi-grid,
    .inventory-field-grid,
    .inventory-filter-grid {
        grid-template-columns: 1fr;
    }

    .inventory-card-head,
    .inventory-table-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .inventory-hero-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inventory-core-card,
    .inventory-flow-card,
    .inventory-scan-line,
    .inventory-pulse-route {
        animation: none;
    }
}

.orders-command,
.orders-workspace,
.orders-table-shell {
    margin-bottom: 22px;
}

.orders-command {
    display: grid;
    gap: 16px;
}

.orders-hero-card,
.orders-create-card,
.orders-watch-card,
.orders-table-shell,
.orders-kpi-card {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.07);
}

.orders-hero-card {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
    gap: 18px;
    overflow: hidden;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(47, 111, 173, 0.11), transparent 48%),
        linear-gradient(315deg, rgba(20, 154, 144, 0.11), transparent 42%),
        rgba(255, 255, 255, 0.9);
}

.orders-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding: clamp(22px, 3vw, 42px);
}

.orders-hero-copy h1 {
    max-width: 780px;
    margin: 10px 0 12px;
    color: var(--brand-dark);
    font-size: clamp(2.15rem, 4.4vw, 4.35rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.orders-hero-copy p {
    max-width: 720px;
    color: var(--muted);
    font-weight: 800;
    line-height: 2;
}

.orders-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.orders-motion-board {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(135deg, rgba(250, 252, 252, 0.96), rgba(235, 246, 250, 0.84));
    background-size: 44px 44px, 44px 44px, auto;
}

.orders-motion-grid {
    position: absolute;
    inset: 42px;
    border: 1px dashed rgba(82, 115, 123, 0.16);
    border-radius: 30px;
}

.orders-core-card,
.orders-flow-card {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(82, 115, 123, 0.1);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.orders-core-card {
    top: 50%;
    left: 50%;
    width: 190px;
    min-height: 142px;
    gap: 4px;
    transform: translate(-50%, -50%);
    border-color: rgba(47, 111, 173, 0.24);
    border-radius: 30px;
    animation: ordersFloat 5.8s ease-in-out infinite;
}

.orders-core-card span,
.orders-core-card small {
    color: #2f6fad;
    font-weight: 900;
}

.orders-core-card strong {
    color: var(--brand-dark);
    font-size: 3rem;
    line-height: 1;
}

.orders-flow-card {
    width: 128px;
    min-height: 82px;
    gap: 3px;
    border-radius: 22px;
    animation: ordersNodeFloat 7.2s ease-in-out infinite;
}

.orders-flow-card span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 900;
}

.orders-flow-card strong {
    color: var(--brand-dark);
    font-size: 1.45rem;
    line-height: 1;
}

.order-node-a {
    top: 55px;
    right: 60px;
}

.order-node-b {
    top: 76px;
    left: 60px;
    animation-delay: -1.4s;
}

.order-node-c {
    bottom: 62px;
    right: 70px;
    animation-delay: -2.6s;
}

.order-node-d {
    bottom: 55px;
    left: 72px;
    animation-delay: -3.5s;
}

.orders-route,
.orders-scan {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.orders-route {
    height: 1px;
    transform-origin: center;
    background: linear-gradient(90deg, transparent, rgba(47, 111, 173, 0.58), rgba(20, 154, 144, 0.52), transparent);
    animation: ordersRoute 4.8s ease-in-out infinite;
}

.order-route-one {
    top: 48%;
    left: 14%;
    right: 14%;
    transform: rotate(-18deg);
}

.order-route-two {
    top: 52%;
    left: 18%;
    right: 18%;
    transform: rotate(18deg);
    animation-delay: -1.7s;
}

.orders-scan {
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(20, 154, 144, 0.5), transparent);
    animation: ordersScan 5.5s linear infinite;
}

.order-scan-one {
    top: 35%;
    left: 11%;
    right: 11%;
}

.order-scan-two {
    top: 66%;
    left: 16%;
    right: 16%;
    animation-delay: -2.2s;
}

.orders-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.orders-kpi-card {
    position: relative;
    display: grid;
    gap: 6px;
    min-height: 132px;
    overflow: hidden;
    padding: 20px;
}

.orders-kpi-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(47, 111, 173, 0.95), rgba(20, 154, 144, 0.85));
}

.orders-kpi-card.is-green::before {
    background: linear-gradient(90deg, #149a90, #39a96b);
}

.orders-kpi-card.is-blue::before {
    background: linear-gradient(90deg, #2f6fad, #60a5fa);
}

.orders-kpi-card.is-gold::before {
    background: linear-gradient(90deg, #c06f27, #f2b84b);
}

.orders-kpi-card.is-red::before {
    background: linear-gradient(90deg, #991b1b, #ef4444);
}

.orders-kpi-card span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.orders-kpi-card strong {
    color: var(--brand-dark);
    font-size: 2.35rem;
    line-height: 1;
}

.orders-kpi-card small {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.7;
}

.orders-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    gap: 16px;
    align-items: start;
}

.orders-create-card,
.orders-watch-card,
.orders-table-shell {
    padding: clamp(18px, 2.4vw, 28px);
}

.orders-card-head,
.orders-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.orders-card-head h2,
.orders-table-head h2 {
    margin: 4px 0 0;
    color: var(--brand-dark);
    font-size: 1.45rem;
}

.orders-card-head.compact {
    margin-bottom: 12px;
}

.orders-live-badge,
.orders-result-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(47, 111, 173, 0.11);
    color: #2f6fad;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.orders-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.orders-selected-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    align-items: center;
    min-height: 62px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(47, 111, 173, 0.07), rgba(20, 154, 144, 0.07));
}

.orders-selected-product strong,
.orders-selected-product b {
    color: var(--brand-dark);
    font-weight: 900;
}

.orders-selected-product span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.orders-selected-product b {
    grid-row: span 2;
    padding: 8px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    white-space: nowrap;
}

.orders-submit {
    width: 100%;
    margin-top: 6px;
}

.orders-watch-stack,
.orders-watch-list,
.orders-mini-list {
    display: grid;
    gap: 12px;
}

.orders-watch-item,
.orders-mini-item {
    color: var(--brand-dark);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.orders-watch-item:hover,
.orders-mini-item:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 154, 144, 0.22);
    background: rgba(247, 252, 252, 0.96);
}

.orders-watch-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 11px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 18px;
    background: rgba(250, 252, 252, 0.84);
}

.orders-watch-icon,
.orders-customer-cell > span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 154, 144, 0.14), rgba(47, 111, 173, 0.14));
    color: var(--brand-dark);
    font-weight: 900;
}

.orders-watch-item span:not(.orders-watch-icon) {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.orders-watch-item strong,
.orders-mini-item strong {
    overflow: hidden;
    color: var(--brand-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orders-watch-item small,
.orders-mini-item span {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orders-watch-item b {
    min-width: 42px;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(82, 115, 123, 0.08);
    color: var(--brand-dark);
    font-size: 0.78rem;
    text-align: center;
}

.orders-mini-item {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 16px;
    background: rgba(250, 252, 252, 0.78);
}

.orders-soft-empty {
    padding: 14px;
    border: 1px dashed rgba(82, 115, 123, 0.18);
    border-radius: 16px;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.orders-channel-card {
    display: grid;
    gap: 14px;
}

.orders-channel-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: center;
}

.orders-channel-row span,
.orders-channel-row strong {
    color: var(--brand-dark);
    font-weight: 900;
}

.orders-channel-row i {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.1);
}

.orders-channel-row i::before {
    content: "";
    display: block;
    width: var(--order-bar);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f6fad, #149a90);
}

.orders-filter-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.35fr) minmax(170px, 0.35fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.orders-filter-grid .button {
    min-height: 48px;
}

.orders-table-wrap {
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
}

.orders-table {
    min-width: 1080px;
}

.orders-number-cell,
.orders-payment-cell,
.orders-product-cell span {
    display: grid;
    gap: 5px;
}

.orders-number-cell small,
.orders-payment-cell small,
.orders-product-cell small,
.orders-customer-cell small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orders-customer-cell,
.orders-product-cell {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 220px;
}

.orders-customer-cell > span {
    width: 52px;
    height: 52px;
}

.orders-customer-cell div,
.orders-product-cell span {
    min-width: 0;
}

.orders-customer-cell strong,
.orders-product-cell strong {
    display: block;
    overflow: hidden;
    color: var(--brand-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orders-product-cell img {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 15px;
    object-fit: cover;
    background: #ffffff;
}

.orders-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.09);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.orders-status-fulfilled,
.orders-payment-paid {
    background: rgba(20, 154, 144, 0.12);
    color: #0c7770;
}

.orders-status-pending,
.orders-payment-pending {
    background: rgba(192, 111, 39, 0.13);
    color: #a75d19;
}

.orders-status-partially_fulfilled {
    background: rgba(47, 111, 173, 0.12);
    color: #255d96;
}

.orders-status-failed,
.orders-payment-failed,
.orders-payment-canceled {
    background: rgba(190, 24, 24, 0.1);
    color: #991b1b;
}

.orders-filter-empty[hidden] {
    display: none;
}

@keyframes ordersFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

@keyframes ordersNodeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes ordersRoute {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    35%, 68% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
}

@keyframes ordersScan {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    28%, 72% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
}

@media (max-width: 1200px) {
    .orders-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .orders-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orders-filter-grid .button {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .orders-hero-card,
    .orders-workspace {
        grid-template-columns: 1fr;
    }

    .orders-hero-copy {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .orders-hero-card,
    .orders-create-card,
    .orders-watch-card,
    .orders-table-shell,
    .orders-kpi-card {
        border-radius: 22px;
        padding: 18px;
    }

    .orders-motion-board {
        min-height: 310px;
        border-radius: 20px;
    }

    .orders-motion-grid {
        inset: 22px;
        border-radius: 22px;
    }

    .orders-core-card {
        width: 148px;
        min-height: 108px;
        border-radius: 24px;
    }

    .orders-core-card strong {
        font-size: 2rem;
    }

    .orders-flow-card {
        width: 96px;
        min-height: 64px;
        border-radius: 17px;
    }

    .orders-flow-card strong {
        font-size: 1rem;
    }

    .order-node-a,
    .order-node-c {
        right: 6%;
    }

    .order-node-b,
    .order-node-d {
        left: 6%;
    }

    .orders-kpi-grid,
    .orders-form-grid,
    .orders-filter-grid,
    .orders-selected-product {
        grid-template-columns: 1fr;
    }

    .orders-card-head,
    .orders-table-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .orders-hero-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orders-core-card,
    .orders-flow-card,
    .orders-route,
    .orders-scan {
        animation: none;
    }
}

.order-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 16px;
    margin-bottom: 16px;
}

.order-detail-copy,
.order-detail-control,
.order-detail-kpis article,
.order-payment-panel,
.order-items-panel,
.order-delivery-panel {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.07);
}

.order-detail-copy {
    padding: clamp(22px, 3vw, 42px);
    background:
        linear-gradient(135deg, rgba(47, 111, 173, 0.1), transparent 48%),
        linear-gradient(315deg, rgba(20, 154, 144, 0.1), transparent 42%),
        rgba(255, 255, 255, 0.92);
}

.order-detail-copy .button {
    width: fit-content;
    margin-bottom: 18px;
}

.order-detail-copy h1 {
    margin: 10px 0 12px;
    color: var(--brand-dark);
    font-size: clamp(2.1rem, 4.2vw, 4rem);
    line-height: 1.1;
    letter-spacing: 0;
}

.order-detail-copy p {
    max-width: 720px;
    color: var(--muted);
    font-weight: 800;
    line-height: 2;
}

.order-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.order-detail-badges > span:not(.orders-status-pill) {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.08);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.order-detail-control {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: clamp(20px, 2.4vw, 30px);
}

.order-detail-control span,
.order-detail-control small {
    color: var(--muted);
    font-weight: 900;
}

.order-detail-control strong {
    color: var(--brand-dark);
    font-size: 3rem;
    line-height: 1;
}

.order-detail-control i,
.order-item-row i {
    display: block;
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.1);
}

.order-detail-control i::before,
.order-item-row i::before {
    content: "";
    display: block;
    width: var(--order-progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f6fad, #149a90);
}

.order-detail-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.order-detail-kpis article {
    display: grid;
    gap: 5px;
    min-height: 120px;
    padding: 18px;
}

.order-detail-kpis span,
.order-payment-grid span,
.order-track-card span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.order-detail-kpis strong,
.order-payment-grid strong {
    overflow: hidden;
    color: var(--brand-dark);
    font-size: 1.25rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-detail-kpis small {
    overflow: hidden;
    color: var(--muted);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-payment-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
    padding: clamp(18px, 2.4vw, 28px);
}

.order-payment-panel h2 {
    margin: 4px 0 0;
    color: var(--brand-dark);
}

.order-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.order-payment-grid div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 16px;
    background: rgba(250, 252, 252, 0.82);
}

.order-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.45fr);
    gap: 16px;
    align-items: start;
}

.order-items-panel,
.order-delivery-panel {
    padding: clamp(18px, 2.4vw, 28px);
}

.order-manual-form {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(47, 111, 173, 0.12);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(47, 111, 173, 0.07), rgba(20, 154, 144, 0.07)),
        rgba(250, 252, 252, 0.86);
}

.order-manual-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-manual-presets button {
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(82, 115, 123, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--brand-dark);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 900;
}

.order-manual-presets button:hover {
    border-color: rgba(20, 154, 144, 0.28);
    background: rgba(20, 154, 144, 0.08);
}

.order-processing-lock {
    padding: 12px 14px;
    border: 1px solid rgba(190, 24, 24, 0.14);
    border-radius: 16px;
    background: rgba(190, 24, 24, 0.08);
    color: #991b1b;
    font-weight: 900;
    line-height: 1.8;
}

.order-delivery-heading {
    margin: 4px 0 12px;
}

.order-delivery-heading h2 {
    margin: 4px 0 0;
    color: var(--brand-dark);
    font-size: 1.25rem;
}

.order-items-list,
.order-delivery-list {
    display: grid;
    gap: 12px;
}

.order-item-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 20px;
    background: rgba(250, 252, 252, 0.82);
}

.order-item-row img {
    width: 76px;
    height: 76px;
    border: 1px solid rgba(82, 115, 123, 0.08);
    border-radius: 18px;
    object-fit: cover;
    background: #ffffff;
}

.order-item-row div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.order-item-row strong,
.order-delivery-card span {
    overflow: hidden;
    color: var(--brand-dark);
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-item-row p,
.order-item-row small,
.order-delivery-card small {
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.7;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-item-row > span {
    display: grid;
    gap: 4px;
    justify-items: end;
}

.order-item-row b {
    color: var(--brand-dark);
}

.order-delivery-card {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 18px;
    background: rgba(250, 252, 252, 0.82);
}

.order-delivery-card pre {
    overflow: auto;
    max-height: 170px;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 14px;
    background: #f7fbfb;
    color: #233740;
    direction: ltr;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.86rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

.order-track-card {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(47, 111, 173, 0.12);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(47, 111, 173, 0.08), rgba(20, 154, 144, 0.08));
}

.order-track-card a {
    overflow: hidden;
    color: var(--brand-dark);
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .order-detail-hero,
    .order-detail-layout,
    .order-payment-grid,
    .order-detail-kpis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .order-detail-copy,
    .order-detail-control,
    .order-detail-kpis article,
    .order-payment-panel,
    .order-items-panel,
    .order-delivery-panel {
        border-radius: 22px;
        padding: 18px;
    }

    .order-item-row {
        grid-template-columns: 1fr;
    }

    .order-item-row img {
        width: 120px;
        height: 120px;
    }

    .order-item-row > span {
        justify-items: start;
    }
}

.team-command,
.team-workspace,
.team-members-shell {
    margin-bottom: 22px;
}

.team-command {
    display: grid;
    gap: 16px;
}

.team-hero-card,
.team-create-card,
.team-side-card,
.team-members-shell,
.team-kpi-card,
.team-member-card {
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.07);
}

.team-hero-card {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
    gap: 18px;
    overflow: hidden;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(20, 154, 144, 0.11), transparent 48%),
        linear-gradient(315deg, rgba(47, 111, 173, 0.11), transparent 42%),
        rgba(255, 255, 255, 0.9);
}

.team-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding: clamp(22px, 3vw, 42px);
}

.team-hero-copy h1 {
    max-width: 760px;
    margin: 10px 0 12px;
    color: var(--brand-dark);
    font-size: clamp(2.15rem, 4.4vw, 4.35rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.team-hero-copy p {
    max-width: 720px;
    color: var(--muted);
    font-weight: 800;
    line-height: 2;
}

.team-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.team-motion-board {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(82, 115, 123, 0.055) 1px, transparent 1px),
        linear-gradient(135deg, rgba(250, 252, 252, 0.96), rgba(232, 246, 245, 0.84));
    background-size: 44px 44px, 44px 44px, auto;
}

.team-motion-grid {
    position: absolute;
    inset: 42px;
    border: 1px dashed rgba(82, 115, 123, 0.16);
    border-radius: 30px;
}

.team-core-card,
.team-node {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(82, 115, 123, 0.1);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.team-core-card {
    top: 50%;
    left: 50%;
    width: 190px;
    min-height: 142px;
    gap: 4px;
    transform: translate(-50%, -50%);
    border-color: rgba(20, 154, 144, 0.24);
    border-radius: 30px;
    animation: teamFloat 5.8s ease-in-out infinite;
}

.team-core-card span,
.team-core-card small {
    color: var(--accent);
    font-weight: 900;
}

.team-core-card strong {
    color: var(--brand-dark);
    font-size: 3rem;
    line-height: 1;
}

.team-node {
    width: 128px;
    min-height: 82px;
    gap: 3px;
    border-radius: 22px;
    animation: teamNodeFloat 7.2s ease-in-out infinite;
}

.team-node span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 900;
}

.team-node strong {
    color: var(--brand-dark);
    font-size: 1.45rem;
    line-height: 1;
}

.team-node-a {
    top: 55px;
    right: 60px;
}

.team-node-b {
    top: 76px;
    left: 60px;
    animation-delay: -1.4s;
}

.team-node-c {
    bottom: 62px;
    right: 70px;
    animation-delay: -2.6s;
}

.team-node-d {
    bottom: 55px;
    left: 72px;
    animation-delay: -3.5s;
}

.team-route,
.team-scan {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.team-route {
    height: 1px;
    transform-origin: center;
    background: linear-gradient(90deg, transparent, rgba(20, 154, 144, 0.58), rgba(47, 111, 173, 0.52), transparent);
    animation: teamRoute 4.8s ease-in-out infinite;
}

.route-a {
    top: 48%;
    left: 14%;
    right: 14%;
    transform: rotate(-18deg);
}

.route-b {
    top: 52%;
    left: 18%;
    right: 18%;
    transform: rotate(18deg);
    animation-delay: -1.7s;
}

.team-scan {
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(20, 154, 144, 0.5), transparent);
    animation: teamScan 5.5s linear infinite;
}

.scan-a {
    top: 35%;
    left: 11%;
    right: 11%;
}

.scan-b {
    top: 66%;
    left: 16%;
    right: 16%;
    animation-delay: -2.2s;
}

.team-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.team-kpi-card {
    position: relative;
    display: grid;
    gap: 6px;
    min-height: 132px;
    overflow: hidden;
    padding: 20px;
}

.team-kpi-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(20, 154, 144, 0.95), rgba(47, 111, 173, 0.85));
}

.team-kpi-card.is-green::before {
    background: linear-gradient(90deg, #149a90, #39a96b);
}

.team-kpi-card.is-gold::before {
    background: linear-gradient(90deg, #c06f27, #f2b84b);
}

.team-kpi-card.is-red::before {
    background: linear-gradient(90deg, #991b1b, #ef4444);
}

.team-kpi-card.is-blue::before {
    background: linear-gradient(90deg, #2f6fad, #60a5fa);
}

.team-kpi-card span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.team-kpi-card strong {
    color: var(--brand-dark);
    font-size: 2.35rem;
    line-height: 1;
}

.team-kpi-card small {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.7;
}

.team-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    gap: 16px;
    align-items: start;
}

.team-create-card,
.team-side-card,
.team-members-shell,
.team-member-card {
    padding: clamp(18px, 2.4vw, 28px);
}

.team-side-stack {
    display: grid;
    gap: 14px;
}

.team-card-head,
.team-table-head,
.team-member-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.team-card-head h2,
.team-table-head h2,
.team-side-card h2 {
    margin: 4px 0 0;
    color: var(--brand-dark);
    font-size: 1.45rem;
}

.team-card-head.compact {
    margin-bottom: 12px;
}

.team-live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 154, 144, 0.11);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.team-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.team-form-grid.compact {
    margin-bottom: 12px;
}

.team-permission-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.team-permission-picker.compact {
    grid-template-columns: 1fr;
}

.team-permission-group {
    display: grid;
    gap: 9px;
    padding: 13px;
    border: 1px solid rgba(82, 115, 123, 0.1);
    border-radius: 18px;
    background: rgba(250, 252, 252, 0.84);
}

.team-permission-group strong {
    color: var(--brand-dark);
}

.team-permission-group p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.7;
}

.team-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--brand-dark);
    font-size: 0.8rem;
    font-weight: 900;
}

.team-check input {
    width: 17px;
    height: 17px;
    accent-color: var(--accent);
}

.team-customer-list,
.team-rule-list {
    display: grid;
    gap: 10px;
}

.team-customer-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 18px;
    background: rgba(250, 252, 252, 0.84);
}

.team-customer-item > span,
.team-avatar {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 154, 144, 0.14), rgba(47, 111, 173, 0.14));
    color: var(--brand-dark);
    font-weight: 900;
}

.team-customer-item div,
.team-member-head div {
    min-width: 0;
}

.team-customer-item strong,
.team-member-head strong {
    display: block;
    overflow: hidden;
    color: var(--brand-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-customer-item small,
.team-member-head small {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-rule-list span {
    padding: 11px 12px;
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 16px;
    background: rgba(250, 252, 252, 0.82);
    color: var(--brand-dark);
    font-weight: 900;
    line-height: 1.7;
}

.team-soft-empty {
    padding: 14px;
    border: 1px dashed rgba(82, 115, 123, 0.18);
    border-radius: 16px;
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.team-member-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.team-member-card {
    display: grid;
    gap: 14px;
    box-shadow: none;
}

.team-member-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    margin-bottom: 0;
}

.team-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.09);
    color: var(--brand-dark);
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
}

.team-status-active {
    background: rgba(20, 154, 144, 0.12);
    color: #0c7770;
}

.team-status-suspended {
    background: rgba(190, 24, 24, 0.1);
    color: #991b1b;
}

.team-member-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-member-meta span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    max-width: 100%;
    padding: 6px 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(82, 115, 123, 0.08);
    color: var(--brand-dark);
    font-size: 0.76rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-edit-details {
    border: 1px solid rgba(82, 115, 123, 0.09);
    border-radius: 18px;
    background: rgba(250, 252, 252, 0.82);
}

.team-edit-details summary {
    cursor: pointer;
    padding: 13px 14px;
    color: var(--brand-dark);
    font-weight: 900;
}

.team-edit-form {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
}

@keyframes teamFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

@keyframes teamNodeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes teamRoute {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    35%, 68% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
}

@keyframes teamScan {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    28%, 72% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
    }
}

@media (max-width: 1200px) {
    .team-kpi-grid,
    .team-permission-picker {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .team-hero-card,
    .team-workspace,
    .team-member-grid {
        grid-template-columns: 1fr;
    }

    .team-hero-copy {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .team-hero-card,
    .team-create-card,
    .team-side-card,
    .team-members-shell,
    .team-kpi-card,
    .team-member-card {
        border-radius: 22px;
        padding: 18px;
    }

    .team-motion-board {
        min-height: 310px;
        border-radius: 20px;
    }

    .team-motion-grid {
        inset: 22px;
        border-radius: 22px;
    }

    .team-core-card {
        width: 148px;
        min-height: 108px;
        border-radius: 24px;
    }

    .team-core-card strong {
        font-size: 2rem;
    }

    .team-node {
        width: 96px;
        min-height: 64px;
        border-radius: 17px;
    }

    .team-node strong {
        font-size: 1rem;
    }

    .team-node-a,
    .team-node-c {
        right: 6%;
    }

    .team-node-b,
    .team-node-d {
        left: 6%;
    }

    .team-kpi-grid,
    .team-form-grid,
    .team-permission-picker {
        grid-template-columns: 1fr;
    }

    .team-card-head,
    .team-table-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .team-member-head {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .team-status-pill {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .team-hero-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-core-card,
    .team-node,
    .team-route,
    .team-scan {
        animation: none;
    }
}

/* Compact responsive header patch */
.topbar-inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px;
    padding: 12px 0;
}

.brand {
    flex: 0 0 auto;
    gap: 9px;
}

.brand strong {
    font-size: 0.92rem;
}

.brand small {
    display: block;
    max-width: 136px;
    font-size: 0.72rem;
    line-height: 1.55;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1rem;
}

.site-search {
    flex: 0 1 500px;
    min-width: 240px;
}

.site-search-input {
    min-height: 42px;
    padding: 9px 42px 9px 40px;
    font-size: 0.86rem;
}

.site-search-icon {
    right: 14px;
    width: 17px;
    height: 17px;
}

.nav-links {
    align-items: center;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: 0;
    gap: 7px;
}

.nav-link,
.profile-trigger,
.departments-trigger {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.84rem;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}

.cart-badge {
    min-width: 20px;
    height: 20px;
    padding-inline: 6px;
    font-size: 0.66rem;
}

.profile-menu,
.departments-menu {
    flex: 0 0 auto;
    width: auto;
}

.profile-trigger,
.departments-trigger {
    width: auto;
}

@media (max-width: 1500px) {
    .topbar-inner {
        flex-wrap: wrap;
    }

    .brand {
        order: 1;
    }

    .site-search {
        order: 2;
        flex: 1 1 360px;
        max-width: none;
    }

    .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 8px 10px;
        border: 1px solid rgba(82, 115, 123, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.58);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .nav-link,
    .profile-trigger {
        scroll-snap-align: start;
    }
}

@media (max-width: 720px) {
    .topbar-inner {
        gap: 10px;
        padding: 10px 0;
    }

    .brand {
        width: 100%;
    }

    .brand small {
        max-width: none;
    }

    .site-search {
        flex-basis: 100%;
        min-width: 0;
        width: 100%;
    }

    .nav-links {
        width: 100%;
        gap: 6px;
        padding: 7px;
        border-radius: 16px;
    }

    .nav-link,
    .profile-trigger,
    .departments-trigger {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 0.78rem;
    }
}
