:root {
  --font-family: "IBM Plex Sans", sans-serif;
  --font-size-base: 17.9px;
  --line-height-base: 1.43;

  --max-w: 1120px;
  --space-x: 1.34rem;
  --space-y: 1.33rem;
  --gap: 1.08rem;

  --radius-xl: 1.32rem;
  --radius-lg: 0.96rem;
  --radius-md: 0.52rem;
  --radius-sm: 0.3rem;

  --shadow-sm: 0 2px 5px rgba(0,0,0,0.22);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.28);
  --shadow-lg: 0 18px 62px rgba(0,0,0,0.34);

  --overlay: rgba(0,0,0,0.5);
  --anim-duration: 140ms;
  --anim-ease: cubic-bezier(0.4,0,0.2,1);
  --random-number: 2;

  --brand: #1A3C6E;
  --brand-contrast: #FFFFFF;
  --accent: #D94A3D;
  --accent-contrast: #FFFFFF;

  --neutral-0: #FFFFFF;
  --neutral-100: #F5F7FA;
  --neutral-300: #D1D5DB;
  --neutral-600: #6B7280;
  --neutral-800: #1F2937;
  --neutral-900: #111827;

  --bg-page: #FFFFFF;
  --fg-on-page: #1F2937;

  --bg-alt: #F0F4F8;
  --fg-on-alt: #374151;

  --surface-1: #FFFFFF;
  --surface-2: #F9FAFB;
  --fg-on-surface: #1F2937;
  --border-on-surface: #E5E7EB;

  --surface-light: #F3F4F6;
  --fg-on-surface-light: #4B5563;
  --border-on-surface-light: #E5E7EB;

  --bg-primary: #1A3C6E;
  --fg-on-primary: #FFFFFF;
  --bg-primary-hover: #142E55;
  --ring: #1A3C6E;

  --bg-accent: #FCE4E0;
  --fg-on-accent: #FFFFFF;
  --bg-accent-hover: #B83A2E;

  --link: #1A3C6E;
  --link-hover: #D94A3D;

  --gradient-hero: linear-gradient(135deg, #1A3C6E 0%, #2B5A8C 100%);
  --gradient-accent: linear-gradient(135deg, #D94A3D 0%, #B83A2E 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);
    }