
:root {
    --primary: #62438d;
    --primary-dark: #42265f;
    --purple-light: #ac90d3;
    --accent: #e9bd83;
    --background: #f8f6fb;
    --surface: #ffffff;
    --text: #241b32;
    --muted: #80768b;
    --border: #eae4f0;
    --lavender: #f0e9fa;
    --green: #319568;
    --shadow: 0 12px 35px #3920520b;
    --shadow-lg: 0 20px 60px #39205218;
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: clip;
}

::selection {
    background: var(--primary);
    color: white;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #f1edf5;
}

::-webkit-scrollbar-thumb {
    background: #ad98c6;
    border-radius: 20px;
}

button, input, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

button, a, input, textarea {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible {
    outline: 3px solid #b49bdd;
    outline-offset: 4px;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, p {
    margin: 0;
}

img {
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

.wrap {
    width: min(1280px, calc(100% - 64px));
    margin-inline: auto;
}

.page-glow {
    position: fixed;
    z-index: -1;
    pointer-events: none;
    width: 650px;
    height: 650px;
    top: -250px;
    right: -180px;
    background: radial-gradient(
        circle,
        #d8c5f650,
        transparent 70%
    );
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffffd9;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #eae4f0b0;
    transition: box-shadow .3s;
}

.topbar.scrolled {
    box-shadow: 0 5px 30px #39205212;
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    transition: transform .4s;
}

.brand:hover .logo-img {
    transform: rotate(-8deg) scale(1.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.brand-text strong {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.brand-text small {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    position: relative;
    font-size: 13px;
    font-weight: 650;
    color: var(--muted);
    padding-block: 10px;
    transition: color .2s;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    height: 2px;
    bottom: 2px;
    left: 0;
    right: 0;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--border);
    padding: 11px 18px;
    background: white;
    border-radius: 100px;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    transition: all .25s;
}

.nav-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #62438d30;
}

.live-dot, .connection-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #59c493;
    animation: pulse 2s infinite;
}

.hero {
    margin-top: 28px;
    min-height: 420px;
    padding: 55px 52px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(
        120deg,
        #281839 0%,
        #50356f 55%,
        #78549f 100%
    );
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    box-shadow: 0 20px 55px #49306024;
    animation: enter .7s ease both;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(#ffffff08 1px, transparent 1px),
        linear-gradient(90deg, #ffffff08 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, transparent, black);
}

.hero-glow {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(70px);
    animation: glowMove 9s ease-in-out infinite alternate;
}

.glow-one {
    width: 300px;
    height: 300px;
    right: -70px;
    top: -90px;
    background: #d6a5f248;
}

.glow-two {
    width: 260px;
    height: 260px;
    bottom: -140px;
    left: 20%;
    background: #edb87530;
    animation-delay: -4s;
}

.hero-copy {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    animation: enter .8s .12s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff0e;
    border: 1px solid #ffffff25;
    padding: 6px 13px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .4px;
    margin-bottom: 22px;
}

.eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
    color: #d7c1ef;
}

.eyebrow.dark {
    color: var(--primary);
}

.hero h1 {
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -2.8px;
    margin: 15px 0 20px;
    max-width: 650px;
}

.hero p {
    max-width: 470px;
    color: #e4d9ef;
    font-size: 14px;
    line-height: 1.8;
}

.hero-accent {
    color: var(--accent);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: #f5e5c9;
    color: #3e294e;
    border-radius: 100px !important;
    padding: 14px 24px !important;
}

.hero-button:hover {
    background: white;
    box-shadow: 0 8px 30px #ffffff25;
}

.hero-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 13px;
    color: #e7dcef;
    transition: color .3s;
}

.hero-secondary:hover {
    color: white;
}

.info {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.info span {
    font-size: 10px;
    padding: 6px 11px;
    background: #ffffff0c;
    border: 1px solid #ffffff1c;
    border-radius: 100px;
    color: #e2d6ec;
}

.hero-art {
    position: relative;
    flex: 0 0 45%;
    min-width: 0;
    max-width: 520px;
    display: grid;
    place-items: center;
    animation: fadeIn 1.2s ease both;
}

.hero-art > img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 25px 50px #21112e50;
    border: 1px solid #ffffff25;
    position: relative;
    z-index: 1;
    animation: floating 6s ease-in-out infinite;
}

.hero-orbit {
    position: absolute;
    border: 1px solid #ffffff16;
    border-radius: 50%;
    aspect-ratio: 1;
    pointer-events: none;
}

.orbit-one {
    width: 110%;
}

.orbit-two {
    width: 135%;
}

.floating-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    position: absolute;
    z-index: 3;
    background: #ffffffec;
    color: var(--text);
    backdrop-filter: blur(16px);
    border: 1px solid white;
    border-radius: 16px;
    box-shadow: 0 10px 35px #21112e30;
    animation: floating 5s ease-in-out infinite;
}

.tag-top {
    top: -20px;
    right: -15px;
}

.tag-bottom {
    bottom: -20px;
    left: -18px;
    animation-delay: -2.5s;
}

.tag-icon {
    background: var(--lavender);
    color: var(--primary);
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 19px;
}

.floating-tag strong {
    font-size: 12px;
    display: block;
}

.floating-tag small {
    font-size: 10px;
    display: block;
    color: var(--muted);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 24px 0 42px;
    gap: 16px;
}

.highlight {
    display: flex;
    gap: 13px;
    align-items: center;
    background: var(--surface);
    padding: 17px 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s;
    animation: enter .7s .2s both;
}

.highlight:nth-child(2) {
    animation-delay: .3s;
}

.highlight:nth-child(3) {
    animation-delay: .4s;
}

.highlight:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 21px;
    color: var(--primary);
    background: var(--lavender);
    border-radius: 14px;
}

.highlight strong {
    display: block;
    font-size: 13px;
}

.highlight small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 28px;
}

