/* ============================================================
   MATOLCA — Brand Theme System
   Bleu marine #1e3a8a (MATO) + Orange #f97316 (LCA)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
    /* ── MATOLCA Brand Colors ── */
    --mat-blue:         #1e3a8a;   /* MATO — deep navy */
    --mat-blue-mid:     #1d4ed8;   /* interactive blue */
    --mat-blue-light:   #3b82f6;   /* hover/accent */
    --mat-blue-pale:    #eff6ff;   /* section bg */
    --mat-blue-100:     #dbeafe;
    --mat-orange:       #f97316;   /* LCA — brand orange */
    --mat-orange-dark:  #ea580c;   /* hover orange */
    --mat-orange-pale:  #fff7ed;   /* section bg */
    --mat-orange-100:   #ffedd5;
    --mat-dark:         #0f172a;   /* near-black text */
    --mat-gradient:     linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #f97316 100%);
    --mat-gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    --mat-gradient-orange: linear-gradient(135deg, #f97316 0%, #ea580c 100%);

    /* ── Aliases (keep backward compat) ── */
    --sq-primary:       var(--mat-blue-mid);
    --sq-primary-light: var(--mat-blue-light);
    --sq-primary-dark:  var(--mat-blue);
    --sq-primary-50:    var(--mat-blue-pale);
    --sq-primary-100:   var(--mat-blue-100);
    --sq-primary-600:   var(--mat-blue-mid);
    --sq-primary-700:   #1e40af;
    --sq-primary-900:   var(--mat-blue);
    --sq-secondary:     var(--mat-orange);
    --sq-secondary-light: #fb923c;
    --sq-secondary-dark: var(--mat-orange-dark);
    --sq-secondary-50:  var(--mat-orange-pale);
    --sq-secondary-100: var(--mat-orange-100);

    --sq-success: #059669; --sq-success-light: #d1fae5;
    --sq-warning: #d97706; --sq-warning-light: #fef3c7;
    --sq-danger:  #dc2626; --sq-danger-light:  #fee2e2;
    --sq-info:    #2563eb; --sq-info-light:    #dbeafe;

    --sq-bg:           #f8fafc;
    --sq-bg-card:      #ffffff;
    --sq-bg-sidebar:   #ffffff;
    --sq-bg-input:     #f9fafb;
    --sq-bg-hover:     #f3f4f6;
    --sq-bg-secondary: #f0f7ff;
    --sq-border:       #e2e8f0;
    --sq-border-light: #f1f5f9;
    --sq-text:         #0f172a;
    --sq-text-secondary: #475569;
    --sq-text-muted:   #94a3b8;

    --sq-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --sq-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --sq-shadow:    0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.04);
    --sq-shadow-md: 0 8px 20px -4px rgba(0,0,0,0.08), 0 4px 8px -2px rgba(0,0,0,0.04);
    --sq-shadow-lg: 0 16px 40px -8px rgba(0,0,0,0.1), 0 8px 16px -4px rgba(0,0,0,0.04);
    --sq-shadow-xl: 0 24px 56px -12px rgba(0,0,0,0.12);

    --sq-sidebar-width: 256px;
    --sq-header-height: 60px;
    --sq-radius:      12px;
    --sq-radius-sm:   8px;
    --sq-radius-xs:   6px;
    --sq-radius-full: 9999px;
    --sq-transition:  all 0.2s ease;

    --sq-whatsapp:      #25d366;
    --sq-whatsapp-dark: #128c7e;
    --sq-gradient:      var(--mat-gradient);
}

[data-theme="dark"] {
    --sq-bg: #0a0a0b;
    --sq-bg-card: #141416;
    --sq-bg-sidebar: #141416;
    --sq-bg-input: #1c1c1f;
    --sq-bg-hover: #1c1c1f;
    --sq-border: #262629;
    --sq-border-light: #1c1c1f;
    --sq-text: #f4f4f5;
    --sq-text-secondary: #a1a1aa;
    --sq-text-muted: #71717a;
    --sq-shadow-xs: none; --sq-shadow-sm: none; --sq-shadow: none;
    --sq-shadow-md: 0 8px 16px rgba(0,0,0,0.4);
    --sq-shadow-lg: 0 16px 32px rgba(0,0,0,0.5);
    --sq-shadow-xl: 0 24px 48px rgba(0,0,0,0.6);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--sq-bg);
    color: var(--sq-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip; /* clip vs hidden: no new BFC, fixes position:sticky in RTL */
    font-feature-settings: 'cv02','cv03','cv04','cv11';
}
[dir="rtl"] body { font-family: 'Cairo', system-ui, sans-serif; }

a { color: var(--sq-primary); text-decoration: none; transition: var(--sq-transition); }
a:hover { color: var(--sq-primary-dark); }
::selection { background: var(--sq-primary-100); color: var(--sq-primary-700); }

[dir="rtl"] .sq-product-card-price,
[dir="rtl"] .sq-product-price-wrapper,
[dir="rtl"] .sq-kpi-value,
[dir="rtl"] .sq-seller-stat-value { direction: ltr; text-align: right; }

/* ============================================================
   LAYOUT
   ============================================================ */
.sq-app { display: flex; min-height: 100vh; }

.sq-sidebar {
    width: var(--sq-sidebar-width);
    background: var(--sq-bg-sidebar);
    border-right: 1px solid var(--sq-border);
    position: fixed; top: 0; left: 0; bottom: 0;
    z-index: 1000;
    display: flex; flex-direction: column;
    transition: var(--sq-transition);
    overflow-y: auto;
}
.sq-sidebar::-webkit-scrollbar { width: 0; }

.sq-sidebar-brand {
    padding: 18px 18px 14px;
    display: flex; align-items: center; gap: 11px;
    border-bottom: 1px solid var(--sq-border);
}
.sq-sidebar-brand-logo {
    width: 34px; height: 34px;
    background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 45%, #f97316 100%);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 800; font-size: 15px; letter-spacing: -0.01em;
    flex-shrink: 0; position: relative;
    box-shadow: 0 3px 8px rgba(29,78,216,0.35), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.08);
}
.sq-sidebar-brand-text {
    font-size: 17px; font-weight: 800; color: #0f172a; letter-spacing: -0.04em;
}
[data-theme="dark"] .sq-sidebar-brand-text { color: var(--sq-text); }
.sq-sidebar-brand-text span {
    background: var(--sq-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--sq-primary);
}

.sq-sidebar-nav { padding: 10px; flex: 1; }
.sq-nav-section { margin-bottom: 2px; }
.sq-nav-section-title {
    font-size: 10px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--sq-text-muted);
    padding: 14px 10px 5px;
}
.sq-nav-item {
    display: flex; align-items: center; gap: 9px;
    padding: 7px 10px; border-radius: var(--sq-radius-sm);
    color: var(--sq-text-secondary);
    font-size: 13px; font-weight: 500;
    transition: var(--sq-transition);
    cursor: pointer; margin-bottom: 1px;
}
.sq-nav-item:hover { background: var(--sq-bg-hover); color: var(--sq-text); }
.sq-nav-item.active {
    background: var(--sq-primary-50); color: var(--sq-primary); font-weight: 600;
}
[data-theme="dark"] .sq-nav-item.active { background: rgba(29,78,216,0.1); }
.sq-nav-item i { width: 18px; height: 18px; stroke-width: 1.8; }

.sq-nav-badge {
    margin-left: auto; background: var(--sq-danger); color: white;
    font-size: 10px; font-weight: 700; padding: 1px 6px;
    border-radius: var(--sq-radius-full); min-width: 18px; text-align: center;
}

.sq-sidebar-footer { padding: 10px; border-top: 1px solid var(--sq-border); }
.sq-sidebar-user {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 10px; border-radius: var(--sq-radius-sm);
    transition: var(--sq-transition);
}
.sq-sidebar-user:hover { background: var(--sq-bg-hover); }
.sq-sidebar-user-avatar {
    width: 30px; height: 30px; border-radius: 8px; object-fit: cover;
}
.sq-sidebar-user-name {
    font-size: 12.5px; font-weight: 600; color: var(--sq-text);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sq-sidebar-user-role { font-size: 10.5px; color: var(--sq-text-muted); }

.sq-main { flex: 1; margin-left: var(--sq-sidebar-width); min-height: 100vh; }

.sq-header {
    height: var(--sq-header-height);
    background: rgba(249,250,251,0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--sq-border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; position: sticky; top: 0; z-index: 100;
}
[data-theme="dark"] .sq-header { background: rgba(10,10,11,0.85); }

.sq-header-left { display: flex; align-items: center; gap: 14px; }
.sq-header-breadcrumb {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--sq-text-muted);
}
.sq-header-breadcrumb a { color: var(--sq-text-secondary); font-weight: 500; }
.sq-header-breadcrumb .separator { color: var(--sq-border); }
.sq-header-right { display: flex; align-items: center; gap: 5px; }

.sq-header-btn {
    width: 34px; height: 34px; border-radius: 8px;
    border: 1px solid var(--sq-border); background: var(--sq-bg-card);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--sq-text-muted); transition: var(--sq-transition);
    position: relative;
}
.sq-header-btn:hover { background: var(--sq-bg-hover); color: var(--sq-text); }
.sq-header-btn .badge-dot {
    position: absolute; top: 6px; right: 6px;
    width: 6px; height: 6px; background: var(--sq-danger);
    border-radius: 50%; border: 1.5px solid var(--sq-bg-card);
}
.sq-menu-toggle { display: none; }

.sq-content { padding: 20px; max-width: 1360px; }

.sq-page-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.sq-page-title { font-size: 22px; font-weight: 800; color: var(--sq-text); letter-spacing: -0.03em; }
.sq-page-subtitle { font-size: 13px; color: var(--sq-text-secondary); margin-top: 1px; }

/* ============================================================
   CARDS
   ============================================================ */
.sq-card {
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius); box-shadow: var(--sq-shadow-xs);
    transition: var(--sq-transition); overflow: hidden;
}
.sq-card:hover { box-shadow: var(--sq-shadow-sm); }
.sq-card-header {
    padding: 14px 18px; border-bottom: 1px solid var(--sq-border);
    display: flex; align-items: center; justify-content: space-between;
}
.sq-card-title { font-size: 13px; font-weight: 700; color: var(--sq-text); }
.sq-card-body { padding: 18px; }
.sq-card-footer { padding: 12px 18px; border-top: 1px solid var(--sq-border); background: var(--sq-bg); }

/* ============================================================
   KPI
   ============================================================ */
.sq-kpi-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px; margin-bottom: 20px;
}
.sq-kpi {
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius); padding: 18px;
    transition: var(--sq-transition); position: relative;
}
.sq-kpi:hover { box-shadow: var(--sq-shadow); transform: translateY(-1px); }
.sq-kpi-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.sq-kpi-label { font-size: 11.5px; font-weight: 600; color: var(--sq-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.sq-kpi-icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.sq-kpi-icon.primary { background: var(--sq-primary-50); color: var(--sq-primary); }
.sq-kpi-icon.success { background: var(--sq-success-light); color: var(--sq-success); }
.sq-kpi-icon.warning { background: var(--sq-warning-light); color: var(--sq-warning); }
.sq-kpi-icon.danger { background: var(--sq-danger-light); color: var(--sq-danger); }
.sq-kpi-icon.info { background: var(--sq-info-light); color: var(--sq-info); }
[data-theme="dark"] .sq-kpi-icon.primary { background: rgba(29,78,216,0.1); }
[data-theme="dark"] .sq-kpi-icon.success { background: rgba(5,150,105,0.1); }
[data-theme="dark"] .sq-kpi-icon.warning { background: rgba(217,119,6,0.1); }
[data-theme="dark"] .sq-kpi-icon.danger { background: rgba(220,38,38,0.1); }
[data-theme="dark"] .sq-kpi-icon.info { background: rgba(37,99,235,0.1); }

.sq-kpi-value { font-size: 28px; font-weight: 800; color: var(--sq-text); letter-spacing: -0.03em; line-height: 1; }
.sq-kpi-change {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 11px; font-weight: 700; padding: 2px 8px;
    border-radius: var(--sq-radius-full); margin-top: 8px;
}
.sq-kpi-change.up { background: var(--sq-success-light); color: var(--sq-success); }
.sq-kpi-change.down { background: var(--sq-danger-light); color: var(--sq-danger); }

/* ============================================================
   BUTTONS
   ============================================================ */
.sq-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 8px 16px; font-size: 13px; font-weight: 600;
    border-radius: var(--sq-radius-sm); border: 1px solid transparent;
    cursor: pointer; transition: var(--sq-transition);
    white-space: nowrap; font-family: inherit; line-height: 1.5;
}
.sq-btn:active { transform: scale(0.98); }

.sq-btn-primary {
    background: var(--sq-primary); color: white;
    box-shadow: 0 1px 2px rgba(29,78,216,0.3);
}
.sq-btn-primary:hover { background: var(--sq-primary-dark); color: white; box-shadow: 0 3px 10px rgba(29,78,216,0.3); }

.sq-btn-success { background: var(--sq-success); color: white; }
.sq-btn-success:hover { background: #047857; color: white; }

.sq-btn-danger { background: var(--sq-danger); color: white; }
.sq-btn-danger:hover { background: #b91c1c; color: white; }

.sq-btn-outline { background: var(--sq-bg-card); color: var(--sq-text); border-color: var(--sq-border); }
.sq-btn-outline:hover { background: var(--sq-bg-hover); border-color: var(--sq-text-muted); }

.sq-btn-ghost { background: transparent; color: var(--sq-text-secondary); }
.sq-btn-ghost:hover { background: var(--sq-bg-hover); color: var(--sq-text); }

.sq-btn-whatsapp {
    background: var(--sq-whatsapp); color: white;
    font-weight: 700; font-size: 15px; padding: 13px 24px;
    border-radius: var(--sq-radius);
    box-shadow: 0 2px 8px rgba(37,211,102,0.3);
}
.sq-btn-whatsapp:hover { background: var(--sq-whatsapp-dark); color: white; box-shadow: 0 6px 20px rgba(37,211,102,0.3); }

.sq-btn-sm { padding: 5px 12px; font-size: 12px; }
.sq-btn-lg { padding: 11px 22px; font-size: 14px; }
.sq-btn-icon { width: 34px; height: 34px; padding: 0; }

/* ============================================================
   FORMS
   ============================================================ */
.sq-form-group { margin-bottom: 16px; }
.sq-form-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--sq-text); margin-bottom: 5px; }
.sq-form-control {
    width: 100%; padding: 9px 13px; font-size: 13.5px; font-family: inherit;
    color: var(--sq-text); background: var(--sq-bg-input);
    border: 1.5px solid var(--sq-border); border-radius: var(--sq-radius-sm);
    transition: var(--sq-transition); outline: none;
}
.sq-form-control:focus { border-color: var(--sq-primary); box-shadow: 0 0 0 3px rgba(29,78,216,0.08); background: var(--sq-bg-card); }
.sq-form-control::placeholder { color: var(--sq-text-muted); }
textarea.sq-form-control { min-height: 100px; resize: vertical; }
.sq-form-error { font-size: 11.5px; color: var(--sq-danger); margin-top: 4px; }

/* ============================================================
   TABLES
   ============================================================ */
.sq-table-wrapper { overflow-x: auto; border-radius: var(--sq-radius); border: 1px solid var(--sq-border); background: var(--sq-bg-card); }
.sq-table { width: 100%; border-collapse: collapse; }
.sq-table th {
    padding: 10px 14px; font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--sq-text-muted); background: var(--sq-bg);
    border-bottom: 1px solid var(--sq-border); text-align: left;
}
[dir="rtl"] .sq-table th { text-align: right; }
[dir="rtl"] .sq-table td { text-align: right; }
.sq-table td { padding: 11px 14px; font-size: 13px; border-bottom: 1px solid var(--sq-border-light); vertical-align: middle; }
.sq-table tr:last-child td { border-bottom: none; }
.sq-table tr:hover td { background: var(--sq-bg-hover); }
.sq-price-num { direction: ltr; display: inline-block; unicode-bidi: isolate; }

/* ============================================================
   BADGES
   ============================================================ */
.sq-badge {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 2px 8px; font-size: 10.5px; font-weight: 700;
    border-radius: var(--sq-radius-full); letter-spacing: 0.01em;
}
.sq-badge-primary { background: var(--sq-primary-50); color: var(--sq-primary-600); }
.sq-badge-success { background: var(--sq-success-light); color: var(--sq-success); }
.sq-badge-warning { background: var(--sq-warning-light); color: var(--sq-warning); }
.sq-badge-danger { background: var(--sq-danger-light); color: var(--sq-danger); }
.sq-badge-info { background: var(--sq-info-light); color: var(--sq-info); }
.sq-badge-neutral { background: var(--sq-bg-hover); color: var(--sq-text-secondary); }

