/* Shared client header, footer, drawer, search, and notification chrome. */
html {
    overflow-x: clip;
    scrollbar-gutter: stable;
}

body.drawer-open {
    overflow: hidden;
    touch-action: none;
}

.mobile-user-badge {
    display: none;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    margin-left: auto;
    padding: var(--space-1, 0.25rem) var(--space-3, 0.75rem) var(--space-1, 0.25rem) var(--space-1, 0.25rem);
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: var(--radius-full, 9999px);
    background: var(--gray-50, #f8fafc);
    color: inherit;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.mobile-user-badge:hover { background: var(--gray-100, #f1f5f9); }

.mobile-user-avatar,
.mobile-user-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mobile-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary-light, #dbeafe);
    color: var(--brand-primary, #2563eb);
    font-size: 11px;
    font-weight: 700;
}

.mobile-user-avatar-img { object-fit: cover; }

.mobile-user-name {
    max-width: 60px;
    overflow: hidden;
    color: var(--gray-700, #334155);
    font-size: var(--text-xs, 0.75rem);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height, 64px);
    border-bottom: 1px solid var(--gray-200, #e2e8f0);
    background: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-8, 2rem);
    max-width: var(--container-max, 1200px);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--space-6, 1.5rem);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    color: var(--brand-primary, #2563eb);
    font-size: var(--text-xl, 1.25rem);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.header-logo:hover { color: var(--brand-primary, #2563eb); }

.header-logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md, 8px);
    object-fit: cover;
}

.header-logo-img.is-hidden { display: none; }

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1, 0.25rem);
    flex: 1;
    min-width: 0;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-1, 0.25rem);
    padding: var(--space-2, 0.5rem) var(--space-4, 1rem);
    border-radius: var(--radius-md, 8px);
    color: var(--gray-600, #475569);
    font-size: var(--text-sm, 0.875rem);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.nav-link:hover,
.nav-item.active > .nav-link {
    background: var(--brand-primary-50, #eff6ff);
    color: var(--brand-primary, #2563eb);
}

.nav-link .bi-chevron-down {
    font-size: 10px;
    transition: transform 0.2s;
}

.nav-item:hover .nav-link .bi-chevron-down { transform: rotate(180deg); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + var(--space-2, 0.5rem));
    left: 0;
    z-index: 200;
    min-width: 180px;
    padding: var(--space-2, 0.5rem);
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    background: #fff;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,0.1));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    padding: var(--space-2, 0.5rem) var(--space-3, 0.75rem);
    border-radius: var(--radius-md, 8px);
    color: var(--gray-600, #475569);
    font-size: var(--text-sm, 0.875rem);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
    background: var(--brand-primary-50, #eff6ff);
    color: var(--brand-primary, #2563eb);
}

.nav-dropdown a i {
    width: 20px;
    color: var(--gray-400, #94a3b8);
    font-size: var(--text-base, 1rem);
    text-align: center;
}

.nav-dropdown a:hover i,
.nav-dropdown a.active i { color: var(--brand-primary, #2563eb); }

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    flex-shrink: 0;
}

.header-search {
    display: flex;
    align-items: center;
    width: 220px;
    padding: var(--space-2, 0.5rem) var(--space-4, 1rem);
    border: none;
    border-radius: var(--radius-full, 9999px);
    background: var(--gray-100, #f1f5f9);
    transition: background 0.2s, box-shadow 0.2s, width 0.2s;
}

.header-search:focus-within {
    width: 280px;
    background: #fff;
    box-shadow: 0 0 0 2px var(--brand-primary, #2563eb);
}

.header-search i {
    margin-right: var(--space-2, 0.5rem);
    color: var(--gray-400, #94a3b8);
}

.header-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--gray-800, #1e293b);
    font-size: var(--text-sm, 0.875rem);
}

.header-noti,
.mobile-noti-btn,
.mobile-search-btn,
.hamburger-btn {
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius-md, 8px);
    background: none;
    color: var(--gray-600, #475569);
    cursor: pointer;
}

.header-noti {
    position: relative;
    display: flex;
    font-size: var(--text-lg, 1.125rem);
    transition: color 0.15s, background 0.15s;
}

.header-noti:hover,
.mobile-noti-btn:hover,
.mobile-search-btn:hover,
.hamburger-btn:hover {
    background: var(--gray-100, #f1f5f9);
    color: var(--brand-primary, #2563eb);
}

.noti-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    display: none;
    width: 360px;
    max-height: 420px;
    overflow: hidden;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    background: #fff;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,0.1));
}

.noti-dropdown.is-open { display: flex; flex-direction: column; }

.noti-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4, 1rem) var(--space-5, 1.25rem);
    border-bottom: 1px solid var(--gray-100, #f1f5f9);
}

.noti-dropdown-title {
    color: var(--gray-900, #0f172a);
    font-size: var(--text-base, 1rem);
    font-weight: 700;
}

.noti-dropdown-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.noti-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2, 0.5rem);
    padding: var(--space-10, 2.5rem) var(--space-5, 1.25rem);
    color: var(--gray-400, #94a3b8);
}

.noti-empty i { font-size: 2rem; }
.noti-empty p { margin: 0; font-size: var(--text-sm, 0.875rem); }

.noti-mark-read {
    border: none;
    background: none;
    color: var(--brand-primary, #2563eb);
    font-size: var(--text-xs, 0.75rem);
    font-weight: 600;
    cursor: pointer;
}

.noti-dropdown-footer {
    padding: var(--space-3, 0.75rem);
    border-top: 1px solid var(--gray-100, #f1f5f9);
    text-align: center;
}

.noti-view-all {
    color: var(--brand-primary, #2563eb);
    font-size: var(--text-sm, 0.875rem);
    font-weight: 600;
    text-decoration: none;
}

.header-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    padding: var(--space-1, 0.25rem) var(--space-3, 0.75rem) var(--space-1, 0.25rem) var(--space-1, 0.25rem);
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: var(--radius-full, 9999px);
    cursor: default;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.header-profile:hover {
    border-color: var(--gray-300, #cbd5e1);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
}

.header-profile [data-action="toggle-profile-dropdown"] { cursor: pointer; }

.header-avatar,
.header-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.header-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary-light, #dbeafe);
    color: var(--brand-primary, #2563eb);
    font-size: var(--text-sm, 0.875rem);
    font-weight: 600;
}

.header-avatar-img { object-fit: cover; }

.header-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-user-name {
    color: var(--gray-800, #1e293b);
    font-size: var(--text-sm, 0.875rem);
    font-weight: 600;
}

.header-user-level {
    color: var(--brand-primary, #2563eb);
    font-size: var(--text-xs, 0.75rem);
    font-weight: 500;
}

.level-admin-text { color: var(--brand-primary, #2563eb); }

.profile-dropdown {
    position: absolute;
    top: calc(100% + var(--space-2, 0.5rem));
    right: 0;
    z-index: 200;
    min-width: 180px;
    padding: var(--space-2, 0.5rem);
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    background: #fff;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,0.1));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.profile-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    padding: var(--space-2, 0.5rem) var(--space-3, 0.75rem);
    border-radius: var(--radius-md, 8px);
    color: var(--gray-600, #475569);
    font-size: var(--text-sm, 0.875rem);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.profile-dropdown-item:hover {
    background: var(--brand-primary-50, #eff6ff);
    color: var(--brand-primary, #2563eb);
}

.profile-dropdown-divider {
    height: 1px;
    margin: var(--space-1, 0.25rem) 0;
    background: var(--gray-100, #f1f5f9);
}

.btn-login-header {
    display: flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    padding: var(--space-2, 0.5rem) var(--space-5, 1.25rem);
    border: none;
    border-radius: var(--radius-full, 9999px);
    background: var(--brand-primary, #2563eb);
    color: #fff;
    font-size: var(--text-sm, 0.875rem);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.btn-login-header:hover {
    background: var(--brand-primary-hover, #1d4ed8);
    color: #fff;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0,0,0,0.1));
    transform: translateY(-1px);
}

.site-footer {
    margin-top: auto;
    padding: var(--space-6, 1.5rem) 0;
    background: var(--gray-800, #1e293b);
    color: var(--gray-400, #94a3b8);
    font-size: var(--text-xs, 0.75rem);
}

.footer-inner {
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: 0 var(--space-6, 1.5rem);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6, 1.5rem);
    padding-bottom: var(--space-4, 1rem);
    border-bottom: 1px solid var(--gray-700, #334155);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.footer-phone {
    color: #fff;
    font-size: var(--text-sm, 0.875rem);
    font-weight: 700;
}

.footer-hours {
    color: var(--gray-500, #64748b);
    font-size: var(--text-xs, 0.75rem);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-1, 0.25rem) var(--space-4, 1rem);
}

.footer-nav a {
    color: var(--gray-400, #94a3b8);
    font-size: var(--text-xs, 0.75rem);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.footer-nav a:hover { color: #fff; }

.footer-social {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    flex-shrink: 0;
}

.footer-social a {
    display: flex;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.footer-social a:hover { opacity: 1; }

.footer-social-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm, 6px);
    object-fit: contain;
}

.footer-bottom { padding-top: var(--space-4, 1rem); }

.footer-business-info {
    margin-bottom: var(--space-1, 0.25rem);
    line-height: 1.8;
}

.footer-biz-link { color: var(--brand-primary-light, #dbeafe); }
.footer-biz-link:hover { color: #fff; }
.footer-copyright { color: var(--gray-500, #64748b); }

.hamburger-btn {
    display: none;
    padding: 0;
    transition: background 0.15s;
}

.hamburger-btn .bar {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--gray-700, #334155);
    transition: background 0.3s;
}

.hamburger-btn .bar::before,
.hamburger-btn .bar::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--gray-700, #334155);
    transition: top 0.3s, transform 0.3s;
}

.hamburger-btn .bar::before { top: -6px; }
.hamburger-btn .bar::after { top: 6px; }
.hamburger-btn.is-active .bar { background: transparent; }
.hamburger-btn.is-active .bar::before { top: 0; transform: rotate(45deg); }
.hamburger-btn.is-active .bar::after { top: 0; transform: rotate(-45deg); }

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 301;
    display: flex;
    flex-direction: column;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer.is-open { transform: translateX(0); }

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5, 1.25rem);
    border-bottom: 1px solid var(--gray-200, #e2e8f0);
}

.drawer-user {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    min-width: 0;
}

.drawer-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-primary-light, #dbeafe);
    color: var(--brand-primary, #2563eb);
    font-size: var(--text-sm, 0.875rem);
    font-weight: 700;
    flex-shrink: 0;
}

.drawer-user-name {
    color: var(--gray-800, #1e293b);
    font-size: var(--text-sm, 0.875rem);
    font-weight: 600;
}

.drawer-user-level {
    color: var(--brand-primary, #2563eb);
    font-size: var(--text-xs, 0.75rem);
    font-weight: 500;
}

.drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-md, 8px);
    background: none;
    color: var(--gray-500, #64748b);
    font-size: var(--text-lg, 1.125rem);
    cursor: pointer;
}

.drawer-close:hover { background: var(--gray-100, #f1f5f9); }

.drawer-nav {
    flex: 1;
    padding: var(--space-3, 0.75rem);
}

.drawer-section { margin-bottom: var(--space-2, 0.5rem); }

.drawer-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3, 0.75rem);
    width: 100%;
    min-height: 46px;
    padding: var(--space-3, 0.75rem);
    border: 0;
    border-radius: var(--radius-md, 8px);
    background: transparent;
    color: var(--gray-800, #1e293b);
    font: inherit;
    font-size: var(--text-sm, 0.875rem);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.drawer-section-toggle span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    min-width: 0;
}

.drawer-section-toggle i:first-child {
    width: 20px;
    color: var(--gray-400, #94a3b8);
    text-align: center;
}

.drawer-section-toggle:hover,
.drawer-section-accordion.is-open .drawer-section-toggle {
    background: var(--gray-50, #f8fafc);
    color: var(--brand-primary, #2563eb);
}

.drawer-section-toggle:hover i:first-child,
.drawer-section-accordion.is-open .drawer-section-toggle i:first-child {
    color: var(--brand-primary, #2563eb);
}

.drawer-section-chevron {
    flex: 0 0 auto;
    color: var(--gray-400, #94a3b8);
    font-size: var(--text-sm, 0.875rem);
    transition: transform 0.16s;
}

.drawer-section-accordion.is-open .drawer-section-chevron {
    transform: rotate(180deg);
}

.drawer-accordion-panel {
    display: none;
    padding-top: 2px;
}

.drawer-section-accordion.is-open .drawer-accordion-panel {
    display: block;
}

.drawer-section-title {
    padding: var(--space-2, 0.5rem) var(--space-3, 0.75rem);
    color: var(--gray-400, #94a3b8);
    font-size: var(--text-xs, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    min-height: 44px;
    padding: var(--space-3, 0.75rem);
    border-radius: var(--radius-md, 8px);
    color: var(--gray-700, #334155);
    font-size: var(--text-sm, 0.875rem);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.drawer-link:hover,
.drawer-link.is-active,
.drawer-link.active {
    background: var(--brand-primary-50, #eff6ff);
    color: var(--brand-primary, #2563eb);
}

.drawer-link i {
    width: 20px;
    color: var(--gray-400, #94a3b8);
    font-size: var(--text-base, 1rem);
    text-align: center;
}

.drawer-link:hover i,
.drawer-link.is-active i,
.drawer-link.active i { color: var(--brand-primary, #2563eb); }

.drawer-divider {
    height: 1px;
    margin: var(--space-2, 0.5rem) var(--space-3, 0.75rem);
    background: var(--gray-100, #f1f5f9);
}

.drawer-footer {
    padding: var(--space-4, 1rem) var(--space-5, 1.25rem);
    border-top: 1px solid var(--gray-200, #e2e8f0);
}

.drawer-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3, 0.75rem);
}

.drawer-footer-links a {
    color: var(--gray-400, #94a3b8);
    font-size: var(--text-xs, 0.75rem);
    text-decoration: none;
}

.mobile-noti-btn,
.mobile-search-btn {
    display: none;
    font-size: var(--text-lg, 1.125rem);
}

.mobile-noti-btn { position: relative; }
.mobile-noti-dropdown { display: none; }

.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 250;
    display: none;
    padding: var(--space-3, 0.75rem) var(--space-4, 1rem);
    background: #fff;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,0.1));
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-overlay.is-open {
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-search-inner {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
}

.mobile-search-input {
    flex: 1;
    height: 44px;
    padding: 0 var(--space-4, 1rem);
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: var(--radius-md, 8px);
    outline: none;
    color: var(--gray-800, #1e293b);
    font: inherit;
    font-size: var(--text-base, 1rem);
}

.mobile-search-input:focus {
    border-color: var(--brand-primary, #2563eb);
    box-shadow: 0 0 0 3px var(--brand-primary-light, #dbeafe);
}

.mobile-search-cancel {
    min-height: 44px;
    padding: var(--space-2, 0.5rem) var(--space-3, 0.75rem);
    border: none;
    background: none;
    color: var(--gray-600, #475569);
    font: inherit;
    font-size: var(--text-sm, 0.875rem);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .header-nav,
    .header-search,
    .header-profile,
    .header-noti,
    .btn-login-header,
    .profile-dropdown {
        display: none;
    }

    .noti-dropdown { display: none !important; }
    .hamburger-btn,
    .mobile-noti-btn,
    .mobile-search-btn,
    .mobile-user-badge { display: flex; }
    .mobile-search-overlay,
    .mobile-drawer-overlay { display: block; }
    .header-logo-text { display: none; }

    .mobile-noti-dropdown {
        position: fixed;
        top: 60px;
        left: var(--space-3, 0.75rem);
        right: var(--space-3, 0.75rem);
        z-index: 1100;
        display: none;
        max-height: 420px;
        overflow: hidden;
        flex-direction: column;
        border: 1px solid var(--gray-200, #e2e8f0);
        border-radius: var(--radius-lg, 12px);
        background: #fff;
        box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,0.1));
    }

    .mobile-noti-dropdown.is-open { display: flex; }

    .mobile-noti-dropdown .noti-dropdown-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-4, 1rem) var(--space-5, 1.25rem);
        border-bottom: 1px solid var(--gray-100, #f1f5f9);
    }

    .mobile-noti-dropdown .noti-dropdown-body {
        flex: 1;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .header-inner {
        gap: var(--space-2, 0.5rem);
        padding: 0 var(--space-4, 1rem);
    }

    .header-logo { font-size: var(--text-lg, 1.125rem); }
    .header-logo-img { width: 30px; height: 30px; }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: var(--space-4, 1rem);
        text-align: center;
    }

    .footer-contact { align-items: center; }
    .footer-nav { justify-content: center; }
}

@media (max-width: 768px) {
    .footer-inner { padding: 0 var(--space-4, 1rem); }
    .footer-bottom { text-align: center; }
    .footer-social-icon { width: 22px; height: 22px; }
}

@media (max-width: 480px) {
    .header-inner { padding: 0 var(--space-3, 0.75rem); }
    .mobile-user-name { max-width: 46px; }
    .mobile-drawer { width: 288px; }
    .footer-nav { gap: var(--space-1, 0.25rem) var(--space-3, 0.75rem); }
}
