:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.12);
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --bg-dark: #0a0a14;
    --bg-card: rgba(22, 22, 42, 0.7);
    --bg-card-solid: #16162a;
    --bg-card-hover: #1e1e3a;
    --bg-input: #12122a;
    --bg-surface: #101020;
    --text-primary: #eef2ff;
    --text-secondary: #a5b4cf;
    --text-muted: #6b7a94;
    --border-color: rgba(99, 102, 241, 0.12);
    --border-glow: rgba(99, 102, 241, 0.25);
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.08);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: rgba(22, 22, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] {
    --bg-dark: #f0f2f8;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-solid: #ffffff;
    --bg-card-hover: #f8f9fc;
    --bg-input: #f0f2f8;
    --bg-surface: #e8eaf2;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border-color: rgba(99, 102, 241, 0.1);
    --border-glow: rgba(99, 102, 241, 0.15);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.04);
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family, 'Tajawal'), 'Noto Sans Arabic', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    direction: rtl;
    line-height: 1.8;
    min-height: 100vh;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] body::before {
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }

.navbar {
    background: var(--glass);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.navbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.01em;
}
.navbar-brand i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.nav-links a {
    color: var(--text-secondary);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-xs);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-links .badge-cart {
    background: linear-gradient(135deg, var(--danger), #f97316);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.theme-toggle {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-xs);
    padding: 0.45rem 0.65rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}
.theme-toggle:hover { background: var(--bg-card-hover); border-color: var(--border-glow); }

.hero {
    background: var(--bg-dark);
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
    opacity: 0.06;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 65%);
    opacity: 0.04;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    pointer-events: none;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}
.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { font-size: 1.15rem; color: var(--text-secondary); max-width: 550px; margin: 0 auto 2.5rem; line-height: 1.9; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    min-height: 46px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}
.btn-secondary { background: var(--bg-input); color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--border-glow); }
.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-success:hover { background: linear-gradient(135deg, #059669, #047857); color: #fff; transform: translateY(-2px); }
.btn-danger { background: linear-gradient(135deg, var(--danger), #dc2626); color: #fff; }
.btn-danger:hover { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; }
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: linear-gradient(135deg, #128c7e, #075e54); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; min-height: 36px; border-radius: var(--radius-xs); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
.btn-block { width: 100%; }

.section { padding: 4.5rem 0; position: relative; z-index: 1; }
.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 2.5rem; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow), var(--shadow-glow);
    border-color: var(--border-glow);
}
.product-card .card-image {
    position: relative;
    padding-top: 56%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-input), var(--bg-surface));
}
.product-card .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .card-image img { transform: scale(1.08); }
.product-card .card-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}
.product-card .card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card .card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.6; }
.product-card .card-title a { color: var(--text-primary); }
.product-card .card-title a:hover { color: var(--primary); }
.product-card .card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card .card-footer { position: relative; z-index: 2; }
.product-card .card-badge { z-index: 3; }
/* Blog card text spacing */
.product-info { padding: 1rem 1.25rem; }
.product-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.6; color: var(--text-primary); }
.product-card .card-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
}
.product-card .card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border-color); }
.product-card .card-price { font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.product-card .card-price .old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
    margin-right: 0.4rem;
    opacity: 0.7;
}
.product-card.featured { grid-column: span 2; }
.product-card.featured .card-image { padding-top: 42%; }

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-secondary); font-size: 0.88rem; }
.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    min-height: 46px;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 0 20px rgba(99, 102, 241, 0.05);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
}
textarea.form-control { min-height: 120px; resize: vertical; }

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(PLACEHOLDER);
}
.alert-success { background: rgba(16, 185, 129, 0.08); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.15); }
.alert-error { background: rgba(239, 68, 68, 0.08); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.15); }
.alert-info { background: rgba(6, 182, 212, 0.08); color: var(--accent); border: 1px solid rgba(6, 182, 212, 0.15); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(PLACEHOLDER);
}
.stat-card:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }
.stat-card .stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
}
.stat-card .stat-value { font-size: 2rem; font-weight: 900; margin-bottom: 0.25rem; }
.stat-card .stat-label { color: var(--text-secondary); font-size: 0.88rem; }