[data-theme="dark"] .sq-badge-primary { background: rgba(29,78,216,0.1); }
[data-theme="dark"] .sq-badge-success { background: rgba(5,150,105,0.1); color: #34d399; }
[data-theme="dark"] .sq-badge-warning { background: rgba(217,119,6,0.1); color: #fbbf24; }
[data-theme="dark"] .sq-badge-danger { background: rgba(220,38,38,0.1); color: #f87171; }
[data-theme="dark"] .sq-badge-info { background: rgba(37,99,235,0.1); color: #60a5fa; }

.sq-badge-featured {
    background: linear-gradient(135deg, #f59e0b, #ea580c); color: white;
    padding: 3px 8px; font-size: 9.5px; font-weight: 800;
    border-radius: 5px; text-transform: uppercase; letter-spacing: 0.03em;
}
.sq-badge-sponsored {
    background: var(--sq-gradient); color: white;
    padding: 3px 8px; font-size: 9.5px; font-weight: 800;
    border-radius: 5px; text-transform: uppercase;
}
.sq-badge-urgent {
    background: var(--sq-danger); color: white;
    padding: 3px 8px; font-size: 9.5px; font-weight: 800;
    border-radius: 5px; text-transform: uppercase;
    animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge { 0%, 100% { opacity: 1; } 50% { opacity: 0.75; } }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.sq-product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
/* ── Product Card — Premium redesign ── */
.sq-product-card {
    background: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex; flex-direction: column;
}
.sq-product-card:hover {
    box-shadow: 0 16px 48px rgba(30,58,138,0.13), 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: rgba(30,58,138,0.18);
}

/* ── Image area — fixed 4:3 ratio, branded placeholder ── */
.sq-product-card-image {
    position: relative;
    padding-top: 72%;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}
[data-theme="dark"] .sq-product-card-image {
    background: #111827;
}
.sq-product-card-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.15) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 1;
}
.sq-product-card:hover .sq-product-card-image::after { opacity: 1; }

/* object-fit: contain → image entière centrée */
.sq-product-card-image img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: contain; object-position: center;
    padding: 6px;
    transition: transform 0.4s ease;
}
.sq-product-card:hover .sq-product-card-image img { transform: scale(1.04); }

/* Badges — top-left in LTR, top-right in RTL */
.sq-product-card-badges {
    position: absolute; top: 10px; left: 10px;
    display: flex; flex-direction: column; gap: 5px; z-index: 2;
}
/* Actions (heart/share) — top-right in LTR */
.sq-product-card-actions {
    position: absolute; top: 10px; right: 10px;
    display: flex; flex-direction: column; gap: 5px; z-index: 2;
    opacity: 0; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.2s ease;
}
.sq-product-card:hover .sq-product-card-actions { opacity: 1; transform: translateY(0); }

.sq-product-card-action {
    width: 34px; height: 34px; border-radius: 10px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    color: var(--sq-text-secondary); cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    border: none; font-size: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.sq-product-card-action:hover { background: var(--mat-blue); color: white; transform: scale(1.08); }
.sq-product-card-action.favorited { color: var(--sq-danger); }

/* ── Body ── */
.sq-product-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }

.sq-product-card-category {
    font-size: 10px; color: var(--mat-blue); font-weight: 800;
    margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.07em;
}

.sq-product-card-title {
    font-size: 14px; font-weight: 600; color: var(--sq-text);
    margin-bottom: 10px; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.4; flex: 1;
}
.sq-product-card-title a { color: inherit; text-decoration: none; }
.sq-product-card-title a:hover { color: var(--mat-blue); }

/* Price — always LTR regardless of page direction */
.sq-product-card-price {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
    direction: ltr; unicode-bidi: isolate; flex-wrap: wrap;
    border-left: 4px solid #f59e0b;
    padding-left: 10px;
}
.sq-product-card-price-current {
    font-size: 22px; font-weight: 900;
    color: #111827;
    letter-spacing: -0.02em; line-height: 1;
    font-family: 'Outfit', sans-serif;
}
[data-theme="dark"] .sq-product-card-price-current { color: #f1f5f9; }
.sq-product-card-price-old {
    font-size: 13px; font-weight: 400;
    color: #9ca3af; text-decoration: line-through;
}
.sq-product-card-price-discount {
    font-size: 10.5px; font-weight: 800; direction: ltr;
    background: #ef4444; color: white;
    padding: 2px 7px; border-radius: 4px;
}

/* Meta footer */
.sq-product-card-meta {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 10px; border-top: 1px solid var(--sq-border-light);
    margin-top: auto;
}
.sq-product-card-location {
    display: flex; align-items: center; gap: 3px;
    font-size: 11.5px; color: var(--sq-text-muted); font-weight: 500;
}
.sq-product-card-time { font-size: 11px; color: var(--sq-text-muted); }

/* Bouton WhatsApp carte */
.sq-product-card-wa-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; margin-top: 10px;
    padding: 8px 10px;
    background: #25d366;
    color: #fff; font-size: 12px; font-weight: 700;
    border: none; border-radius: 8px; cursor: pointer;
    transition: background 0.18s; white-space: nowrap;
    line-height: 1;
}
.sq-product-card-wa-btn:hover { background: #1aad4e; }

/* ============================================================
   AUTH
   ============================================================ */
.sq-auth {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 24px; background: var(--sq-bg); position: relative;
}
.sq-auth::before {
    content: ''; position: absolute;
    top: -40%; right: -25%; width: 70vw; height: 70vw;
    background: radial-gradient(circle, rgba(29,78,216,0.04) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
}
.sq-auth-card {
    width: 100%; max-width: 400px;
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    border-radius: 16px; box-shadow: var(--sq-shadow-lg);
    padding: 40px; position: relative; z-index: 1;
}
.sq-auth-logo { text-align: center; margin-bottom: 28px; }
.sq-auth-logo-icon {
    width: 44px; height: 44px; background: var(--sq-gradient);
    border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    color: white; font-weight: 800; font-size: 18px; margin-bottom: 14px;
    box-shadow: 0 3px 12px rgba(29,78,216,0.25);
}
.sq-auth-title { font-size: 20px; font-weight: 800; color: var(--sq-text); margin-bottom: 4px; letter-spacing: -0.02em; }
.sq-auth-subtitle { font-size: 13px; color: var(--sq-text-secondary); }
.sq-auth-footer { text-align: center; margin-top: 24px; font-size: 13px; color: var(--sq-text-secondary); }
.sq-auth-lang-bar {
    position: fixed; top: 16px; right: 20px; z-index: 999;
    display: flex; align-items: center; gap: 6px;
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    border-radius: 99px; padding: 5px 12px; box-shadow: var(--sq-shadow);
}
.sq-auth-lang-bar a {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 700; color: var(--sq-text-secondary);
    text-decoration: none; padding: 3px 7px; border-radius: 99px;
    transition: all 0.15s;
}
.sq-auth-lang-bar a img { width: 16px; height: 12px; object-fit: cover; border-radius: 2px; }
.sq-auth-lang-bar a:hover { color: var(--sq-primary); background: var(--sq-primary-50); }
.sq-auth-lang-bar a.active { color: var(--sq-primary); background: var(--sq-primary-50); font-weight: 800; }
[dir="rtl"] .sq-auth-lang-bar { right: auto; left: 20px; flex-direction: row-reverse; }

/* ============================================================
   TOPBAR
   ============================================================ */
.sq-topbar {
    background: linear-gradient(180deg, #1e293b 0%, #172033 100%); color: #e2e8f0; font-size: 11.5px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
[data-theme="dark"] .sq-topbar { background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%); }
.sq-topbar-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 20px;
    height: 36px; display: flex; align-items: center; justify-content: space-between;
}
.sq-topbar-left { display: flex; align-items: center; gap: 20px; }
.sq-topbar-left span { display: flex; align-items: center; gap: 6px; font-weight: 600; letter-spacing: 0.01em; color: #e2e8f0; }
.sq-topbar-left span i { color: #a5b4fc; }
.sq-topbar-right { display: flex; align-items: center; gap: 14px; }
.sq-topbar-right a { color: #e2e8f0; display: flex; align-items: center; gap: 6px; font-weight: 600; transition: var(--sq-transition); }
.sq-topbar-right a i { color: #a5b4fc; }
.sq-topbar-right a:hover { color: white; }
.sq-topbar-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.18); }
.sq-topbar-lang {
    display: flex; align-items: center; gap: 6px;
    background: none; border: none; color: #e2e8f0; cursor: pointer;
    font-family: inherit; font-size: 11.5px; font-weight: 600;
    padding: 2px 0; transition: var(--sq-transition);
}
.sq-topbar-lang i { color: #a5b4fc; }
.sq-topbar-lang:hover { color: white; }

@media (max-width: 768px) {
    .sq-topbar-left span:not(:first-child) { display: none; }
    .sq-topbar-right a span { display: none; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.sq-navbar {
    background: var(--sq-bg-card);
    border-bottom: 1px solid var(--sq-border);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--sq-shadow-xs);
}

.sq-navbar-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 20px;
    height: 64px; display: flex; align-items: center; gap: 16px;
}
.sq-navbar-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sq-navbar-brand .sq-sidebar-brand-logo { box-shadow: 0 2px 8px rgba(29,78,216,0.35); }
.sq-navbar-brand .sq-sidebar-brand-text { font-size: 18px; }

.sq-cat-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 15px; background: var(--sq-primary); color: white;
    border: none; border-radius: 10px; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: var(--sq-transition); font-family: inherit;
    white-space: nowrap; box-shadow: 0 1px 2px rgba(29,78,216,0.25);
}
.sq-cat-btn:hover { background: var(--sq-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(29,78,216,0.3); }
.sq-cat-btn i:last-child { opacity: 0.85; }

.sq-navbar-search { flex: 1; position: relative; max-width: 560px; }
.sq-navbar-search form {
    display: flex; align-items: center;
    background: var(--sq-bg-input); border: 1.5px solid var(--sq-border);
    border-radius: 10px; overflow: hidden; transition: var(--sq-transition);
}
.sq-navbar-search form:focus-within {
    border-color: var(--sq-primary); background: var(--sq-bg-card);
    box-shadow: 0 0 0 4px var(--sq-primary-50);
}
.sq-navbar-search input {
    width: 100%; padding: 10px 4px 10px 16px;
    background: transparent; border: none;
    font-size: 13.5px; color: var(--sq-text); outline: none; font-family: inherit;
}
[dir="rtl"] .sq-navbar-search input { padding: 10px 16px 10px 4px; }
.sq-search-btn {
    padding: 0 15px; align-self: stretch; background: transparent; color: var(--sq-text-muted);
    border: none; cursor: pointer;
    display: flex; align-items: center; transition: var(--sq-transition);
}
.sq-search-btn:hover { color: var(--sq-primary); }

.sq-navbar-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }

.sq-nav-action {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 7px 11px; color: var(--sq-text-secondary); cursor: pointer;
    transition: var(--sq-transition); border: none; background: none;
    font-family: inherit; text-decoration: none; border-radius: 9px;
}
.sq-nav-action span { font-size: 10px; font-weight: 600; }
.sq-nav-action:hover { color: var(--sq-primary); background: var(--sq-bg-hover); }

.sq-btn-deposit {
    display: flex; align-items: center; gap: 7px;
    padding: 10px 18px; background: var(--sq-gradient); color: white;
    border-radius: 10px; font-size: 13px; font-weight: 700;
    transition: var(--sq-transition); white-space: nowrap;
    box-shadow: 0 2px 8px rgba(29,78,216,0.3);
    margin-left: 4px;
}
[dir="rtl"] .sq-btn-deposit { margin-left: 0; margin-right: 4px; }
.sq-btn-deposit:hover { color: white; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(29,78,216,0.4); }

/* Categories Dropdown */
.sq-cat-dropdown {
    display: none; position: absolute; top: 96px; left: 0; right: 0;
    z-index: 999; background: var(--sq-bg-card);
    border-bottom: 1px solid var(--sq-border); box-shadow: var(--sq-shadow-lg);
}
.sq-cat-dropdown.open { display: block; animation: fadeIn 0.15s ease; }
.sq-cat-dropdown-inner {
    max-width: 1320px; margin: 0 auto; padding: 24px 20px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px;
}
.sq-cat-dropdown-title {
    display: flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; color: var(--sq-text);
    margin-bottom: 8px; padding-bottom: 6px;
    border-bottom: 1px solid var(--sq-border-light);
}
.sq-cat-dropdown-link {
    display: block; font-size: 13px; color: var(--sq-text-secondary);
    padding: 3px 0; transition: var(--sq-transition);
}
.sq-cat-dropdown-link:hover { color: var(--sq-primary); padding-left: 4px; }

/* Language switcher in navbar: desktop hidden, mobile visible */
.sq-nav-lang-mobile { display: none; }

@media (max-width: 768px) {
    .sq-navbar-search { display: none; }
    .sq-cat-btn span:not(i) { display: none; }
    .sq-nav-action span { display: none; }
    .sq-btn-deposit span { display: none; }
    .sq-cat-dropdown { top: 58px; }
    .sq-topbar { display: none; }
    .sq-nav-lang-mobile { display: flex; position: relative; }
    .sq-nav-lang-mobile .sq-lang-dropdown { top: calc(100% + 8px); min-width: 130px; }
    .sq-nav-theme-hide { display: none; }
}

@media (max-width: 480px) {
    .sq-navbar-inner { padding: 0 12px; gap: 6px; height: 56px; }
    .sq-navbar-brand { gap: 7px; }
    .sq-navbar-brand .sq-sidebar-brand-logo { width: 32px; height: 32px; font-size: 15px; }
    .sq-navbar-brand .sq-sidebar-brand-text { font-size: 15px; }
    .sq-cat-btn { padding: 8px 9px; }
    .sq-cat-btn i:last-child { display: none; }
    .sq-navbar-actions { gap: 0; }
    .sq-nav-action { padding: 6px 7px; }
    .sq-btn-deposit { padding: 9px; border-radius: 50%; margin-left: 0; }
    [dir="rtl"] .sq-btn-deposit { margin-right: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.sq-hero {
    background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 50%, #dbeafe 100%);
    padding: 40px 20px 48px;
    border-bottom: 1px solid var(--sq-border);
}
[data-theme="dark"] .sq-hero {
    background: linear-gradient(160deg, #0a0a0b 0%, #131320 50%, #151528 100%);
}

.sq-hero-inner {
    max-width: 720px; margin: 0 auto;
    text-align: center;
}

.sq-hero-text {
    display: flex; flex-direction: column; align-items: center;
}

.sq-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px 5px 10px;
    background: rgba(29,78,216,0.08);
    border: 1px solid rgba(29,78,216,0.15);
    border-radius: var(--sq-radius-full);
    font-size: 12px; font-weight: 600; color: var(--sq-primary);
    margin-bottom: 16px; width: fit-content;
}

.sq-hero-badge-promo {
    padding: 7px 16px 7px 12px;
    background: linear-gradient(135deg, rgba(29,78,216,0.1), rgba(249,115,22,0.08));
    border: 1px solid rgba(29,78,216,0.2);
    box-shadow: 0 2px 8px rgba(29,78,216,0.08);
    flex-wrap: wrap; justify-content: center;
}
.sq-hero-badge-pulse {
    width: 7px; height: 7px; border-radius: 50%;
    background: #10b981; flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
    animation: heroPulse 2s infinite;
}
@keyframes heroPulse {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    70% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.sq-hero-badge-sep { color: var(--sq-primary); opacity: 0.4; }
.sq-hero-badge-promo strong {
    color: var(--sq-primary); font-weight: 800; font-size: 13px;
}

@media (max-width: 480px) {
    .sq-hero-badge-promo { font-size: 11px; text-align: center; }
}

.sq-hero h1 {
    font-size: 40px; font-weight: 800; color: var(--sq-text);
    letter-spacing: -0.03em; margin-bottom: 12px; line-height: 1.12;
}
.sq-hero h1 span { color: var(--sq-primary); }
.sq-hero p {
    font-size: 15px; color: var(--sq-text-secondary);
    margin-bottom: 24px; line-height: 1.7; max-width: 520px;
}

/* Hero Search Bar */
.sq-hero-search-bar { margin-bottom: 16px; max-width: 560px; width: 100%; }
.sq-hero-form {
    display: flex; position: relative;
    background: var(--sq-bg-card);
    border: 2px solid var(--sq-border);
    border-radius: 12px;
    box-shadow: var(--sq-shadow-md);
    transition: var(--sq-transition);
}
.sq-hero-form:focus-within {
    border-color: var(--sq-primary);
    box-shadow: 0 0 0 4px rgba(29,78,216,0.08), var(--sq-shadow-md);
}
.sq-hero-search-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--sq-text-muted); pointer-events: none;
}
[dir="rtl"] .sq-hero-search-icon { left: auto; right: 16px; }
.sq-hero-form input {
    flex: 1; padding: 14px 16px 14px 48px;
    border: none; background: transparent;
    font-size: 14px; color: var(--sq-text);
    outline: none; font-family: inherit;
    border-radius: 12px 0 0 12px;
}
[dir="rtl"] .sq-hero-form input { padding: 14px 48px 14px 16px; border-radius: 0 12px 12px 0; }
.sq-hero-form input::placeholder { color: var(--sq-text-muted); }
.sq-hero-form button {
    padding: 10px 24px; margin: 4px;
    background: var(--sq-primary); color: white;
    border: none; border-radius: 9px;
    font-weight: 700; font-size: 14px;
    cursor: pointer; font-family: inherit;
    transition: var(--sq-transition); white-space: nowrap;
}
.sq-hero-form button:hover { background: var(--sq-primary-dark); }

/* Hero Tags */
.sq-hero-tags {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap; margin-bottom: 24px;
}
.sq-hero-tags > span { font-size: 12px; color: var(--sq-text-muted); font-weight: 500; }
.sq-hero-tags a {
    font-size: 12px; color: var(--sq-text-secondary);
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    padding: 3px 10px; border-radius: var(--sq-radius-full);
    font-weight: 500; transition: var(--sq-transition);
}
.sq-hero-tags a:hover { border-color: var(--sq-primary); color: var(--sq-primary); }

/* Hero Stats */
.sq-hero-stats { display: flex; gap: 20px; }
.sq-hero-stat {
    display: flex; align-items: center; gap: 10px;
}
.sq-hero-stat-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--sq-primary-50); color: var(--sq-primary);
    display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .sq-hero-stat-icon { background: rgba(29,78,216,0.12); }
.sq-hero-stat strong {
    display: block; font-size: 18px; font-weight: 800;
    color: var(--sq-text); letter-spacing: -0.02em; line-height: 1.1;
}
.sq-hero-stat span { font-size: 11px; color: var(--sq-text-muted); font-weight: 500; }

/* Hero Stats layout centered */
.sq-hero-stats { justify-content: center; }

/* ============================================================
   HERO V2 — Phone Mockup Style
   ============================================================ */
.sq-hero-v2 {
    background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 45%, #dbeafe 100%);
    overflow: hidden; position: relative;
}
[data-theme="dark"] .sq-hero-v2 {
    background: linear-gradient(160deg, #0a0a0b 0%, #131320 50%, #151528 100%);
}
.sq-hero-v2::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle 500px at 15% 20%, rgba(249,115,22,0.06), transparent),
        radial-gradient(circle 400px at 85% 70%, rgba(29,78,216,0.07), transparent);
    pointer-events: none;
}

.sq-hero-v2-inner {
    max-width: 1320px; margin: 0 auto;
    padding: 32px 20px 36px;
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 32px; align-items: center;
    position: relative; z-index: 1;
}

.sq-hero-v2-text { display: flex; flex-direction: column; }

.sq-hero-v2-text h1 {
    font-size: 32px; font-weight: 800; color: var(--sq-text);
    letter-spacing: -0.03em; margin: 12px 0 10px; line-height: 1.15;
}
.sq-hero-v2-text h1 span {
    background: var(--sq-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sq-hero-v2-text > p {
    font-size: 14px; color: var(--sq-text-secondary);
    line-height: 1.7; margin-bottom: 18px; max-width: 480px;
}
.sq-hero-v2-text > p strong { color: var(--sq-text); font-weight: 700; }

.sq-hero-v2-wa {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--sq-whatsapp); font-weight: 600; font-size: 13.5px;
    margin-top: 4px;
}

.sq-hero-v2-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sq-gradient); color: white;
    padding: 11px 22px; border-radius: var(--sq-radius-full);
    font-size: 14px; font-weight: 700;
    box-shadow: 0 4px 16px rgba(29,78,216,0.35);
    transition: var(--sq-transition);
    width: fit-content; margin-bottom: 20px;
}
.sq-hero-v2-cta:hover {
    color: white; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29,78,216,0.4);
}
.sq-hero-v2-cta-arrow {
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
}

/* Mini trust grid under CTA */
.sq-hero-v2-trust-mini {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 8px; max-width: 460px;
}
.sq-trust-mini-item {
    display: flex; align-items: center; gap: 9px;
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    border-radius: 12px; padding: 8px 10px;
    transition: var(--sq-transition);
}
.sq-trust-mini-item:hover { box-shadow: var(--sq-shadow-sm); transform: translateY(-1px); }
.sq-trust-mini-icon {
    width: 32px; height: 32px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sq-trust-mini-item strong { display: block; font-size: 11.5px; font-weight: 700; color: var(--sq-text); }
.sq-trust-mini-item span { font-size: 10px; color: var(--sq-text-muted); }

/* ===== Phone Mockup ===== */
.sq-hero-v2-visual {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-height: 420px;
}

.sq-phone-mockup {
    width: 220px; background: #111827; border-radius: 30px;
    padding: 10px 8px; box-shadow: 0 24px 48px -15px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,0,0,0.05);
    position: relative; z-index: 2;
    transform: rotate(-2deg);
    transition: var(--sq-transition);
}
.sq-phone-mockup:hover { transform: rotate(0deg); }

.sq-phone-notch {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 72px; height: 14px; background: #111827;
    border-radius: 0 0 12px 12px; z-index: 3;
}

.sq-phone-screen {
    background: var(--sq-bg); border-radius: 22px;
    overflow: hidden; padding: 18px 11px 11px;
    min-height: 380px;
}

.sq-phone-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.sq-phone-brand {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 800; color: var(--sq-text); letter-spacing: -0.02em;
}
.sq-phone-brand-logo {
    width: 18px; height: 18px; border-radius: 5px;
    background: var(--sq-gradient); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 800;
}
.sq-phone-header-icons { display: flex; gap: 8px; color: var(--sq-text-secondary); }

.sq-phone-search {
    display: flex; align-items: center; gap: 6px;
    background: var(--sq-bg-input); border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius-full); padding: 7px 10px;
    font-size: 9.5px; color: var(--sq-text-muted);
    margin-bottom: 10px;
}

.sq-phone-cats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 6px; margin-bottom: 10px;
}
.sq-phone-cat {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-size: 7.5px; font-weight: 600; color: var(--sq-text-secondary);
    text-align: center;
}
.sq-phone-cat span {
    width: 28px; height: 28px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
}

.sq-phone-promo {
    background: var(--sq-gradient); border-radius: 12px;
    padding: 11px; margin-bottom: 10px;
    display: flex; flex-direction: column; gap: 3px;
}
.sq-phone-promo strong { color: white; font-size: 11px; font-weight: 700; }
.sq-phone-promo span { color: rgba(255,255,255,0.85); font-size: 9.5px; }
.sq-phone-promo span b { color: #fde047; font-size: 12px; }

.sq-phone-footer {
    display: flex; justify-content: space-between;
    border-top: 1px solid var(--sq-border); padding-top: 8px;
}
.sq-phone-footer span {
    display: flex; align-items: center; gap: 3px;
    font-size: 7.5px; font-weight: 600; color: var(--sq-text-muted);
}
.sq-phone-footer i { color: var(--sq-success); }

/* Floating badges around phone */
.sq-float-badge {
    position: absolute; z-index: 3;
    width: 38px; height: 38px; border-radius: 12px;
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--sq-shadow-lg);
    animation: floatBadge 3.5s ease-in-out infinite;
}
.sq-float-heart { top: 8%; left: 4%; color: #db2777; animation-delay: 0s; }
.sq-float-pin { top: 2%; right: 18%; color: #2563eb; animation-delay: 0.6s; }
.sq-float-shield { bottom: 6%; right: 4%; color: #2563eb; animation-delay: 1.2s; }
.sq-float-wa {
    bottom: 18%; left: 0%; width: 44px; height: 44px;
    background: var(--sq-whatsapp); color: white; border: none;
    animation-delay: 1.8s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Ticker */
.sq-hero-v2-ticker {
    border-top: 1px solid var(--sq-border);
    background: var(--sq-bg-card);
    padding: 12px 0; position: relative; z-index: 1;
}
.sq-hero-v2-ticker-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: center;
    gap: 28px; flex-wrap: wrap;
}
.sq-hero-v2-ticker-inner span {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0; white-space: nowrap;
    font-size: 12.5px; font-weight: 600; color: var(--sq-text-secondary);
}
.sq-hero-v2-ticker-inner i { color: var(--sq-success); flex-shrink: 0; }
.sq-ticker-icon {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(5, 150, 105, 0.12); color: var(--sq-success);
}

@media (max-width: 1024px) {
    .sq-hero-v2-inner { grid-template-columns: 1fr; padding: 28px 20px 32px; gap: 28px; }
    .sq-hero-v2-text { align-items: center; text-align: center; }
    .sq-hero-v2-trust-mini { max-width: 100%; }
    .sq-hero-v2-visual { order: -1; min-height: 360px; }
    .sq-phone-mockup { transform: rotate(0); }
}
@media (max-width: 640px) {
    .sq-hero-v2-text h1 { font-size: 26px; }
    .sq-hero-v2-trust-mini { grid-template-columns: 1fr 1fr; }
    .sq-hero-v2-visual { min-height: 320px; transform: scale(0.8); }
    .sq-hero-v2-ticker-inner { gap: 14px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}
@media (max-width: 420px) {
    .sq-hero-v2-trust-mini { gap: 6px; }
    .sq-trust-mini-item { padding: 7px 8px; gap: 7px; }
    .sq-trust-mini-icon { width: 28px; height: 28px; }
    .sq-trust-mini-item strong { font-size: 10.5px; }
    .sq-trust-mini-item span { font-size: 9px; }
    .sq-hero-v2-visual { transform: scale(0.75); min-height: 380px; }
}

/* Trust Bar */
.sq-trustbar {
    background: var(--sq-bg-card); border-bottom: 1px solid var(--sq-border);
    padding: 24px 20px;
}
.sq-trustbar-inner {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.sq-trust-item {
    display: flex; align-items: center; gap: 14px;
    color: var(--sq-text-secondary); position: relative;
}
.sq-trust-item:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -12px; transform: translateY(-50%);
    width: 1px; height: 34px; background: var(--sq-border-light);
}
.sq-trust-icon-wrap {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 44px; height: 44px; border-radius: 13px;
    background: rgba(29, 78, 216, 0.1); color: var(--sq-primary);
    transition: var(--sq-transition);
}
.sq-trust-item:hover .sq-trust-icon-wrap { transform: scale(1.06); }
.sq-trust-icon-wrap.is-green { background: rgba(5, 150, 105, 0.1); color: var(--sq-success); }
.sq-trust-icon-wrap.is-amber { background: rgba(217, 119, 6, 0.1); color: var(--sq-warning); }
.sq-trust-icon-wrap.is-blue { background: rgba(37, 99, 235, 0.1); color: var(--sq-info); }
.sq-trust-item i { flex-shrink: 0; }
.sq-trust-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--sq-text); }
.sq-trust-item span { font-size: 11.5px; color: var(--sq-text-muted); }

@media (max-width: 640px) {
    .sq-trust-item:not(:last-child)::after { display: none; }
}

@media (max-width: 1024px) {
    .sq-hero p { max-width: 100%; }
    .sq-hero-search-bar { max-width: 100%; }
    .sq-hero-tags { justify-content: center; }
    .sq-trustbar-inner { grid-template-columns: repeat(2, 1fr); }
    .sq-trust-item::after { display: none; }
}
@media (max-width: 480px) {
    .sq-hero h1 { font-size: 28px; }
    .sq-hero-stats { flex-direction: column; align-items: center; gap: 14px; }
    .sq-trustbar-inner { grid-template-columns: 1fr; }
    .sq-hero { padding: 28px 16px 36px; }
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.sq-categories-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
}
.sq-category-card {
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius); padding: 18px 12px;
    text-align: center; transition: var(--sq-transition); cursor: pointer;
}
.sq-category-card:hover {
    box-shadow: var(--sq-shadow-md); transform: translateY(-3px); border-color: var(--sq-primary);
}
.sq-category-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 8px;
}
.sq-category-name { font-size: 12.5px; font-weight: 700; color: var(--sq-text); margin-bottom: 1px; }
.sq-category-count { font-size: 10.5px; color: var(--sq-text-muted); }

/* ============================================================
   SECTIONS
   ============================================================ */
.sq-section { max-width: 1280px; margin: 0 auto; padding: 40px 20px; }
.sq-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sq-section-title { font-size: 20px; font-weight: 800; color: var(--sq-text); letter-spacing: -0.02em; }
.sq-section-link { font-size: 12.5px; font-weight: 600; color: var(--sq-primary); display: flex; align-items: center; gap: 4px; }
.sq-section-link:hover { gap: 7px; }
.sq-section-title-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 10px; vertical-align: middle; margin-right: 4px;
    background: var(--sq-primary-50); color: var(--sq-primary);
}
[data-theme="dark"] .sq-section-title-icon { background: rgba(29,78,216,0.15); }

/* City KPI Cards */
.sq-city-kpi-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}
.sq-city-kpi {
    display: flex; align-items: center; gap: 12px;
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius); padding: 16px;
    transition: var(--sq-transition); text-decoration: none;
}
.sq-city-kpi:hover { box-shadow: var(--sq-shadow); transform: translateY(-2px); border-color: var(--sq-primary-light); }
.sq-city-kpi.active { border-color: var(--sq-primary); background: var(--sq-primary-50); }
[data-theme="dark"] .sq-city-kpi.active { background: rgba(29,78,216,0.12); }
.sq-city-kpi-icon {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--sq-primary-50); color: var(--sq-primary);
    transition: var(--sq-transition);
}
[data-theme="dark"] .sq-city-kpi-icon { background: rgba(29,78,216,0.1); }
.sq-city-kpi.active .sq-city-kpi-icon { background: var(--sq-primary); color: white; }
.sq-city-kpi-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sq-city-kpi-name { font-size: 14.5px; font-weight: 700; color: var(--sq-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sq-city-kpi-count { font-size: 12px; font-weight: 600; color: var(--sq-text-muted); }
.sq-city-kpi.active .sq-city-kpi-name,
.sq-city-kpi.active .sq-city-kpi-count { color: var(--sq-primary); }

@media (max-width: 640px) {
    .sq-city-kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sq-city-kpi { padding: 12px; gap: 9px; }
    .sq-city-kpi-icon { width: 32px; height: 32px; }
    .sq-city-kpi-name { font-size: 13px; }
    .sq-city-kpi-count { font-size: 11px; }
}
@media (max-width: 360px) {
    .sq-city-kpi-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.sq-footer {
    background: var(--sq-bg-card); border-top: 1px solid var(--sq-border);
    padding: 48px 20px 20px; margin-top: 40px;
}
.sq-footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px;
}
.sq-footer-brand { max-width: 260px; }
.sq-footer-brand p { color: var(--sq-text-secondary); font-size: 13px; margin-top: 12px; line-height: 1.6; }
.sq-footer-title {
    font-size: 11px; font-weight: 700; color: var(--sq-text);
    margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em;
}
.sq-footer-links { list-style: none; }
.sq-footer-links li { margin-bottom: 6px; }
.sq-footer-links a { font-size: 13px; color: var(--sq-text-secondary); transition: var(--sq-transition); }
.sq-footer-links a:hover { color: var(--sq-primary); padding-left: 2px; }
.sq-footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.sq-footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    color: #fff; transition: all 0.2s;
}
.sq-footer-social a:hover {
    transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.sq-footer-bottom {
    max-width: 1280px; margin: 28px auto 0; padding-top: 20px;
    border-top: 1px solid var(--sq-border);
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px; color: var(--sq-text-muted);
}

/* ============================================================
   ALERTS & EMPTY & PAGINATION
   ============================================================ */
.sq-alert {
    padding: 10px 14px; border-radius: var(--sq-radius-sm); font-size: 13px;
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.sq-alert-success { background: var(--sq-success-light); color: #065f46; border: 1px solid #a7f3d0; }
.sq-alert-danger { background: var(--sq-danger-light); color: #991b1b; border: 1px solid #fecaca; }
.sq-alert-warning { background: var(--sq-warning-light); color: #92400e; border: 1px solid #fde68a; }
.sq-alert-info { background: var(--sq-info-light); color: #1e40af; border: 1px solid #bfdbfe; }

.sq-empty { text-align: center; padding: 48px 20px; }
.sq-empty-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--sq-bg-input); display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 12px; color: var(--sq-text-muted);
}
.sq-empty-title { font-size: 15px; font-weight: 700; color: var(--sq-text); margin-bottom: 4px; }
.sq-empty-text { font-size: 13px; color: var(--sq-text-secondary); margin-bottom: 16px; }

.sq-pagination { display: flex; align-items: center; justify-content: center; gap: 3px; margin-top: 28px; }
.sq-pagination .page-link {
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 13px; font-weight: 500;
    color: var(--sq-text-secondary); border: 1px solid var(--sq-border);
    background: var(--sq-bg-card); transition: var(--sq-transition);
}
.sq-pagination .page-link:hover { background: var(--sq-bg-hover); }
.sq-pagination .active .page-link { background: var(--sq-primary); color: white; border-color: var(--sq-primary); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.sq-product-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
@media (max-width: 860px) {
    .sq-product-layout { grid-template-columns: 1fr; gap: 24px; }
}
.sq-product-gallery { display: grid; grid-template-columns: 72px 1fr; gap: 10px; }
.sq-product-thumbs { display: flex; flex-direction: column; gap: 6px; }
.sq-product-thumb {
    width: 64px; height: 64px; border-radius: 8px; overflow: hidden;
    cursor: pointer; border: 2px solid transparent; transition: var(--sq-transition);
}
.sq-product-thumb.active, .sq-product-thumb:hover { border-color: var(--sq-primary); }
.sq-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sq-product-main-image { border-radius: var(--sq-radius); overflow: hidden; background: var(--sq-bg-input); }
.sq-product-main-image img { width: 100%; height: auto; max-height: 480px; object-fit: contain; }

.sq-product-title { font-size: 22px; font-weight: 800; color: var(--sq-text); letter-spacing: -0.02em; margin-bottom: 10px; }
.sq-product-price-wrapper { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.sq-product-price-main { font-size: 30px; font-weight: 800; color: var(--sq-primary); letter-spacing: -0.02em; }
.sq-product-price-original { font-size: 18px; color: var(--sq-text-muted); text-decoration: line-through; }

.sq-product-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.sq-product-spec {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    background: var(--sq-bg-card); border-radius: var(--sq-radius-sm); border: 1px solid var(--sq-border-light);
    box-shadow: var(--sq-shadow-xs); transition: var(--sq-transition);
}
.sq-product-spec:hover { border-color: var(--sq-primary-light); box-shadow: var(--sq-shadow-sm); transform: translateY(-1px); }
.sq-product-spec-icon-wrap {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(29, 78, 216, 0.1); color: var(--sq-primary);
}
.sq-product-spec-icon-wrap.is-amber { background: rgba(217, 119, 6, 0.1); color: var(--sq-warning); }
.sq-product-spec-icon-wrap.is-blue { background: rgba(37, 99, 235, 0.1); color: var(--sq-info); }
.sq-product-spec-icon-wrap.is-green { background: rgba(5, 150, 105, 0.1); color: var(--sq-success); }
.sq-product-spec-icon-wrap.is-slate { background: rgba(100, 116, 139, 0.12); color: var(--sq-text-secondary); }
.sq-product-spec-icon { color: inherit; flex-shrink: 0; }
.sq-product-spec-label { font-size: 10.5px; color: var(--sq-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.sq-product-spec-value { font-size: 13px; font-weight: 700; color: var(--sq-text); margin-top: 1px; }

.sq-seller-card { background: var(--sq-bg-card); border: 1px solid var(--sq-border); border-radius: var(--sq-radius); padding: 20px; box-shadow: var(--sq-shadow-xs); }
.sq-seller-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sq-seller-avatar { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 1px solid var(--sq-border); box-shadow: var(--sq-shadow-xs); }
.sq-seller-name { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; color: var(--sq-text); }
.sq-seller-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(37, 99, 235, 0.1); color: var(--sq-info);
}
.sq-seller-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 6px; text-align: center; margin: 16px 0; padding: 14px 0;
    border-top: 1px solid var(--sq-border-light); border-bottom: 1px solid var(--sq-border-light);
    position: relative;
}
.sq-seller-stats > div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sq-seller-stats > div:not(:last-child)::after {
    content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 1px; height: 28px; background: var(--sq-border-light);
}
.sq-seller-stat-value { font-size: 17px; font-weight: 800; color: var(--sq-text); letter-spacing: -0.01em; }
.sq-seller-stat-label { font-size: 10px; color: var(--sq-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.sq-lang-switcher { position: relative; display: inline-flex; }
.sq-lang-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px; font-size: 12px; font-weight: 600;
    color: var(--sq-text-secondary); background: var(--sq-bg-card);
    border: 1px solid var(--sq-border); border-radius: var(--sq-radius-full);
    cursor: pointer; transition: var(--sq-transition); font-family: inherit;
}
.sq-lang-btn:hover { border-color: var(--sq-primary); color: var(--sq-text); }

.sq-lang-dropdown {
    position: absolute; top: calc(100% + 6px); right: 0;
    min-width: 160px; background: var(--sq-bg-card);
    border: 1px solid var(--sq-border); border-radius: var(--sq-radius);
    box-shadow: var(--sq-shadow-lg); z-index: 1001;
    display: none; padding: 4px;
}
[dir="rtl"] .sq-lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .sq-topbar-right .sq-lang-dropdown { left: auto; right: 0; }
@media (max-width: 768px) {
    .sq-lang-dropdown { right: 0; left: auto; min-width: 140px; }
    [dir="rtl"] .sq-lang-dropdown { right: 0; left: auto; }
}
.sq-lang-dropdown.open { display: block; animation: fadeIn 0.15s ease; }

.sq-topbar-right a.sq-lang-option {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; font-size: 13px; font-weight: 600;
    color: var(--sq-text); cursor: pointer;
    transition: var(--sq-transition); text-decoration: none; border-radius: 8px;
}
.sq-topbar-right a.sq-lang-option:hover { background: var(--sq-bg-hover); color: var(--sq-text); }
.sq-topbar-right a.sq-lang-option.active { color: var(--sq-primary); font-weight: 600; background: var(--sq-primary-50); }
[data-theme="dark"] .sq-lang-option.active { background: rgba(29,78,216,0.1); }

.sq-lang-flag {
    width: 20px; height: 14px; border-radius: 2px; object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.25); flex-shrink: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in-up { animation: fadeInUp 0.4s ease forwards; }
.animate-fade-in { animation: fadeIn 0.3s ease forwards; }
.delay-1 { animation-delay: 0.03s; } .delay-2 { animation-delay: 0.06s; }
.delay-3 { animation-delay: 0.09s; } .delay-4 { animation-delay: 0.12s; }
.delay-5 { animation-delay: 0.15s; } .delay-6 { animation-delay: 0.18s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .sq-sidebar { transform: translateX(-100%); }
    .sq-sidebar.open { transform: translateX(0); box-shadow: var(--sq-shadow-xl); }
    .sq-main { margin-left: 0; }
    .sq-menu-toggle { display: flex; }
    .sq-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; }
    .sq-sidebar-overlay.open { display: block; }
    .sq-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
    .sq-hero h1 { font-size: 30px; }
    .sq-hero p { font-size: 14px; }
    .sq-hero { padding: 48px 16px 56px; }
    .sq-hero-search { flex-direction: column; }
    .sq-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sq-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .sq-page-header { flex-direction: column; align-items: flex-start; }
    .sq-content { padding: 14px; }
    .sq-section { padding: 28px 14px; }
    .sq-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .sq-footer-brand { grid-column: 1 / -1; max-width: 100%; text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--sq-border-light); }
    .sq-footer-brand > div:first-child { justify-content: center; }
    .sq-footer-social { grid-column: 1 / -1; justify-content: center; margin-top: 6px; flex-wrap: nowrap; }
    .sq-footer-title { text-align: center; }
    .sq-footer-links { text-align: center; }
    .sq-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .sq-categories-grid { grid-template-columns: repeat(3, 1fr); }
    .sq-navbar-search { display: none; }
    .sq-page-title { font-size: 18px; }
    .sq-product-specs { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .sq-product-card-body { padding: 10px 10px 12px; }
    .sq-product-card-price-current { font-size: 14px; }
    .sq-kpi-grid { grid-template-columns: 1fr; }
    .sq-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .sq-auth-card { padding: 24px; }
}

/* ============================================================
   RTL
   ============================================================ */
[dir="rtl"] { direction: rtl; }
[dir="rtl"] .sq-sidebar { left: auto; right: 0; border-right: none; border-left: 1px solid var(--sq-border); }
[dir="rtl"] .sq-main { margin-left: 0; margin-right: var(--sq-sidebar-width); }
[dir="rtl"] .sq-header { flex-direction: row-reverse; }
[dir="rtl"] .sq-header-left { flex-direction: row-reverse; }
[dir="rtl"] .sq-header-right { flex-direction: row-reverse; }
[dir="rtl"] .sq-header-btn .badge-dot { right: auto; left: 6px; }
[dir="rtl"] .sq-nav-badge { margin-left: 0; margin-right: auto; }
[dir="rtl"] .sq-navbar-search i { left: auto; right: 12px; }
[dir="rtl"] .sq-navbar-search input { padding: 8px 38px 8px 14px; }
[dir="rtl"] .sq-phone-notch { transform: translateX(50%); }
[dir="rtl"] .sq-float-heart { left: auto; right: 4%; }
[dir="rtl"] .sq-float-pin { right: auto; left: 18%; }
[dir="rtl"] .sq-float-shield { right: auto; left: 4%; }
[dir="rtl"] .sq-float-wa { left: auto; right: 0%; }
[dir="rtl"] .sq-phone-mockup { transform: rotate(2deg); }
[dir="rtl"] .sq-phone-mockup:hover { transform: rotate(0deg); }

@media (max-width: 1024px) {
    [dir="rtl"] .sq-sidebar { transform: translateX(100%); }
    [dir="rtl"] .sq-sidebar.open { transform: translateX(0); }
    [dir="rtl"] .sq-main { margin-right: 0; }
}

.text-primary { color: var(--sq-primary) !important; }
.text-success { color: var(--sq-success) !important; }
.text-danger { color: var(--sq-danger) !important; }
.text-muted { color: var(--sq-text-muted) !important; }


/* ============================================================
   HOME — ENTERPRISE SECTIONS
   ============================================================ */

/* Hero Search Box */
.sq-hero-searchbox {
    width: 100%;
    max-width: 600px;
    margin: 20px 0 24px;
}
.sq-hero-searchbox-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(29,78,216,.14), 0 1px 4px rgba(0,0,0,.06);
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s;
}
.sq-hero-searchbox-form:focus-within {
    border-color: var(--sq-primary-light);
    box-shadow: 0 4px 32px rgba(29,78,216,.2);
}
[data-theme="dark"] .sq-hero-searchbox-form {
    background: var(--sq-card);
    border-color: var(--sq-border);
}
.sq-hero-searchbox-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    color: var(--sq-text-muted);
    flex-shrink: 0;
    border-right: 1.5px solid #e2e8f0;
    height: 54px;
}
[data-theme="dark"] .sq-hero-searchbox-cat { border-right-color: var(--sq-border); }
.sq-hero-searchbox-cat select {
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--sq-text);
    cursor: pointer;
    outline: none;
    max-width: 130px;
    font-family: inherit;
}
.sq-hero-searchbox-caret { pointer-events: none; flex-shrink: 0; }
.sq-hero-searchbox-sep { width: 1px; height: 28px; background: #e2e8f0; flex-shrink: 0; display: none; }
.sq-hero-searchbox-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--sq-text);
    outline: none;
    min-width: 0;
    height: 54px;
}
.sq-hero-searchbox-input::placeholder { color: var(--sq-text-muted); }
.sq-hero-searchbox-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--sq-gradient);
    color: #fff;
    border: none;
    padding: 0 22px;
    height: 54px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity .2s;
    white-space: nowrap;
}
.sq-hero-searchbox-btn:hover { opacity: .9; }
.sq-hero-popular {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 12.5px;
}
.sq-hero-popular > span { color: var(--sq-text-muted); font-weight: 500; }
.sq-hero-popular a {
    background: rgba(29,78,216,.07);
    color: var(--sq-primary);
    border-radius: 99px;
    padding: 4px 12px;
    font-weight: 600;
    font-size: 12px;
    transition: background .15s;
}
.sq-hero-popular a:hover { background: rgba(29,78,216,.14); }

/* Stats Counter */
.sq-stats-counter {
    background: var(--sq-gradient);
    padding: 28px 20px;
}
.sq-stats-counter-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.sq-stat-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 40px;
    flex: 1;
    min-width: 150px;
}
.sq-stat-counter-item i { color: rgba(255,255,255,.7); margin-bottom: 2px; }
.sq-stat-counter-item strong { font-size: 30px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.sq-stat-counter-item span { font-size: 12.5px; color: rgba(255,255,255,.75); font-weight: 500; }
.sq-stat-counter-divider { width: 1px; height: 50px; background: rgba(255,255,255,.2); flex-shrink: 0; }

/* Section subtitle */
.sq-section-subtitle { font-size: 13px; color: var(--sq-text-muted); margin-top: 2px; }

/* Categories V2 */
.sq-cat-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}
.sq-cat-card-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 12px 18px;
    background: var(--sq-card);
    border: 1.5px solid var(--sq-border);
    border-radius: var(--sq-radius);
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    cursor: pointer;
}
.sq-cat-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(29,78,216,.12);
    border-color: var(--sq-primary-light);
}
.sq-cat-card-v2-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    transition: transform .2s;
}
.sq-cat-card-v2:hover .sq-cat-card-v2-icon { transform: scale(1.1) rotate(-4deg); }
.sq-cat-card-v2-name { font-size: 13px; font-weight: 700; color: var(--sq-text); line-height: 1.3; }
.sq-cat-card-v2-count { font-size: 11.5px; color: var(--sq-text-muted); font-weight: 500; }

