/* ================================================================
   متغيرات التصميم — Design Tokens
   ================================================================ */
:root {
    --lp-primary: #0a2647;
    --lp-primary-light: #09203d;
    --lp-primary-dark: #05162b;
    --lp-primary-surface: rgba(201, 160, 62, .1);
    --lp-accent: #c9a03e;
    --lp-accent-light: #d9a441;

    --lp-bg: #f5f1e3;
    --lp-surface: #f9f8f6;
    --lp-text: #3e3e3e;
    --lp-text-secondary: #556b2f;
    --lp-text-tertiary: #8b8b7a;
    --lp-border: #e2d9c4;
    --lp-border-light: #ede6d4;

    --lp-success: #c9a03e;
    --lp-error: #a63d40;

    --lp-shadow-xs: 0 1px 2px rgba(10, 38, 71, .04);
    --lp-shadow-sm: 0 1px 4px rgba(10, 38, 71, .06);
    --lp-shadow-md: 0 4px 12px rgba(10, 38, 71, .08);
    --lp-shadow-lg: 0 8px 24px rgba(10, 38, 71, .12);
    --lp-shadow-xl: 0 12px 32px rgba(10, 38, 71, .16);
    --lp-shadow-fab: 0 4px 16px rgba(10, 38, 71, .4);
    --lp-shadow-fab-hover: 0 6px 24px rgba(10, 38, 71, .5);

    --lp-radius-sm: 8px;
    --lp-radius-md: 12px;
    --lp-radius-lg: 16px;
    --lp-radius-xl: 24px;
    --lp-radius-full: 9999px;
    --lp-bnav-height: 60px;
    --lp-fab-size: 56px;

    --lp-container-sm: 640px;
    --lp-container-md: 860px;
    --lp-container-lg: 1100px;
    --lp-container-xl: 1200px;

    --lp-base-header-h: 0px;
}

/* ================================================================
   أساسيات الصفحة
   ================================================================ */
.lp {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding-bottom: calc(var(--lp-bnav-height) + 24px + env(safe-area-inset-bottom, 0px));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--lp-bg);
}

/* ================================================================
   رأس الصفحة
   ================================================================ */
.lp-header {
    padding: 16px 16px 0;
    max-width: var(--lp-container-sm);
    margin: 0 auto;
}

.lp-header-text {
    margin-bottom: 4px;
}

.lp-title {
    font-size: 20px;
    font-weight: 800;
    color: #0a2647;
    margin: 0 0 2px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.lp-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--lp-text-secondary);
}

.lp-header-actions {
    display: contents;
}

.lp-admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--lp-radius-full);
    color: var(--lp-text-tertiary);
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 32px;
    min-height: 32px;
}

.lp-admin-btn:hover,
.lp-admin-btn:focus-visible {
    color: var(--lp-text);
    background: var(--lp-border-light);
}

/* ================================================================
   زر الإضافة العائم — FAB (موبايل فقط)
   ================================================================ */
.lp-fab {
    position: fixed;
    bottom: calc(var(--lp-bnav-height) + 16px + env(safe-area-inset-bottom, 0px));
    right: 20px;
    left: auto;
    z-index: 160;
    width: var(--lp-fab-size);
    height: var(--lp-fab-size);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--lp-primary);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: var(--lp-shadow-fab);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.2s ease,
        background 0.15s ease;
    opacity: 0;
    transform: scale(0) translateY(20px);
    animation: lpFabIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
    pointer-events: none;
    animation-fill-mode: forwards;
}

.lp-fab-ready {
    pointer-events: auto !important;
}

@keyframes lpFabIn {
    0% {
        opacity: 0;
        transform: scale(0) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lp-fab i {
    font-size: 24px;
    margin: 0;
    line-height: 1;
}

.lp-fab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.18) 0%,
            transparent 50%);
    pointer-events: none;
}

.lp-fab:active {
    transform: scale(0.9) !important;
    transition: transform 0.1s ease;
    box-shadow: var(--lp-shadow-sm);
}