.section-head, .dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.3px;
    margin-top: 7px;
}

h2 em {
    color: var(--primary);
    font-style: normal;
}

h3 {
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
}

.accent {
    color: var(--primary);
}

.section-description {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    background: var(--lavender);
    color: var(--primary);
    font-size: 11px;
    font-weight: 750;
    padding: 7px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

.menu-toolbar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 15px;
    transition: all .3s;
}

.search-box:focus-within {
    border-color: var(--purple-light);
    box-shadow: 0 0 0 4px #ad90d51c;
}

.search-box svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--muted);
}

.search-box input {
    background: transparent;
    border: 0;
    padding: 13px 0;
    box-shadow: none;
}

.search-box input:focus {
    outline: none;
    box-shadow: none;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filters button {
    padding: 9px 18px;
    background: white;
    color: var(--muted);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    border-radius: 100px;
    transition: all .25s;
}

.filters button:hover {
    color: var(--primary);
    border-color: var(--purple-light);
    transform: translateY(-2px);
}

.filters button.active {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 5px 14px #62438d30;
}

.menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.product, .panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}

.product.reveal-ready:not(.visible) {
    opacity: 0;
    transform: translateY(22px);
}

.product.visible {
    animation: productEnter .55s var(--delay, 0s) both;
}

.product:hover {
    transform: translateY(-6px);
    border-color: #d8c9e8;
    box-shadow: var(--shadow-lg);
}

.photo {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--lavender);
}

.photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.product:hover .photo img {
    transform: scale(1.055);
}

.photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        transparent 20%,
        #ffffff22 50%,
        transparent 80%
    );
    transform: translateX(-120%);
}

.product:hover .photo::after {
    animation: shine .8s ease;
}

.product-number {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    color: var(--text);
    background: #ffffffd9;
    border: 1px solid #ffffffa0;
    border-radius: 100px;
    backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 700;
}

.product-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-label {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 10px;
}

.product h3 {
    font-size: 20px;
    letter-spacing: -.5px;
}

.product p {
    color: var(--muted);
    font-size: 12px;
    min-height: 40px;
    line-height: 1.65;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    margin-top: auto;
}

.price {
    font-size: 21px;
    letter-spacing: -.8px;
    font-weight: 800;
    color: var(--primary);
}

.btn {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition:
        transform .2s,
        background .3s,
        box-shadow .3s;
}

.btn:not(:disabled):hover {
    transform: translateY(-2px);
}

.btn:not(:disabled):active {
    transform: scale(.96);
}

.primary {
    color: white;
    background: linear-gradient(
        125deg,
        #7752a5,
        #4c306e
    );
    box-shadow: 0 5px 14px #62438d25;
}