/* How it works */
.sq-how-it-works {
    background: linear-gradient(180deg, var(--sq-bg) 0%, var(--sq-primary-50) 100%);
    border-top: 1px solid var(--sq-border);
    border-bottom: 1px solid var(--sq-border);
}
[data-theme="dark"] .sq-how-it-works { background: linear-gradient(180deg, var(--sq-bg) 0%, rgba(29,78,216,.05) 100%); }
.sq-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sq-step-card {
    background: var(--sq-card);
    border: 1.5px solid var(--sq-border);
    border-radius: var(--sq-radius);
    padding: 32px 24px 28px;
    position: relative;
    transition: box-shadow .2s, transform .2s;
}
.sq-step-card:hover { box-shadow: var(--sq-shadow-lg); transform: translateY(-3px); }
.sq-step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    font-weight: 900;
    color: var(--sq-primary-100);
    line-height: 1;
    letter-spacing: -0.04em;
    pointer-events: none;
}
[data-theme="dark"] .sq-step-number { color: rgba(29,78,216,.12); }
.sq-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.sq-step-card h3 { font-size: 16px; font-weight: 800; color: var(--sq-text); margin-bottom: 8px; }
.sq-step-card p { font-size: 13.5px; color: var(--sq-text-muted); line-height: 1.6; }
.sq-step-arrow {
    position: absolute;
    right: -36px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sq-primary-light);
    opacity: .5;
    z-index: 1;
}
[dir="rtl"] .sq-step-arrow { right: auto; left: -36px; transform: translateY(-50%) scaleX(-1); }

/* CTA Banner */
.sq-cta-banner {
    position: relative;
    border-radius: var(--sq-radius);
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #f97316 100%);
    padding: 52px 48px;
}
.sq-cta-banner-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.sq-cta-banner-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.sq-cta-banner-left { flex: 1; min-width: 280px; }
.sq-cta-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}
.sq-cta-banner-left h2 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.sq-cta-banner-left p {
    font-size: 14.5px;
    color: rgba(255,255,255,.8);
    margin-bottom: 24px;
    line-height: 1.6;
}
.sq-cta-banner-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sq-cta-banner-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--sq-primary);
    border-radius: 10px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.sq-cta-banner-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.sq-cta-banner-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.4);
    padding-bottom: 1px;
    transition: color .15s;
}
.sq-cta-banner-btn-ghost:hover { color: #fff; border-bottom-color: #fff; }
.sq-cta-banner-right { flex-shrink: 0; }
.sq-cta-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.sq-cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    padding: 16px 24px;
    min-width: 90px;
}
.sq-cta-stat strong { font-size: 26px; font-weight: 900; color: #fff; letter-spacing: -0.03em; }
.sq-cta-stat span { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 500; }

/* Empty State */
.sq-empty-state { text-align: center; padding: 48px 20px; }
.sq-empty-state-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--sq-primary-50); display: flex; align-items: center; justify-content: center; color: var(--sq-primary); margin: 0 auto 16px; }
.sq-empty-state-title { font-size: 16px; font-weight: 700; color: var(--sq-text); margin-bottom: 6px; }
.sq-empty-state-text { font-size: 13px; color: var(--sq-text-muted); margin-bottom: 20px; }

/* Responsive */
@media (max-width: 768px) {
    .sq-hero-searchbox { max-width: 100%; margin: 16px 0 20px; }
    .sq-hero-searchbox-cat { display: none; }
    .sq-hero-searchbox-btn span { display: none; }
    .sq-hero-searchbox-btn { padding: 0 18px; }
    .sq-stats-counter-inner { gap: 0; }
    .sq-stat-counter-item { padding: 8px 16px; min-width: 120px; }
    .sq-stat-counter-item strong { font-size: 22px; }
    .sq-stat-counter-divider { height: 36px; }
    .sq-cat-grid-v2 { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
    .sq-cat-card-v2 { padding: 16px 10px 14px; }
    .sq-cat-card-v2-icon { width: 50px; height: 50px; font-size: 22px; }
    .sq-steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .sq-step-arrow { display: none; }
    .sq-cta-banner { padding: 32px 24px; }
    .sq-cta-banner-left h2 { font-size: 20px; }
    .sq-cta-banner-right { display: none; }
}
@media (max-width: 480px) {
    .sq-stat-counter-item { min-width: 80px; padding: 6px 10px; }
    .sq-stat-counter-item strong { font-size: 18px; }
    .sq-stat-counter-divider { display: none; }
    .sq-stats-counter-inner { grid-template-columns: repeat(2,1fr); display: grid; gap: 1px; background: rgba(255,255,255,.1); }
    .sq-stat-counter-item { background: transparent; }
    .sq-hero-popular { display: none; }
}

/* ============================================================
   NAVBAR MAIN (E-COMMERCE STYLE)
   ============================================================ */
.sq-navbar-main {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
[data-theme="dark"] .sq-navbar-main { background: var(--sq-card); border-color: var(--sq-border); }
.sq-navbar-main-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 76px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.sq-navbar-brand { flex-shrink: 0; }

/* Navbar Search Bar */
.sq-navbar-search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    height: 48px;
    max-width: 680px;
    transition: border-color .2s, box-shadow .2s;
}
[data-theme="dark"] .sq-navbar-search-bar { background: var(--sq-bg); border-color: var(--sq-border); }
.sq-navbar-search-bar:focus-within {
    border-color: var(--sq-primary);
    box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}
.sq-navbar-search-cat {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    border-right: 1.5px solid #e2e8f0;
    height: 100%;
    flex-shrink: 0;
    color: var(--sq-text-muted);
}
[data-theme="dark"] .sq-navbar-search-cat { border-right-color: var(--sq-border); }
.sq-navbar-search-cat select {
    border: none;
    background: transparent;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sq-text);
    cursor: pointer;
    outline: none;
    max-width: 120px;
    font-family: inherit;
}
.sq-navbar-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 14px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--sq-text);
    outline: none;
    min-width: 0;
}
.sq-navbar-search-input::placeholder { color: var(--sq-text-muted); }
.sq-navbar-search-btn {
    background: var(--sq-secondary);
    color: #fff;
    border: none;
    width: 52px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
}
.sq-navbar-search-btn:hover { background: var(--sq-secondary-dark); }

/* Navbar Right */
.sq-navbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.sq-nav-right-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--sq-text);
    transition: background .15s;
    text-decoration: none;
}
.sq-nav-right-item:hover { background: var(--sq-bg-hover); }
.sq-nav-right-item i { color: var(--sq-text-muted); flex-shrink: 0; }
.sq-nav-right-item-text { display: flex; flex-direction: column; }
.sq-nav-right-item-text small { font-size: 10.5px; color: var(--sq-text-muted); line-height: 1; }
.sq-nav-right-item-text strong { font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.sq-nav-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.sq-nav-deposit-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--sq-secondary);
    color: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .15s, transform .15s;
    text-decoration: none;
    margin-left: 4px;
}
.sq-nav-deposit-btn:hover { background: var(--sq-secondary-dark); transform: translateY(-1px); }
.sq-navbar-mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--sq-text);
    border-radius: 8px;
}
.sq-navbar-mobile-toggle:hover { background: var(--sq-bg-hover); }

/* Category Nav Bar */
.sq-cat-nav {
    background: var(--sq-primary-dark);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
[data-theme="dark"] .sq-cat-nav { background: #0f172a; }
.sq-cat-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 0;
}
.sq-cat-nav-all {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: none;
    padding: 0 16px;
    height: 100%;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.sq-cat-nav-all:hover { background: rgba(255,255,255,.2); }
.sq-cat-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}
.sq-cat-nav-links::-webkit-scrollbar { display: none; }
.sq-cat-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,.85);
    font-size: 12.5px;
    font-weight: 600;
    padding: 0 14px;
    height: 44px;
    white-space: nowrap;
    transition: color .15s, background .15s;
    border-radius: 4px;
    text-decoration: none;
}
.sq-cat-nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.sq-cat-nav-link-flash { color: #fbbf24 !important; }
.sq-cat-nav-link-flash:hover { color: #fde68a !important; }
.sq-cat-nav-link-promo { color: #f87171 !important; }
.sq-cat-nav-link-promo:hover { color: #fca5a5 !important; }

/* Mobile Menu */
.sq-mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--sq-card);
    z-index: 1000;
    transition: left .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,.15);
}
[dir="rtl"] .sq-mobile-menu { left: auto; right: -320px; transition: right .3s cubic-bezier(.4,0,.2,1); }
.sq-mobile-menu.open { left: 0; }
[dir="rtl"] .sq-mobile-menu.open { right: 0; left: auto; }
.sq-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 999;
    backdrop-filter: blur(2px);
}
.sq-mobile-menu.open ~ .sq-mobile-overlay,
.sq-mobile-menu.open + * + .sq-mobile-overlay { display: block; }
.sq-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--sq-border);
}
.sq-mobile-menu-header button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sq-text);
    padding: 4px;
}
.sq-mobile-menu-body { padding: 12px 0; }
.sq-mobile-search {
    display: flex;
    margin: 0 16px 12px;
    border: 1.5px solid var(--sq-border);
    border-radius: 8px;
    overflow: hidden;
}
.sq-mobile-search input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    background: transparent;
    font-size: 13px;
    color: var(--sq-text);
    font-family: inherit;
    outline: none;
}
.sq-mobile-search button {
    background: var(--sq-primary);
    color: #fff;
    border: none;
    padding: 0 14px;
    cursor: pointer;
}
.sq-mobile-menu-section { padding: 8px 0; border-bottom: 1px solid var(--sq-border); }
.sq-mobile-menu-title { font-size: 11px; font-weight: 700; color: var(--sq-text-muted); text-transform: uppercase; letter-spacing: .08em; padding: 6px 16px 4px; }
.sq-mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: var(--sq-text);
    font-size: 13.5px;
    font-weight: 500;
    transition: background .15s;
    text-decoration: none;
}
.sq-mobile-menu-link:hover { background: var(--sq-bg-hover); }
.sq-mobile-deposit { color: var(--sq-secondary) !important; font-weight: 700; }
.sq-mobile-lang-list {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    flex-wrap: wrap;
}
.sq-mobile-lang-list a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1.5px solid var(--sq-border);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sq-text);
    text-decoration: none;
}
.sq-mobile-lang-list a.active { border-color: var(--sq-primary); color: var(--sq-primary); background: var(--sq-primary-50); }

/* ============================================================
   HERO BANNER
   ============================================================ */
.sq-hero-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #2563eb 100%);
    position: relative;
    overflow: hidden;
    min-height: 340px;
}
.sq-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.sq-hero-banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 32px;
    position: relative;
}
.sq-hero-banner-text { max-width: 460px; }
.sq-hero-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249,115,22,.25);
    color: #fdba74;
    border: 1px solid rgba(249,115,22,.4);
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}
.sq-hero-banner-text h1 {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.sq-hero-banner-highlight { color: #fbbf24; }
.sq-hero-banner-text p {
    font-size: 15px;
    color: rgba(255,255,255,.8);
    margin-bottom: 24px;
    line-height: 1.6;
}
.sq-hero-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sq-hero-banner-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sq-secondary);
    color: #fff;
    border-radius: 8px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .15s, box-shadow .15s, background .15s;
    box-shadow: 0 4px 14px rgba(249,115,22,.4);
    text-decoration: none;
}
.sq-hero-banner-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249,115,22,.5); background: var(--sq-secondary-dark); }
.sq-hero-banner-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    color: #fff;
    border-radius: 8px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid rgba(255,255,255,.25);
    transition: background .15s;
    text-decoration: none;
    backdrop-filter: blur(4px);
}
.sq-hero-banner-btn-secondary:hover { background: rgba(255,255,255,.2); }