@media (hover: hover) {
    .lp-fab:hover {
        transform: scale(1.08) translateY(-2px);
        box-shadow: var(--lp-shadow-fab-hover);
        background: var(--lp-primary-dark);
    }
}

.lp-fab:focus-visible {
    outline: 3px solid var(--lp-accent);
    outline-offset: 3px;
}

[dir="rtl"] .lp-fab {
    right: 20px;
    left: auto;
}

/* ================================================================
   شريط البحث الثابت
   ================================================================ */
.lp-search-section {
    position: sticky;
    top: var(--lp-base-header-h);
    z-index: 100;
    background: rgba(245, 241, 227, .88);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    padding: 0 16px 12px;
    max-width: var(--lp-container-sm);
    margin: 0 auto;
    box-shadow: 0 1px 0 var(--lp-border);
}

.lp-search-form {
    margin: 0;
}

.lp-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lp-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--lp-text-tertiary);
    pointer-events: none;
    margin: 0;
}

[dir="ltr"] .lp-search-icon {
    right: auto;
    left: 14px;
}

.lp-search-input {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 44px;
    border: 2px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    background: var(--lp-surface);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--lp-text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.lp-search-input::placeholder {
    color: var(--lp-text-tertiary);
    font-weight: 400;
}

.lp-search-input:focus {
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px rgba(201, 160, 62, .15);
}

.lp-search-clear {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--lp-radius-full);
    background: transparent;
    color: var(--lp-text-tertiary);
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

[dir="ltr"] .lp-search-clear {
    left: auto;
    right: 12px;
}

.lp-search-clear:hover {
    color: var(--lp-text-secondary);
    background: var(--lp-border-light);
}

/* ================================================================
   فلاتر المحافظات
   ================================================================ */
.lp-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0 2px;
    margin: 0;
}

.lp-filters::-webkit-scrollbar {
    display: none;
}

.lp-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 36px;
    min-height: 36px;
    padding: 0 16px;
    border-radius: var(--lp-radius-full);
    border: 1.5px solid var(--lp-border);
    background: var(--lp-surface);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--lp-text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
}

.lp-chip:hover {
    border-color: var(--lp-accent);
    color: var(--lp-primary);
    background: var(--lp-primary-surface);
}

.lp-chip--active {
    background: var(--lp-primary);
    border-color: var(--lp-primary);
    color: #FFFFFF;
    font-weight: 700;
}

.lp-chip--active:hover {
    background: var(--lp-primary-dark);
    border-color: var(--lp-primary-dark);
    color: #FFFFFF;
}

/* ================================================================
   قائمة المحامين
   ================================================================ */
.lp-list {
    max-width: var(--lp-container-sm);
    margin: 0 auto;
    padding: 8px 16px 0;
}

/* ================================================================
   بطاقة المحامي
   ================================================================ */
.lp-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: var(--lp-surface);
    border-radius: var(--lp-radius-md);
    border: 1.5px solid transparent;
    box-shadow: var(--lp-shadow-xs);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, border-color 0.2s ease;
    touch-action: manipulation;
    opacity: 0;
    transform: translateY(10px);
    animation: lpCardIn 0.35s ease forwards;
    animation-delay: calc(var(--delay, 0) * 50ms);
}

@keyframes lpCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lp-card:nth-child(n+7) {
    animation: none;
    opacity: 1;
    transform: none;
}

.lp-card:active {
    transform: scale(0.98);
    transition: transform 0.08s ease;
}

@media (hover: hover) {
    .lp-card:hover {
        transform: translateY(-1px);
        box-shadow: var(--lp-shadow-md);
        background: #fff;
    }
}

.lp-card-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--lp-primary-surface);
}

.lp-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lp-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent));
    letter-spacing: 0.02em;
}

.lp-card-body {
    flex: 1;
    min-width: 0;
}