.primary:not(:disabled):hover {
    box-shadow: 0 9px 22px #62438d45;
    background: linear-gradient(
        125deg,
        #8761b6,
        #56377b
    );
}

.add-icon {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: transform .25s;
}

.btn:hover .add-icon {
    transform: rotate(90deg);
}

.btn.added {
    background: #319568;
}

.wide {
    width: 100%;
    min-height: 48px;
    font-size: 13px;
    border-radius: 14px;
}

.cart {
    position: sticky;
    top: 105px;
    padding: 24px;
    animation: enter .75s .15s both;
}

.cart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
}

.cart h2 {
    font-size: 28px;
}

.cart-items {
    border-block: 1px solid var(--border);
    padding: 13px 0;
    margin-bottom: 22px;
    max-height: 310px;
    overflow-y: auto;
}

.empty {
    padding: 22px 8px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.empty strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 14px;
}

.empty-icon {
    margin: 0 auto 12px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--lavender);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 27px;
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 0;
    animation: enter .25s ease both;
}

.cart-row + .cart-row {
    border-top: 1px dashed var(--border);
}

.cart-thumb {
    width: 42px;
    height: 48px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-detail {
    flex: 1;
    min-width: 0;
}

.cart-detail strong {
    display: block;
    font-size: 12px;
    line-height: 1.3;
}

.cart-detail small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.stepper button {
    width: 25px;
    height: 25px;
    border: 0;
    background: var(--lavender);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 800;
    transition: all .2s;
}

.stepper button:not(:disabled):hover {
    color: white;
    background: var(--primary);
}

.stepper button:not(:disabled):active {
    transform: scale(.88);
}

.stepper span {
    min-width: 12px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.form-heading {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin: 13px 0 6px;
}

label small {
    color: var(--muted);
    font-weight: 400;
    margin-left: 5px;
}

input, textarea {
    display: block;
    width: 100%;
    padding: 11px 13px;
    background: #faf8fc;
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--text);
    font-size: 12px;
    outline: none;
    transition: all .25s;
}

input:focus, textarea:focus {
    background: white;
    border-color: var(--purple-light);
    box-shadow: 0 0 0 4px #ad90d51c;
}

input::placeholder, textarea::placeholder {
    color: #a198aa;
}

textarea {
    resize: vertical;
    min-height: 70px;
}

.total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 0;
    margin-top: 14px;
    border-top: 1px dashed var(--border);
}

.total span {
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.total small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.total strong {
    color: var(--primary);
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -1px;
}

.cart-caption {
    color: var(--muted);
    font-size: 10px;
    text-align: center;
    margin-top: 13px;
}

.feedback {
    font-size: 12px;
    background: #e8f6ed;
    color: #237044;
    border: 1px solid #ccebd6;
    padding: 12px;
    border-radius: 11px;
    margin: 12px 0;
    overflow-wrap: anywhere;
    animation: enter .3s both;
}

.feedback.error {
    color: #a63447;
    background: #fff0f1;
    border-color: #f2d2d7;
}

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 200;
    max-width: min(360px, calc(100% - 36px));
    display: flex;
    align-items: center;
    gap: 12px;
    background: #30213f;
    color: white;
    padding: 15px 19px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 15px 40px #2f203f40;
    opacity: 0;
    transform: translateY(30px) scale(.97);
    pointer-events: none;
    transition: all .35s cubic-bezier(.2,.75,.2,1);
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-icon {
    width: 28px;
    height: 28px;
    background: #ffffff20;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.mobile-cart {
    display: none;
}

.cashier-hero {
    min-height: 300px;
}

.cashier-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.connection-box {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    background: #ffffff10;
    border: 1px solid #ffffff25;
    border-radius: 100px;
    font-size: 11px;
    margin-top: 22px;
}

.connection-dot {
    background: #f0b970;
}

.connection-dot.online {
    background: #65dba3;
}

.connection-dot.offline {
    background: #f0b970;
}

.connection-dot.error {
    background: #f47e8d;
    animation: none;
}

.dashboard-clock {
    min-width: 230px;
    text-align: right;
    color: white;
    padding: 24px;
    border: 1px solid #ffffff20;
    border-radius: 22px;
    background: #ffffff0b;
    backdrop-filter: blur(15px);
    animation: enter 1s .2s both;
}

.dashboard-clock span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #dbc7ef;
}