.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border-color); }
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card-solid);
}
.table th, .table td { padding: 1rem 1.25rem; text-align: right; border-bottom: 1px solid var(--border-color); }
.table th {
    background: var(--bg-input);
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.table td { font-size: 0.92rem; }
.table tr:hover td { background: var(--bg-card-hover); }
.table tr:last-child td { border-bottom: none; }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.badge-success { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.badge-warning { background: rgba(245, 158, 11, 0.12); color: var(--warning); }
.badge-danger { background: rgba(239, 68, 68, 0.12); color: var(--danger); }
.badge-info { background: rgba(6, 182, 212, 0.12); color: var(--accent); }
.badge-primary { background: var(--primary-light); color: var(--primary); }

.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xs);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.pagination a:hover { border-color: var(--border-glow); color: var(--primary); }
.pagination .active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border-color: transparent; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); }

footer {
    background: var(--bg-card-solid);
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { font-weight: 800; margin-bottom: 1rem; color: var(--text-primary); font-size: 1rem; }
.footer-col p { line-height: 1.8; }
.footer-col a { display: block; color: var(--text-secondary); padding: 0.35rem 0; font-size: 0.92rem; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); padding-right: 0.5rem; }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--primary); }

.video-player-wrapper {
    position: relative;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.video-player-wrapper video { width: 100%; height: 100%; }
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.video-player-wrapper:hover .video-controls { opacity: 1; }
.video-controls .progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}
.video-controls .progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    position: relative;
}
.video-controls .progress-bar .progress-fill::after {
    content: '';
    position: absolute;
    left: -6px;
    top: -5px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}
.video-controls .progress-bar:hover .progress-fill::after { opacity: 1; }
.video-controls .controls-row { display: flex; align-items: center; justify-content: space-between; }
.video-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
}
.video-controls button:hover { background: rgba(255, 255, 255, 0.1); }
.video-controls .time-display { color: #ccc; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.video-controls select { background: rgba(255, 255, 255, 0.1); border: none; color: #fff; padding: 0.3rem; border-radius: 4px; font-size: 0.85rem; cursor: pointer; }

.audio-player {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(PLACEHOLDER);
}
.audio-player .player-info { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.audio-player .player-info .track-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.audio-player .player-info .track-details h4 { font-weight: 700; margin-bottom: 0.2rem; }
.audio-player .player-info .track-details p { color: var(--text-secondary); font-size: 0.85rem; }
.audio-player .audio-progress {
    width: 100%;
    height: 6px;
    background: var(--bg-input);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 1rem;
}
.audio-player .audio-progress .audio-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 3px; width: 0%; transition: width 0.1s; }
.audio-player .audio-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.audio-player .audio-controls button {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.audio-player .audio-controls button:hover { background: var(--bg-input); }
.audio-player .audio-controls .play-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.5rem;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.audio-player .audio-controls .play-btn:hover { box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4); transform: scale(1.05); }
.audio-player .audio-time { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.8rem; margin-top: -0.5rem; margin-bottom: 0.5rem; }

.playlist { margin-top: 1.5rem; }
.playlist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.playlist-item:hover { background: var(--bg-input); border-color: var(--border-color); }
.playlist-item.active { background: var(--primary-light); border-color: var(--border-glow); }
.playlist-item .track-num { color: var(--text-muted); font-size: 0.9rem; width: 30px; text-align: center; font-weight: 600; }
.playlist-item .track-name { flex: 1; font-weight: 500; }
.playlist-item .track-duration { color: var(--text-muted); font-size: 0.85rem; }

.floating-buttons {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
}
.whatsapp-float, .call-float {
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-float {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    animation: pulse-wa 2s ease-in-out infinite;
}
.call-float {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    animation: pulse-call 2.5s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.12); color: #fff; box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5); }
.call-float:hover { transform: scale(1.12); color: #fff; box-shadow: 0 8px 35px rgba(59, 130, 246, 0.5); }
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.2), 0 0 0 12px rgba(37, 211, 102, 0.08); }
}
@keyframes pulse-call {
    0%, 100% { box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 6px 25px rgba(59, 130, 246, 0.2), 0 0 0 12px rgba(59, 130, 246, 0.08); }
}

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: var(--bg-card-solid);
    border-left: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
}
.admin-sidebar .sidebar-brand { padding: 0 1.5rem; margin-bottom: 2rem; }
.admin-sidebar .sidebar-brand h3 {
    font-weight: 900;
    font-size: 1.15rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.admin-sidebar .sidebar-brand small { color: var(--text-muted); font-size: 0.8rem; }
.admin-sidebar .sidebar-nav {
    flex: 1;
}
.admin-sidebar .sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.92rem;
    border-right: 3px solid transparent;
}
.admin-sidebar .sidebar-nav a:hover, .admin-sidebar .sidebar-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
    border-right-color: var(--primary);
}
.admin-sidebar .sidebar-nav a i { font-size: 1.1rem; width: 24px; }
.sidebar-credit {
    padding: 1rem 1.5rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.admin-content { flex: 1; margin-right: 260px; padding: 2rem; min-height: 100vh; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-header h1 { font-size: 1.5rem; font-weight: 900; }

.product-detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}
.product-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-input), var(--bg-surface));
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
}
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info .price-tag {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}
.product-detail-info .price-tag .old-price { text-decoration: line-through; color: var(--text-muted); font-size: 1.2rem; font-weight: 400; }
.product-detail-info .features-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.product-detail-info .features-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.product-detail-info .features-list li i { color: var(--success); font-size: 1.1rem; }

