:root {
  --font-family: "Epilogue", sans-serif;
  --font-size-base: 18.5px;
  --line-height-base: 1.45;

  --max-w: 1200px;
  --space-x: 1.11rem;
  --space-y: 1.47rem;
  --gap: 1.62rem;

  --radius-xl: 1.33rem;
  --radius-lg: 0.89rem;
  --radius-md: 0.62rem;
  --radius-sm: 0.26rem;

  --shadow-sm: 0 3px 4px rgba(0,0,0,0.18);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.23);
  --shadow-lg: 0 24px 50px rgba(0,0,0,0.29);

  --overlay: rgba(0, 0, 0, 0.4);
  --anim-duration: 150ms;
  --anim-ease: cubic-bezier(0.22,1,0.36,1);
  --random-number: 1;

  --brand: #1e40af;
  --brand-contrast: #ffffff;
  --accent: #059669;
  --accent-contrast: #ffffff;

  --neutral-0: #ffffff;
  --neutral-100: #f8fafc;
  --neutral-300: #cbd5e1;
  --neutral-600: #475569;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;

  --bg-page: #f8fafc;
  --fg-on-page: #0f172a;

  --bg-alt: #ffffff;
  --fg-on-alt: #1e293b;

  --surface-1: #ffffff;
  --surface-2: #f1f5f9;
  --fg-on-surface: #0f172a;
  --border-on-surface: #e2e8f0;

  --surface-light: #ffffff;
  --fg-on-surface-light: #334155;
  --border-on-surface-light: #e2e8f0;

  --bg-primary: #1e40af;
  --fg-on-primary: #ffffff;
  --bg-primary-hover: #1d4ed8;
  --ring: #3b82f6;

  --bg-accent: #d1fae5;
  --fg-on-accent: #065f46;
  --bg-accent-hover: #10b981;

  --link: #2563eb;
  --link-hover: #1d4ed8;

  --gradient-hero: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #059669 0%, #10b981 100%);

  --btn-ghost-bg: transparent;
  --btn-ghost-bg-hover: rgba(255,255,255,0.06);
  --chip-bg: rgba(255,255,255,0.68);
  --input-placeholder: rgba(255,255,255,0.55);
}
body{margin:0;padding:0;font-family:var(--font-family);box-sizing: border-box;}
*{box-sizing:border-box;}

.wp-lang-switcher-v8 {
        position: fixed;
        right: clamp(14px, 2vw, 24px);
        bottom: clamp(14px, 2vw, 24px);
        z-index: 99999;
    }

    .wp-lang-switcher-v8__toggle {
        width: 58px;
        height: 58px;
        border-radius: 12px;
        border: 0;
        background: var(--gradient-accent);
        color: var(--fg-on-primary);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
        cursor: pointer;
        display: grid;
        place-items: center;
        box-shadow: var(--shadow-lg);
        position: relative;
    }

    .wp-lang-switcher-v8__dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: color-mix(in srgb, var(--fg-on-primary) 78%, transparent);
        position: absolute;
        right: 13px;
        top: 13px;
    }

    .wp-lang-switcher-v8__list {
        position: absolute;
        right: 0;
        bottom: 66px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px) scale(0.95);
        transform-origin: bottom right;
        transition: opacity var(--anim-duration) var(--anim-ease), transform var(--anim-duration) var(--anim-ease);
    }

    .wp-lang-switcher-v8__list.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .wp-lang-switcher-v8__list button,
    .wp-lang-switcher-v8__list a {
        min-width: 56px;
        height: 38px;
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-md);
        background: var(--surface-1);
        color: var(--fg-on-surface);
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-sm);
        transition: transform var(--anim-duration) var(--anim-ease), background var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    }

    .wp-lang-switcher-v8__list button:hover,
    .wp-lang-switcher-v8__list a:hover {
        transform: translateX(-2px);
        background: var(--accent);
        border-color: transparent;
        color: var(--accent-contrast);
    }