/* Hero visual */
.sq-hero-banner-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 280px;
}
.sq-hero-banner-illustration {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sq-hero-ill-circle {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
}
.sq-hero-ill-c1 { width: 240px; height: 240px; background: #fff; }
.sq-hero-ill-c2 { width: 180px; height: 180px; background: #fff; opacity: .08; }
.sq-hero-ill-center {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sq-hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.95);
    color: #1e293b;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    white-space: nowrap;
    z-index: 2;
}
.sq-hero-float-1 { top: 20px; left: -20px; animation: sq-float 3s ease-in-out infinite; }
.sq-hero-float-2 { bottom: 30px; left: -30px; animation: sq-float 3s ease-in-out infinite .8s; }
.sq-hero-float-3 { top: 50%; right: -20px; transform: translateY(-50%); animation: sq-float 3s ease-in-out infinite 1.6s; }
@keyframes sq-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.sq-hero-float-3 { animation: sq-float3 3s ease-in-out infinite 1.6s; }
@keyframes sq-float3 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 6px)); }
}

/* Hero Trust Sidebar */
.sq-hero-banner-trust {
    background: rgba(255,255,255,.97);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 200px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
[data-theme="dark"] .sq-hero-banner-trust { background: var(--sq-card); }
.sq-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
[data-theme="dark"] .sq-hero-trust-item { border-bottom-color: var(--sq-border); }
.sq-hero-trust-item:last-child { padding-bottom: 0; border-bottom: none; }
.sq-hero-trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--sq-primary-50);
    color: var(--sq-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sq-hero-trust-item strong { display: block; font-size: 12px; font-weight: 700; color: var(--sq-text); }
.sq-hero-trust-item span { display: block; font-size: 11px; color: var(--sq-text-muted); }

/* ============================================================
   PROMO CARDS GRID
   ============================================================ */
.sq-promo-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 16px;
}
.sq-promo-card {
    border-radius: var(--sq-radius);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}
.sq-promo-flash {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
}
.sq-promo-flash-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--sq-secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    letter-spacing: .05em;
}
.sq-promo-flash p { font-size: 12.5px; color: rgba(255,255,255,.75); margin: 0 0 6px; }
.sq-promo-flash-discount { font-size: 18px; font-weight: 900; color: #fff; }
.sq-promo-flash-discount span { color: #fbbf24; font-size: 22px; }
.sq-promo-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}
.sq-promo-countdown > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,.12);
    border-radius: 6px;
    padding: 6px 10px;
    min-width: 42px;
}
.sq-promo-countdown span { font-size: 20px; font-weight: 900; color: #fff; line-height: 1; }
.sq-promo-countdown small { font-size: 9px; color: rgba(255,255,255,.6); text-transform: uppercase; margin-top: 2px; }
.sq-promo-cd-sep { font-size: 20px; font-weight: 900; color: rgba(255,255,255,.5); align-self: flex-start; margin-top: 6px; }
.sq-promo-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--sq-primary-dark);
    border-radius: 7px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .15s;
    text-decoration: none;
    align-self: flex-start;
}
.sq-promo-btn-white:hover { transform: translateY(-1px); }
.sq-promo-new { background: #fff7ed; border: 1.5px solid #fed7aa; }
[data-theme="dark"] .sq-promo-new { background: rgba(249,115,22,.08); border-color: rgba(249,115,22,.2); }
.sq-promo-top { background: #eff6ff; border: 1.5px solid #bfdbfe; }
[data-theme="dark"] .sq-promo-top { background: rgba(29,78,216,.08); border-color: rgba(29,78,216,.2); }
.sq-promo-seller { background: #f0fdf4; border: 1.5px solid #bbf7d0; }
[data-theme="dark"] .sq-promo-seller { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.2); }
.sq-promo-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sq-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.sq-promo-new .sq-promo-card-icon { color: #f97316; }
.sq-promo-top .sq-promo-card-icon { color: #1d4ed8; }
.sq-promo-seller .sq-promo-card-icon { color: #10b981; }
.sq-promo-card h3 { font-size: 15px; font-weight: 800; color: var(--sq-text); margin: 0; }
.sq-promo-card p { font-size: 12.5px; color: var(--sq-text-muted); margin: 0; line-height: 1.5; flex: 1; }
.sq-promo-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    color: var(--sq-text);
    border: 1.5px solid var(--sq-border);
    border-radius: 7px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 700;
    transition: border-color .15s, color .15s;
    text-decoration: none;
    align-self: flex-start;
}
[data-theme="dark"] .sq-promo-btn-outline { background: var(--sq-bg); }
.sq-promo-btn-outline:hover { border-color: var(--sq-primary); color: var(--sq-primary); }

/* ============================================================
   TRUST BOTTOM BAR
   ============================================================ */
.sq-trust-bottom {
    background: var(--sq-card);
    border-top: 1px solid var(--sq-border);
    border-bottom: 1px solid var(--sq-border);
    padding: 20px;
}
.sq-trust-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.sq-trust-bottom-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}
.sq-trust-bottom-item i { color: var(--sq-primary); flex-shrink: 0; }
.sq-trust-bottom-item strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--sq-text); }
.sq-trust-bottom-item span { display: block; font-size: 11.5px; color: var(--sq-text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .sq-hero-banner-visual { display: none; }
    .sq-hero-banner-inner { grid-template-columns: 1fr auto; }
    .sq-hero-banner-trust { width: 180px; }
    .sq-promo-grid { grid-template-columns: 1fr 1fr; }
    .sq-trust-bottom-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .sq-navbar-main-inner { height: 64px; gap: 12px; }
    .sq-navbar-search-cat { display: none; }
    .sq-navbar-right .sq-nav-right-item { display: none; }
    .sq-navbar-mobile-toggle { display: flex; }
    .sq-nav-deposit-btn span { display: none; }
    .sq-nav-deposit-btn { padding: 10px 12px; border-radius: 50%; }
    .sq-cat-nav-all span { font-size: 12px; }
    .sq-cat-nav-links { gap: 0; }
    .sq-hero-banner-inner { grid-template-columns: 1fr; gap: 20px; }
    .sq-hero-banner-trust { display: none; }
    .sq-hero-banner-text h1 { font-size: 24px; }
    .sq-promo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sq-trust-bottom-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .sq-navbar-main-inner { padding: 0 12px; }
    .sq-hero-banner { padding: 0; }
    .sq-hero-banner-text h1 { font-size: 20px; }
    .sq-promo-grid { grid-template-columns: 1fr; }
    .sq-trust-bottom-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sq-cat-nav-inner { padding: 0 10px; }
}

/* ============================================================
   POPULAR CITIES — REDESIGN
   ============================================================ */
.sq-city-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.sq-city-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px 16px;
    background: var(--sq-card);
    border: 1.5px solid var(--sq-border);
    border-radius: var(--sq-radius);
    text-align: center;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative;
    overflow: hidden;
}
.sq-city-kpi::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--sq-gradient);
    opacity: 0;
    transition: opacity .2s;
}
.sq-city-kpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(29,78,216,.12);
    border-color: var(--sq-primary-light);
}
.sq-city-kpi:hover::before { opacity: 1; }
.sq-city-kpi.active {
    border-color: var(--sq-primary);
    background: var(--sq-primary-50);
}
.sq-city-kpi.active::before { opacity: 1; }
[data-theme="dark"] .sq-city-kpi.active { background: rgba(29,78,216,.12); }
.sq-city-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sq-primary-50);
    color: var(--sq-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}
[data-theme="dark"] .sq-city-kpi-icon { background: rgba(29,78,216,.1); }
.sq-city-kpi:hover .sq-city-kpi-icon {
    background: var(--sq-primary);
    color: #fff;
    transform: scale(1.1);
}
.sq-city-kpi.active .sq-city-kpi-icon { background: var(--sq-primary); color: white; }
.sq-city-kpi-body { display: flex; flex-direction: column; gap: 3px; }
.sq-city-kpi-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sq-text);
    line-height: 1.2;
}
.sq-city-kpi-count {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--sq-text-muted);
}
.sq-city-kpi.active .sq-city-kpi-name,
.sq-city-kpi.active .sq-city-kpi-count { color: var(--sq-primary); }

@media (max-width: 1024px) {
    .sq-city-kpi-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
    .sq-city-kpi-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .sq-city-kpi { padding: 14px 8px 12px; }
    .sq-city-kpi-icon { width: 36px; height: 36px; }
    .sq-city-kpi-name { font-size: 12px; }
}
@media (max-width: 380px) {
    .sq-city-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   HERO CATEGORY SHOWCASE
   ============================================================ */
.sq-hero-cats-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 280px;
}
.sq-hero-cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 16px 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, background .2s, box-shadow .2s;
    animation: sq-chip-in .5s ease both;
}
.sq-hero-cat-chip:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    border-color: rgba(255,255,255,.35);
}
@keyframes sq-chip-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sq-hero-cat-chip-icon { font-size: 28px; line-height: 1; }
.sq-hero-cat-chip-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .sq-hero-cats-showcase { width: 240px; gap: 8px; }
    .sq-hero-cat-chip { padding: 12px 8px; }
    .sq-hero-cat-chip-icon { font-size: 24px; }
}
@media (max-width: 768px) {
    .sq-hero-banner-visual { display: none; }
}

/* Hero banner image slot */
.sq-hero-banner-inner {
    grid-template-columns: 1fr auto !important;
}
.sq-hero-banner-img {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 400px;
    max-width: 560px;
}
.sq-hero-banner-img img {
    max-height: 300px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,.3));
}
@media (max-width: 900px) {
    .sq-hero-banner-img { display: none; }
    .sq-hero-banner-inner { grid-template-columns: 1fr !important; }
}

/* ============================================================
   V3 TOPBAR
   ============================================================ */