.lessons-list { margin-top: 2rem; }
.lesson-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(PLACEHOLDER);
}
.lesson-item:hover { border-color: var(--border-glow); transform: translateX(-4px); }
.lesson-item .lesson-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.lesson-item .lesson-icon.video { background: var(--primary-light); color: var(--primary); }
.lesson-item .lesson-icon.audio { background: rgba(6, 182, 212, 0.12); color: var(--accent); }
.lesson-item .lesson-info { flex: 1; }
.lesson-item .lesson-info h4 { font-weight: 600; font-size: 0.95rem; }
.lesson-item .lesson-info small { color: var(--text-muted); }

.auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 1.8rem; font-weight: 900; margin-bottom: 0.5rem; text-align: center; }
.auth-card p { color: var(--text-secondary); text-align: center; margin-bottom: 2rem; }

.checkout-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.75rem;
    position: sticky;
    top: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(PLACEHOLDER);
}
.summary-item { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--border-color); font-size: 0.95rem; }
.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0 0;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--primary);
}

.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state i { font-size: 4rem; color: var(--text-muted); margin-bottom: 1rem; display: block; }
.empty-state h3 { margin-bottom: 0.5rem; font-weight: 700; }
.empty-state p { color: var(--text-secondary); margin-bottom: 1.5rem; }

.tabs {
    display: flex;
    gap: 0.3rem;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    padding: 0.3rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}
.tabs .tab {
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.92rem;
    min-height: 44px;
}
.tabs .tab:hover { color: var(--text-primary); }
.tabs .tab.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: 0 2px 10px rgba(99, 102, 241, 0.25); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.search-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.search-bar input { flex: 1; }

.file-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}
.file-list-item:hover { border-color: var(--border-glow); }
.file-list-item i { font-size: 1.5rem; color: var(--primary); }
.file-list-item .file-info { flex: 1; }
.file-list-item .file-info h4 { font-weight: 600; font-size: 0.95rem; }
.file-list-item .file-info small { color: var(--text-muted); }

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: var(--bg-card-solid);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.why-us-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(PLACEHOLDER);
}
.why-us-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.why-us-card .icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    margin-bottom: 1.25rem;
}
.why-us-card h3 { font-weight: 700; margin-bottom: 0.5rem; font-size: 1.05rem; }
.why-us-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