.lp-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #0a2647;
    margin: 0 0 3px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp-card-gov {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 400;
    color: var(--lp-text-secondary);
    line-height: 1.3;
}

.lp-card-gov i {
    font-size: 12px;
    color: var(--lp-text-tertiary);
    flex-shrink: 0;
}

.lp-card-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-primary);
    text-decoration: none;
    direction: ltr;
    unicode-bidi: plaintext;
    line-height: 1.3;
    min-height: 28px;
    padding: 2px 8px;
    margin-top: 2px;
    border-radius: var(--lp-radius-sm);
    background: var(--lp-primary-surface);
    transition: background 0.15s ease;
    width: fit-content;
}

.lp-card-phone:hover {
    background: rgba(201, 160, 62, .18);
}

.lp-card-phone i {
    font-size: 11px;
}

.lp-verified {
    font-size: 14px;
    color: var(--lp-accent);
    margin-right: 4px;
    vertical-align: middle;
}

.lp-card-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--lp-text-tertiary);
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.lp-card:hover .lp-card-arrow,
.lp-card:active .lp-card-arrow {
    color: var(--lp-accent);
}

[dir="rtl"] .lp-card:hover .lp-card-arrow {
    transform: translateX(-3px);
}

[dir="ltr"] .lp-card:hover .lp-card-arrow {
    transform: translateX(3px);
}

/* ================================================================
   حالة الفراغ
   ================================================================ */
.lp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px 32px;
}

.lp-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--lp-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--lp-text-tertiary);
    margin-bottom: 20px;
}

.lp-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #0a2647;
    margin: 0 0 8px;
}

.lp-empty-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--lp-text-secondary);
    margin: 0 0 24px;
    line-height: 1.6;
    max-width: 280px;
}

.lp-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 48px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--lp-radius-full);
    background: var(--lp-primary-surface);
    color: var(--lp-primary);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.lp-empty-btn:hover {
    background: rgba(201, 160, 62, .18);
}

/* ================================================================
   تحميل المزيد
   ================================================================ */
.lp-more {
    max-width: var(--lp-container-sm);
    margin: 8px auto 0;
    padding: 0 16px;
}

.lp-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    min-height: 48px;
    border-radius: var(--lp-radius-md);
    border: 2px dashed var(--lp-border);
    background: transparent;
    color: var(--lp-text-secondary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.lp-more-btn:hover {
    border-color: var(--lp-accent);
    color: var(--lp-primary);
    background: var(--lp-primary-surface);
}

.lp-more-btn:active {
    transform: scale(0.98);
}

.lp-more-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.lp-more-btn:hover i {
    transform: translateY(2px);
}

/* ================================================================
   زر الإضافة في الهيدر — يظهر فقط على التابلت فما فوق
   ================================================================ */
.lp-add-btn {
    display: none;
    inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    min-height: 40px;
    padding: 0 20px;
    border-radius: var(--lp-radius-full);
    background: var(--lp-primary);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    touch-action: manipulation;
    white-space: nowrap;
}

.lp-add-btn:hover {
    background: var(--lp-primary-dark);
    box-shadow: var(--lp-shadow-md);
}

.lp-add-btn:active {
    transform: scale(0.96);
    transition: transform 0.08s ease;
}

.lp-add-btn:focus-visible {
    outline: 3px solid var(--lp-accent);
    outline-offset: 2px;
}

.lp-add-btn i {
    font-size: 14px;
}

/* ================================================================
   شريط التنقل السفلي
   ================================================================ */
.lp-bnav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    height: var(--lp-bnav-height);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(249, 248, 246, .92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-top: 1px solid rgba(201, 160, 62, .12);
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.lp-bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    height: 100%;
    min-height: 44px;
    text-decoration: none;
    color: var(--lp-text-tertiary);
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s ease;
    touch-action: manipulation;
    position: relative;
}

.lp-bnav-item i {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.lp-bnav-item:hover {
    color: var(--lp-text-secondary);
}

.lp-bnav-item--active {
    color: var(--lp-primary);
    font-weight: 700;
}

.lp-bnav-item--active i {
    transform: scale(1.1);
    color: var(--lp-accent);
}

.lp-bnav-item--active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--lp-accent);
}