.sq-topbar {
    background: #0f172a;
    color: rgba(255,255,255,0.75);
    font-size: 11.5px;
    font-weight: 500;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sq-topbar-inner {
    max-width: 1380px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.sq-topbar-left, .sq-topbar-right { display: flex; align-items: center; gap: 18px; }
.sq-topbar-left span, .sq-topbar-left a {
    display: flex; align-items: center; gap: 5px;
    color: rgba(255,255,255,0.7);
}
.sq-topbar-right a {
    color: rgba(255,255,255,0.75);
    display: flex; align-items: center; gap: 5px;
    transition: color 0.2s;
}
.sq-topbar-right a:hover { color: #fff; }
.sq-topbar-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.15); }
.sq-topbar-lang {
    display: flex; align-items: center; gap: 5px;
    background: none; border: none; color: rgba(255,255,255,0.75);
    font-size: 11.5px; font-weight: 500; cursor: pointer; padding: 0;
}
.sq-topbar-lang:hover { color: #fff; }
.sq-lang-flag { width: 16px; height: 11px; object-fit: cover; border-radius: 2px; }
.sq-lang-switcher { position: relative; }
.sq-lang-dropdown {
    position: absolute; right: 0; top: calc(100% + 10px);
    background: #fff; border: 1px solid #e5e7eb;
    border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    min-width: 150px; display: none; z-index: 9999; overflow: hidden;
}
.sq-lang-dropdown.open { display: block; }
.sq-lang-option {
    display: flex; align-items: center; gap: 9px;
    padding: 10px 14px; font-size: 13px; font-weight: 500;
    color: #4b5563; transition: background 0.15s;
}
.sq-lang-option:hover { background: #f3f4f6; color: #111827; }
.sq-lang-option.active { color: #1d4ed8; font-weight: 600; }
@media (max-width: 768px) { .sq-topbar { display: none; } }

/* ============================================================
   V3 NAVBAR
   ============================================================ */
.sq-navbar-v3 {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky; top: 0; z-index: 500;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
[data-theme="dark"] .sq-navbar-v3 { background: #0f0f10; border-color: #262629; }
.sq-navbar-v3-inner {
    max-width: 1380px; margin: 0 auto; padding: 0 20px;
    height: 60px; display: flex; align-items: center; gap: 16px;
}
.sq-navbar-brand { display: flex; align-items: center; flex-shrink: 0; height: 100%; overflow: hidden; }
.sq-navbar-brand img { height: 34px; width: auto; max-width: 150px; object-fit: contain; border-radius: 4px; display: block; }
[data-theme="dark"] .sq-navbar-brand img { background: #fff; padding: 3px 6px; border-radius: 6px; }
@media (max-width: 1024px) { .sq-navbar-brand img { height: 32px; max-width: 140px; } }
@media (max-width: 768px) {
    .sq-navbar-v3-inner { height: 60px; }
    .sq-navbar-brand img { height: 30px; max-width: 130px; }
    .sq-cat-dropdown { top: 60px; }
}
.sq-navbar-v3-cat-btn {
    display: flex; align-items: center; gap: 7px;
    background: #1e3a8a; color: #fff;
    border: none; border-radius: 8px; padding: 9px 16px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    white-space: nowrap; transition: background 0.2s; flex-shrink: 0;
}
.sq-navbar-v3-cat-btn:hover { background: #1d4ed8; }
.sq-navbar-v3-search {
    flex: 1; display: flex; align-items: center;
    background: #f9fafb; border: 1.5px solid #e5e7eb;
    border-radius: 10px; overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s; max-width: 680px;
}
.sq-navbar-v3-search:focus-within {
    border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
.sq-navbar-v3-search input[type="text"] {
    flex: 1; border: none; background: transparent;
    padding: 11px 14px; font-size: 14px; color: #111827; outline: none;
}
.sq-navbar-v3-search input::placeholder { color: #9ca3af; }
.sq-navbar-v3-search-sep { width: 1px; height: 22px; background: #e5e7eb; flex-shrink: 0; }
.sq-navbar-v3-search-cat {
    display: flex; align-items: center; gap: 5px;
    padding: 0 12px; color: #4b5563; font-size: 12.5px;
    font-weight: 500; flex-shrink: 0;
}
.sq-navbar-v3-search-cat select {
    border: none; background: transparent; outline: none;
    font-size: 12.5px; color: #4b5563; cursor: pointer; max-width: 120px;
}
.sq-navbar-v3-search-btn {
    background: #f97316; color: #fff; border: none;
    padding: 0 18px; height: 100%; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0; transition: background 0.2s;
}
.sq-navbar-v3-search-btn:hover { background: #ea580c; }
.sq-navbar-v3-actions {
    display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0;
}
.sq-navbar-v3-action {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 12px; border-radius: 8px;
    color: #4b5563; font-size: 11px; font-weight: 500; transition: all 0.2s;
}
.sq-navbar-v3-action:hover { background: #f3f4f6; color: #111827; }
.sq-navbar-v3-publish {
    display: flex; align-items: center; gap: 8px;
    background: #f97316; color: #fff !important;
    padding: 9px 18px; border-radius: 8px;
    font-size: 13px; font-weight: 700;
    transition: background 0.2s, transform 0.15s; white-space: nowrap;
}
.sq-navbar-v3-publish:hover { background: #ea580c; transform: translateY(-1px); }
.sq-navbar-v3-mobile-toggle {
    display: none; background: none; border: 1px solid #e5e7eb;
    border-radius: 8px; width: 40px; height: 40px;
    align-items: center; justify-content: center;
    cursor: pointer; color: #374151;
}
@media (max-width: 1024px) { .sq-navbar-v3-cat-btn { display: none; } }
@media (max-width: 768px) {
    .sq-navbar-v3-search { display: none; }
    .sq-navbar-v3-action { display: none; }
    .sq-navbar-v3-publish { display: none; }
    .sq-navbar-v3-mobile-toggle { display: flex; }
}

/* ============================================================
   CATEGORY DROPDOWN
   ============================================================ */
.sq-cat-dropdown {
    position: fixed; top: 60px; left: 0; right: 0; z-index: 400;
    background: #fff; border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1); display: none;
}
.sq-cat-dropdown.open { display: block; }
[data-theme="dark"] .sq-cat-dropdown { background: #141416; }
.sq-cat-dropdown-inner {
    max-width: 1380px; margin: 0 auto; padding: 24px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.sq-cat-dropdown-col { display: flex; flex-direction: column; gap: 4px; }
.sq-cat-dropdown-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: #111827;
    padding: 6px 0; border-bottom: 1px solid #e5e7eb; margin-bottom: 4px;
}
.sq-cat-dropdown-link {
    font-size: 12.5px; color: #6b7280; padding: 3px 0;
    display: block; transition: color 0.15s;
}
.sq-cat-dropdown-link:hover { color: #1d4ed8; }

/* ============================================================
   MOBILE MENU — redesigned
   ============================================================ */
.sq-mobile-menu {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: #fff; z-index: 9999;
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex; flex-direction: column; overflow: hidden;
}
[data-theme="dark"] .sq-mobile-menu { background: #141416; }
.sq-mobile-menu.open { right: 0; }
.sq-mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 9998; display: none; backdrop-filter: blur(2px);
}
.sq-mobile-menu.open ~ .sq-mobile-overlay { display: block; }

/* Header */
.sq-mob-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid #f3f4f6; flex-shrink: 0;
}
.sq-mob-close {
    width: 32px; height: 32px; border-radius: 8px; background: #f3f4f6;
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #6b7280; transition: background .15s;
}
.sq-mob-close:hover { background: #e5e7eb; color: #111827; }

/* User block */
.sq-mob-user {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; background: #f9fafb; border-bottom: 1px solid #f3f4f6; flex-shrink: 0;
}
.sq-mob-user-avatar {
    width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
    border: 2px solid #e5e7eb;
}
.sq-mob-user-name { font-size: 14px; font-weight: 700; color: #111827; }
.sq-mob-user-role { font-size: 11px; color: #9ca3af; text-transform: capitalize; }

/* Search */
.sq-mob-search-wrap { padding: 14px 16px; border-bottom: 1px solid #f3f4f6; flex-shrink: 0; }
.sq-mob-search {
    display: flex; align-items: center; gap: 10px;
    background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 10px;
    padding: 0 4px 0 12px; overflow: hidden;
}
.sq-mob-search input {
    flex: 1; border: none; background: transparent;
    padding: 10px 4px; font-size: 13.5px; outline: none; color: #111827; font-family: inherit;
}
.sq-mob-search button {
    width: 34px; height: 34px; background: #f97316; border: none;
    border-radius: 7px; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Scrollable body */
.sq-mob-body {
    flex: 1; overflow-y: auto; padding: 16px;
    scrollbar-width: thin; scrollbar-color: #e5e7eb transparent;
}
.sq-mob-section-title {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: #9ca3af; margin-bottom: 6px; padding: 0 4px;
}

/* Nav links */
.sq-mob-nav { display: flex; flex-direction: column; gap: 2px; }
.sq-mob-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 9px;
    font-size: 14px; font-weight: 500; color: #4b5563;
    transition: all .15s; text-decoration: none;
    border: none; background: none; cursor: pointer; width: 100%; text-align: left; font-family: inherit;
}
.sq-mob-link:hover { background: #f3f4f6; color: #111827; }
.sq-mob-link.active { background: #fff7ed; color: #f97316; font-weight: 700; }
.sq-mob-link-icon {
    width: 34px; height: 34px; border-radius: 8px; background: #f3f4f6;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: #6b7280; transition: all .15s;
}
.sq-mob-link:hover .sq-mob-link-icon { background: #e5e7eb; color: #111827; }
.sq-mob-link.active .sq-mob-link-icon { background: #fff7ed; color: #f97316; }
.sq-mob-link-danger { color: #ef4444; }
.sq-mob-link-danger .sq-mob-link-icon { color: #ef4444; }
.sq-mob-link-danger:hover { background: #fef2f2; color: #dc2626; }

/* Language pills */
.sq-mob-lang { display: flex; gap: 8px; flex-wrap: wrap; }
.sq-mob-lang-btn {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 8px; border: 1.5px solid #e5e7eb;
    font-size: 12px; font-weight: 700; color: #6b7280; text-decoration: none;
    transition: all .15s;
}
.sq-mob-lang-btn:hover { border-color: #9ca3af; color: #374151; }
.sq-mob-lang-btn.active { border-color: #f97316; color: #f97316; background: #fff7ed; }

/* Fixed CTA footer */
.sq-mob-footer {
    padding: 14px 16px; border-top: 1px solid #f3f4f6; flex-shrink: 0; background: #fff;
}
[data-theme="dark"] .sq-mob-footer { background: #141416; border-color: #27272a; }
.sq-mob-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px; border-radius: 10px;
    background: #f97316; color: #fff; font-size: 14px; font-weight: 800;
    text-decoration: none; transition: background .15s;
}
.sq-mob-cta:hover { background: #ea6c0a; color: #fff; }

/* ============================================================
   V3 HERO BANNER
   ============================================================ */
.sq-hero-v3 {
    background: linear-gradient(135deg, #0f1f5c 0%, #1e3a8a 55%, #1d4ed8 100%);
    position: relative; overflow: hidden; padding: 60px 0 50px;
}
.sq-hero-v3::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(249,115,22,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
    pointer-events: none;
}
.sq-hero-v3-inner {
    max-width: 1380px; margin: 0 auto; padding: 0 32px;
    display: grid; grid-template-columns: 1fr 420px;
    gap: 48px; align-items: center;
}
.sq-hero-v3-left { display: flex; flex-direction: column; gap: 22px; }
.sq-hero-v3-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.3);
    color: #fb923c; padding: 7px 14px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; width: fit-content;
}
.sq-hero-v3-title {
    font-size: 44px; font-weight: 800; color: #fff;
    line-height: 1.15; letter-spacing: -0.03em;
}
.sq-hero-v3-accent { color: #f97316; }
.sq-hero-v3-sub { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.sq-hero-v3-trust { display: flex; flex-wrap: wrap; gap: 16px; }
.sq-hero-v3-trust span {
    display: flex; align-items: center; gap: 6px;
    font-size: 12.5px; color: rgba(255,255,255,0.8); font-weight: 500;
}
.sq-hero-v3-search {
    display: flex; align-items: center; background: #fff;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25); height: 54px;
}
.sq-hero-v3-search-cat {
    display: flex; align-items: center; gap: 6px;
    padding: 0 14px; color: #374151; font-size: 13px;
    font-weight: 600; flex-shrink: 0; border-right: 1.5px solid #e5e7eb; height: 100%;
}
.sq-hero-v3-search-cat select {
    border: none; background: transparent; outline: none;
    font-size: 13px; font-weight: 600; color: #374151;
    cursor: pointer; max-width: 130px;
}
.sq-hero-v3-search-divider { width: 1px; height: 24px; background: #e5e7eb; }
.sq-hero-v3-search-input {
    flex: 1; border: none; background: transparent;
    padding: 0 16px; font-size: 14.5px; color: #111827; outline: none;
}
.sq-hero-v3-search-input::placeholder { color: #9ca3af; }
.sq-hero-v3-search-btn {
    background: #f97316; color: #fff; border: none;
    padding: 0 26px; height: 100%;
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; cursor: pointer; flex-shrink: 0;
    transition: background 0.2s;
}
.sq-hero-v3-search-btn:hover { background: #ea580c; }
.sq-hero-v3-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sq-hero-v3-tags-label { font-size: 12.5px; color: rgba(255,255,255,0.55); font-weight: 500; }
.sq-hero-v3-tag {
    padding: 4px 12px; border-radius: 999px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85); font-size: 12.5px; font-weight: 500; transition: all 0.2s;
}
.sq-hero-v3-tag:hover { background: rgba(249,115,22,0.25); border-color: rgba(249,115,22,0.4); color: #fb923c; }
.sq-hero-v3-right { position: relative; }
.sq-hero-v3-collage { position: relative; }
.sq-hero-v3-collage-ring {
    width: 360px; height: 360px; border-radius: 50%;
    background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.1);
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.sq-hero-v3-collage-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px; position: relative; z-index: 1; padding: 20px;
}
.sq-hero-prod-card {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px; padding: 18px 12px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    backdrop-filter: blur(8px); transition: transform 0.2s, background 0.2s;
}
.sq-hero-prod-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.15); }
.sq-hero-prod-card.sq-hero-prod-alt {
    background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.2);
}
.sq-hero-prod-card.sq-hero-prod-alt2 { background: rgba(255,255,255,0.06); }
.sq-hero-prod-icon { font-size: 32px; line-height: 1; }
.sq-hero-prod-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.8); text-align: center; }
.sq-hero-float-badge {
    position: absolute; background: #fff; border-radius: 12px;
    padding: 10px 14px; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18); white-space: nowrap; z-index: 10;
}
.sq-hero-float-badge div { display: flex; flex-direction: column; }
.sq-hero-float-badge strong { font-size: 12px; font-weight: 700; color: #111827; }
.sq-hero-float-badge span { font-size: 10.5px; color: #6b7280; }
.sq-hero-float-top { top: -10px; right: -12px; }
.sq-hero-float-bottom { bottom: -10px; left: -12px; }
.sq-hero-v3-accent-block {
    position: absolute; right: -32px; top: 0; bottom: 0; width: 80px;
    background: linear-gradient(180deg, rgba(249,115,22,0.25) 0%, rgba(249,115,22,0.05) 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}
@media (max-width: 1100px) {
    .sq-hero-v3-inner { grid-template-columns: 1fr 340px; gap: 32px; }
    .sq-hero-v3-title { font-size: 36px; }
}
@media (max-width: 860px) {
    .sq-hero-v3-inner { grid-template-columns: 1fr; }
    .sq-hero-v3-right { display: none; }
    .sq-hero-v3-title { font-size: 32px; }
    .sq-hero-v3 { padding: 40px 0 36px; }
}
@media (max-width: 540px) {
    .sq-hero-v3-title { font-size: 26px; }
    .sq-hero-v3-search { flex-direction: column; height: auto; }
    .sq-hero-v3-search-cat { border-right: none; border-bottom: 1.5px solid #e5e7eb; width: 100%; height: 46px; }
    .sq-hero-v3-search-divider { display: none; }
    .sq-hero-v3-search-input { padding: 12px 14px; width: 100%; }
    .sq-hero-v3-search-btn { width: 100%; justify-content: center; height: 46px; }
}

/* ============================================================
   V3 SECTIONS
   ============================================================ */
.sq-container { max-width: 1380px; margin: 0 auto; padding: 0 24px; }
.sq-section-v3 { padding: 56px 0; }
.sq-section-v3-head {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px;
}
.sq-section-v3-title { display: flex; align-items: center; gap: 10px; }
.sq-section-v3-title h2 {
    font-size: 22px; font-weight: 800; color: var(--sq-text); letter-spacing: -0.03em;
}
.sq-section-v3-more {
    display: flex; align-items: center; gap: 5px;
    font-size: 13px; font-weight: 600; color: #1d4ed8; transition: gap 0.2s;
}
.sq-section-v3-more:hover { gap: 8px; color: #1e40af; }
.sq-bg-secondary { background: #f3f4f6; }
[data-theme="dark"] .sq-section-v3[style*="background:var(--sq-bg-secondary)"] { background: #111112 !important; }

/* ============================================================
   V3 CATEGORIES GRID
   ============================================================ */
.sq-cats-v3-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.sq-cat-v3-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    background: var(--sq-bg-card); border: 1.5px solid var(--sq-border);
    border-radius: 14px; padding: 22px 16px; text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; text-decoration: none;
}
.sq-cat-v3-card:hover {
    transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: #1d4ed8;
}
.sq-cat-v3-icon { font-size: 36px; line-height: 1; }
.sq-cat-v3-name { font-size: 13px; font-weight: 700; color: var(--sq-text); line-height: 1.3; }
.sq-cat-v3-count { font-size: 11.5px; color: var(--sq-text-muted); font-weight: 500; }
@media (max-width: 1100px) { .sq-cats-v3-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .sq-cats-v3-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .sq-cats-v3-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   V3 PRODUCT GRID
   ============================================================ */
.sq-product-grid-v3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1200px) { .sq-product-grid-v3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .sq-product-grid-v3 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 520px)  { .sq-product-grid-v3 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ============================================================
   V3 PROMO GRID
   ============================================================ */
.sq-promo-grid-v3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sq-promo-v3-card {
    border-radius: 16px; padding: 24px 20px;
    display: flex; flex-direction: column; gap: 16px;
    position: relative; overflow: hidden; transition: transform 0.2s;
}
.sq-promo-v3-card:hover { transform: translateY(-3px); }
.sq-promo-v3-flash { background: linear-gradient(145deg, #1e3a8a 0%, #1d4ed8 100%); color: #fff; }
.sq-promo-v3-new { background: linear-gradient(145deg, #059669 0%, #10b981 100%); color: #fff; }
.sq-promo-v3-top { background: linear-gradient(145deg, #d97706 0%, #f59e0b 100%); color: #fff; }
.sq-promo-v3-seller { background: linear-gradient(145deg, #7c3aed 0%, #8b5cf6 100%); color: #fff; }
.sq-promo-v3-icon { font-size: 32px; line-height: 1; }
.sq-promo-v3-content { flex: 1; }
.sq-promo-v3-label { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.sq-promo-v3-text { font-size: 12.5px; opacity: 0.85; line-height: 1.5; }
.sq-promo-v3-btn {
    display: inline-block; background: rgba(255,255,255,0.2);
    color: #fff; padding: 8px 16px; border-radius: 8px;
    font-size: 12.5px; font-weight: 700; width: fit-content; transition: background 0.2s;
}
.sq-promo-v3-btn:hover { background: rgba(255,255,255,0.3); color: #fff; }
.sq-promo-countdown { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.sq-promo-time {
    background: rgba(255,255,255,0.2); border-radius: 6px; padding: 6px 10px;
    display: flex; align-items: baseline; gap: 3px;
}
.sq-promo-time span { font-size: 18px; font-weight: 800; line-height: 1; }
.sq-promo-time small { font-size: 10px; opacity: 0.8; }
.sq-promo-time-sep { font-size: 18px; font-weight: 700; opacity: 0.7; }
@media (max-width: 1100px) { .sq-promo-grid-v3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sq-promo-grid-v3 { grid-template-columns: 1fr; } }

/* ============================================================
   V3 HOW IT WORKS
   ============================================================ */
.sq-how-section { background: var(--sq-bg-secondary, #f3f4f6); }
.sq-how-grid-v3 {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px; align-items: center;
}
.sq-how-step-v3 {
    background: var(--sq-bg-card); border: 1.5px solid var(--sq-border);
    border-radius: 16px; padding: 32px 24px; text-align: center;
    display: flex; flex-direction: column; gap: 14px; align-items: center;
    position: relative; transition: box-shadow 0.2s, transform 0.2s;
}
.sq-how-step-v3:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.sq-how-step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: #1d4ed8; color: #fff;
    font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
}
.sq-how-step-icon { font-size: 44px; line-height: 1; }
.sq-how-step-v3 h3 { font-size: 16px; font-weight: 800; color: var(--sq-text); }
.sq-how-step-v3 p { font-size: 13.5px; color: var(--sq-text-secondary); line-height: 1.6; }
.sq-how-step-arrow { display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) {
    .sq-how-grid-v3 { grid-template-columns: 1fr; }
    .sq-how-step-arrow { transform: rotate(90deg); }
}

/* ============================================================
   CITIES SECTION — MATOLCA BRAND (light theme)
   ============================================================ */
.mat-cities-section {
    background: #f8faff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 64px 0;
}
.mat-cities-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}
.mat-cities-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mat-orange);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mat-cities-title {
    font-size: 30px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 0;
}
.mat-cities-title span { color: var(--mat-orange); }
.mat-cities-sub {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    max-width: 260px;
    line-height: 1.6;
}
.mat-cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.mat-city-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.mat-city-card:hover {
    border-color: rgba(30,58,138,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30,58,138,0.1);
}
.mat-city-card--active {
    border-color: rgba(249,115,22,0.25);
    background: #fff9f5;
}
.mat-city-card--active:hover {
    border-color: var(--mat-orange);
    box-shadow: 0 8px 24px rgba(249,115,22,0.12);
}
.mat-city-initial {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    border: 1.5px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #1e3a8a;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}
.mat-city-card--active .mat-city-initial {
    background: linear-gradient(135deg, #ffedd5, #fed7aa);
    border-color: #fdba74;
    color: #c2410c;
}
.mat-city-info { flex: 1; min-width: 0; }
.mat-city-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mat-city-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
    font-weight: 500;
}
.mat-city-card--active .mat-city-count { color: var(--mat-orange); font-weight: 600; }
.mat-city-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--mat-orange);
    flex-shrink: 0;
}
.mat-city-arrow {
    color: #d1d5db;
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}
.mat-city-card:hover .mat-city-arrow { transform: translateX(3px); color: var(--mat-orange); }
[dir="rtl"] .mat-city-card:hover .mat-city-arrow { transform: translateX(-3px); }
@media (max-width: 1024px) { .mat-cities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .mat-cities-header { flex-direction: column; align-items: flex-start; }
    .mat-cities-sub { max-width: 100%; }
    .mat-cities-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mat-cities-title { font-size: 24px; }
}
@media (max-width: 480px) { .mat-cities-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* ============================================================
   V3 CTA BANNER
   ============================================================ */
.sq-cta-v3 {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #7c3aed 100%);
    padding: 60px 0; position: relative; overflow: hidden;
}
.sq-cta-v3::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(249,115,22,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.sq-cta-v3-inner {
    max-width: 1380px; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    position: relative; z-index: 1;
}
.sq-cta-v3-text { color: #fff; }
.sq-cta-v3-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.sq-cta-v3-text p { font-size: 15px; opacity: 0.8; line-height: 1.7; max-width: 500px; }
.sq-cta-v3-actions { display: flex; gap: 12px; flex-shrink: 0; }
.sq-cta-v3-btn-primary {
    display: flex; align-items: center; gap: 8px;
    background: #f97316; color: #fff;
    padding: 13px 24px; border-radius: 10px;
    font-size: 14px; font-weight: 700; transition: background 0.2s, transform 0.15s;
}
.sq-cta-v3-btn-primary:hover { background: #ea580c; transform: translateY(-2px); color: #fff; }
.sq-cta-v3-btn-secondary {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.15); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
    padding: 13px 24px; border-radius: 10px;
    font-size: 14px; font-weight: 600; transition: background 0.2s;
}
.sq-cta-v3-btn-secondary:hover { background: rgba(255,255,255,0.25); color: #fff; }
@media (max-width: 768px) {
    .sq-cta-v3-inner { flex-direction: column; text-align: center; }
    .sq-cta-v3-actions { flex-direction: column; width: 100%; }
}

/* ============================================================
   V3 TRUST BAR
   ============================================================ */
.sq-trust-v3 {
    background: var(--sq-bg-card);
    border-top: 1px solid var(--sq-border); border-bottom: 1px solid var(--sq-border);
    padding: 24px 0;
}
.sq-trust-v3-grid {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.sq-trust-v3-item { display: flex; align-items: center; gap: 12px; padding: 12px 32px; }
.sq-trust-v3-icon { font-size: 28px; line-height: 1; }
.sq-trust-v3-title { font-size: 13px; font-weight: 700; color: var(--sq-text); margin-bottom: 2px; }
.sq-trust-v3-sub { font-size: 11.5px; color: var(--sq-text-muted); }
.sq-trust-v3-sep { width: 1px; height: 40px; background: var(--sq-border); flex-shrink: 0; }
@media (max-width: 768px) {
    .sq-trust-v3-sep { display: none; }
    .sq-trust-v3-item { padding: 12px 20px; }
}

/* ============================================================
   FACEBOOK & PRODUCT CTA BUTTONS
   ============================================================ */
.sq-btn-facebook {
    background: #1877f2;
    color: #fff !important;
    border: none;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 10px;
    font-size: 14px; font-weight: 700;
    cursor: pointer; transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}
.sq-btn-facebook:hover { background: #0d6efd; transform: translateY(-2px); color: #fff; }

.sq-product-cta-group {
    display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;
}
.sq-product-cta-btn {
    width: 100%; justify-content: center; font-size: 15px; padding: 13px 20px;
}

/* ============================================================
   SHOP PAGE — PREMIUM REDESIGN
   ============================================================ */

/* ── Hero wrapper ── */
.sq-shop-hero {
    background: var(--sq-bg-card);
    border-bottom: 1px solid var(--sq-border);
    margin-bottom: 0;
}

/* ── Cover banner — technique "blur backdrop" ──
   Hauteur fixe compacte. L'image s'affiche entière (object-fit:contain),
   le fond flou-agrandi remplit l'espace vide sur les côtés.
   Résultat : aucun rognage, aucun zoom, hauteur maîtrisée.
   ─────────────────────────────────────────────────── */
.sq-shop-cover {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

/* Fond flou — copie agrandie + estompée de la bannière */
.sq-shop-cover-blur {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center;
    filter: blur(22px) brightness(0.35) saturate(1.6);
    transform: scale(1.15);
    z-index: 0;
}

/* Image principale — centrée, ratio naturel, jamais rognée */
.sq-shop-cover > img {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    object-fit: contain;
    z-index: 1;
}

/* Dégradé bas pour transition vers l'info-bar */
.sq-shop-cover::after {
    content:''; position:absolute; inset:0; z-index:2;
    background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.42) 100%);
    pointer-events: none;
}

.sq-shop-cover-placeholder {
    position: absolute; inset:0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #3b82f6 100%);
}

/* ── Info bar (name + logo + buttons) ── */
.sq-shop-info-bar {
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 0 0 28px; gap: 20px; flex-wrap: wrap;
    transform: translateY(-70px); margin-bottom: -70px;
}
.sq-shop-info-left { display: flex; align-items: flex-end; gap: 20px; }

/* ── Logo card ── */
.sq-shop-avatar-wrap {
    position: relative; flex-shrink: 0;
    background: #fff;
    border: 4px solid var(--sq-bg-card);
    border-radius: 20px; overflow: visible;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
}
.sq-shop-avatar-lg {
    width: 130px; height: 130px; border-radius: 16px;
    object-fit: contain; display: block;
    background: #fff; padding: 6px;
}

/* ── Verified badge ── */
.sq-shop-verified-badge {
    position: absolute; bottom: -6px; right: -6px;
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg,#1d4ed8,#06b6d4);
    display: flex; align-items: center; justify-content: center;
    border: 3px solid var(--sq-bg-card);
    box-shadow: 0 2px 8px rgba(29,78,216,0.35);
}

/* ── Shop name & meta ── */
.sq-shop-info-text { padding-bottom: 6px; }
.sq-shop-info-name {
    font-size: 26px; font-weight: 900; color: var(--sq-text);
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    letter-spacing: -0.3px; margin-bottom: 5px; line-height: 1.15;
}
.sq-shop-info-company { font-size: 14px; color: var(--sq-text-secondary); margin-bottom: 4px; font-weight:500; }
.sq-shop-info-location {
    display: flex; align-items: center; gap: 5px;
    font-size: 13px; color: var(--sq-text-muted);
}

/* ── Contact / social buttons ── */
.sq-shop-contact-btns {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 6px;
}
.sq-shop-cta-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 11px 24px; border-radius: 12px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
    text-decoration: none; border: none; white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.sq-shop-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.sq-shop-cta-wa { background: linear-gradient(135deg,#128c7e,#25d366); color:#fff !important; }
.sq-shop-cta-fb { background: linear-gradient(135deg,#1565c0,#1877f2); color:#fff !important; }

.sq-shop-social-icons { display: flex; gap: 7px; align-items: center; }
.sq-shop-social-icon {
    width: 38px; height: 38px; border-radius: 10px;
    border: 1.5px solid var(--sq-border);
    background: var(--sq-bg-card);
    display: flex; align-items: center; justify-content: center;
    color: var(--sq-text-secondary); text-decoration: none;
    transition: var(--sq-transition);
}
.sq-shop-social-icon:hover { background: var(--sq-primary); color: #fff; border-color: var(--sq-primary); }

/* ── Stats bar ── */
.sq-shop-stats-bar {
    background: var(--sq-bg-card);
    border-bottom: 1px solid var(--sq-border);
    padding: 0;
}
.sq-shop-stats-inner {
    display: flex; align-items: stretch; gap: 0; flex-wrap: wrap;
}
.sq-shop-stat {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 18px 32px; text-align: center; flex: 1; min-width: 120px;
    position: relative; transition: background 0.15s;
}
.sq-shop-stat:hover { background: var(--sq-bg-hover); }
.sq-shop-stat-val {
    font-size: 24px; font-weight: 900; color: var(--sq-primary);
    line-height: 1.1; letter-spacing: -0.5px;
}
.sq-shop-stat-label { font-size: 11.5px; color: var(--sq-text-muted); margin-top: 3px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; }
.sq-shop-stat-sep { width: 1px; background: var(--sq-border); flex-shrink: 0; align-self: stretch; }

/* ── Products section header ── */
.sq-shop-section-hdr {
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px 0 20px; gap: 12px; flex-wrap: wrap;
}
.sq-shop-section-title {
    font-size: 18px; font-weight: 800; color: var(--sq-text);
    display: flex; align-items: center; gap: 10px;
}
.sq-shop-section-count {
    font-size: 13px; color: var(--sq-text-muted); font-weight: 500;
    background: var(--sq-bg-input); border-radius: 20px;
    padding: 2px 10px; border: 1px solid var(--sq-border);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .sq-shop-cover { height: 140px; }
    .sq-shop-info-bar { flex-direction: column; align-items: flex-start; gap: 12px; transform: translateY(-48px); margin-bottom: -48px; }
    .sq-shop-avatar-lg { width: 90px; height: 90px; }
    .sq-shop-info-name { font-size: 20px; }
    .sq-shop-contact-btns { width: 100%; }
    .sq-shop-cta-btn { flex: 1; justify-content: center; }
    .sq-shop-stat { padding: 14px 16px; min-width: 90px; }
    .sq-shop-stat-sep { display: none; }
    .sq-shop-stat-val { font-size: 20px; }
}

/* ============================================================
   AUTH PAGES V3
   ============================================================ */
.sq-auth {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #f9fafb 50%, #fff7ed 100%);
    padding: 24px;
    position: relative; overflow: hidden;
}
.sq-auth::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(29,78,216,0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(249,115,22,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.sq-auth-card {
    background: #fff; border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    padding: 40px 40px;
    width: 100%; max-width: 440px; position: relative; z-index: 1;
}
[data-theme="dark"] .sq-auth-card { background: #141416; }
.sq-auth-logo { text-align: center; margin-bottom: 28px; }
.sq-auth-title {
    font-size: 22px; font-weight: 800; color: var(--sq-text);
    letter-spacing: -0.02em; margin-bottom: 6px; margin-top: 8px;
}
.sq-auth-subtitle { font-size: 14px; color: var(--sq-text-muted); }
.sq-auth-footer {
    text-align: center; margin-top: 24px;
    font-size: 14px; color: var(--sq-text-muted);
}
.sq-auth-footer a { color: var(--sq-primary); font-weight: 600; }
@media (max-width: 480px) {
    .sq-auth-card { padding: 28px 20px; border-radius: 16px; }
    .sq-auth-title { font-size: 20px; }
}

/* ============================================================
   DASHBOARD v3 — improved sidebar & header
   ============================================================ */
.sq-sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 999; backdrop-filter: blur(2px);
}
.sq-sidebar-overlay.open { display: block; }

.sq-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #e5e7eb !important;
}
.sq-sidebar-brand {
    border-bottom: 1px solid #f3f4f6 !important;
    background: #ffffff;
}
.sq-nav-section-title {
    color: #9ca3af !important;
    text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em;
}
.sq-nav-item {
    color: #4b5563 !important;
}
.sq-nav-item:hover {
    background: #f9fafb !important;
    color: #111827 !important;
}
.sq-nav-item.active {
    background: #fff7ed !important;
    color: #f97316 !important;
    border-left: 2px solid #f97316;
}
.sq-nav-badge {
    background: #ef4444 !important;
}
.sq-sidebar-footer {
    border-top: 1px solid #f3f4f6 !important;
}
.sq-sidebar-user-name { color: #111827 !important; }
.sq-sidebar-user-role { color: #9ca3af !important; }

/* ============================================================
   WHATSAPP CLICK — animated
   ============================================================ */
.sq-btn-whatsapp {
    background: #25d366; color: #fff !important;
    border: none; border-radius: 10px;
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    padding: 12px 22px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    position: relative; overflow: hidden;
}
.sq-btn-whatsapp::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0); transition: background 0.2s;
}
.sq-btn-whatsapp:hover {
    background: #128c7e; transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

/* ============================================================
   INPUT WITH ICON
   ============================================================ */
.sq-input-icon-wrap {
    position: relative;
}
.sq-input-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; pointer-events: none;
    z-index: 1;
}
.sq-input-with-icon {
    padding-left: 38px !important;
}

/* ============================================================
   PRODUCT DETAIL PAGE — Enterprise redesign
   ============================================================ */

/* ── Page wrapper ── */
.sq-pd-wrap {
    max-width: 1160px; margin: 0 auto;
    padding: 20px 20px 72px;
    background: transparent;
}

/* ── Breadcrumb ── */
.sq-pd-breadcrumb {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--sq-text-muted); margin-bottom: 20px;
}
.sq-pd-breadcrumb a {
    color: var(--sq-text-secondary); text-decoration: none; font-weight: 500;
    display: flex; align-items: center; gap: 4px; transition: color 0.18s;
}
.sq-pd-breadcrumb a:hover { color: var(--mat-blue); }
.sq-pd-bc-sep { color: var(--sq-border); }
.sq-pd-bc-current { color: var(--sq-text); font-weight: 600; }

/* ══════════════════════════════════════════════════════
   PRODUCT DETAIL — Premium redesign
   ══════════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.sq-pd-breadcrumb {
    display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
    font-size: 12px; color: var(--sq-text-muted); margin-bottom: 22px;
}
.sq-pd-breadcrumb a {
    color: var(--sq-text-muted); text-decoration: none; font-weight: 500;
    display: flex; align-items: center; gap: 3px; transition: color 0.15s;
}
.sq-pd-breadcrumb a:hover { color: var(--mat-blue); }
.sq-pd-bc-sep { color: var(--sq-border); font-size: 14px; }
.sq-pd-bc-current { color: var(--sq-text); font-weight: 600; }

/* ── 2-col layout ── */
.sq-pd-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px; align-items: start;
    margin-bottom: 28px;
}
@media (max-width: 960px) { .sq-pd-layout { grid-template-columns: 1fr; gap: 20px; } }

/* ─────────────── GALLERY ─────────────── */
.sq-pd-gallery-col { display: flex; flex-direction: column; gap: 12px; }

.sq-pd-gallery-card {
    background: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
[data-theme="dark"] .sq-pd-gallery-card { box-shadow: 0 2px 20px rgba(0,0,0,0.2); }

/* Status badge */
.sq-pd-stock-badge {
    display: inline-flex; align-items: center; gap: 5px;
    margin: 14px 0 0 14px;
    background: #16a34a; color: #fff;
    font-size: 11.5px; font-weight: 700;
    padding: 5px 12px; border-radius: 50px;
    letter-spacing: 0.02em;
}

/* Main image */
.sq-pd-main-img-wrap {
    position: relative;
    background: #f8f9fb;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: zoom-in;
}
[data-theme="dark"] .sq-pd-main-img-wrap { background: #0d1117; }

.sq-pd-main-img-wrap img {
    width: 100%; height: 100%;
    object-fit: contain; object-position: center;
    transition: transform 0.45s cubic-bezier(.25,.46,.45,.94);
}
.sq-pd-main-img-wrap:hover img { transform: scale(1.04); }

/* Arrow nav buttons */
.sq-pd-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.08);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 3;
    opacity: 0; transition: opacity 0.2s, background 0.2s, transform 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    color: #1e293b;
}
[data-theme="dark"] .sq-pd-arrow {
    background: rgba(20,20,24,0.88);
    border-color: rgba(255,255,255,0.1);
    color: #f1f5f9;
}
.sq-pd-arrow-prev { left: 12px; }
.sq-pd-arrow-next { right: 12px; }
[dir="rtl"] .sq-pd-arrow-prev { left: auto; right: 12px; }
[dir="rtl"] .sq-pd-arrow-next { right: auto; left: 12px; }
.sq-pd-main-img-wrap:hover .sq-pd-arrow { opacity: 1; }
.sq-pd-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
[data-theme="dark"] .sq-pd-arrow:hover { background: rgba(40,40,48,0.98); }
.sq-pd-arrow:active { transform: translateY(-50%) scale(0.96); }

/* Badges on image */
.sq-pd-img-badges {
    position: absolute; top: 12px; left: 12px;
    display: flex; flex-direction: column; gap: 4px; z-index: 2;
}
[dir="rtl"] .sq-pd-img-badges { left: auto; right: 12px; }

.sq-pd-img-counter {
    position: absolute; bottom: 12px; right: 12px; z-index: 2;
    display: flex; align-items: center; gap: 4px;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    color: #fff; font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 20px;
}
[dir="rtl"] .sq-pd-img-counter { right: auto; left: 12px; }

/* Dot indicator */
.sq-pd-img-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 5px; z-index: 2;
}
.sq-pd-img-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.45); transition: all 0.2s; cursor: pointer;
}
.sq-pd-img-dot.active { width: 18px; border-radius: 3px; background: #fff; }

/* Thumbnails */
.sq-pd-thumbs {
    display: flex; gap: 8px; padding: 12px 14px;
    overflow-x: auto; background: var(--sq-bg-card);
    border-top: 1px solid var(--sq-border);
    scrollbar-width: thin; scrollbar-color: var(--sq-border) transparent;
}
.sq-pd-thumb {
    flex-shrink: 0; width: 72px; height: 72px; border-radius: 10px;
    overflow: hidden; cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.18s;
    background: var(--sq-bg-input);
    opacity: 0.7;
}
.sq-pd-thumb:hover { opacity: 1; border-color: rgba(30,58,138,0.25); }
.sq-pd-thumb.active {
    border-color: var(--mat-blue);
    box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
    opacity: 1;
}
.sq-pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Trust row */
.sq-pd-trust {
    display: flex; gap: 6px; flex-wrap: wrap;
}
.sq-pd-trust-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 11.5px; color: var(--sq-text-muted); font-weight: 500;
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    border-radius: 50px; padding: 5px 12px;
    transition: border-color 0.15s;
}
.sq-pd-trust-item:hover { border-color: var(--mat-blue); }
.sq-pd-trust-item svg, .sq-pd-trust-item i { color: var(--mat-blue); flex-shrink: 0; }

/* ─────────────── INFO COLUMN ─────────────── */
.sq-pd-info-col { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 0; }
@media (max-width: 960px) { .sq-pd-info-col { position: static; } }

/* SKU ref */
.sq-pd-ref {
    font-size: 11px; color: #9ca3af; margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}
.sq-pd-ref strong { color: #6b7280; }

/* Title */
.sq-pd-title {
    font-size: 24px; font-weight: 900; color: var(--sq-text);
    line-height: 1.3; margin: 0 0 10px;
    letter-spacing: -0.01em;
}

/* Short desc */
.sq-pd-short-desc {
    font-size: 14px; line-height: 1.75; color: var(--sq-text-secondary);
    margin-bottom: 14px;
}
.sq-pd-voir-plus {
    color: #f97316; font-weight: 600; text-decoration: none; margin-inline-start: 4px;
}
.sq-pd-voir-plus:hover { text-decoration: underline; }

/* Condition row */
.sq-pd-condition-row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: 12.5px; color: var(--sq-text-muted);
    padding: 12px 0; border-top: 1px solid var(--sq-border); border-bottom: 1px solid var(--sq-border);
    margin-bottom: 16px;
}
.sq-pd-cond-sep { color: var(--sq-border); }
.sq-pd-cond-item { display: flex; align-items: center; gap: 4px; }
.sq-pd-cond-ok { color: #16a34a; font-weight: 700; }
.sq-pd-cond-link { color: var(--mat-blue); font-weight: 600; text-decoration: none; }
.sq-pd-cond-link:hover { text-decoration: underline; }

/* ── Price block ── */
.sq-pd-price-block {
    background: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    position: relative; overflow: hidden;
}
.sq-pd-price-block::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: linear-gradient(180deg, #f97316, #f59e0b);
    border-radius: 4px 0 0 4px;
}
[dir="rtl"] .sq-pd-price-block::before { left: auto; right: 0; border-radius: 0 4px 4px 0; }

.sq-pd-price-main-row {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.sq-pd-price-main {
    font-size: 38px; font-weight: 900; color: var(--sq-text);
    letter-spacing: -0.04em; line-height: 1;
    font-family: 'Outfit', sans-serif;
}
.sq-pd-price-old-inline {
    font-size: 15px; font-weight: 400; color: #9ca3af;
    text-decoration: line-through; margin-top: 2px;
}
.sq-pd-discount-badge {
    display: inline-flex; align-items: center;
    font-size: 12px; font-weight: 800;
    background: #ef4444; color: #fff;
    border-radius: 6px; padding: 3px 9px;
}
.sq-pd-price-old { font-size: 13px; color: #9ca3af; text-decoration: line-through; }
.sq-pd-price-currency { display: none; }

/* ── CTA ── */
.sq-pd-cta-wrap { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

.sq-pd-btn-wa {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 16px 20px;
    background: linear-gradient(135deg, #25d366 0%, #1aad4e 100%);
    color: #fff; font-size: 16px; font-weight: 800; letter-spacing: 0.01em;
    border: none; border-radius: 14px; cursor: pointer;
    box-shadow: 0 4px 20px rgba(37,211,102,0.28);
    transition: all 0.22s cubic-bezier(.25,.46,.45,.94);
    position: relative; overflow: hidden;
}
.sq-pd-btn-wa::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.sq-pd-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.4);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}
.sq-pd-btn-wa:active { transform: translateY(0); }

/* Secondary actions */
.sq-pd-secondary-actions {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.sq-pd-btn-secondary {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 8px; font-size: 12.5px; font-weight: 600;
    color: var(--sq-text-secondary); background: var(--sq-bg-card);
    border: 1.5px solid var(--sq-border); border-radius: 10px;
    cursor: pointer; text-decoration: none;
    transition: all 0.18s; white-space: nowrap;
}
.sq-pd-btn-secondary:hover {
    border-color: var(--mat-blue); color: var(--mat-blue);
    background: rgba(30,58,138,0.05);
}
.sq-pd-btn-secondary.favorited {
    color: #ef4444; border-color: #fca5a5; background: #fff1f2;
}

/* ── Disclaimer warning ── */
.sq-pd-disclaimer {
    background: #fffbeb; border: 1.5px solid #fde68a;
    border-radius: 12px; padding: 12px 14px;
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 12.5px; color: #78350f; line-height: 1.6;
}
[data-theme="dark"] .sq-pd-disclaimer {
    background: rgba(254,243,199,0.06); border-color: rgba(253,230,138,0.2); color: #fcd34d;
}
.sq-pd-disclaimer a { color: #92400e; font-weight: 600; text-decoration: underline; }
[data-theme="dark"] .sq-pd-disclaimer a { color: #fcd34d; }

/* ── Seller card ── */
.sq-pd-seller-box {
    background: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 14px;
}
[data-theme="dark"] .sq-pd-seller-box { }

.sq-pd-seller-box-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    padding: 6px 16px;
    font-size: 10px; font-weight: 800; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.65);
}

.sq-pd-seller-box .sq-pd-seller-head {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; flex-wrap: nowrap;
}
.sq-pd-seller-box .sq-pd-seller-avatar {
    width: 52px; height: 52px; border-radius: 12px;
    object-fit: contain; flex-shrink: 0;
    border: 2px solid var(--sq-border);
    background: var(--sq-bg-input); padding: 2px;
}
.sq-pd-seller-box .sq-pd-seller-info { flex: 1; min-width: 0; }
.sq-pd-seller-box .sq-pd-seller-name {
    font-size: 14px; font-weight: 800; color: var(--sq-text);
    text-decoration: none; display: flex; align-items: center; gap: 5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color 0.15s;
}
.sq-pd-seller-box .sq-pd-seller-name:hover { color: var(--mat-blue); }
.sq-pd-seller-verified { color: #2563eb; display: inline-flex; flex-shrink: 0; }
.sq-pd-seller-box .sq-pd-seller-city {
    font-size: 12px; color: var(--sq-text-muted); margin-top: 3px;
    display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.sq-pd-btn-shop {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 8px 14px; font-size: 12px; font-weight: 700;
    color: #1e3a8a; background: rgba(30,58,138,0.06);
    border: 1.5px solid rgba(30,58,138,0.25); border-radius: 9px;
    text-decoration: none; transition: all 0.18s; white-space: nowrap; flex-shrink: 0;
}
.sq-pd-btn-shop:hover { background: #1e3a8a; color: #fff; border-color: #1e3a8a; }

/* Seller mini stats bar */
.sq-pd-seller-mini-stats {
    display: grid; grid-template-columns: repeat(3,1fr);
    border-top: 1px solid var(--sq-border);
}
.sq-pd-seller-mini-stat {
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 8px; text-align: center;
    border-right: 1px solid var(--sq-border);
    position: relative;
}
.sq-pd-seller-mini-stat:last-child { border-right: none; }
[dir="rtl"] .sq-pd-seller-mini-stat { border-right: none; border-left: 1px solid var(--sq-border); }
[dir="rtl"] .sq-pd-seller-mini-stat:last-child { border-left: none; }
.sq-pd-seller-mini-val {
    font-size: 16px; font-weight: 900; color: var(--mat-blue);
    letter-spacing: -0.02em; line-height: 1;
}
.sq-pd-seller-mini-lbl {
    font-size: 10px; color: var(--sq-text-muted);
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px;
}

/* ── Description card ── */
.sq-pd-desc-card {
    background: var(--sq-bg-card); border: 1px solid var(--sq-border);
    border-radius: 18px; padding: 24px 28px; margin-bottom: 32px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}
.sq-pd-section-title {
    display: flex; align-items: center; gap: 9px;
    font-size: 16px; font-weight: 800; color: var(--sq-text);
    margin-bottom: 16px; padding-bottom: 14px;
    border-bottom: 1px solid var(--sq-border);
}
.sq-pd-section-title i, .sq-pd-section-title svg { color: var(--mat-blue); }
.sq-pd-desc-body {
    font-size: 14.5px; line-height: 1.85; color: var(--sq-text-secondary);
    white-space: pre-line;
}

/* ── Related sections ── */
.sq-pd-related { margin-bottom: 48px; }

/* Legacy compat */
.sq-pd-info-card { background: transparent; border: none; box-shadow: none; }
.sq-pd-info-header { padding: 0; }
.sq-pd-meta-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.sq-pd-category-chip {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em;
    color: var(--mat-blue); background: rgba(30,58,138,0.08);
    border-radius: 20px; padding: 3px 10px;
}
.sq-pd-inline-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.sq-pd-ibadge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; border-radius: 6px; padding: 3px 9px; }
.sq-pd-ibadge--green { color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; }
.sq-pd-ibadge--blue  { color: #1e40af; background: #eff6ff; border: 1px solid #bfdbfe; }
.sq-pd-ibadge--gray  { color: #4b5563; background: #f9fafb; border: 1px solid #e5e7eb; }
[data-theme="dark"] .sq-pd-ibadge--green { color: #4ade80; background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.2); }
[data-theme="dark"] .sq-pd-ibadge--blue  { color: #93c5fd; background: rgba(147,197,253,0.1); border-color: rgba(147,197,253,0.2); }
[data-theme="dark"] .sq-pd-ibadge--gray  { color: #9ca3af; background: rgba(156,163,175,0.1); border-color: rgba(156,163,175,0.2); }
.sq-pd-spec { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--sq-border-light); }
.sq-pd-spec:last-child { border-bottom: none; }
.sq-pd-spec-lbl { font-size: 10.5px; color: var(--sq-text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1; }
.sq-pd-spec-val { font-size: 13px; font-weight: 700; color: var(--sq-text); margin-top: 2px; }
.sq-pd-seller { padding: 16px 20px 20px; }

/* ── SEO compat ── */
.sq-product-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .sq-product-layout { grid-template-columns: 1fr; } }

/* RTL */
[dir="rtl"] .sq-pd-price-block { text-align: right; }
[dir="rtl"] .sq-pd-price-main-row { direction: ltr; justify-content: flex-end; }

/* ============================================================
   DASHBOARD — Header improvements
   ============================================================ */
[data-theme="dark"] .sq-header {
    background: rgba(10,10,11,0.9) !important;
    border-color: #1c1c1f !important;
}
.sq-menu-toggle { display: none; }
@media (max-width: 768px) {
    .sq-sidebar { transform: translateX(-100%); }
    .sq-sidebar.open { transform: translateX(0); }
    .sq-main { margin-left: 0 !important; }
    .sq-menu-toggle { display: flex !important; }
    [dir="rtl"] .sq-sidebar { transform: translateX(100%); }
    [dir="rtl"] .sq-sidebar.open { transform: translateX(0); }
    [dir="rtl"] .sq-main { margin-right: 0 !important; }
}

/* ============================================================
   FOOTER improvements
   ============================================================ */
.sq-footer {
    background: #ffffff;
    color: #374151;
    padding: 56px 0 0;
    border-top: 1px solid #e5e7eb;
}
.sq-footer { padding-top: 48px; }
.sq-footer-inner {
    max-width: 1380px; margin: 0 auto; padding: 0 24px 40px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.sq-footer-brand p {
    font-size: 13.5px; line-height: 1.7;
    color: #6b7280; margin-top: 8px; max-width: 260px;
}
.sq-footer-brand img { border-radius: 6px; }
.sq-footer-title {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #9ca3af; margin-bottom: 12px;
}
.sq-footer-links { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; }
.sq-footer-links li { padding: 4px 0; }
.sq-footer-links a {
    font-size: 13.5px; color: #4b5563; transition: color 0.2s; text-decoration: none;
    display: inline-flex; align-items: center; gap: 5px;
}
.sq-footer-links a:hover { color: #f97316; }
.sq-footer-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.sq-footer-social a {
    width: 38px; height: 38px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: all 0.2s; flex-shrink: 0;
}
.sq-footer-social a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.sq-social-facebook  { background: #1877F2; }
.sq-social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sq-social-tiktok    { background: #111111; }
.sq-social-whatsapp  { background: #25D366; }
.sq-footer-bottom {
    max-width: 1380px; margin: 0 auto; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #e5e7eb;
    font-size: 12.5px; color: #9ca3af;
}
@media (max-width: 900px) {
    .sq-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .sq-footer-brand { grid-column: 1 / -1; }
    .sq-footer-brand p { max-width: 100%; }
}
@media (max-width: 540px) {
    .sq-footer { padding-top: 32px; }
    .sq-footer-inner { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 0 16px 28px; }
    .sq-footer-title { margin-bottom: 8px; }
    .sq-footer-links li { padding: 3px 0; }
    .sq-footer-links a { font-size: 12.5px; }
    .sq-footer-social a { width: 34px; height: 34px; border-radius: 8px; }
    .sq-footer-bottom { flex-direction: column; gap: 4px; text-align: center; padding: 12px 16px; font-size: 11.5px; }
}

/* ╔══════════════════════════════════════════════════
   ║  HERO V4  —  fond blanc + image bannière
   ╚══════════════════════════════════════════════════ */
.sq-hero-v4 {
    background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 40%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #dbeafe;
}
.sq-hero-v4::before { display: none; }
.sq-hero-v4-inner {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    padding: 64px 24px 56px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* ─── LEFT (full width now) ─── */
.sq-hero-v4-left { width: 100%; }
.sq-hero-v4-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px 6px 10px;
    border-radius: 99px;
    margin-bottom: 20px;
}
.sq-hero-v4-title {
    font-size: 44px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.12;
    margin: 0 0 16px;
    letter-spacing: -1px;
}
.sq-hero-v4-orange { color: #f97316; }
.sq-hero-v4-sub {
    color: #64748b;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 24px;
}
.sq-hero-v4-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-bottom: 28px;
}
.sq-hero-v4-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
}
.sq-hero-v4-trust svg {
    flex-shrink: 0;
    color: #1d4ed8;
}

/* ─── Search bar ─── */
.sq-hero-v4-search {
    display: flex;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(29,78,216,0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 16px;
}
.sq-hero-v4-search:focus-within {
    border-color: #1d4ed8;
    box-shadow: 0 4px 24px rgba(29,78,216,0.18);
}
.sq-hero-v4-search-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-right: 2px solid #e2e8f0;
    white-space: nowrap;
    flex-shrink: 0;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.sq-hero-v4-search-cat select {
    border: none;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    max-width: 150px;
}
.sq-hero-v4-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 16px;
    font-size: 14.5px;
    color: #1f2937;
    min-width: 0;
    background: transparent;
}
.sq-hero-v4-search-input::placeholder { color: #9ca3af; }
.sq-hero-v4-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--sq-secondary, #f97316);
    color: #fff;
    border: none;
    padding: 0 24px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    border-radius: 0;
}
.sq-hero-v4-search-btn:hover { background: #ea6c0e; }

/* ─── Popular tags ─── */
.sq-hero-v4-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
}
.sq-hero-v4-tags span {
    color: #64748b;
    font-weight: 600;
}
.sq-hero-v4-tags a {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #374151;
    padding: 4px 12px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s;
}
.sq-hero-v4-tags a:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

/* ─── RIGHT — bannière image ─── */
.sq-hero-v4-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
}
.sq-hero-v4-banner-img {
    width: 100%;
    max-width: 660px;
    height: auto;
    max-height: 468px;
    object-fit: contain;
    object-position: bottom right;
    display: block;
    animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ─── Placeholder (sans image) ─── */
.sq-hero-v4-placeholder {
    width: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 16px;
}
.sq-hero-v4-ph-circle {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,78,216,0.06) 0%, rgba(29,78,216,0.02) 60%, transparent 100%);
    border: 1px dashed rgba(29,78,216,0.2);
}
.sq-hero-v4-ph-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
    z-index: 1;
}
.sq-hero-v4-ph-item {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    animation: heroFloat 4s ease-in-out infinite;
}
.sq-hero-v4-ph-item:nth-child(2) { animation-delay: 0.5s; }
.sq-hero-v4-ph-item:nth-child(3) { animation-delay: 1s; }
.sq-hero-v4-ph-item:nth-child(4) { animation-delay: 1.5s; }
.sq-hero-v4-ph-item:nth-child(5) { animation-delay: 2s; }
.sq-hero-v4-ph-item:nth-child(6) { animation-delay: 2.5s; }
.sq-hero-v4-ph-hint {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}
.sq-hero-v4-ph-hint code {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    color: #1d4ed8;
}

/* ─── STATS BAR ─── */
.sq-hero-v4-stats {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    position: relative;
    z-index: 1;
}
.sq-hero-v4-stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.sq-hero-v4-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 32px;
    flex: 1;
    justify-content: center;
}
.sq-hero-v4-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sq-hero-v4-stat-val {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.sq-hero-v4-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.sq-hero-v4-stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* ╔══════════════════════════════════════════════════
   ║  CATÉGORIES MEGA GRID
   ╚══════════════════════════════════════════════════ */
.sq-section-cats-mega {
    background: #fff;
    padding: 48px 0 56px;
}
.sq-cats-mega-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border: 1px solid var(--sq-border, #e5e7eb);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.sq-cats-mega-col {
    padding: 20px 16px 24px;
    border-right: 1px solid var(--sq-border, #e5e7eb);
    transition: background 0.2s;
}
.sq-cats-mega-col:last-child { border-right: none; }
.sq-cats-mega-col:hover { background: var(--sq-bg-secondary, #f9fafb); }
.sq-cats-mega-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--sq-text, #1e293b);
    text-decoration: none;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sq-border, #e5e7eb);
    transition: color 0.2s;
}
.sq-cats-mega-title:hover { color: var(--cat-color, var(--sq-primary)); }
.sq-cats-mega-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sq-cats-mega-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--sq-text-muted, #64748b);
    text-decoration: none;
    padding: 5px 0;
    border-radius: 6px;
    transition: color 0.15s;
    line-height: 1.4;
}
.sq-cats-mega-child:hover {
    color: var(--sq-primary, #1d4ed8);
}
.sq-cats-mega-child svg { flex-shrink: 0; opacity: 0.5; }
.sq-cats-mega-child:hover svg { opacity: 1; color: var(--sq-primary, #1d4ed8); }

/* ─── Responsive hero v4 ─── */
@media (max-width: 1200px) {
    .sq-hero-v4-title { font-size: 38px; }
    .sq-hero-v4-banner-img { max-width: 560px; }
}
@media (max-width: 1024px) {
    .sq-hero-v4-inner { grid-template-columns: 1fr 1fr; gap: 0; padding: 40px 20px 24px; }
    .sq-hero-v4-title { font-size: 32px; }
    .sq-hero-v4-banner-img { max-width: 100%; }
    .sq-hero-v4-stats-inner { flex-wrap: wrap; gap: 12px; }
    .sq-hero-v4-stat { padding: 0 16px; }
    .sq-cats-mega-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .sq-hero-v4-inner { grid-template-columns: 1fr; align-items: flex-start; padding: 36px 20px 32px; min-height: unset; }
    .sq-hero-v4-left { padding-bottom: 0; }
    .sq-hero-v4-title { font-size: 28px; letter-spacing: -0.5px; }
    .sq-hero-v4-right { display: none; }
    .sq-hero-v4-search { flex-direction: column; border-radius: 12px; }
    .sq-hero-v4-search-cat { border-right: none; border-bottom: 2px solid #e2e8f0; padding: 12px 14px; }
    .sq-hero-v4-search-btn { padding: 14px 20px; border-radius: 0 0 10px 10px; justify-content: center; }
    .sq-hero-v4-stats-inner { flex-wrap: wrap; padding: 12px 16px; }
    .sq-hero-v4-stat { flex: 1 1 45%; padding: 10px 8px; justify-content: flex-start; }
    .sq-hero-v4-stat-sep { display: none; }
    .sq-cats-mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .sq-hero-v4-inner { padding: 32px 16px 20px; }
    .sq-hero-v4-title { font-size: 26px; }
    .sq-hero-v4-tags { display: none; }
    .sq-cats-mega-grid { grid-template-columns: 1fr 1fr; }
    .sq-cats-mega-col { padding: 14px 12px 18px; }
}

/* ╔══════════════════════════════════════════════════════════
   ║  MATOLCA BRAND COMPONENTS
   ║  Bleu #1e3a8a (MATO) + Orange #f97316 (LCA)
   ╚══════════════════════════════════════════════════════════ */

/* ─── Section Pattern ─── */
.mat-section        { padding: 56px 0; }
.mat-section-sm     { padding: 36px 0; }
.mat-bg-white       { background: #ffffff; }
.mat-bg-blue        { background: var(--mat-blue-pale); }
.mat-bg-orange      { background: var(--mat-orange-pale); }
.mat-bg-dark        { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.mat-container      { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ─── Section Title (orange left bar) ─── */
.mat-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}
.mat-heading-left {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.mat-heading-left::before {
    content: '';
    display: block;
    width: 4px;
    height: 36px;
    background: var(--mat-gradient-orange);
    border-radius: 2px;
    margin-right: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}
.mat-heading h2 {
    font-size: 26px;
    font-weight: 900;
    color: var(--mat-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 0 4px;
}
.mat-heading h2 span { color: var(--mat-orange); }
.mat-heading h2 em   { color: var(--mat-blue); font-style: normal; }
.mat-heading p {
    font-size: 14px;
    color: var(--sq-text-secondary);
    margin: 0;
}
.mat-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mat-blue);
    text-decoration: none;
    padding: 8px 18px;
    border: 2px solid var(--mat-blue-100);
    border-radius: 10px;
    background: var(--mat-blue-pale);
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}
.mat-view-all:hover {
    background: var(--mat-blue);
    border-color: var(--mat-blue);
    color: #fff;
}
.mat-view-all svg { transition: transform 0.2s; }
.mat-view-all:hover svg { transform: translateX(3px); }

/* ─── Category Quick Chips ─── */
.mat-cat-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 16px;
}
.mat-cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s;
    padding: 4px;
}
.mat-cat-chip:hover { transform: translateY(-4px); }
.mat-cat-chip-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--mat-blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(29,78,216,0.1);
    transition: all 0.25s;
}
.mat-cat-chip:hover .mat-cat-chip-icon {
    background: var(--mat-gradient-blue);
    border-color: var(--mat-blue);
    box-shadow: 0 8px 24px rgba(30,58,138,0.3);
}
.mat-cat-chip-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--mat-dark);
    text-align: center;
    line-height: 1.3;
}
.mat-cat-chip-count {
    font-size: 10.5px;
    color: var(--sq-text-muted);
    font-weight: 500;
    background: var(--mat-blue-pale);
    padding: 1px 8px;
    border-radius: 99px;
}

/* ─── Promo Strip ─── */
.mat-promo-strip {
    background: var(--mat-gradient-blue);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}
.mat-promo-strip-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.mat-promo-strip-text {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.mat-promo-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
.mat-promo-strip-item .mat-promo-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.mat-promo-strip-sep {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.mat-promo-strip-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mat-orange);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(249,115,22,0.4);
    flex-shrink: 0;
}
.mat-promo-strip-cta:hover {
    background: var(--mat-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.5);
}

/* ─── How it Works (compact) ─── */
.mat-how-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
}
.mat-how-arrow {
    color: var(--mat-blue-100);
    padding: 0 16px;
    display: flex;
    align-items: center;
}
.mat-how-step {
    background: #fff;
    border: 1.5px solid var(--mat-blue-100);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: all 0.25s;
}
.mat-how-step:hover {
    border-color: var(--mat-orange);
    box-shadow: 0 8px 32px rgba(249,115,22,0.12);
    transform: translateY(-4px);
}
.mat-how-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mat-gradient-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(249,115,22,0.4);
}
.mat-how-icon {
    font-size: 42px;
    margin-bottom: 14px;
    display: block;
}
.mat-how-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--mat-dark);
    margin-bottom: 8px;
}
.mat-how-text {
    font-size: 13.5px;
    color: var(--sq-text-secondary);
    line-height: 1.6;
}

/* ─── CTA Banner ─── */
.mat-cta-banner {
    background: var(--mat-gradient-blue);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}
.mat-cta-banner::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(249,115,22,0.12);
    pointer-events: none;
}
.mat-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.mat-cta-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 1;
}
.mat-cta-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.3);
    color: #fdba74;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 12px;
}
.mat-cta-banner h2 {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.mat-cta-banner h2 span { color: var(--mat-orange); }
.mat-cta-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
}
.mat-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.mat-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mat-orange);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}
.mat-cta-btn-primary:hover {
    background: var(--mat-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249,115,22,0.5);
}
.mat-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
}
.mat-cta-btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
}

/* ─── Trust Bar (footer) ─── */
.mat-trust-bar {
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 28px 0;
}
.mat-trust-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.mat-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 28px;
    flex: 1;
    min-width: 180px;
    justify-content: center;
}
.mat-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.mat-trust-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.mat-trust-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.mat-trust-sep {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ─── Navbar MATOLCA theme ─── */
.sq-topbar {
    background: var(--mat-blue) !important;
}
.sq-navbar-v3-cat-btn {
    background: var(--mat-blue) !important;
    color: #fff !important;
    border: none !important;
}
.sq-navbar-v3-cat-btn:hover {
    background: var(--mat-dark) !important;
}
.sq-navbar-v3-publish {
    background: var(--mat-orange) !important;
    border-color: var(--mat-orange) !important;
}
.sq-navbar-v3-publish:hover {
    background: var(--mat-orange-dark) !important;
    border-color: var(--mat-orange-dark) !important;
}

/* ─── Responsive mat-components ─── */
@media (max-width: 1024px) {
    .mat-how-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .mat-how-arrow { display: none; }
    .mat-cta-banner-inner { flex-direction: column; text-align: center; }
    .mat-cta-banner p { margin: 0 auto; }
    .mat-cta-actions { justify-content: center; }
}
@media (max-width: 768px) {
    .mat-heading h2 { font-size: 20px; }
    .mat-section { padding: 36px 0; }
    .mat-how-grid { grid-template-columns: 1fr; }
    .mat-cat-chips { grid-template-columns: repeat(4, 1fr); }
    .mat-trust-item { padding: 8px 16px; min-width: 140px; }
    .mat-cta-banner { padding: 40px 0; }
    .mat-cta-banner h2 { font-size: 26px; }
    .mat-promo-strip-sep { display: none; }
    .mat-promo-strip-text { gap: 12px; }
}
@media (max-width: 480px) {
    .mat-cat-chips { grid-template-columns: repeat(3, 1fr); }
    .mat-trust-sep { display: none; }
    .mat-trust-item { flex: 1 1 45%; }
}

/* ─── Search navbar cachée sur la homepage (search dans le hero à la place) ─── */
.sq-navbar-search-hidden { display: none !important; }

/* ╔══════════════════════════════════════════════════════════
   ║  ADMIN DASHBOARD — MATOLCA PRO
   ╚══════════════════════════════════════════════════════════ */

/* ── Header ── */
.adm-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.adm-urgent-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(245,158,11,0.12);
    border: 1.5px solid rgba(245,158,11,0.35);
    color: #b45309;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 10px;
    text-decoration: none;
    animation: adm-pulse 2s ease-in-out infinite;
    transition: background 0.2s;
}
.adm-urgent-badge:hover { background: rgba(245,158,11,0.2); }
@keyframes adm-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(245,158,11,0); }
}

/* ── KPI Grid ── */
.adm-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}
@media (max-width: 1200px) { .adm-kpi-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .adm-kpi-grid { grid-template-columns: repeat(2, 1fr); } }

.adm-kpi {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 14px;
    border: 1.5px solid transparent;
    background: var(--sq-bg-card);
    transition: transform 0.2s, box-shadow 0.2s;
}
.adm-kpi:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }

.adm-kpi-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.adm-kpi-blue   { border-color: rgba(29,78,216,0.15); }
.adm-kpi-blue .adm-kpi-icon { background: rgba(29,78,216,0.1); color: #1d4ed8; }

.adm-kpi-orange { border-color: rgba(249,115,22,0.15); }
.adm-kpi-orange .adm-kpi-icon { background: rgba(249,115,22,0.1); color: #f97316; }

.adm-kpi-green  { border-color: rgba(16,185,129,0.15); }
.adm-kpi-green .adm-kpi-icon { background: rgba(16,185,129,0.1); color: #059669; }

.adm-kpi-amber  { border-color: rgba(245,158,11,0.15); }
.adm-kpi-amber .adm-kpi-icon { background: rgba(245,158,11,0.1); color: #d97706; }

.adm-kpi-purple { border-color: rgba(139,92,246,0.15); }
.adm-kpi-purple .adm-kpi-icon { background: rgba(139,92,246,0.1); color: #7c3aed; }

.adm-kpi-teal   { border-color: rgba(20,184,166,0.15); }
.adm-kpi-teal .adm-kpi-icon { background: rgba(20,184,166,0.1); color: #0d9488; }

.adm-kpi-pulse  { animation: adm-kpi-glow 2.5s ease-in-out infinite; }
@keyframes adm-kpi-glow {
    0%,100% { box-shadow: none; }
    50% { box-shadow: 0 0 0 4px rgba(245,158,11,0.15); }
}

.adm-kpi-body { flex: 1; min-width: 0; }
.adm-kpi-value {
    font-size: 22px;
    font-weight: 900;
    color: var(--sq-text);
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.adm-kpi-value small { font-size: 12px; font-weight: 500; color: var(--sq-text-muted); letter-spacing: 0; }
.adm-kpi-label { font-size: 12px; font-weight: 600; color: var(--sq-text-muted); margin-top: 3px; }
.adm-kpi-sub   { font-size: 11px; color: var(--sq-text-muted); margin-top: 2px; }
.adm-kpi-sub-warn { color: #d97706 !important; font-weight: 700; }

/* ── Pending List ── */
.adm-pending-list { display: flex; flex-direction: column; }
.adm-pending-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--sq-border-light);
    transition: background 0.15s;
}
.adm-pending-row:last-child { border-bottom: none; }
.adm-pending-row:hover { background: var(--sq-bg-secondary); }
.adm-pending-img {
    width: 44px; height: 44px;
    border-radius: 9px;
    overflow: hidden;
    background: var(--sq-bg-input);
    flex-shrink: 0;
}
.adm-pending-img img { width: 100%; height: 100%; object-fit: cover; }
.adm-pending-info { flex: 1; min-width: 0; }
.adm-pending-title { font-size: 13.5px; font-weight: 600; color: var(--sq-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-pending-meta  { font-size: 12px; color: var(--sq-text-muted); margin-top: 2px; }
.adm-pending-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ── Subscription KPI row ── */
.adm-sub-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}
@media (max-width: 768px) { .adm-sub-kpi-row { grid-template-columns: repeat(2, 1fr); } }
.adm-sub-kpi {
    padding: 16px 18px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    background: var(--sq-bg-card);
    text-align: center;
}
.adm-sub-kpi-val { font-size: 28px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.1; }
.adm-sub-kpi-lbl { font-size: 12px; color: var(--sq-text-muted); margin-top: 4px; font-weight: 600; }
.adm-sub-kpi-green  { border-color: rgba(16,185,129,0.2); }
.adm-sub-kpi-green .adm-sub-kpi-val  { color: #059669; }
.adm-sub-kpi-amber  { border-color: rgba(245,158,11,0.2); }
.adm-sub-kpi-amber .adm-sub-kpi-val  { color: #d97706; }
.adm-sub-kpi-red    { border-color: rgba(239,68,68,0.15); }
.adm-sub-kpi-red .adm-sub-kpi-val    { color: var(--sq-danger); }
.adm-sub-kpi-blue   { border-color: rgba(29,78,216,0.15); }
.adm-sub-kpi-blue .adm-sub-kpi-val   { color: var(--sq-primary); font-size: 20px; }

/* ╔══════════════════════════════════════════════════════════
   ║  PUBLICITÉS — AD PLACEMENTS
   ╚══════════════════════════════════════════════════════════ */

/* Label "Pub" badge on all ads */
.mat-ad-label {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* position=hero — slim horizontal banner below hero */
.mat-ad-strip {
    padding: 16px 24px 0;
}
.mat-ad-hero-banner {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    max-height: 100px;
    margin-bottom: 0;
}
.mat-ad-hero-banner img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.mat-ad-hero-banner:hover img { transform: scale(1.02); }

/* position=category — dual banner row */
.mat-ad-banner-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0 0 32px;
}
.mat-ad-banner-item {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 110px;
}
.mat-ad-banner-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.mat-ad-banner-item:hover img { transform: scale(1.03); }
@media (max-width: 640px) {
    .mat-ad-banner-row { grid-template-columns: 1fr; }
    .mat-ad-banner-item { height: 90px; }
}

/* position=banner — full-width between sections */
.mat-ad-fullwidth {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 0;
}
.mat-ad-fullwidth-link {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    max-height: 140px;
    margin-bottom: 0;
}
.mat-ad-fullwidth-link img {
    width: 100%; height: 140px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.mat-ad-fullwidth-link:hover img { transform: scale(1.015); }
@media (max-width: 768px) {
    .mat-ad-fullwidth-link { max-height: 90px; }
    .mat-ad-fullwidth-link img { height: 90px; }
}

/* position=footer — 3-column grid before CTA */
.mat-ad-footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 32px 24px;
}
.mat-ad-footer-item {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 90px;
}
.mat-ad-footer-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.mat-ad-footer-item:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
    .mat-ad-footer-row { grid-template-columns: 1fr; }
}

/* ╔══════════════════════════════════════════════════════════
   ║  NAVBAR LINKS (Boutiques / Tarifs)
   ╚══════════════════════════════════════════════════════════ */
.sq-navbar-v3-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.sq-navbar-v3-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sq-text, #1e293b);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 9px;
    border: 1.5px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.sq-navbar-v3-link:hover {
    background: var(--mat-blue-pale);
    border-color: var(--mat-blue-100);
    color: var(--mat-blue);
}
.sq-navbar-v3-link.active {
    background: var(--mat-blue-pale);
    border-color: var(--mat-blue-100);
    color: var(--mat-blue);
    font-weight: 800;
}
@media (max-width: 1100px) {
    .sq-navbar-v3-links { display: none; }
}

/* ╔══════════════════════════════════════════════════════════
   ║  PRICING PAGE
   ╚══════════════════════════════════════════════════════════ */

/* Hero header for pricing & boutiques pages */
.mat-pricing-hero {
    background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 50%, #eff6ff 100%);
    padding: 60px 0 52px;
    border-bottom: 1px solid #e0eaff;
}
.mat-pricing-hero--boutiques {
    background: linear-gradient(160deg, #fff7ed 0%, #ffedd5 50%, #fff7ed 100%);
    border-bottom: 1px solid #ffe0bb;
}
.mat-pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(30,58,138,0.08);
    border: 1px solid rgba(30,58,138,0.15);
    color: var(--mat-blue);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 99px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.mat-pricing-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--mat-dark, #0f172a);
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0 0 16px;
}
.mat-pricing-title-orange { color: var(--mat-orange); }
.mat-pricing-sub {
    font-size: 17px;
    color: var(--sq-text-secondary, #64748b);
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 768px) {
    .mat-pricing-title { font-size: 28px; }
    .mat-pricing-sub { font-size: 15px; }
    .mat-pricing-hero { padding: 40px 0 36px; }
}

/* Pricing Grid */
.mat-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .mat-pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Plan Card */
.mat-plan-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 28px 28px;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}
.mat-plan-card:hover {
    box-shadow: 0 12px 40px rgba(30,58,138,0.10);
    transform: translateY(-4px);
}

/* Pro card highlight */
.mat-plan-card-pro {
    border-color: var(--mat-orange);
    box-shadow: 0 8px 32px rgba(249,115,22,0.15);
    transform: translateY(-8px);
}
.mat-plan-card-pro:hover {
    box-shadow: 0 16px 48px rgba(249,115,22,0.22);
    transform: translateY(-12px);
}

/* Annual card */
.mat-plan-card-annual {
    border-color: var(--mat-blue);
}
.mat-plan-card-annual:hover {
    box-shadow: 0 12px 40px rgba(30,58,138,0.14);
}

/* Popular badge */
.mat-plan-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mat-gradient-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(249,115,22,0.4);
    letter-spacing: 0.3px;
}
.mat-plan-economy {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mat-gradient-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(30,58,138,0.35);
    letter-spacing: 0.3px;
}

/* Plan header */
.mat-plan-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 20px;
}
.mat-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 4px;
}
.mat-plan-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--mat-dark);
}
.mat-plan-tagline {
    font-size: 13px;
    color: var(--sq-text-secondary);
}

/* Price */
.mat-plan-price-wrap {
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}
.mat-plan-price {
    font-size: 40px;
    font-weight: 900;
    color: var(--mat-dark);
    line-height: 1;
    letter-spacing: -1px;
}
.mat-plan-price span {
    font-size: 18px;
    font-weight: 700;
    color: var(--sq-text-secondary);
    letter-spacing: 0;
}
.mat-plan-cycle {
    font-size: 13px;
    color: var(--sq-text-secondary);
    margin-top: 5px;
}

/* Features list */
.mat-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mat-plan-features li {
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sq-text-secondary);
}
.mat-plan-features li::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mat-plan-features li.ok {
    color: var(--mat-dark, #1e293b);
}
.mat-plan-features li.ok::before {
    background: #dcfce7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.mat-plan-features li.no::before {
    background: #f1f5f9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Plan buttons */
.mat-plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.2px;
}
.mat-plan-btn-outline {
    border: 2px solid #e2e8f0;
    color: var(--mat-dark);
    background: transparent;
}
.mat-plan-btn-outline:hover {
    border-color: var(--mat-blue);
    color: var(--mat-blue);
    background: var(--mat-blue-pale);
}
.mat-plan-btn-primary {
    background: var(--mat-orange);
    color: #fff;
    border: 2px solid var(--mat-orange);
    box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}
.mat-plan-btn-primary:hover {
    background: var(--mat-orange-dark);
    border-color: var(--mat-orange-dark);
    box-shadow: 0 6px 24px rgba(249,115,22,0.45);
    transform: translateY(-1px);
}
.mat-plan-btn-blue {
    background: var(--mat-blue);
    color: #fff;
    border: 2px solid var(--mat-blue);
    box-shadow: 0 4px 16px rgba(30,58,138,0.25);
}
.mat-plan-btn-blue:hover {
    background: var(--mat-dark);
    border-color: var(--mat-dark);
    box-shadow: 0 6px 24px rgba(30,58,138,0.35);
    transform: translateY(-1px);
}
.mat-plan-note {
    text-align: center;
    font-size: 11.5px;
    color: var(--sq-text-muted);
    margin-top: 10px;
}

/* Features grid (Why Pro section) */
.mat-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .mat-features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .mat-features-grid { grid-template-columns: 1fr; }
}
.mat-feature-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px 20px;
    transition: background 0.2s;
}
.mat-feature-item:hover {
    background: rgba(255,255,255,0.12);
}
.mat-feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.mat-feature-title {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}
.mat-feature-text {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.6;
}

/* ╔══════════════════════════════════════════════════════════
   ║  BOUTIQUES PAGE
   ╚══════════════════════════════════════════════════════════ */
.mat-boutiques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .mat-boutiques-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .mat-boutiques-grid { grid-template-columns: 1fr; }
}

.mat-boutique-card {
    background: #fff;
    border: 1.5px solid #e8f0fe;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.mat-boutique-card:hover {
    box-shadow: 0 10px 36px rgba(30,58,138,0.12);
    transform: translateY(-4px);
    border-color: var(--mat-blue-100);
}

/* Cover */
.mat-boutique-cover {
    position: relative;
    height: 100px;
    overflow: hidden;
}
.mat-boutique-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mat-boutique-cover-default {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #f97316 100%);
}
.mat-boutique-verified-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(22,163,74,0.4);
}

/* Avatar */
.mat-boutique-avatar-wrap {
    padding: 0 20px;
    margin-top: -28px;
    margin-bottom: 8px;
}
.mat-boutique-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    object-fit: cover;
    display: block;
}
.mat-boutique-avatar-default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mat-gradient-blue);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* Body */
.mat-boutique-body {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.mat-boutique-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--mat-dark);
    line-height: 1.3;
}
.mat-boutique-desc {
    font-size: 13px;
    color: var(--sq-text-secondary);
    line-height: 1.5;
}
.mat-boutique-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}
.mat-boutique-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--sq-text-muted);
}
.mat-boutique-plan {
    margin-top: 8px;
}
.mat-boutique-plan span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #fff7ed, #ffedd5);
    border: 1px solid #fed7aa;
    color: #c2410c;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 99px;
}

/* Empty state */
.mat-boutiques-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--sq-text-secondary);
}
.mat-boutiques-empty h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--mat-dark);
    margin-bottom: 10px;
}
.mat-boutiques-empty p {
    font-size: 15px;
    margin-bottom: 0;
}

/* ╔══════════════════════════════════════════════════════════
   ║  RTL — NAVBAR V3 + LANGUAGE SWITCHER
   ╚══════════════════════════════════════════════════════════ */
[dir="rtl"] .sq-topbar { display: block !important; min-height: 36px; }
[dir="rtl"] .sq-navbar-v3-inner { direction: rtl; }
[dir="rtl"] .sq-navbar-v3-links { flex-direction: row-reverse; }
[dir="rtl"] .sq-navbar-v3-actions { flex-direction: row-reverse; margin-left: 0; margin-right: auto; }
[dir="rtl"] .sq-topbar-inner { flex-direction: row-reverse; }
[dir="rtl"] .sq-topbar-left { flex-direction: row-reverse; }
[dir="rtl"] .sq-topbar-right { flex-direction: row-reverse; }
[dir="rtl"] .sq-lang-dropdown { left: 0; right: auto; }
[dir="rtl"] .sq-topbar-right .sq-lang-dropdown { left: auto; right: 0; }
[dir="rtl"] .sq-navbar-v3-search input { text-align: right; padding: 10px 16px 10px 46px; }
[dir="rtl"] .sq-navbar-v3-search-btn { left: 0; right: auto; }

/* RTL — mobile menu */
[dir="rtl"] .sq-mobile-menu-body { text-align: right; direction: rtl; }
[dir="rtl"] .sq-mobile-menu-link { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .sq-mobile-lang-list { flex-direction: row-reverse; }

/* RTL — footer */
[dir="rtl"] .sq-footer-inner { direction: rtl; text-align: right; }
[dir="rtl"] .sq-footer-links { direction: rtl; }
[dir="rtl"] .sq-footer-social { flex-direction: row-reverse; }
[dir="rtl"] .sq-footer-bottom { flex-direction: row-reverse; }

/* RTL — category dropdown */
[dir="rtl"] .sq-cat-dropdown-inner { direction: rtl; }
[dir="rtl"] .sq-cat-dropdown-col { text-align: right; }

/* RTL — hero search */
[dir="rtl"] .sq-hero-v3-search { flex-direction: row-reverse; direction: rtl; }
[dir="rtl"] .sq-hero-v3-search-input { text-align: right; }

/* RTL — cards and product grid */
[dir="rtl"] .sq-product-card { direction: rtl; }
[dir="rtl"] .sq-product-card-badges { left: auto; right: 8px; }
[dir="rtl"] .sq-product-card-actions { right: auto; left: 8px; }

/* RTL — mat city cards */
[dir="rtl"] .mat-city-card { text-align: right; }

/* RTL — pricing plans */
[dir="rtl"] .mat-plan-card { direction: rtl; text-align: right; }
[dir="rtl"] .mat-plan-features li { flex-direction: row-reverse; }

/* RTL — boutiques */
[dir="rtl"] .mat-boutique-card { direction: rtl; }
[dir="rtl"] .mat-boutique-meta { flex-direction: row-reverse; }

/* ╔══════════════════════════════════════════════════════════
   ║  ARABIC FONT — apply globally in RTL mode
   ╚══════════════════════════════════════════════════════════ */
[dir="rtl"] * { font-family: 'Cairo', system-ui, sans-serif; }
[dir="rtl"] .sq-navbar-brand,
[dir="rtl"] .sq-navbar-v3-publish { letter-spacing: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 { font-weight: 700; line-height: 1.4; }
[dir="rtl"] .sq-hero-v4-title { line-height: 1.3; }
[dir="rtl"] .sq-topbar-lang { font-family: 'Cairo', system-ui, sans-serif; }
[dir="rtl"] .sq-mobile-menu-link { font-family: 'Cairo', system-ui, sans-serif; }

/* ╔══════════════════════════════════════════════════════════════════
   ║  RESPONSIVE GLOBAL — Mobile-first professional polish
   ║  Breakpoints: 1200 / 1024 / 860 / 768 / 540 / 380
   ╚══════════════════════════════════════════════════════════════════ */

/* ── 1200px: large tablet / small desktop ── */
@media (max-width: 1200px) {
    .sq-pd-layout { grid-template-columns: 1fr 380px; gap: 28px; }
    .sq-product-grid-v3 { grid-template-columns: repeat(3, 1fr); }
    .mat-cities-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
    /* Topbar — hide extra links */
    .sq-topbar-left .sq-topbar-link:nth-child(n+3) { display: none; }

    /* Hero */
    .sq-hero-v4 { padding: 48px 0 0; }
    .sq-hero-v4-inner { flex-direction: column; gap: 32px; }
    .sq-hero-v4-left { max-width: 100%; text-align: center; }
    .sq-hero-v4-title { font-size: 36px; }
    .sq-hero-v4-search { max-width: 680px; margin: 0 auto 16px; }
    .sq-hero-v4-tags { justify-content: center; }
    .sq-hero-v4-right { display: none; }

    /* Product detail */
    .sq-pd-layout { grid-template-columns: 1fr; gap: 20px; }
    .sq-pd-info-col { position: static; }
    .sq-pd-gallery-col { max-width: 640px; margin: 0 auto; width: 100%; }

    /* Shop */
    .sq-shop-info-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
    .sq-shop-contact-btns { width: 100%; flex-wrap: wrap; }
    .sq-shop-cta-btn { flex: 1; justify-content: center; min-width: 140px; }

    /* Seller dashboard sidebar */
    .sq-sidebar { transform: translateX(-100%); z-index: 1000; }
    .sq-main { margin-left: 0 !important; }
    .sq-menu-toggle { display: flex !important; }
    [dir="rtl"] .sq-sidebar { transform: translateX(100%); }
    [dir="rtl"] .sq-main { margin-right: 0 !important; }
}

/* ── 860px: tablet portrait ── */
@media (max-width: 860px) {
    /* Grids */
    .sq-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .sq-product-grid-v3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .mat-cities-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sq-kpi-grid { grid-template-columns: repeat(2, 1fr); }

    /* Seller products table: stack on mobile */
    .sq-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .sq-table { min-width: 640px; }

    /* Page headers */
    .sq-page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .sq-page-header-actions { width: 100%; }
    .sq-page-header-actions .sq-btn { width: 100%; justify-content: center; }

    /* Search page */
    .sq-search-layout { flex-direction: column; }
    .sq-search-sidebar { width: 100%; position: static; }
    .sq-search-filters { display: none; }
    .sq-search-filters.open { display: block; }
    .sq-search-filter-toggle { display: flex !important; }
}

/* ── 768px: mobile landscape / large phone ── */
@media (max-width: 768px) {
    /* Section padding */
    .sq-section { padding: 28px 14px; }
    .sq-pd-wrap { padding: 16px 14px 48px; }

    /* Section headers */
    .sq-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .sq-section-title { font-size: 20px; }

    /* Breadcrumb — truncate on mobile */
    .sq-pd-breadcrumb { font-size: 12px; gap: 4px; }
    .sq-pd-bc-current { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    /* Product detail info card */
    .sq-pd-info-card { padding: 20px; border-radius: 16px; }
    .sq-pd-title { font-size: 18px; }
    .sq-pd-price-main { font-size: 28px; }
    .sq-pd-specs { grid-template-columns: 1fr 1fr; gap: 8px; }
    .sq-pd-thumbs { gap: 5px; padding: 8px 10px; }
    .sq-pd-thumb { width: 60px; height: 60px; }
    .sq-pd-trust { gap: 6px; }
    .sq-pd-trust-item { font-size: 11px; padding: 4px 9px; }

    /* Product cards */
    .sq-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sq-product-grid-v3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sq-product-card-body { padding: 10px 11px 12px; }
    .sq-product-card-title { font-size: 13px; }
    .sq-product-card-price-current { font-size: 14px; }

    /* Shop hero */
    .sq-shop-cover { height: 130px; }
    .sq-shop-avatar-lg { width: 72px; height: 72px; }
    .sq-shop-info-name { font-size: 18px; }
    .sq-shop-stats-inner { display: grid; grid-template-columns: repeat(2, 1fr); }
    .sq-shop-stat-sep { display: none; }
    .sq-shop-stat { border-bottom: 1px solid var(--sq-border-light); padding: 10px; }

    /* Categories page */
    .sq-categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .sq-cat-item-name { font-size: 12px; }

    /* Footer */
    .sq-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
    .sq-footer-brand { grid-column: 1 / -1; }
    .sq-footer-social { flex-wrap: nowrap; }

    /* Dashboard */
    .sq-kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sq-kpi { padding: 18px; }
    .sq-kpi-value { font-size: 26px; }
    .sq-header { padding: 0 14px; height: 56px; }
    .sq-content { padding: 14px; }

    /* Seller sidebar mobile */
    .sq-sidebar { width: 260px; }
    .sq-sidebar.open { transform: translateX(0) !important; }
    .sq-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; }
    .sq-sidebar-overlay.open { display: block; }

    /* Hero V4 */
    .sq-hero-v4 { padding: 36px 0 0; }
    .sq-hero-v4-title { font-size: 28px; letter-spacing: -0.5px; }
    .sq-hero-v4-sub { font-size: 15px; }
    .sq-hero-v4-search { flex-direction: column; border-radius: 12px; gap: 0; }
    .sq-hero-v4-search-cat { border-right: none; border-bottom: 1px solid #e5e7eb; border-radius: 12px 12px 0 0; padding: 12px 14px; }
    .sq-hero-v4-search-input { padding: 12px 14px; }
    .sq-hero-v4-search-btn { border-radius: 0 0 12px 12px; justify-content: center; padding: 13px; }
    .sq-hero-v4-tags { justify-content: flex-start; gap: 6px; flex-wrap: wrap; }

    /* Cities section header */
    .mat-cities-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .mat-cities-title { font-size: 24px; }
    .mat-cities-sub { max-width: 100%; }

    /* Pricing page */
    .mat-plans-grid { grid-template-columns: 1fr !important; max-width: 420px; margin: 0 auto; }

    /* Boutiques page */
    .mat-boutiques-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── 540px: small phone ── */
@media (max-width: 540px) {
    /* Topbar: hide completely on very small */
    .sq-topbar { display: none !important; }

    /* Navbar compact */
    .sq-navbar-v3-links { display: none; }

    /* Hero */
    .sq-hero-v4-title { font-size: 24px; }
    .sq-hero-v4-trust { flex-wrap: wrap; justify-content: center; gap: 10px; }

    /* Product cards — 2 col tight */
    .sq-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .sq-product-card-image { padding-top: 80%; }
    .sq-product-card-body { padding: 8px 9px 10px; }
    .sq-product-card-title { font-size: 12px; -webkit-line-clamp: 1; }
    .sq-product-card-price-current { font-size: 13px; }
    .sq-product-card-location { display: none; }
    .sq-product-card-time { font-size: 10px; }

    /* Product detail */
    .sq-pd-secondary-actions { flex-wrap: wrap; }
    .sq-pd-btn-secondary { min-width: calc(50% - 4px); }
    .sq-pd-specs { grid-template-columns: 1fr 1fr; }

    /* Cities grid */
    .mat-cities-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .mat-city-card { padding: 12px; gap: 10px; }
    .mat-city-initial { width: 38px; height: 38px; font-size: 17px; border-radius: 10px; }
    .mat-city-name { font-size: 13px; }

    /* Shop stats: 2 per row */
    .sq-shop-stats-inner { grid-template-columns: repeat(2, 1fr); }

    /* Footer: single col */
    .sq-footer-inner { grid-template-columns: 1fr; }
    .sq-footer-brand { text-align: left; }
    .sq-footer-brand p { max-width: 100%; }

    /* KPI grid single col */
    .sq-kpi-grid { grid-template-columns: 1fr; }
    .sq-categories-grid { grid-template-columns: repeat(2, 1fr); }

    /* Seller tables */
    .sq-table { min-width: 500px; }
    .sq-table th:nth-child(n+4),
    .sq-table td:nth-child(n+4) { display: none; }

    /* Auth forms */
    .sq-auth-card { padding: 24px 18px; border-radius: 16px; margin: 16px; }
}

/* ── 380px: extra small / old phones ── */
@media (max-width: 380px) {
    .sq-navbar-v3-inner { padding: 0 10px; gap: 8px; }
    .sq-navbar-brand img { height: 38px; max-width: 140px; }
    .sq-hero-v4-title { font-size: 21px; }
    .sq-product-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .sq-product-card-body { padding: 7px 8px 9px; }
    .mat-city-card { padding: 10px 11px; }
    .sq-pd-price-main { font-size: 24px; }
    .sq-footer-inner { gap: 20px; }
}

/* ── Search page responsive ── */
.sq-search-filter-toggle { display: none; }
@media (max-width: 860px) {
    .sq-search-layout { grid-template-columns: 1fr !important; }
    .sq-search-filters { display: none; }
    .sq-search-filters.open { display: block; margin-bottom: 16px; }
    .sq-search-filter-toggle { display: flex !important; }
}

/* ── Touch device optimisations ── */
@media (hover: none) and (pointer: coarse) {
    .sq-product-card-actions { opacity: 1 !important; transform: translateY(0) !important; }
    .sq-pd-main-img-wrap img { transform: none !important; }
    .sq-product-card:hover { transform: none; }
    .mat-city-card:hover { transform: none; }
    .sq-pd-btn-wa:hover { transform: none; }
}

/* ── RTL responsive overrides ── */
[dir="rtl"] .sq-hero-v4-search-cat { border-right: none; border-left: 1px solid #e5e7eb; }
@media (max-width: 768px) {
    [dir="rtl"] .sq-hero-v4-search-cat { border-left: none; border-bottom: 1px solid #e5e7eb; }
    [dir="rtl"] .sq-footer-inner { text-align: right; }
    [dir="rtl"] .sq-pd-breadcrumb { flex-direction: row-reverse; }
    [dir="rtl"] .mat-city-card { flex-direction: row-reverse; }
    [dir="rtl"] .sq-pd-specs { direction: rtl; }
    [dir="rtl"] .sq-pd-seller-stats { direction: ltr; }
}

/* ══════════════════════════════════════════════════════
   CATEGORY PAGE — pro layout
   ══════════════════════════════════════════════════════ */
.sq-cat-page { background: #f8fafc; min-height: 60vh; }

/* Hero */
.sq-cat-hero {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0 0;
}
.sq-cat-hero-inner {
    max-width: 1380px; margin: 0 auto; padding: 0 24px 20px;
}

/* Breadcrumb */
.sq-cat-breadcrumb {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 12.5px; color: #9ca3af; margin-bottom: 16px;
}
.sq-cat-breadcrumb a {
    color: #6b7280; text-decoration: none; display: flex; align-items: center; gap: 3px;
    transition: color .15s;
}
.sq-cat-breadcrumb a:hover { color: #f97316; }
.sq-cat-bc-sep { color: #d1d5db; }
.sq-cat-bc-current { color: #111827; font-weight: 600; }

/* Title row */
.sq-cat-hero-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    flex-wrap: wrap;
}
.sq-cat-hero-left { display: flex; align-items: center; gap: 14px; }
.sq-cat-hero-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg,#fff7ed,#fed7aa);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
    border: 1px solid #fed7aa;
}
.sq-cat-hero-title {
    font-size: 22px; font-weight: 900; color: #111827;
    margin: 0 0 4px; letter-spacing: -0.02em;
}
.sq-cat-hero-count {
    display: flex; align-items: center; gap: 5px;
    font-size: 13px; color: #6b7280; margin: 0;
}

/* Sort */
.sq-cat-sort-wrap {
    display: flex; align-items: center; gap: 8px;
    background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 9px;
    padding: 0 12px;
}
.sq-cat-sort-select {
    border: none; background: transparent; padding: 9px 4px;
    font-size: 13.5px; font-weight: 500; color: #374151;
    cursor: pointer; outline: none; font-family: inherit;
    appearance: auto;
}

/* Subcategory pills */
.sq-cat-subs-wrap {
    background: #fff; border-bottom: 1px solid #e5e7eb;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.sq-cat-subs-wrap::-webkit-scrollbar { display: none; }
.sq-cat-subs-inner {
    max-width: 1380px; margin: 0 auto; padding: 12px 24px;
    display: flex; gap: 8px; flex-wrap: nowrap; min-width: max-content;
}
.sq-cat-sub-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 99px; white-space: nowrap;
    font-size: 13px; font-weight: 600; text-decoration: none;
    border: 1.5px solid #e5e7eb; color: #4b5563; background: #fff;
    transition: all .15s; flex-shrink: 0;
}
.sq-cat-sub-pill:hover { border-color: #f97316; color: #f97316; background: #fff7ed; }
.sq-cat-sub-pill.active { background: #f97316; color: #fff; border-color: #f97316; }
.sq-cat-sub-count {
    background: rgba(0,0,0,.08); color: inherit;
    font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px;
}
.sq-cat-sub-pill.active .sq-cat-sub-count { background: rgba(255,255,255,.25); }

/* Content */
.sq-cat-content {
    max-width: 1380px; margin: 0 auto;
    padding: 24px 24px 48px;
}

/* ── Responsive category ── */
@media (max-width: 768px) {
    .sq-cat-hero-inner { padding: 0 14px 16px; }
    .sq-cat-hero-title { font-size: 18px; }
    .sq-cat-hero-icon { width: 40px; height: 40px; font-size: 20px; border-radius: 10px; }
    .sq-cat-hero-row { gap: 10px; }
    .sq-cat-subs-inner { padding: 10px 14px; gap: 6px; }
    .sq-cat-content { padding: 16px 14px 40px; }
    .sq-cat-sub-pill { font-size: 12px; padding: 6px 11px; }
    .sq-cat-sort-select { font-size: 13px; }
}
@media (max-width: 480px) {
    .sq-cat-hero-title { font-size: 16px; }
    .sq-cat-hero-count { font-size: 12px; }
    .sq-cat-sort-wrap { padding: 0 8px; }
}

/* ══════════════════════════════════════════════════════
   FORM LAYOUT — product create/edit
   ══════════════════════════════════════════════════════ */
.sq-form-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}
.sq-form-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sq-form-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.sq-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* ── Aside sticky on desktop ── */
.sq-form-aside {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE TARGETED FIXES
   ══════════════════════════════════════════════════════ */

/* ── Categories dropdown — mobile ── */
@media (max-width: 768px) {
    .sq-cat-dropdown {
        position: fixed; top: 56px; left: 0; right: 0;
        max-height: 60vh; overflow-y: auto;
    }
    .sq-cat-dropdown-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px 12px; padding: 14px 16px;
    }
    .sq-cat-dropdown-title { font-size: 12px; padding: 4px 0; }
    .sq-cat-dropdown-link { font-size: 11.5px; padding: 2px 0; }
}
@media (max-width: 480px) {
    .sq-cat-dropdown-inner { grid-template-columns: 1fr; gap: 4px; padding: 10px 14px; }
    .sq-cat-dropdown-link { display: none; }
    .sq-cat-dropdown-title { border-bottom: none; margin-bottom: 0; padding: 8px 0; }
}

/* ── Footer — mobile compact ── */
@media (max-width: 768px) {
    .sq-footer { padding-top: 36px; }
    .sq-footer-links { gap: 5px; }
    .sq-footer-title { margin-bottom: 10px; font-size: 11px; }
    .sq-footer-links a { font-size: 13.5px; }
}
@media (max-width: 540px) {
    .sq-footer-inner { gap: 24px; }
    .sq-footer-title { margin-bottom: 8px; }
    .sq-footer-links { gap: 4px; }
    .sq-footer-links a { font-size: 13px; padding: 2px 0; }
    .sq-footer-social a { width: 36px; height: 36px; border-radius: 8px; }
    .sq-footer-bottom { font-size: 12px; padding: 14px 16px; margin-top: 24px; }
}

/* ── Dashboard — chart + recent products: stack sur mobile ── */
@media (max-width: 768px) {
    .sq-dash-charts-row { grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* ── KPI grid — toujours 2 colonnes sur téléphone ── */
@media (max-width: 540px) {
    .sq-kpi-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    .sq-kpi { padding: 14px 12px; }
    .sq-kpi-value { font-size: 22px; }
    .sq-kpi-label { font-size: 9.5px; }
    .sq-kpi-icon { width: 32px; height: 32px; }
    .sq-page-header { gap: 10px; }
    .sq-page-title { font-size: 18px; }
    .sq-page-subtitle { font-size: 13px; }
    .sq-content { padding: 12px 10px; }
}

/* ── Navbar mobile — masquer liens desktop ── */
@media (max-width: 768px) {
    .sq-navbar-v3-links { display: none; }
    .sq-navbar-v3-action span { display: none; }
}

/* ── Subscription plans grid ── */
.sq-sub-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .sq-sub-plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ── Form layout — tablet ── */
@media (max-width: 860px) {
    .sq-form-layout {
        grid-template-columns: 1fr;
    }
    .sq-form-aside {
        position: static;
        order: -1; /* Aside (submit + city) monte en premier sur mobile */
    }
    .sq-form-3col {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Form layout — mobile ── */
@media (max-width: 540px) {
    .sq-form-2col { grid-template-columns: 1fr; }
    .sq-form-3col { grid-template-columns: 1fr 1fr; }
    .sq-image-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .sq-form-layout { gap: 14px; }

    /* Inputs plus grands sur tactile */
    .sq-form-control {
        font-size: 16px !important; /* évite le zoom iOS */
        padding: 11px 12px !important;
        min-height: 44px;
    }
    .sq-form-label { font-size: 13px; }

    /* Image slots plus hauts */
    .sq-image-slot { min-height: 80px; }

    /* Boutons soumission pleine largeur */
    .sq-form-aside .sq-btn { min-height: 48px; font-size: 15px; }

    /* Page header compact */
    .sq-page-header { margin-bottom: 14px; }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT DETAIL — Responsive polish  (768 / 540 / 380)
   ══════════════════════════════════════════════════════════════ */

/* ── 768px ── */
@media (max-width: 768px) {
    /* Gallery */
    .sq-pd-main-img-wrap { aspect-ratio: 4/3; }
    .sq-pd-thumb  { width: 62px; height: 62px; }
    .sq-pd-thumbs { padding: 8px 12px; gap: 6px; }

    /* Arrows always visible on tablet */
    .sq-pd-arrow  { opacity: 0.75; }

    /* Title & price */
    .sq-pd-title       { font-size: 19px; line-height: 1.35; }
    .sq-pd-price-main  { font-size: 28px; }
    .sq-pd-price-block { padding: 14px 16px 14px 20px; border-radius: 14px; }

    /* Condition row wraps */
    .sq-pd-condition-row { flex-wrap: wrap; gap: 6px 12px; }

    /* WhatsApp button */
    .sq-pd-btn-wa { font-size: 14.5px; padding: 13px 16px; border-radius: 12px; }

    /* Secondary actions */
    .sq-pd-secondary-actions { gap: 8px; }
    .sq-pd-btn-secondary    { font-size: 12px; padding: 9px 6px; gap: 5px; }

    /* Disclaimer */
    .sq-pd-disclaimer { font-size: 12.5px; padding: 10px 14px; gap: 9px; }

    /* Seller box */
    .sq-pd-seller-box-header { font-size: 11px; padding: 8px 14px; }
    .sq-pd-seller-head  { padding: 14px; gap: 10px; }
    .sq-pd-seller-avatar{ width: 44px; height: 44px; border-radius: 12px; }
    .sq-pd-seller-name  { font-size: 13.5px; }
    .sq-pd-seller-mini-stats { padding: 10px 0 4px; }
    .sq-pd-seller-mini-val   { font-size: 16px; }
    .sq-pd-seller-mini-lbl   { font-size: 10px; }

    /* Description card */
    .sq-pd-desc-card    { padding: 18px 16px; border-radius: 14px; }
    .sq-pd-section-title{ font-size: 14.5px; gap: 7px; padding-bottom: 12px; margin-bottom: 14px; }
    .sq-pd-desc-body    { font-size: 14px; line-height: 1.7; }

    /* Trust pills scroll */
    .sq-pd-trust        { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
    .sq-pd-trust::-webkit-scrollbar { display: none; }
    .sq-pd-trust-item   { white-space: nowrap; flex-shrink: 0; }

    /* Related grids */
    .sq-pd-related { margin-top: 28px; }
}

/* ── 540px ── */
@media (max-width: 540px) {
    /* Gallery: square on small phone */
    .sq-pd-main-img-wrap { aspect-ratio: 1/1; }
    .sq-pd-thumb  { width: 52px; height: 52px; }

    /* Arrows always visible on touch */
    .sq-pd-arrow  { opacity: 0.85; width: 36px; height: 36px; }

    /* Title & price */
    .sq-pd-title       { font-size: 17px; }
    .sq-pd-price-main  { font-size: 26px; }
    .sq-pd-short-desc  { font-size: 13px; }

    /* WhatsApp full width */
    .sq-pd-btn-wa      { width: 100%; justify-content: center; font-size: 15px; padding: 15px; }

    /* 3 secondary actions → 3 cols equal */
    .sq-pd-secondary-actions { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
    .sq-pd-btn-secondary     { font-size: 11.5px; padding: 9px 4px; flex-direction: column; gap: 4px; height: auto; }

    /* Seller mini stats horizontal on small */
    .sq-pd-seller-mini-stats { display: flex; }
    .sq-pd-seller-mini-stat  { flex: 1; border-right: 1px solid var(--sq-border); border-bottom: none; padding: 10px 8px; }
    .sq-pd-seller-mini-stat:last-child { border-right: none; }
    .sq-pd-seller-mini-val   { font-size: 15px; }

    /* Disclaimer compact */
    .sq-pd-disclaimer { font-size: 12px; padding: 9px 12px; }
    .sq-pd-disclaimer a { display: block; margin-top: 4px; }

    /* Description */
    .sq-pd-desc-card    { padding: 14px 14px; }
    .sq-pd-section-title{ font-size: 13.5px; }

    /* Breadcrumb: hide middle segments */
    .sq-pd-breadcrumb .sq-pd-bc-sep:not(:last-of-type) { display: none; }
}

/* ── 380px ── */
@media (max-width: 380px) {
    .sq-pd-title       { font-size: 15px; }
    .sq-pd-price-main  { font-size: 23px; }
    .sq-pd-btn-wa      { font-size: 14px; }
    .sq-pd-thumb       { width: 46px; height: 46px; }
    .sq-pd-seller-head { padding: 12px; }
    .sq-pd-seller-avatar { width: 40px; height: 40px; }
}

/* ── Always show arrows on touch devices ── */
@media (hover: none) and (pointer: coarse) {
    .sq-pd-arrow { opacity: 0.8 !important; }
    .sq-pd-main-img-wrap:hover img { transform: none; }
}

/* ══════════════════════════════════════════════════════════════
   SELLER FORM — Immobilier section responsive
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    /* Immo type buttons: 3 per row */
    #immoTypeGrid,
    #immoVillaFields > .sq-form-group > div {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .sq-immo-type-btn { padding: 8px 4px; font-size: 12px; border-radius: 7px; }
}

@media (max-width: 400px) {
    /* Stack all form cols on very small phones */
    .sq-form-3col { grid-template-columns: 1fr !important; gap: 10px; }
    .sq-form-2col { grid-template-columns: 1fr !important; gap: 10px; }
    .sq-image-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }

    /* Immo type buttons: 2 per row */
    #immoTypeGrid,
    #immoVillaFields > .sq-form-group > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Submit button */
    .sq-form-aside .sq-btn { font-size: 14px; padding: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   SELLER DECLARATION MODAL
   ══════════════════════════════════════════════════════════════ */
#sellerDeclarationModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeIn .2s ease;
}
#sellerDeclarationModal.open {
    display: flex;
}
.sq-decl-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--sq-border, #e5e7eb);
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.sq-decl-check:hover { border-color: #2563eb; background: #eff6ff; }
.sq-decl-check input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #2563eb;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}
.sq-decl-check label {
    font-size: 13.5px;
    color: var(--sq-text, #1f2937);
    line-height: 1.5;
    cursor: pointer;
}
[dir="rtl"] .sq-decl-check { flex-direction: row-reverse; text-align: right; }

/* ══════════════════════════════════════════════════════════════
   FOOTER — compact 3-column professional layout
   ══════════════════════════════════════════════════════════════ */
.sq-footer { padding-top: 36px; }
.sq-footer-inner {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 0 48px;
    padding: 0 24px 32px;
    align-items: start;
}
.sq-footer-brand p {
    font-size: 13px; line-height: 1.7;
    max-width: 240px; margin-top: 8px;
}
.sq-footer-social { gap: 8px; flex-wrap: nowrap; }
.sq-footer-social a { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.sq-footer-bottom { margin-top: 0; padding: 14px 24px; font-size: 12.5px; }

@media (max-width: 900px) {
    .sq-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
    .sq-footer-brand { grid-column: 1 / -1; }
    .sq-footer-brand p { max-width: 100%; }
    .sq-footer-social { flex-wrap: wrap; }
}
@media (max-width: 540px) {
    .sq-footer { padding-top: 28px; }
    .sq-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 0 16px 24px; }
    .sq-footer-brand { grid-column: 1 / -1; }
    .sq-footer-bottom { padding: 12px 16px; flex-direction: column; gap: 4px; text-align: center; font-size: 12px; }
}
[dir="rtl"] .sq-footer-brand p { max-width: 100%; }
[dir="rtl"] .sq-footer-social { flex-direction: row-reverse; }

/* ══════════════════════════════════════════════════════════════
   DASHBOARD RESPONSIVE — Mobile First (≤1024 / ≤768 / ≤540)
   ══════════════════════════════════════════════════════════════ */

/* ── Sidebar hidden on mobile ── */
@media (max-width: 1024px) {
    .sq-sidebar {
        position: fixed;
        top: 0; bottom: 0; left: 0;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform .25s ease;
    }
    .sq-sidebar.open { transform: translateX(0); box-shadow: var(--sq-shadow-xl); }
    [dir="rtl"] .sq-sidebar { left: auto; right: 0; transform: translateX(100%); }
    [dir="rtl"] .sq-sidebar.open { transform: translateX(0); }
    .sq-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    .sq-content { width: 100%; max-width: 100%; }
    .sq-menu-toggle { display: flex !important; }
    .sq-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; }
    .sq-sidebar-overlay.open { display: block; }
}

/* ── Header compact on tablet ── */
@media (max-width: 768px) {
    .sq-header { padding: 0 12px; height: 52px; }
    .sq-header-breadcrumb { display: none; }
    .sq-header-right { gap: 2px; }
    .sq-header-btn { width: 36px; height: 36px; }
    .sq-content { padding: 12px; }
    .sq-page-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
    .sq-page-title { font-size: 20px !important; }
    .sq-page-subtitle { font-size: 13px !important; }
}

/* ── Header: masquer liens peu utiles sur petit mobile ── */
@media (max-width: 480px) {
    .sq-header { padding: 0 10px; height: 50px; }
    .sq-header-right .sq-header-btn[title="Voir le site"],
    .sq-header-right form .sq-header-btn { display: none; }
    .sq-lang-switcher .sq-lang-btn { font-size: 12px; padding: 0 8px; gap: 4px; }
    .sq-content { padding: 10px 8px; }
}

/* ── Notification dropdown: full width on mobile ── */
@media (max-width: 480px) {
    .sq-header-right [x-data] > div[x-show] {
        width: calc(100vw - 16px) !important;
        right: -60px !important;
    }
}

/* ── sq-card responsive ── */
@media (max-width: 640px) {
    .sq-card { border-radius: 10px; }
    .sq-card-header { padding: 12px 14px; }
    .sq-card-body { padding: 12px 14px; }
    .sq-card-footer { padding: 10px 14px; }
    .sq-table th, .sq-table td { padding: 10px 10px; font-size: 12.5px; }
    .sq-btn { font-size: 12.5px; padding: 7px 12px; }
}

/* ── Tables: scroll horizontal sur mobile ── */
@media (max-width: 768px) {
    .sq-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .sq-table { min-width: 560px; }
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE LAYOUT HELPERS
   ══════════════════════════════════════════════════════════════ */

/* Main + aside (2fr / 1fr) */
.sq-layout-2-1 { display:grid; grid-template-columns:2fr 1fr; gap:20px; align-items:start; }
@media (max-width:860px) { .sq-layout-2-1 { grid-template-columns:1fr !important; } }

/* Equal two-column form grid */
.sq-grid-2col { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:640px) { .sq-grid-2col { grid-template-columns:1fr !important; } }

/* Three-column chart/stats layout */
.sq-charts-3col { display:grid; grid-template-columns:2fr 1fr 1fr; gap:20px; margin-bottom:20px; }
@media (max-width:1100px) { .sq-charts-3col { grid-template-columns:1fr 1fr; } }
@media (max-width:640px)  { .sq-charts-3col { grid-template-columns:1fr; } }

/* Five-column KPI grid */
.sq-kpi-grid-5 { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin-bottom:20px; }
@media (max-width:1200px) { .sq-kpi-grid-5 { grid-template-columns:repeat(3,1fr); } }
@media (max-width:700px)  { .sq-kpi-grid-5 { grid-template-columns:repeat(2,1fr); gap:10px; } }
@media (max-width:400px)  { .sq-kpi-grid-5 { grid-template-columns:1fr; } }

/* Search layout (filter sidebar + results) */
.sq-search-layout { display:grid; grid-template-columns:260px 1fr; gap:24px; align-items:start; }
@media (max-width:900px) {
    .sq-search-filter-toggle { display:flex !important; }
    .sq-search-layout        { grid-template-columns:1fr; }
    #searchFilters           { display:none; }
    #searchFilters.open      { display:block; }
    #searchFilters .sq-card  { position:static !important; }
}

/* Table overflow wrapper */
.sq-table-overflow { overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* Flex helpers mobile */
@media (max-width:640px) {
    .sq-flex-wrap-sm { flex-wrap:wrap !important; }
    .sq-flex-col-sm  { flex-direction:column !important; gap:10px !important; }
}

/* ══════════════════════════════════════════════════════════════
   ADMIN FILTER FORMS — Mobile responsive
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    /* All filter forms: stack items vertically */
    .sq-content > form .sq-form-control,
    .sq-content > form .sq-btn {
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100%;
    }
    /* Subscriptions/locations tab rows */
    .adm-sub-kpi-row { grid-template-columns: repeat(2,1fr) !important; }
    /* Table actions: stack buttons */
    .sq-table td [style*="display:flex"][style*="gap:6px"] { flex-wrap: wrap; gap: 4px; }
    /* Header action buttons */
    .sq-page-header [style*="display:flex"][style*="gap:"] { flex-wrap: wrap; gap: 6px; }
}