.dashboard-clock strong {
    display: block;
    margin: 8px 0;
    font-size: 37px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1.5px;
}

.dashboard-clock small {
    display: block;
    font-size: 12px;
    color: #e7dcef;
}

.dashboard-heading {
    margin-top: 36px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 38px;
}

.stat {
    padding: 22px;
    transition: all .3s;
    animation: enter .6s both;
    min-width: 0;
}

.stat:nth-child(2) {
    animation-delay: .08s;
}

.stat:nth-child(3) {
    animation-delay: .16s;
}

.stat:nth-child(4) {
    animation-delay: .24s;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.stat-top > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.stat-icon {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 19px;
    font-weight: 750;
}

.stat-icon.purple {
    background: #eee5fa;
    color: #7650a3;
}

.stat-icon.orange {
    background: #fff0dc;
    color: #b77b29;
}

.stat-icon.green {
    background: #e1f5e9;
    color: #319568;
}

.stat-icon.pink {
    background: #fce6ef;
    color: #b85d82;
    font-size: 14px;
}

.stat > strong {
    display: block;
    font-size: clamp(21px, 3vw, 32px);
    color: var(--text);
    font-weight: 850;
    letter-spacing: -1px;
    margin: 10px 0 3px;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.stat > small {
    color: var(--muted);
    font-size: 11px;
}

.order-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.order-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all .3s;
    animation: enter .45s both;
}

.order-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e9b96e;
}

.order-card.finished::before {
    background: #65b58a;
}

.order-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.order-id {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 13px;
}

.order-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.order-top h3 {
    font-size: 20px;
    overflow-wrap: anywhere;
}

.order-top small {
    color: var(--muted);
    font-size: 11px;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: #fff1dc;
    color: #ad7828;
    border-radius: 100px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 750;
}