.lp-bnav-spacer {
    flex: 1;
    max-width: 72px;
}

/* ================================================================
   Skeleton Loading
   ================================================================ */
.lp-skel {
    background: var(--lp-border-light);
    border-radius: var(--lp-radius-sm);
    position: relative;
    overflow: hidden;
}

.lp-skel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: lpShimmer 1.5s ease infinite;
}

@keyframes lpShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.lp-skel-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: var(--lp-radius-md);
    background: var(--lp-surface);
    box-shadow: var(--lp-shadow-xs);
}

.lp-skel-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lp-skel-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-skel-line {
    height: 12px;
    border-radius: 6px;
}

.lp-skel-line--name {
    width: 60%;
    height: 14px;
}

.lp-skel-line--detail {
    width: 40%;
}

/* ================================================================
   شاشات صغيرة جداً (أقل من 360px)
   ================================================================ */
@media (max-width: 359px) {
    .lp-title {
        font-size: 17px;
    }

    .lp-card {
        gap: 10px;
        padding: 10px;
    }

    .lp-card-name {
        font-size: 14px;
    }

    .lp-card-gov {
        font-size: 12px;
    }

    .lp-fab {
        width: 50px;
        height: 50px;
        right: 14px;
        bottom: calc(var(--lp-bnav-height) + 12px + env(safe-area-inset-bottom, 0px));
    }

    .lp-fab i {
        font-size: 20px;
    }
}

/* ================================================================
   التابلت (768px+) — إظهار زر الهيدر + إخفاء FAB و BNav
   ================================================================ */
@media (min-width: 768px) {
    .lp-header {
        padding: 20px 24px 0;
        max-width: var(--lp-container-md);
    }

    .lp-title {
        font-size: 24px;
    }

    .lp-search-section {
        padding: 0 24px 12px;
        max-width: var(--lp-container-md);
    }

    .lp-list {
        padding: 12px 24px 0;
        max-width: var(--lp-container-md);
    }

    .lp-more {
        max-width: var(--lp-container-md);
        padding: 0 24px;
    }

    .lp-bnav {
        display: none;
    }

    .lp {
        padding-bottom: 32px;
    }

    .lp-fab {
        display: none !important;
    }

    .lp-add-btn {
        display: inline-flex;
    }

    .lp-header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .lp-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
    }

    .lp-header-text {
        margin-bottom: 0;
    }
}

/* ================================================================
   سطح المكتب (1024px+) — تخطيط عريض + عمودين + CTA بارز
   ================================================================ */
