/* ============================================================
   MEALHUG — Sunshine Kitchen Design System
   Yellow × Green × Orange — Fresh, Local, Vibrant
   ============================================================ */
[x-cloak] { display: none !important; }

:root {
    /* ---- Yellow (Sub color) ---- */
    --y:         #FFD700;   /* Yellow */
    --y-soft:    #FFFACC;   /* Pale yellow bg */
    --y-dark:    #CC9900;   /* Darker yellow */
    --y-hover:   #F0C800;   /* Hover yellow */

    /* ---- Green (Accent — fresh / natural) ---- */
    --green:      #32CD32;  /* Lime green */
    --green-soft: #E8FBE8;  /* Pale green bg */
    --green-dark: #228B22;  /* Darker green */
    --green-deep: #0A1F0A;  /* Very dark green — section bg */

    /* ---- Orange (Main color — CTA / energy) ---- */
    --orange:     #FF8C00;  /* Dark orange */
    --orange-soft:#FFF3E0;  /* Pale orange bg */
    --orange-dark:#CC7000;  /* Darker orange */
    --orange-deep:#1C0A00;  /* Deep orange-brown — section bg */

    /* ---- Neutrals ---- */
    --black:     #0D0D0D;   /* Near black */
    --ink:       #1A1A1A;   /* Body text */
    --slate:     #3D3D3D;   /* Secondary text */
    --stone:     #8C8C8C;   /* Muted text */
    --border:    #E8E8E8;   /* Borders */
    --bg:        #FFFFFF;   /* Page bg — white */
    --bg-soft:   #FAFAF8;   /* Section bg */

    /* ---- Brand / Service ---- */
    --coral:     #FF4C29;   /* Danger / alert */
    --paypay:    #E61E23;   /* PayPay brand */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', 'Noto Sans JP', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.font-display { font-family: 'Syne', 'Noto Sans JP', system-ui, sans-serif; }
.font-jp      { font-family: 'Noto Serif JP', Georgia, serif; }
.font-body    { font-family: 'Outfit', 'Noto Sans JP', system-ui, sans-serif; }

/* ===== EXCLUSIVE SERVICE BANNER ===== */
.exclusive-banner {
    background: linear-gradient(90deg, var(--orange) 0%, #FF6B00 100%);
    color: white;
    text-align: center;
    padding: 7px 1rem;
    font-family: 'Syne', 'Noto Sans JP', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 201;
}
.exclusive-banner .banner-building {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    padding: 2px 10px;
    white-space: nowrap;
}
.exclusive-banner .banner-sep {
    opacity: 0.45;
    font-size: 0.65rem;
}
.exclusive-banner .banner-addr {
    opacity: 0.85;
    font-size: 0.68rem;
    font-weight: 500;
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .exclusive-banner .banner-sep,
    .exclusive-banner .banner-addr { display: none; }
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0px;
    z-index: 200;
    background: #FFFBE8;
    border-bottom: 3px solid var(--orange);
}
.site-header.is-drawer-open {
    z-index: 400;
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
}
.logo-text .accent { color: var(--y-dark); }
.logo-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    display: block;
    margin-top: 2px;
}

/* Desktop Nav */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--slate);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: var(--y-soft); color: var(--ink); }
.nav-link.is-active {
    background: var(--y);
    color: var(--green-dark);
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Locale Toggle */
.locale-pill {
    display: flex;
    align-items: center;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    overflow: hidden;
    padding: 3px;
    gap: 2px;
}
.locale-btn {
    font-family: 'Syne', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 100px;
    color: var(--stone);
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1;
}
.locale-btn.is-active {
    background: var(--green);
    color: var(--green-deep);
}
.locale-btn:hover:not(.is-active) { color: var(--ink); }

/* Cart Button */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--ink);
    background: none;
    border: 1.5px solid var(--border);
    text-decoration: none;
    transition: all 0.15s;
}
.cart-btn:hover {
    border-color: var(--green);
    background: var(--green-soft);
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--green);
    color: var(--green-deep);
    font-family: 'Syne', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
}

