:root {
    --walatra-bg-light: #f4f7f3;
    --walatra-bg-dark: #0b1220;
    --walatra-surface-dark: #111b2e;
    --walatra-surface-elevated-dark: #16233b;
    --walatra-border-dark: rgba(148, 163, 184, 0.22);
    --walatra-text-primary-dark: #e2e8f0;
    --walatra-text-secondary-dark: #94a3b8;
    --walatra-accent: #1b7a33;
    --walatra-accent-hover: #17692c;
    --walatra-topbar-light-start: #1b7a33;
    --walatra-topbar-light-end: #249442;
    --walatra-topbar-dark-start: #0f241a;
    --walatra-topbar-dark-end: #143628;
}

body {
    font-family: 'Manrope', sans-serif;
}

.typo-label {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.typo-meta {
    font-size: 0.75rem;
    line-height: 1rem;
}

.typo-card-title {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
}

.typo-price {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 800;
}

.typo-old-price {
    font-size: 0.75rem;
    line-height: 1rem;
}

.mobile-profile-header {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 4.25rem 1rem 1.25rem;
    color: #fff;
    background: linear-gradient(180deg, #1b7a33 0%, #2fa84f 100%);
}

.mobile-profile-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    margin-left: 0;
    margin-right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, var(--walatra-topbar-light-start) 0%, var(--walatra-topbar-light-end) 100%);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
}

.header-topbar {
    background: linear-gradient(90deg, var(--walatra-topbar-light-start) 0%, var(--walatra-topbar-light-end) 100%);
    border-color: rgba(27, 122, 51, 0.22);
    box-shadow: 0 10px 24px -18px rgba(14, 83, 38, 0.65);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.btn-ui {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn-ui:hover {
    transform: translateY(-1px);
}

.btn-ui:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 122, 51, 0.18);
}

.btn-ui-primary {
    background: var(--walatra-accent);
    color: #fff;
    box-shadow: 0 12px 26px -18px rgba(27, 122, 51, 0.65);
}

.btn-ui-primary:hover {
    background: var(--walatra-accent-hover);
}

.btn-ui-secondary {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #fff;
    color: #334155;
}

.btn-ui-secondary:hover {
    background: #f8fafc;
    border-color: rgba(27, 122, 51, 0.25);
    color: #1b7a33;
}

.btn-ui-soft {
    border: 1px solid rgba(27, 122, 51, 0.16);
    background: rgba(27, 122, 51, 0.08);
    color: #1b7a33;
}

.btn-ui-soft:hover {
    background: rgba(27, 122, 51, 0.12);
}

.btn-ui-danger {
    border: 1px solid rgba(244, 63, 94, 0.2);
    background: rgba(244, 63, 94, 0.08);
    color: #e11d48;
}

.btn-ui-danger:hover {
    background: rgba(244, 63, 94, 0.14);
}

.app-shell {
    background:
        radial-gradient(circle at top right, rgba(47, 168, 79, 0.08), transparent 25%),
        linear-gradient(180deg, #f4f7f3 0%, #f8faf7 100%);
}

.dark .app-shell {
    background:
        radial-gradient(circle at top right, rgba(27, 122, 51, 0.12), transparent 24%),
        linear-gradient(180deg, #0b1220 0%, #0b1324 100%);
}

.surface-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
}

.dark .surface-panel {
    background: color-mix(in srgb, var(--walatra-surface-dark) 88%, transparent);
}

.dark body {
    color: var(--walatra-text-primary-dark);
}

.dark .btn-ui-secondary {
    border-color: var(--walatra-border-dark);
    background: color-mix(in srgb, var(--walatra-surface-dark) 88%, transparent);
    color: var(--walatra-text-primary-dark);
}

.dark .btn-ui-secondary:hover {
    background: color-mix(in srgb, var(--walatra-surface-elevated-dark) 90%, transparent);
    border-color: rgba(74, 222, 128, 0.35);
    color: #bbf7d0;
}

.dark .btn-ui-soft {
    border-color: rgba(74, 222, 128, 0.18);
    background: rgba(27, 122, 51, 0.14);
    color: #bbf7d0;
}

.dark .btn-ui-danger {
    border-color: rgba(251, 113, 133, 0.24);
    background: rgba(136, 19, 55, 0.32);
    color: #fecdd3;
}

.dark .desktop-subnav {
    border-color: var(--walatra-border-dark);
    background: color-mix(in srgb, var(--walatra-surface-dark) 88%, transparent);
    color: var(--walatra-text-secondary-dark);
}

.dark .desktop-subnav a {
    color: var(--walatra-text-secondary-dark);
}

.dark .desktop-subnav a:hover {
    color: #d1fae5;
}

.dark .desktop-subnav a.text-primary {
    color: #4ade80;
}

.dark .header-topbar {
    background: linear-gradient(90deg, var(--walatra-topbar-dark-start) 0%, var(--walatra-topbar-dark-end) 100%);
    border-color: rgba(74, 222, 128, 0.18);
    box-shadow: 0 12px 26px -18px rgba(4, 34, 16, 0.8);
}

.dark .mobile-profile-topbar {
    background: linear-gradient(90deg, var(--walatra-topbar-dark-start) 0%, var(--walatra-topbar-dark-end) 100%);
    box-shadow: 0 12px 26px -18px rgba(4, 34, 16, 0.8);
}

.dark .header-icon-btn {
    background: rgba(255, 255, 255, 0.07);
}

.dark .header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.dark .header-secondary-text {
    color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 767px) {

    .header-topbar .header-icon-btn,
    .header-topbar .header-icon-btn:hover {
        background: transparent !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}