@media (max-width: 768px) {
    body { font-size: 14px; }
    .hero { padding: 4rem 0 3rem; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .product-detail-hero { grid-template-columns: 1fr; gap: 1.5rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .product-card.featured { grid-column: span 1; }
    .nav-links { display: none; flex-direction: column; width: 100%; padding: 1rem 0; }
    .nav-links.open { display: flex; }
    .mobile-toggle { display: block; }
    .admin-sidebar { display: none; }
    .admin-sidebar.open { display: block; width: 100%; position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100; }
    .admin-content { margin-right: 0; padding: 1rem; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.6rem; }
    .search-bar { flex-direction: column; max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.7rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { text-align: center !important; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

::selection { background: rgba(99, 102, 241, 0.3); color: var(--text-primary); }

.admin-toolbar {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}
.admin-toolbar a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.admin-toolbar a:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}
.admin-toolbar a i {
    font-size: 1rem;
}

.slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}
.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 0;
}
.slide.active {
    opacity: 1;
    z-index: 1;
}
[data-effect-class="slide"] .slide {
    transform: translateX(100%);
    opacity: 1;
}
[data-effect-class="slide"] .slide.active {
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
}
[data-effect-class="slide"] .slide.leaving {
    transform: translateX(-100%);
    opacity: 1;
    z-index: 1;
}
[data-effect-class="zoom"] .slide {
    transform: scale(0.95);
    opacity: 0;
}
[data-effect-class="zoom"] .slide.active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}
[data-effect-class="zoom"] .slide.leaving {
    transform: scale(1.05);
    opacity: 0;
    z-index: 1;
}
[data-effect-class="zoom-fade"] .slide {
    transform: scale(0.92);
    opacity: 0;
    filter: blur(4px);
}
[data-effect-class="zoom-fade"] .slide.active {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
    z-index: 2;
}
.blog-grid { display: grid; gap: 1.5rem; }
.blog-grid-2 { grid-template-columns: repeat(2, 1fr); }
.blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
.blog-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .blog-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .blog-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .blog-grid-2, .blog-grid-3, .blog-grid-4 { grid-template-columns: 1fr; }
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 2rem 3rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    text-align: right;
}
.slide-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slide-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover {
    background: var(--primary);
}
.slider-prev {
    left: 1rem;
}
.slider-next {
    right: 1rem;
}
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.5rem;
}
.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.hero-has-bg-image {
    position: relative;
    display: flex;
    align-items: center;
}
.hero-has-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay-bg, rgba(0,0,0,0.6));
    z-index: 1;
    pointer-events: none;
}
.hero-has-bg-image .container {
    position: relative;
    z-index: 2;
}
.hero-has-bg-image h1 {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-has-bg-image p {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-has-bg-image .hero-text {
    max-width: 650px;
    margin: 0 auto;
}
.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .hero-has-bg-image .hero-text {
        padding: 0 1rem;
    }
    .slider-container {
        height: 240px;
    }
    .slide-content {
        padding: 1.5rem;
    }
    .slide-content h2 {
        font-size: 1.2rem;
    }
}

.password-wrap {
    position: relative;
}
.password-wrap .form-control {
    padding-left: 3rem;
}
.password-toggle {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.password-toggle:hover {
    color: var(--primary);
}
.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: none;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}
.social-icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}
.twofa-container {
    max-width: 440px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
}
.twofa-container h2 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.twofa-container p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.twofa-code-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
}
.twofa-remember {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.twofa-remember input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}
.twofa-code-display {
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.twofa-code-display strong {
    display: block;
    font-size: 1.8rem;
    letter-spacing: 0.4rem;
    color: var(--primary);
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════
   INSIGHTS SECTION — 3 Style Variants
═══════════════════════════════════════════ */

/* ── Base ── */
.insights-section {
    padding: 2.5rem 0;
    position: relative;
    z-index: 1;
}
.insights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
}
.insight-card {
    text-align: center;
    flex: 1;
    min-width: 130px;
}
.insight-number {
    direction: ltr;
    display: block;
    line-height: 1;
}

/* ══════════════════════════════
   STYLE 1: minimal (default)
   Clean cards, no color
══════════════════════════════ */
.insights-section.style-minimal {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.style-minimal .insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    transition: box-shadow 0.2s;
}
.style-minimal .insight-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.style-minimal .insight-icon {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: block;
}
.style-minimal .insight-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
.style-minimal .insight-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* ══════════════════════════════
   STYLE 2: lined
   White cards, colored top border
══════════════════════════════ */
.insights-section.style-lined {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.25rem 0;
}
.style-lined .insights-grid { gap: 1.25rem; }
.style-lined .insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 10px 10px;
    padding: 1.5rem 1.5rem 1.25rem;
}
.style-lined .insight-icon { display: none; }
.style-lined .insight-number {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.style-lined .insight-label {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    font-weight: 500;
}

/* ══════════════════════════════
   STYLE 3: strip
   Inline bar, dividers, no cards
══════════════════════════════ */
.insights-section.style-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.style-strip .insights-grid {
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}
.style-strip .insight-card {
    padding: 0.75rem 2rem;
    border-right: 1px solid var(--border-color);
    border-radius: 0;
    min-width: 120px;
    flex: 0 1 auto;
}
.style-strip .insight-card:last-child { border-right: none; }
.style-strip .insight-icon {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    display: block;
}
.style-strip .insight-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}
.style-strip .insight-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .insights-section { padding: 1.75rem 0; }
    .style-strip .insight-card {
        padding: 0.6rem 1.2rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        flex: 1;
        min-width: 100px;
    }
    .style-strip .insight-card:last-child { border-bottom: none; }
    .insight-number { font-size: 1.6rem !important; }
    .insight-card { min-width: 110px; padding: 1rem !important; }
}