/* Register Button */
.btn-register {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--green);
    color: var(--green-deep);
    padding: 9px 20px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid var(--green-dark);
    box-shadow: 3px 3px 0 var(--green-dark);
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-register:hover {
    background: var(--green-dark);
    color: white;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--green-dark);
}
.btn-register:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--green-dark);
}

/* User Avatar */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: var(--green-deep);
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--green-dark);
    transition: all 0.15s;
    flex-shrink: 0;
}
.user-avatar:hover { background: var(--y); color: var(--ink); border-color: var(--green); }

/* User Dropdown */
.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 230px;
    background: var(--bg);
    border: 2px solid var(--green);
    border-radius: 14px;
    box-shadow: 6px 6px 0 var(--green-dark);
    overflow: hidden;
}
.dropdown-header {
    padding: 14px 16px 12px;
    border-bottom: 1.5px solid var(--border);
    background: var(--green-soft);
}
.dropdown-header p:first-child {
    font-family: 'Syne', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}
.dropdown-header p:last-child {
    font-size: 0.72rem;
    color: var(--stone);
    margin-top: 2px;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: background 0.1s;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.dropdown-item:hover { background: var(--green-soft); }
.dropdown-item.danger { color: var(--coral); }
.dropdown-item svg { color: var(--stone); flex-shrink: 0; }
.dropdown-divider { border: none; border-top: 1.5px solid var(--border); margin: 4px 0; }

/* Locale toggle in dropdown */
.dropdown-locale-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
}
.dropdown-locale-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate);
}
.locale-switch {
    display: flex;
    align-items: center;
    gap: 6px;
}
.locale-switch-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--stone);
    transition: color 0.15s;
}
.locale-switch-label.is-active {
    color: var(--orange);
}
.locale-switch-track {
    display: block;
    position: relative;
    width: 36px;
    height: 20px;
    background: var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.locale-switch-track:hover {
    background: #D0D0D0;
}
.locale-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--orange);
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.locale-switch-track.is-en .locale-switch-thumb {
    transform: translateX(16px);
}

/* Footer locale switch (dark bg) */
.footer-locale-switch .locale-switch-label {
    color: rgba(255,255,255,0.35);
}
.footer-locale-switch .locale-switch-label.is-active {
    color: var(--y, #FFD700);
}
.footer-locale-switch .locale-switch-track {
    background: rgba(255,255,255,0.15);
}
.footer-locale-switch .locale-switch-track:hover {
    background: rgba(255,255,255,0.25);
}
.footer-locale-switch .locale-switch-thumb {
    background: var(--y, #FFD700);
}
.footer-locale-switch.is-loading .locale-spinner {
    border-color: rgba(255,255,255,0.2);
    border-top-color: var(--y, #FFD700);
}

/* Locale switch loading state */
.locale-switch.is-loading,
.locale-pill.is-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}
.locale-spinner {
    display: block;
    width: 16px;
    height: 16px;
    border: 2.5px solid var(--border, #E8E8E8);
    border-top-color: var(--orange, #FF8C00);
    border-radius: 50%;
    animation: localeSpin 0.6s linear infinite;
}
@keyframes localeSpin { to { transform: rotate(360deg); } }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--ink);
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}
.mobile-toggle:hover { border-color: var(--green); background: var(--green-soft); }

/* ===== MOBILE DRAWER ===== */

/* Backdrop */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.48);
    z-index: 280;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Drawer panel */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 92vw);
    background: #fff;
    z-index: 290;
    overflow-y: auto;
    box-shadow: -6px 0 40px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
}