@media (min-width: 1024px) {
    .lp-header {
        padding: 28px 40px 0;
        max-width: var(--lp-container-lg);
        gap: 24px;
    }

    .lp-search-section {
        padding: 0 40px 16px;
        max-width: var(--lp-container-lg);
    }

    .lp-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px 40px 0;
        max-width: var(--lp-container-lg);
    }

    .lp-more {
        max-width: var(--lp-container-lg);
        padding: 16px 40px 0;
    }

    .lp-header-text {
        margin-bottom: 6px;
    }

    .lp-title {
        font-size: 28px;
        margin-bottom: 4px;
    }

    .lp-count {
        font-size: 14px;
    }

    .lp-add-btn {
        height: 48px;
        min-height: 48px;
        padding: 0 28px;
        font-size: 15px;
        font-weight: 700;
        gap: 8px;
        border-radius: var(--lp-radius-md);
        box-shadow: 0 2px 8px rgba(10, 38, 71, .25);
        position: relative;
        overflow: hidden;
    }

    .lp-add-btn i {
        font-size: 16px;
    }

    .lp-add-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
        pointer-events: none;
    }

    .lp-add-btn:hover {
        background: var(--lp-primary-dark);
        box-shadow: 0 4px 16px rgba(10, 38, 71, .35);
        transform: translateY(-1px);
    }

    .lp-add-btn:active {
        transform: translateY(0) scale(0.97);
        transition: transform 0.08s ease;
    }

    .lp-admin-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 18px;
    }

    .lp-search-input {
        height: 52px;
        min-height: 52px;
        font-size: 16px;
        border-radius: var(--lp-radius-lg);
    }

    .lp-search-icon {
        font-size: 18px;
        right: 16px;
    }

    [dir="ltr"] .lp-search-icon {
        right: auto;
        left: 16px;
    }

    .lp-filters {
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 10px;
        padding: 12px 0 4px;
    }

    .lp-chip {
        flex-shrink: initial;
        height: 40px;
        min-height: 40px;
        padding: 0 20px;
        font-size: 14px;
    }

    .lp-card {
        padding: 16px;
        gap: 14px;
        margin-bottom: 0;
        border-color: var(--lp-border-light);
    }

    @media (hover: hover) {
        .lp-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--lp-shadow-lg);
            background: #fff;
            border-color: rgba(201, 160, 62, .2);
        }
    }

    .lp-card-avatar {
        width: 52px;
        height: 52px;
    }

    .lp-card-placeholder {
        font-size: 17px;
    }

    .lp-card-name {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .lp-card-gov {
        font-size: 13.5px;
    }

    .lp-card-arrow {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }

    .lp-empty {
        grid-column: 1 / -1;
        padding: 64px 24px 48px;
    }

    .lp-empty-icon {
        width: 96px;
        height: 96px;
        font-size: 38px;
    }

    .lp-empty-title {
        font-size: 20px;
    }

    .lp-empty-text {
        max-width: 360px;
        font-size: 15px;
    }

    .lp-more-btn {
        height: 52px;
        min-height: 52px;
        font-size: 15px;
    }

    .lp-skel-card {
        margin-bottom: 0;
    }
}

/* ================================================================
   شاشات كبيرة جداً (1400px+)
   ================================================================ */
@media (min-width: 1400px) {
    .lp-header {
        padding: 32px 48px 0;
        max-width: var(--lp-container-xl);
    }

    .lp-search-section {
        padding: 0 48px 18px;
        max-width: var(--lp-container-xl);
    }

    .lp-list {
        padding: 18px 48px 0;
        max-width: var(--lp-container-xl);
        gap: 14px;
    }

    .lp-more {
        max-width: var(--lp-container-xl);
        padding: 18px 48px 0;
    }

    .lp-title {
        font-size: 30px;
    }

    .lp-search-input {
        height: 54px;
        min-height: 54px;
    }

    .lp-card {
        padding: 18px;
    }
}

/* ================================================================
   شاشات فائقة الاتساع (1600px+)
   ================================================================ */
@media (min-width: 1600px) {
    .lp {
        max-width: var(--lp-container-xl);
        margin: 0 auto;
    }

    .lp-header,
    .lp-search-section,
    .lp-list,
    .lp-more {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ================================================================
   إمكانية الوصول
   ================================================================ */
.lp-chip:focus-visible,
.lp-more-btn:focus-visible,
.lp-empty-btn:focus-visible {
    outline: 3px solid var(--lp-primary);
    outline-offset: 2px;
}

.lp-card:focus-visible {
    outline: 3px solid var(--lp-accent);
    outline-offset: 2px;
    border-radius: var(--lp-radius-md);
}

@media (prefers-reduced-motion: reduce) {

    .lp-card,
    .lp-fab {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .lp-fab {
        pointer-events: auto !important;
    }

    .lp-skel::after {
        animation: none !important;
    }

    .lp-card,
    .lp-chip,
    .lp-add-btn,
    .lp-more-btn,
    .lp-bnav-item,
    .lp-empty-btn,
    .lp-card-arrow,
    .lp-more-btn i,
    .lp-fab {
        transition-duration: 0.01ms !important;
    }
}