.order-status::before {
    content: "";
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

.finished .order-status {
    background: #e3f4e9;
    color: #318557;
}

.order-note {
    margin: 17px 0;
    padding: 11px 13px;
    background: var(--background);
    border-radius: 11px;
    font-size: 12px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.order-items {
    padding: 0;
    list-style: none;
    margin: 12px 0 20px;
}

.order-items li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px dashed var(--border);
    padding: 9px 0;
    font-size: 13px;
}

.order-items li span {
    overflow-wrap: anywhere;
}

.order-items li strong {
    white-space: nowrap;
}

.order-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.order-bottom small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.order-bottom strong {
    display: block;
    font-size: 23px;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -.7px;
}

.empty-order {
    grid-column: 1 / -1;
    padding: 55px 20px;
    text-align: center;
    animation: enter .4s both;
}

.empty-order h3 {
    margin: 12px 0 5px;
}

.empty-order p {
    font-size: 13px;
    color: var(--muted);
}

.loader {
    width: 30px;
    height: 30px;
    border: 3px solid var(--lavender);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin-inline: auto;
}

.btn .loader {
    width: 16px;
    height: 16px;
    border-width: 2px;
    border-color: #ffffff50;
    border-top-color: white;
    margin: 0;
}

.footer {
    margin-top: 55px;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 110px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-brand strong {
    display: block;
    font-size: 12px;
    color: var(--text);
}

.footer-brand small {
    display: block;
    font-size: 10px;
}

.back-top {
    color: var(--primary);
    font-weight: 700;
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes productEnter {
    from {
        opacity: 0;
        translate: 0 20px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes glowMove {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-35px, 30px) scale(1.2);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 #65dba340;
    }

    50% {
        box-shadow: 0 0 0 6px transparent;
    }
}

@keyframes shine {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(120%);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1050px) {

    .wrap {
        width: calc(100% - 40px);
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 38px;
        min-height: 370px;
    }

    .layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 20px;
    }

    .product-body {
        padding: 15px;
    }

    .product h3 {
        font-size: 17px;
    }

    .price {
        font-size: 17px;
    }

    .cart {
        padding: 19px;
    }

    .stat {
        padding: 17px;
    }
}

@media (max-width: 850px) {

    .layout {
        grid-template-columns: 1fr;
    }

    .cart {
        position: static;
        padding: 25px;
    }

    .hero {
        gap: 20px;
    }

    .hero-art {
        flex-basis: 42%;
    }

    .highlights {
        gap: 10px;
    }

    .highlight {
        padding: 12px;
    }

    .highlight-icon {
        width: 35px;
        height: 35px;
        font-size: 17px;
    }

    .highlight small {
        font-size: 10px;
    }

    .highlight strong {
        font-size: 11px;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="pemesanan"] {
        padding-bottom: 85px;
    }

    .mobile-cart {
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: space-between;
        left: 16px;
        right: 16px;
        bottom: 14px;
        z-index: 150;
        padding: 12px 19px;
        border: 1px solid #ffffff25;
        background: #3d2859f5;
        backdrop-filter: blur(16px);
        color: white;
        border-radius: 17px;
        box-shadow: 0 10px 35px #38234f40;
        animation: enter .3s both;
        text-align: left;
    }

    .mobile-cart small {
        display: block;
        color: #d6c3ec;
        font-size: 10px;
    }

    .mobile-cart strong {
        font-size: 17px;
    }

    .mobile-cart > span {
        font-weight: 700;
        font-size: 12px;
    }

    .toast {
        bottom: 95px;
        right: 16px;
    }
}

@media (max-width: 600px) {

    html {
        scroll-padding-top: 85px;
    }

    .wrap {
        width: calc(100% - 28px);
    }

    .nav {
        min-height: 67px;
        gap: 8px;
    }

    .logo-img {
        width: 39px;
        height: 39px;
    }

    .brand {
        gap: 7px;
    }

    .brand-text strong {
        font-size: 12px;
    }

    .brand-text small {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .nav-link {
        font-size: 10px;
        padding: 8px 11px;
        gap: 5px;
    }

    .nav-link .live-dot {
        display: none;
    }

    .hero {
        flex-direction: column;
        align-items: stretch;
        padding: 26px;
        gap: 32px;
        border-radius: 24px;
        margin-top: 15px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1.8px;
    }

    .hero p {
        font-size: 12px;
    }

    .hero-badge {
        margin-bottom: 15px;
        font-size: 10px;
    }

    .hero-art {
        width: 100%;
        max-width: none;
        flex-basis: auto;
        margin-bottom: 10px;
    }

    .hero-art > img {
        border-radius: 17px;
    }

    .floating-tag {
        padding: 7px 10px;
        gap: 6px;
        border-radius: 11px;
    }

    .floating-tag strong {
        font-size: 10px;
    }

    .floating-tag small {
        font-size: 8px;
    }

    .tag-icon {
        width: 24px;
        height: 24px;
        font-size: 13px;
        border-radius: 7px;
    }

    .tag-top {
        top: -12px;
        right: -9px;
    }

    .tag-bottom {
        bottom: -10px;
        left: -9px;
    }

    .highlights {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }

    .highlight {
        padding: 12px 15px;
    }

    .highlight strong {
        font-size: 12px;
    }

    .menu {
        gap: 11px;
    }

    .photo {
        height: 160px;
    }

    .product {
        border-radius: 17px;
    }

    .product-body {
        padding: 12px;
        gap: 6px;
    }

    .product h3 {
        font-size: 15px;
    }

    .product p {
        font-size: 11px;
        min-height: 45px;
    }

    .product-bottom {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
        padding-top: 6px;
    }

    .product-bottom .btn {
        width: 100%;
    }

    .price {
        font-size: 17px;
    }

    .filters {
        gap: 6px;
    }

    .filters button {
        padding: 8px 13px;
        font-size: 11px;
    }

    .cart {
        padding: 20px;
    }

    .dashboard-clock {
        text-align: left;
        min-width: 0;
        padding: 17px;
    }

    .dashboard-clock strong {
        font-size: 32px;
    }

    .stats {
        gap: 10px;
    }

    .stat {
        padding: 13px;
        border-radius: 17px;
    }

    .stat-top > span {
        font-size: 11px;
    }

    .stat-icon {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: 15px;
    }

    .stat > small {
        font-size: 10px;
    }

    .order-list {
        grid-template-columns: 1fr;
    }

    .order-card {
        padding: 20px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 35px;
    }
}

@media (max-width: 360px) {

    .menu {
        grid-template-columns: 1fr;
    }

    .photo {
        height: 200px;
    }

    .brand-text small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .product.reveal-ready:not(.visible) {
        opacity: 1;
        transform: none;
    }
}