/* Drawer header */
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: #FFFBE8;
    border-bottom: 2px solid var(--border);
    flex-shrink: 0;
}
.drawer-head-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.drawer-head-logo .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.drawer-head-logo .logo-text .accent { color: var(--orange); }
.drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: none;
    border: 1.5px solid var(--border);
    cursor: pointer;
    color: var(--slate);
    transition: all 0.15s;
    flex-shrink: 0;
}
.drawer-close:hover { background: var(--orange-soft); border-color: var(--orange); color: var(--orange); }

/* User card */
.drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--orange-soft);
    border: 1.5px solid rgba(255,140,0,0.2);
    border-radius: 12px;
    padding: 14px;
    margin: 1.25rem 1.25rem 0;
    flex-shrink: 0;
}
.drawer-user-av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.drawer-user-info p:first-child {
    font-family: 'Syne', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}
.drawer-user-info p:last-child {
    font-size: 0.72rem;
    color: var(--stone);
    margin-top: 2px;
}

/* Nav body */
.drawer-body {
    flex: 1;
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.drawer-section-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    padding: 0 4px;
    margin-bottom: 0.25rem;
}
.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: background 0.15s;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
.drawer-item:hover { background: var(--y-soft); }
.drawer-item.is-active { background: var(--y); color: var(--green-dark); }
.drawer-item.danger { color: var(--coral); }
.drawer-item.danger:hover { background: #FFF0EE; }
.drawer-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.di-orange { background: var(--orange-soft); color: var(--orange); }
.di-yellow { background: var(--y-soft);      color: var(--y-dark); }
.di-green  { background: var(--green-soft);  color: var(--green-dark); }
.di-pink   { background: #FFF0F8;            color: #C04080; }
.di-slate  { background: var(--bg-soft);     color: var(--slate); }
.di-red    { background: #FFF0EE;            color: var(--coral); }

/* Footer CTA */
.drawer-footer {
    padding: 1.25rem;
    border-top: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}
.drawer-cta-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Syne', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--orange);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid var(--orange-dark);
    box-shadow: 3px 3px 0 var(--orange-dark);
    transition: all 0.15s;
    text-align: center;
}
.drawer-cta-register:hover {
    background: var(--orange-dark);
    transform: translate(-1px,-1px);
    box-shadow: 4px 4px 0 var(--orange-dark);
}
.drawer-cta-login {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    border: 1.5px solid var(--border);
    transition: all 0.15s;
    text-align: center;
}
.drawer-cta-login:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }

/* Locale toggle in drawer */
.drawer-locale {
    display: flex;
    gap: 8px;
    padding: 0 4px;
}
.drawer-locale a {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 16px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.15s;
    border: 1.5px solid var(--border);
    color: var(--stone);
    background: var(--bg-soft);
}
.drawer-locale a.is-active {
    background: var(--green);
    color: var(--green-deep);
    border-color: var(--green-dark);
}

/* ===== FLASH MESSAGES ===== */
.flash-toast {
    position: fixed;
    top: 84px;
    right: 1.5rem;
    z-index: 500;
    max-width: 360px;
    min-width: 280px;
    background: var(--bg);
    border: 2px solid var(--green);
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--green-dark);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
}
.flash-toast.success { border-color: var(--green); box-shadow: 5px 5px 0 var(--green-dark); }
.flash-toast.error   { border-color: var(--coral); box-shadow: 5px 5px 0 var(--coral); }
.flash-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.flash-toast.success .flash-toast-icon { background: var(--green-soft); color: var(--green-dark); }
.flash-toast.error   .flash-toast-icon { background: #FFF0EE; color: var(--coral); }
.flash-toast p {
    font-size: 0.83rem;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
    color: var(--ink);
}
.flash-close {
    color: var(--stone);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ===== TAMA-CHAN FLOATING WIDGET ===== */

/* Entrance: slide up + big bounce */
@keyframes tama-entrance {
    0%   { opacity: 0; transform: translateY(100px) scale(0.4); }
    55%  { transform: translateY(-18px) scale(1.08); }
    72%  { transform: translateY(6px)   scale(0.97); }
    85%  { transform: translateY(-8px)  scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Idle float */
@keyframes tama-float {
    0%, 100% { transform: translateY(0)    rotate(-2deg); }
    50%       { transform: translateY(-9px) rotate(2deg);  }
}

/* Idle wiggle on hover */
@keyframes tama-wiggle {
    0%, 100% { transform: rotate(-6deg) scale(1.12); }
    25%       { transform: rotate( 6deg) scale(1.12); }
    50%       { transform: rotate(-4deg) scale(1.12); }
    75%       { transform: rotate( 4deg) scale(1.12); }
}

/* Pulse ring */
@keyframes tama-pulse-ring {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(1.55); opacity: 0;   }
}

.tama-widget {
    position: fixed;
    bottom: 4.5rem;
    right: 1.5rem;
    z-index: 300;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(.34,1.56,.64,1);
}

/* Speech bubble */
.tama-bubble {
    background: linear-gradient(135deg, #FFE0F0 0%, #FFB6D9 100%);
    color: var(--ink);
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.6;
    padding: 12px 16px 10px;
    border-radius: 16px 16px 4px 16px;
    max-width: 220px;
    border: 2px solid #F48FB1;
    box-shadow: 4px 4px 0 rgba(233,30,99,0.2);
    position: relative;
}
.tama-bubble p { color: var(--ink); margin-bottom: 8px; }
.tama-bubble-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #F48FB1;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.15s;
}
.tama-bubble-link:hover { background: #EC407A; }
.tama-bubble-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(0,0,0,0.35);
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.tama-bubble-close:hover { color: rgba(0,0,0,0.75); }

/* Button wrapper for pulse ring */
.tama-btn-wrap {
    position: relative;
    width: 68px;
    height: 68px;
}

/* Pulse ring */
.tama-pulse-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2.5px solid #F48FB1;
    animation: tama-pulse-ring 2s ease-out 2.4s infinite;
    pointer-events: none;
}
.tama-pulse-ring-2 {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2.5px solid #F48FB1;
    animation: tama-pulse-ring 2s ease-out 3.2s infinite;
    pointer-events: none;
}

/* The clickable link/button */
.tama-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #F48FB1;
    border: 3px solid #EC407A;
    /* box-shadow: 4px 4px 0 var(--green-dark); */
    text-decoration: none;
    overflow: hidden;
    animation: tama-float 3.2s ease-in-out 2.8s infinite;
    transition: box-shadow 0.15s;
}
.tama-btn:hover {
    animation: tama-wiggle 0.45s ease infinite;
    /* box-shadow: 5px 5px 0 var(--green-dark); */
}
.tama-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
}

/* ===== FIXED FOOTER CTA BAR ===== */
.footer-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
}
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    background: var(--orange);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 16px rgba(255,140,0,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 400px;
    justify-content: center;
}
.footer-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255,140,0,0.45);
}

/* Space for fixed footer CTA bar */
body:has(.footer-cta-bar) .site-footer {
    padding-bottom: 5rem;
}

/* ===== Wizard active — hide distractions ===== */
body.wizard-active .tama-widget,
body.wizard-active .footer-cta-bar,
body.wizard-active .site-footer {
    display: none !important;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--green-deep);
    color: rgba(255,255,255,0.5);
}
.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2.5rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}
@media (min-width: 640px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .footer-top { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
}
.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}
.footer-logo-text .accent { color: var(--y); }
.footer-desc {
    font-size: 0.82rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.70);
    margin: 1rem 0 1.5rem;
    max-width: 28ch;
}
.footer-col-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--y);
    margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: #ffffff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.footer-copy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.04em;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,140,0,0.15);
    border: 1px solid rgba(255,140,0,0.25);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255,160,80,0.8);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .header-inner { padding: 0 1rem; }
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .locale-pill { display: none; }
    .btn-register { display: none; }
    .user-dropdown { right: -0.5rem; }
}