/* Arabic Digits */
.arabic-digits {
    font-variant-numeric: tabular-nums;
}

/* ── Arabic File Input Button ── */
input[type="file"]::file-selector-button {
    content: 'اختر ملفاً';
    padding: 0.4rem 1rem;
    margin-left: 0.75rem;
    background: var(--primary, #6366f1);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
input[type="file"]::file-selector-button:hover {
    background: var(--primary-dark, #4f46e5);
}
input[type="file"]::-webkit-file-upload-button {
    content: 'اختر ملفاً';
    padding: 0.4rem 1rem;
    margin-left: 0.75rem;
    background: var(--primary, #6366f1);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

/* ── Filter Bar (shared: products page + homepage) ── */
.filter-bar{display:flex;flex-wrap:wrap;gap:0.6rem;align-items:center;margin-bottom:1.5rem;padding:1rem 1.2rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px}
.filter-bar-label{font-weight:600;font-size:0.85rem;color:var(--text-muted);white-space:nowrap;margin-left:0.4rem}
.filter-chips{display:flex;flex-wrap:wrap;gap:0.4rem;flex:1}
.filter-chip{padding:0.35rem 0.9rem;border-radius:50px;font-size:0.82rem;font-weight:600;border:1.5px solid var(--border-color);background:transparent;color:var(--text-secondary);cursor:pointer;text-decoration:none;transition:all 0.18s;white-space:nowrap}
.filter-chip:hover{border-color:var(--primary);color:var(--primary)}
.filter-chip.active{background:var(--primary);border-color:var(--primary);color:#fff}

/* ── Rich Content (editor HTML output: product desc, blog, pages) ── */
.rich-content {
    color: var(--text-secondary);
    line-height: 1.9;
    direction: rtl;
    text-align: right;
}
.rich-content p { margin: 0 0 0.6em; }
.rich-content p:last-child { margin-bottom: 0; }
.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4 {
    font-weight: 700;
    margin: 1em 0 0.4em;
    color: var(--text-primary);
    line-height: 1.4;
}
.rich-content strong { font-weight: 700; }
.rich-content em { font-style: italic; }
.rich-content a { color: var(--primary); text-decoration: underline; }
.rich-content blockquote {
    border-right: 4px solid var(--primary);
    border-left: none;
    padding: 0.5rem 1rem;
    margin: 0.8rem 0;
    background: rgba(99,102,241,0.05);
    border-radius: 0 6px 6px 0;
    color: var(--text-muted);
    font-style: italic;
}
.rich-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 0.5rem 0; }
/* RTL list fix */
.rich-content ul, .rich-content ol {
    margin: 0.4em 0;
    padding: 0;
    padding-right: 1.8em;
    padding-left: 0;
}
.rich-content li {
    margin-bottom: 0.3em;
    line-height: 1.8;
}
.rich-content ul > li { list-style-type: disc; }
.rich-content ol > li { list-style-type: decimal; }
/* Quill-specific: li[data-list] without Quill CSS loaded */
.rich-content li[data-list="bullet"] { list-style-type: disc; }
.rich-content li[data-list="ordered"] { list-style-type: decimal; }
.rich-content li[data-list="checked"]::before { content: '✅ '; }
.rich-content li[data-list="unchecked"]::before { content: '☐ '; }
