/*
Theme Name:   ALMOQAYADA — Adforest Child
Theme URI:    https://almoqayada.com
Description:  Thème enfant Adforest pour ALMOQAYADA : application Android (Play Store), habillage Europa (style de ai7.almoqayada.com) ou Classique, accueil Europa, Match IA sur les vraies annonces, transactions négociées par IA avec confirmation admin, paiements MAD, trilingue FR/EN/AR, inscription directe et Google, sécurité renforcée et double authentification.
Author:       ALMOQAYADA / OULBIG
Template:     adforest
Version:      4.2.0
Text Domain:  adforest
*/

/* ===== Design tokens — repris des réglages Redux d'almoqayada.com =====
   opt-theme-btn-color      : #1274b2 / survol #f1871e
   opt-theme-btn-shadow     : rgba(255,194,32,.8)
   titres h1–h6             : #20292f (Poppins 600/500)
   texte                    : #777777, Poppins 400, 16px / 30px            */
:root {
  --amq-primary:      #1274b2;
  --amq-primary-dark: #0e5f93;
  --amq-accent:       #f1871e;
  --amq-yellow:       #ffc220;
  --amq-shadow-btn:   rgba(255,194,32,.8);
  --amq-heading:      #20292f;
  --amq-text:         #777777;
  --amq-soft:         #f4f6f9;
  --amq-line:         #e6e9ee;
  --amq-dark:         #232a31;
  --amq-green:        #1f8a4c;
  --amq-red:          #d63b3b;
  --amq-radius:       6px;
  --amq-font:         'Poppins', 'Segoe UI', system-ui, sans-serif;
  --amq-font-ar:      'Cairo', 'Poppins', system-ui, sans-serif;
  /* anciens noms conservés pour compatibilité */
  --amq-orange: var(--amq-accent); --amq-blue: var(--amq-primary); --amq-purple: var(--amq-primary-dark);
  --amq-mid: #555d64; --amq-light: var(--amq-soft);
}

[class^="amq-"], [class*=" amq-"] { font-family: var(--amq-font); }
[dir="rtl"] [class^="amq-"], .amq-ar { font-family: var(--amq-font-ar); }

/* ===== Boutons (identiques au bouton Adforest du site) ===== */
.amq-btn, .amq-btn-primary, .amq-btn-ai, .amq-btn-green {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--amq-primary)!important; color:#fff!important;
  padding:13px 26px; border:0; border-radius:4px;
  font-family:var(--amq-font); font-weight:500; font-size:14px; line-height:1.2;
  box-shadow:0 6px 14px -6px var(--amq-shadow-btn);
  cursor:pointer; text-decoration:none; transition:background .2s;
}
.amq-btn:hover, .amq-btn-primary:hover, .amq-btn-ai:hover,
.amq-btn:focus-visible, .amq-btn-primary:focus-visible, .amq-btn-ai:focus-visible { background:var(--amq-accent)!important; color:#fff!important; }
.amq-btn-green { background:var(--amq-green)!important; }
.amq-btn-green:hover { background:#18703d!important; }
.amq-btn-line { background:transparent!important; color:var(--amq-primary)!important; border:1px solid var(--amq-primary); box-shadow:none; }
.amq-btn-line:hover { background:var(--amq-primary)!important; color:#fff!important; }
.amq-btn-google { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; background:#fff!important; color:#3c4043!important; border:1px solid #dadce0; border-radius:4px; padding:12px 18px; font-weight:500; font-size:14px; text-decoration:none; box-shadow:none; }
.amq-btn-google:hover { background:#f7f8f8!important; border-color:#c6c9cc; }
.amq-btn-google svg { width:18px; height:18px; flex-shrink:0; }
[class^="amq-btn"]:focus-visible { outline:2px solid var(--amq-accent); outline-offset:2px; }

/* ===== Cartes, bandes, widgets ===== */
.amq-card { background:#fff; border:1px solid var(--amq-line); border-radius:var(--amq-radius); padding:24px; }
.amq-card:hover { border-color:var(--amq-primary); box-shadow:0 10px 24px -12px rgba(18,116,178,.45); }
.amq-match-section { background:linear-gradient(115deg,#123049 0%,var(--amq-primary) 70%); border-radius:var(--amq-radius); padding:26px; margin:24px 0; color:#fff; }
.amq-match-section h3 { color:#fff; font-size:18px; font-weight:600; margin-bottom:10px; }
.amq-match-section p  { color:#e6eef5; font-size:14px; line-height:24px; margin-bottom:16px; }
.amq-sidebar-widget { background:#eaf3f9; border:1px solid #cfe2ef; border-top:3px solid var(--amq-primary); border-radius:var(--amq-radius); padding:22px; margin-bottom:24px; }
.amq-sidebar-widget h4 { font-size:16px; font-weight:600; color:var(--amq-heading); margin-bottom:8px; }
.amq-sidebar-widget p  { font-size:14px; color:var(--amq-text); margin-bottom:14px; line-height:24px; }
.amq-hero-banner { background:linear-gradient(115deg,#123049,var(--amq-primary) 60%,var(--amq-accent) 140%); padding:18px 24px; border-radius:var(--amq-radius); display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.amq-hero-banner-text { color:#fff; font-weight:500; font-size:15px; }
.amq-hero-banner-text span { opacity:.85; font-size:13px; display:block; margin-top:2px; }
.amq-hero-banner .amq-btn-primary, .amq-hero-banner .amq-btn-ai { background:#fff!important; color:var(--amq-primary)!important; }
.amq-hero-banner .amq-btn-primary:hover, .amq-hero-banner .amq-btn-ai:hover { background:var(--amq-yellow)!important; color:var(--amq-heading)!important; }

/* ===== Badges / états ===== */
.amq-badge { display:inline-block; font-size:11px; font-weight:600; padding:2px 10px; border-radius:3px; line-height:18px; }
.amq-badge-orange { background:#fdf0e3; color:#b55e0c; }
.amq-badge-green  { background:#e9f8ef; color:var(--amq-green); }
.amq-badge-blue   { background:#eaf3f9; color:var(--amq-primary); }
.amq-badge-purple { background:#e7eef5; color:#123049; }
.amq-badge-red    { background:#fdeaea; color:var(--amq-red); }
.amq-badge-gray   { background:var(--amq-soft); color:var(--amq-text); }

/* ===== Fenêtre Match IA ===== */
.amq-modal-overlay { position:fixed; inset:0; z-index:9999; background:rgba(20,27,34,.72); display:flex; align-items:center; justify-content:center; padding:16px; backdrop-filter:blur(4px); }
.amq-modal-box { background:#1a2128; border-top:3px solid var(--amq-primary); border-radius:8px; padding:32px; max-width:640px; width:100%; max-height:85vh; overflow-y:auto; box-shadow:0 24px 80px rgba(0,0,0,.45); }
.amq-modal-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; }
.amq-modal-title  { font-size:18px; font-weight:600; color:#fff; }
.amq-modal-close  { background:rgba(255,255,255,.1); border:none; color:#fff; width:32px; height:32px; border-radius:50%; cursor:pointer; font-size:16px; display:flex; align-items:center; justify-content:center; }
.amq-modal-close:hover { background:var(--amq-accent); }
.amq-ai-output { color:rgba(255,255,255,.85); font-size:14px; line-height:26px; }
.amq-ai-output strong { color:var(--amq-yellow); }
.amq-ai-output h3 { color:#fff; font-size:15px; margin:16px 0 8px; }

.amq-floating-btn { position:fixed; bottom:82px; right:18px; z-index:500; background:var(--amq-primary); color:#fff; border:none; border-radius:30px; padding:11px 18px; font-family:var(--amq-font); font-weight:500; font-size:13px; cursor:pointer; box-shadow:0 8px 20px -6px var(--amq-shadow-btn); transition:background .2s; display:flex; align-items:center; gap:8px; }
.amq-floating-btn:hover { background:var(--amq-accent); }
.amq-floating-pulse { width:8px; height:8px; border-radius:50%; background:var(--amq-yellow); animation:amq-pulse 2s infinite; }
@keyframes amq-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.amq-tx-table { width:100%; border-collapse:collapse; font-size:14px; }
.amq-tx-table th { text-align:left; padding:10px 14px; background:var(--amq-soft); font-weight:600; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--amq-heading); border-bottom:2px solid var(--amq-line); }
.amq-tx-table td { padding:12px 14px; border-bottom:1px solid var(--amq-line); vertical-align:middle; }

/* ===== Connexion / inscription / sécurité ===== */
.amq-auth { max-width:460px; margin:40px auto; background:#fff; border:1px solid var(--amq-line); border-top:3px solid var(--amq-primary); border-radius:var(--amq-radius); padding:30px 28px; }
.amq-auth h2 { font-size:24px; line-height:32px; font-weight:600; color:var(--amq-heading); margin:0 0 6px; text-align:center; }
.amq-auth .amq-sub { text-align:center; font-size:14px; line-height:22px; margin:0 0 22px; color:var(--amq-text); }
.amq-tabs { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid var(--amq-line); margin:0 0 22px; }
.amq-tabs button { background:none; border:0; border-bottom:3px solid transparent; padding:10px; font-family:var(--amq-font); font-weight:500; font-size:15px; color:var(--amq-text); cursor:pointer; margin-bottom:-1px; }
.amq-tabs button[aria-selected="true"] { color:var(--amq-primary); border-color:var(--amq-primary); }
.amq-field { display:grid; gap:6px; margin-bottom:14px; }
.amq-field label { font-size:13px; font-weight:500; color:var(--amq-heading); line-height:18px; }
.amq-field input, .amq-field select { width:100%; border:1px solid var(--amq-line); border-radius:4px; padding:11px 13px; font-family:var(--amq-font); font-size:14px; color:var(--amq-heading); line-height:20px; background:#fff; }
.amq-field input:focus { border-color:var(--amq-primary); outline:0; box-shadow:0 0 0 3px rgba(18,116,178,.15); }
.amq-field .amq-hint { font-size:12px; line-height:18px; color:var(--amq-text); }
.amq-check { display:flex; gap:8px; align-items:flex-start; font-size:13px; line-height:20px; margin:4px 0 16px; }
.amq-or { display:flex; align-items:center; gap:12px; margin:18px 0; font-size:12px; color:var(--amq-text); text-transform:uppercase; letter-spacing:.06em; }
.amq-or::before, .amq-or::after { content:""; flex:1; height:1px; background:var(--amq-line); }
.amq-auth .amq-btn { width:100%; }
.amq-msg { border-radius:4px; padding:10px 14px; font-size:14px; line-height:22px; margin-bottom:16px; }
.amq-msg-error { background:#fdeaea; color:#a12a2a; border:1px solid #f5c6c6; }
.amq-msg-ok    { background:#e9f8ef; color:#17663a; border:1px solid #bfe7cf; }
.amq-msg-info  { background:#eaf3f9; color:#0e5f93; border:1px solid #cfe2ef; }
.amq-hp { position:absolute!important; left:-9999px!important; width:1px; height:1px; overflow:hidden; }
.amq-code-input { letter-spacing:.4em; text-align:center; font-size:22px!important; font-variant-numeric:tabular-nums; }
.amq-qr { display:grid; place-items:center; background:#fff; border:1px solid var(--amq-line); border-radius:var(--amq-radius); padding:14px; margin:0 auto 14px; width:max-content; max-width:100%; }
.amq-secret { font-family:ui-monospace,Menlo,Consolas,monospace; background:var(--amq-soft); border-radius:4px; padding:8px 10px; word-break:break-all; font-size:14px; text-align:center; }
.amq-backup { display:grid; grid-template-columns:repeat(2,1fr); gap:6px; font-family:ui-monospace,Menlo,Consolas,monospace; font-size:14px; background:var(--amq-soft); padding:12px; border-radius:4px; }
.amq-security { max-width:640px; }
.amq-security h3 { font-size:18px; font-weight:600; color:var(--amq-heading); margin:0 0 8px; }
.amq-pill { display:inline-block; font-size:12px; font-weight:600; padding:2px 10px; border-radius:20px; }
.amq-pill-on  { background:#e9f8ef; color:var(--amq-green); }
.amq-pill-off { background:#fdeaea; color:var(--amq-red); }

@media(max-width:768px) {
  .amq-floating-btn{bottom:76px;right:12px;}
  .amq-modal-box{padding:22px;}
  .amq-hero-banner{flex-direction:column;text-align:center;}
  .amq-auth{margin:20px auto;padding:24px 18px;}
}
@media (prefers-reduced-motion:reduce){ [class^="amq-"]{transition:none!important;animation:none!important} }

/* =====================================================================
   HABILLAGE EUROPA — style de ai7.almoqayada.com (démo AdForest Europa)
   Blanc épuré, rouge #ff0031, encre #14181f, Poppins. Au choix (Classique par défaut sur almoqayada.com)
   (ALMOQAYADA → Habillage). Les jetons ci-dessous remplacent ceux du
   style Classique pour TOUS les modules (boutons, connexion, 2FA, Match IA…).
   La classe est posée sur <html> par un petit script (choix de chaque visiteur,
   compatible avec le cache LiteSpeed), ou sur <body> en secours.
   ===================================================================== */
.amq-skin-europa {
  --amq-primary:      #ff0031;
  --amq-primary-dark: #d6002a;
  --amq-accent:       #d6002a;
  --amq-yellow:       #f5b50a;
  --amq-shadow-btn:   rgba(255,0,49,.35);
  --amq-heading:      #14181f;
  --amq-text:         #5b6470;
  --amq-soft:         #f6f7f9;
  --amq-line:         #e8eaee;
  --amq-dark:         #14181f;
  --amq-radius:       12px;
  --amq-orange: #ff0031; --amq-blue: #ff0031; --amq-purple: #b3001f; --amq-mid: #5b6470; --amq-light: #f6f7f9;
}
.amq-skin-europa .amq-btn, .amq-skin-europa .amq-btn-primary, .amq-skin-europa .amq-btn-ai { border-radius: 40px; font-weight: 600; }
.amq-skin-europa .amq-btn-line { border-radius: 40px; }
.amq-skin-europa .amq-match-section { background: #fff; color: var(--amq-heading); border: 1px solid var(--amq-line); border-top: 3px solid var(--amq-primary); }
.amq-skin-europa .amq-match-section h3 { color: var(--amq-heading); }
.amq-skin-europa .amq-match-section p { color: var(--amq-text); }
.amq-skin-europa .amq-sidebar-widget { background: linear-gradient(180deg,#fff,#fff7f8); border-color: rgba(255,0,49,.28); border-top-color: var(--amq-primary); }
.amq-skin-europa .amq-hero-banner { background: linear-gradient(135deg,#ff0031,#d6002a); }
.amq-skin-europa .amq-hero-banner .amq-btn-primary:hover { background: #14181f!important; color: #fff!important; }
.amq-skin-europa .amq-modal-box { background: #fff; border-top-color: var(--amq-primary); }
.amq-skin-europa .amq-modal-title { color: var(--amq-heading); }
.amq-skin-europa .amq-modal-close { background: #f0f1f3; color: var(--amq-heading); }
.amq-skin-europa .amq-ai-output { color: var(--amq-text); }
.amq-skin-europa .amq-ai-output strong { color: var(--amq-primary); }
.amq-skin-europa .amq-ai-output h3 { color: var(--amq-heading); }
.amq-skin-europa .amq-floating-pulse { background: #fff; }
.amq-skin-europa .amq-badge-blue, .amq-skin-europa .amq-badge-orange { background: rgba(255,0,49,.10); color: #d6002a; }
.amq-skin-europa .amq-auth { border-radius: 14px; }

/* ===== Accueil Europa ===== */
.amq-eu { --eu-red: var(--amq-primary); --eu-ink: var(--amq-heading); --eu-mid: var(--amq-text); --eu-soft: var(--amq-soft); --eu-line: var(--amq-line); color: var(--eu-ink); font-family: var(--amq-font); }
.amq-eu-wrap { max-width: 1200px; margin: 0 auto; padding-inline: 16px; }
.amq-eu h1, .amq-eu h2, .amq-eu h3 { color: var(--eu-ink); text-wrap: balance; margin: 0; }
.amq-eu-sec { padding-block: 56px; }
.amq-eu-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.amq-eu-head h2 { font-size: 28px; line-height: 36px; font-weight: 600; }
.amq-eu-head a { color: var(--eu-red); font-weight: 500; font-size: 14px; text-decoration: none; }
.amq-eu-head a::after { content: " ›"; }
.amq-eu-empty { color: var(--eu-mid); }

.amq-eu-hero { background: linear-gradient(180deg, #fff 0%, var(--eu-soft) 100%); padding-block: 36px 48px; border-bottom: 1px solid var(--eu-line); }
.amq-eu-cats { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.amq-eu-cat-ico { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: var(--eu-ink); padding: 10px 4px; border-radius: 12px; transition: background .2s; }
.amq-eu-cat-ico:hover, .amq-eu-cat-ico:focus-visible { background: #fff; box-shadow: 0 8px 22px -14px rgba(20,24,31,.4); }
.amq-eu-ico { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--eu-line); display: grid; place-items: center; }
.amq-eu-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--eu-red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.amq-eu-ico img { width: 36px; height: 36px; object-fit: contain; }
.amq-eu-ico-label { font-size: 13px; line-height: 18px; font-weight: 500; text-align: center; }

.amq-eu-search { background: #fff; border: 1px solid var(--eu-line); border-radius: 16px; padding: 22px 24px 18px; box-shadow: 0 18px 50px -24px rgba(20,24,31,.35); }
.amq-eu-search h1 { font-size: 22px; line-height: 30px; font-weight: 600; margin-bottom: 14px; }
.amq-eu-search-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 12px; align-items: end; }
.amq-eu-search-row > * { min-width: 0; }
.amq-eu-search label { display: grid; gap: 6px; font-size: 12px; font-weight: 500; color: var(--eu-mid); text-transform: uppercase; letter-spacing: .05em; }
.amq-eu-search input, .amq-eu-search select { width: 100%; box-sizing: border-box; height: 48px; border: 1px solid var(--eu-line); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--eu-ink); background: #fff; }
.amq-eu-search input:focus, .amq-eu-search select:focus { outline: 0; border-color: var(--eu-red); box-shadow: 0 0 0 3px rgba(255,0,49,.12); }
.amq-eu-search .amq-btn { height: 48px; padding-inline: 28px; }
.amq-eu-search-ai { margin: 12px 0 0; font-size: 13px; color: var(--eu-mid); }
.amq-eu-search-ai a { color: var(--eu-red); font-weight: 500; }

.amq-eu-locs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.amq-eu-loc { display: grid; gap: 2px; justify-items: start; padding: 16px; border: 1px solid var(--eu-line); border-radius: 12px; text-decoration: none; color: var(--eu-ink); background: #fff; transition: border-color .2s, transform .2s; }
.amq-eu-loc:hover { border-color: var(--eu-red); transform: translateY(-2px); }
.amq-eu-loc-pin { font-size: 18px; }
.amq-eu-loc strong { font-weight: 600; font-size: 15px; }
.amq-eu-loc small { color: var(--eu-mid); font-size: 13px; font-variant-numeric: tabular-nums; }

.amq-eu-banners .amq-eu-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding-block: 8px; }
.amq-eu-banner img { width: 100%; height: auto; border-radius: 12px; display: block; }

.amq-eu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.amq-eu-card { background: #fff; border: 1px solid var(--eu-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.amq-eu-card:hover { box-shadow: 0 18px 40px -22px rgba(20,24,31,.4); transform: translateY(-3px); }
.amq-eu-card-img { position: relative; display: block; aspect-ratio: 760 / 410; background: var(--eu-soft); max-width: 100%; }
.amq-eu-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amq-eu-noimg { display: grid; place-items: center; width: 100%; height: 100%; }
.amq-eu-noimg svg, .amq-eu-mini-img svg, .amq-eu-row-img svg { width: 40px; height: 40px; fill: none; stroke: var(--eu-red); stroke-width: 1.5; }
.amq-eu-flag { position: absolute; top: 12px; left: 12px; background: var(--eu-red); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.amq-eu-card-body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.amq-eu-cat { justify-self: start; background: rgba(255,0,49,.08); color: var(--eu-red); font-size: 12px; font-weight: 500; padding: 1px 10px; border-radius: 20px; }
.amq-skin-classique .amq-eu-cat { background: #eaf3f9; }
.amq-eu-card h3 { font-size: 15px; line-height: 22px; font-weight: 600; }
.amq-eu-card h3 a, .amq-eu-row h3 a { color: inherit; text-decoration: none; }
.amq-eu-card h3 a:hover, .amq-eu-row h3 a:hover { color: var(--eu-red); }
.amq-eu-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 12px; line-height: 18px; color: var(--eu-mid); }
.amq-eu-price { margin: 0; font-weight: 700; color: var(--eu-ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.amq-eu-price small { font-weight: 400; color: var(--eu-mid); font-size: 12px; }

.amq-eu-ai { background: var(--eu-ink); color: #fff; }
.amq-eu-ai-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-block: 56px; }
.amq-eu-ai h2 { color: #fff; font-size: 28px; line-height: 36px; font-weight: 600; }
.amq-eu-ai p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 26px; margin: 12px 0 22px; max-width: 60ch; }
.amq-eu-ai-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.amq-eu-ai .amq-btn-line { color: #fff!important; border-color: rgba(255,255,255,.4); }
.amq-eu-ai .amq-btn-line:hover { background: #fff!important; color: var(--eu-ink)!important; }
.amq-ring { margin: 0 auto; width: min(320px, 80vw); max-width: 100%; text-align: center; }
.amq-ring svg { width: 100%; height: auto; overflow: visible; }
.amq-ring .flow { fill: none; stroke: var(--eu-red); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 14 12; animation: amq-rotate 9s linear infinite; }
@keyframes amq-rotate { to { stroke-dashoffset: -260; } }
.amq-ring .n1 { fill: var(--eu-red); } .amq-ring .n2 { fill: #fff; } .amq-ring .n3 { fill: #b3001f; }
.amq-ring .node { font: 600 13px var(--amq-font); fill: #fff; }
.amq-ring g:nth-child(3) .node { fill: var(--eu-ink); }
.amq-ring .cap { font: 400 10px var(--amq-font); fill: rgba(255,255,255,.65); }
.amq-ring figcaption { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 6px; }

.amq-eu-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.amq-eu-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 16px; background: #fff; border: 1px solid var(--eu-line); border-radius: 14px; padding: 12px; margin-bottom: 14px; align-items: center; }
.amq-eu-row-img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--eu-soft); max-width: 100%; }
.amq-eu-row-img img { width: 100%; height: 100%; object-fit: cover; }
.amq-eu-row h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin-bottom: 4px; }
.amq-eu-excerpt { margin: 6px 0 0; font-size: 13px; line-height: 21px; color: var(--eu-mid); }
.amq-eu-row-side { display: grid; justify-items: end; gap: 6px; text-align: right; }
.amq-eu-row-side small { color: var(--eu-mid); font-size: 12px; }
.amq-eu-row-side .amq-btn { padding: 8px 16px; font-size: 13px; }
.amq-eu-side { display: grid; gap: 18px; position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); }
.amq-eu-side-box { background: #fff; border: 1px solid var(--eu-line); border-radius: 14px; padding: 18px; }
.amq-eu-side-box h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin-bottom: 12px; }
.amq-eu-side-box p { font-size: 14px; line-height: 22px; color: var(--eu-mid); margin: 0 0 12px; }
.amq-eu-side-cta { border-top: 3px solid var(--eu-red); }
.amq-eu-mini { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--eu-line); text-decoration: none; color: var(--eu-ink); }
.amq-eu-mini:first-of-type { border-top: 0; }
.amq-eu-mini-img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--eu-soft); display: grid; place-items: center; }
.amq-eu-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.amq-eu-mini strong { display: block; font-size: 13px; line-height: 19px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amq-eu-mini small { color: var(--eu-red); font-weight: 600; font-size: 13px; }

.amq-eu-partners { border-top: 1px solid var(--eu-line); }
.amq-eu-partners .amq-eu-wrap { display: flex; justify-content: center; gap: 14px 40px; flex-wrap: wrap; padding-block: 28px; }
.amq-eu-partners a { color: #8a929c; font-weight: 600; letter-spacing: .04em; text-decoration: none; font-size: 15px; }
.amq-eu-partners a:hover { color: var(--eu-ink); }

.amq-eu-sell { position: fixed; right: 18px; bottom: calc(140px + env(safe-area-inset-bottom, 0px)); z-index: 480; background: var(--eu-ink); color: #fff!important; padding: 10px 18px; border-radius: 30px; font-weight: 600; font-size: 13px; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(20,24,31,.6); }
.amq-eu-sell:hover { background: var(--eu-red); }

/* Page Déposer une annonce */
.amq-eu-deposer { background: var(--eu-soft); padding-block: 48px 64px; }
.amq-eu-pill { display: inline-block; background: rgba(255,0,49,.10); color: var(--eu-red); border: 1px solid rgba(255,0,49,.28); padding: 4px 14px; border-radius: 40px; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.amq-eu-deposer h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; font-weight: 700; margin-bottom: 10px; }
.amq-eu-lead { color: var(--eu-mid); max-width: 60ch; margin: 0 0 24px; }
.amq-eu-deposer .amq-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.amq-eu-steps { list-style: none; counter-reset: s; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.amq-eu-steps li { counter-increment: s; display: grid; gap: 4px; border: 1px solid var(--eu-line); border-radius: 12px; padding: 16px; background: #fff; }
.amq-eu-steps li::before { content: counter(s, decimal-leading-zero); color: var(--eu-red); font-weight: 700; font-size: 22px; line-height: 1; }
.amq-eu-steps strong { font-size: 15px; }
.amq-eu-steps span { font-size: 13px; line-height: 20px; color: var(--eu-mid); }

@media (max-width: 1024px) {
  .amq-eu-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .amq-eu-locs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .amq-eu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amq-eu-split, .amq-eu-ai-in { grid-template-columns: 1fr; }
  .amq-eu-side { position: static; }
}
@media (max-width: 720px) {
  .amq-eu-cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 92px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; }
  .amq-eu-cat-ico { scroll-snap-align: start; }
  .amq-eu-search-row { grid-template-columns: 1fr; }
  .amq-eu-row { grid-template-columns: 110px minmax(0, 1fr); }
  .amq-eu-row-side { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; justify-items: start; align-items: center; text-align: left; }
  .amq-eu-row-side .amq-btn { justify-self: end; }
  .amq-eu-excerpt { display: none; }
  .amq-eu-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .amq-eu-grid { grid-template-columns: 1fr; } .amq-eu-locs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .amq-ring .flow { animation: none; } .amq-eu-card, .amq-eu-loc { transition: none; } }

/* ===== Mode application : choix de l'affichage, suppression de compte ===== */
.amq-skinpick-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(20,24,31,.6); display: grid; place-items: end center; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); backdrop-filter: blur(3px); }
.amq-skinpick-overlay[hidden] { display: none !important; }
.amq-skinpick-box { width: 100%; max-width: 520px; background: #fff; color: #14181f; border-radius: 20px; padding: 24px 20px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); font-family: var(--amq-font); }
.amq-skinpick-inline .amq-skinpick-box { box-shadow: none; border: 1px solid var(--amq-line); max-width: 640px; }
.amq-skinpick h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0 0 6px; color: #14181f; }
.amq-skinpick p { font-size: 14px; line-height: 22px; color: #5b6470; margin: 0 0 16px; }
.amq-skinpick-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.amq-skinpick-opt { display: grid; gap: 2px; justify-items: center; text-align: center; background: #fff; border: 2px solid #e8eaee; border-radius: 14px; padding: 12px 10px 14px; cursor: pointer; font: inherit; color: #14181f; transition: border-color .15s, box-shadow .15s; }
.amq-skinpick-opt:hover { border-color: #c6cbd3; }
.amq-skinpick-opt.is-current { border-color: var(--c, #14181f); box-shadow: 0 0 0 3px rgba(20,24,31,.06); }
.amq-skinpick-opt[data-amq-skin="europa"].is-current { border-color: #ff0031; }
.amq-skinpick-opt[data-amq-skin="classique"].is-current { border-color: #1274b2; }
.amq-skinpick-opt:focus-visible { outline: 2px solid #14181f; outline-offset: 2px; }
.amq-skinpick-opt strong { font-size: 15px; font-weight: 600; margin-top: 8px; }
.amq-skinpick-opt small { font-size: 12px; color: #5b6470; }
.amq-skinpick-mock { display: grid; gap: 5px; width: 100%; max-width: 150px; aspect-ratio: 5 / 4; background: #f6f7f9; border-radius: 10px; padding: 10px; box-sizing: border-box; align-content: start; }
.amq-skinpick-mock i { height: 14px; border-radius: 4px; background: var(--i); }
.amq-skinpick-mock b { height: 26px; border-radius: 6px; background: #fff; border: 1px solid #e8eaee; }
.amq-skinpick-mock em { height: 16px; width: 70%; justify-self: center; border-radius: 20px; background: var(--c); margin-top: 6px; }
.amq-btn-danger { background: #c62828 !important; }
.amq-btn-danger:hover { background: #8e1c1c !important; }
.amq-delacct ul { margin: 0 0 12px 18px; padding: 0; font-size: 14px; line-height: 24px; }
.amq-delacct p { font-size: 14px; line-height: 22px; }
.amq-policy h2 { font-size: 20px; margin: 24px 0 8px; }
.amq-policy li { margin-bottom: 6px; }
/* Dans l'application : plus de bouton « Télécharger l'application » ni de bannière d'installation */
.amq-in-app .amq-download-app, .amq-in-app [href*="play.google.com/store/apps/details?id=com.almoqayada"] { display: none !important; }

/* =====================================================================
   ACCUEILS COMPLETS (inc/amq-homes.php)
   .amq-hc   = accueil Classique d'almoqayada.com (bleu #1274b2 / orange #f1871e)
   .amq-hpro = accueil Pro d'almoqayada.pro, habillage Original (orange #f58936 / jaune #f6b801)
   Couleurs prises dans les jetons --amq-* de l'habillage actif.
   ===================================================================== */
.amq-hc, .amq-hpro { font-family: var(--amq-font); color: var(--amq-text); font-size: 16px; line-height: 1.75; }
.amq-hc *, .amq-hpro * { box-sizing: border-box; }
.amq-hc h1, .amq-hc h2, .amq-hc h3, .amq-hpro h1, .amq-hpro h2, .amq-hpro h3 { font-family: var(--amq-font); color: var(--amq-heading); margin: 0; text-wrap: balance; }
.amq-hc a, .amq-hpro a { text-decoration: none; color: inherit; }
.amq-hc img, .amq-hpro img { max-width: 100%; display: block; }
.amq-hc-wrap, .amq-hpro-wrap { max-width: 1170px; margin: 0 auto; padding-inline: 16px; }
.amq-h-noimg { display: grid; place-items: center; width: 100%; height: 100%; background: var(--amq-soft); }
.amq-h-noimg svg { width: 44px; height: 44px; stroke: var(--amq-primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* --- Classique --- */
.amq-hc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--amq-primary); color: #fff !important; font-weight: 500; font-size: 14px; line-height: 1; padding: 14px 26px; border: 0; border-radius: 4px; cursor: pointer; box-shadow: 0 6px 14px -6px var(--amq-shadow-btn); transition: background .2s; }
.amq-hc-btn:hover { background: var(--amq-accent); }
.amq-hc-btn-sm { padding: 10px 16px; font-size: 13px; }
.amq-hc-btn-line { background: transparent; color: var(--amq-primary) !important; border: 1px solid var(--amq-primary); box-shadow: none; }
.amq-hc-btn-line:hover { background: var(--amq-primary); color: #fff !important; }
.amq-hc-btn-white { background: #fff; color: var(--amq-primary) !important; }
.amq-hc-btn-white:hover { background: var(--amq-yellow); color: var(--amq-heading) !important; }
.amq-hc-hero { position: relative; color: #fff; background: linear-gradient(180deg, rgba(18,26,34,.78), rgba(18,26,34,.62)), radial-gradient(1200px 500px at 15% 20%, #8a5a2b 0%, transparent 60%), radial-gradient(900px 500px at 85% 60%, #1d4f73 0%, transparent 60%), #2b2f33; }
.amq-hc-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 22px), repeating-linear-gradient(-45deg, #fff 0 1px, transparent 1px 22px); }
.amq-hc-hero-in { position: relative; z-index: 1; text-align: center; padding-block: 78px 92px; }
.amq-hc-hero h1 { color: #fff; font-size: clamp(26px, 4.4vw, 40px); line-height: 1.25; font-weight: 600; max-width: 900px; margin: 0 auto 14px; }
.amq-hc-hero h1 span { color: var(--amq-yellow); }
.amq-hc-hero p { max-width: 720px; margin: 0 auto 34px; color: #e5e9ec; font-size: 16px; line-height: 28px; }
.amq-hc-search { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; background: #fff; border-radius: 6px; padding: 8px; gap: 8px; max-width: 920px; margin: 0 auto; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.amq-hc-search > * { min-width: 0; }
.amq-hc-search input, .amq-hc-search select { width: 100%; height: 48px; border: 1px solid var(--amq-line); border-radius: 4px; padding: 0 14px; font: inherit; font-size: 14px; color: var(--amq-heading); background: #fff; }
.amq-hc-tags { margin-top: 22px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.amq-hc-tags a { border: 1px solid rgba(255,255,255,.3); border-radius: 30px; padding: 2px 14px; color: #eef1f3 !important; }
.amq-hc-tags a:hover { border-color: var(--amq-yellow); color: var(--amq-yellow) !important; }
.amq-hc-sec { padding-block: 72px; }
.amq-hc-soft { background: var(--amq-soft); }
.amq-hc-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.amq-hc-head h2 { font-size: 30px; line-height: 36px; font-weight: 600; }
.amq-hc-head h2 span { color: var(--amq-primary); }
.amq-hc-head p { margin: 10px 0 0; font-size: 15px; line-height: 26px; }
.amq-hc-head i { display: block; width: 56px; height: 3px; background: var(--amq-accent); margin: 16px auto 0; border-radius: 2px; }
.amq-hc-cats { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 18px; }
.amq-hc-cat { background: #fff; border: 1px solid var(--amq-line); border-radius: 6px; text-align: center; padding: 26px 12px 20px; transition: .2s; }
.amq-hc-cat:hover { border-color: var(--amq-primary); transform: translateY(-3px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.3); }
.amq-hc-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--amq-primary) 10%, #fff); overflow: hidden; }
.amq-hc-ico svg { width: 30px; height: 30px; stroke: var(--amq-primary); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.amq-hc-ico img { width: 36px; height: 36px; object-fit: contain; }
.amq-hc-cat h3 { font-size: 15px; line-height: 21px; font-weight: 600; }
.amq-hc-cat small { display: block; font-size: 13px; margin-top: 4px; }
.amq-hc-ads { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.amq-hc-ad { background: #fff; border: 1px solid var(--amq-line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.amq-hc-ad-img { position: relative; display: block; aspect-ratio: 4/3; max-width: 100%; background: var(--amq-soft); }
.amq-hc-ad-img img { width: 100%; height: 100%; object-fit: cover; }
.amq-hc-badge { position: absolute; top: 12px; left: 12px; background: var(--amq-accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; line-height: 18px; }
.amq-hc-ad-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.amq-hc-cat-l { font-size: 12px; color: var(--amq-primary); font-weight: 500; line-height: 18px; }
.amq-hc-ad h3 { font-size: 15px; line-height: 22px; font-weight: 600; }
.amq-hc-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 18px; margin: 0; }
.amq-hc-price { font-weight: 600; color: var(--amq-primary); font-size: 15px; line-height: 22px; }
.amq-hc-ad-foot { border-top: 1px solid var(--amq-line); padding: 10px 16px; display: flex; justify-content: space-between; font-size: 12px; line-height: 18px; }
.amq-hc-ad-foot a { color: var(--amq-primary) !important; font-weight: 500; }
.amq-hc-ad-foot a:hover { color: var(--amq-accent) !important; }
.amq-hc-empty { text-align: center; }
.amq-hc-empty a { color: var(--amq-primary) !important; font-weight: 500; }
.amq-hc-ai { background: linear-gradient(115deg, #123049 0%, var(--amq-primary) 55%, var(--amq-accent) 140%); color: #fff; }
.amq-hc-ai-in { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 40px; align-items: center; padding-block: 56px; }
.amq-hc-ai h2 { color: #fff; font-size: 28px; line-height: 36px; font-weight: 600; }
.amq-hc-ai p { color: #e6eef5; font-size: 15px; line-height: 26px; margin: 12px 0 22px; }
.amq-hc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.amq-hc-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: 12px 14px; font-size: 14px; line-height: 22px; }
.amq-hc-steps b { width: 34px; height: 34px; border-radius: 50%; background: var(--amq-yellow); color: var(--amq-heading); display: grid; place-items: center; }
.amq-hc-steps strong { display: block; color: #fff; font-weight: 600; }
.amq-hc-trend { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.amq-hc-t { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 16px; background: #fff; border: 1px solid var(--amq-line); border-radius: 6px; padding: 12px; }
.amq-hc-t-img { display: block; aspect-ratio: 1; max-width: 100%; border-radius: 4px; overflow: hidden; background: var(--amq-soft); }
.amq-hc-t-img img { width: 100%; height: 100%; object-fit: cover; }
.amq-hc-t h3 { font-size: 15px; line-height: 22px; font-weight: 600; }
.amq-hc-t p { font-size: 13px; line-height: 21px; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.amq-hc-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 12px; line-height: 18px; }
.amq-hc-chip { display: inline-block; padding: 0 8px; border-radius: 3px; background: color-mix(in srgb, var(--amq-primary) 10%, #fff); color: var(--amq-primary); font-weight: 500; }
.amq-hc-more, .amq-hpro-more { text-align: center; margin: 36px 0 0; }
.amq-hc-shop { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.amq-hc-prod { background: #fff; border: 1px solid var(--amq-line); border-radius: 6px; overflow: hidden; text-align: center; padding-bottom: 18px; min-width: 0; }
.amq-hc-prod-img { position: relative; display: block; aspect-ratio: 1; max-width: 100%; background: var(--amq-soft); }
.amq-hc-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.amq-hc-prod-img svg { width: 52px; height: 52px; margin: 30% auto 0; stroke: var(--amq-primary); fill: none; stroke-width: 1.5; }
.amq-hc-sale { position: absolute; top: 12px; left: 12px; background: #e33b3b; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 3px; line-height: 18px; }
.amq-hc-prod h3 { font-size: 15px; line-height: 22px; font-weight: 500; padding: 14px 14px 4px; }
.amq-hc-pr { font-weight: 600; color: var(--amq-heading); margin: 4px 0 12px; font-size: 15px; }
.amq-hc-app-in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.amq-hc-app h2 { font-size: 30px; line-height: 38px; font-weight: 600; }
.amq-hc-app h2 small { display: block; font-size: 15px; color: var(--amq-accent); font-weight: 500; line-height: 24px; margin-bottom: 6px; }
.amq-hc-app ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.amq-hc-app li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 24px; }
.amq-hc-app li::before { content: "✓"; color: var(--amq-primary); font-weight: 700; }
.amq-hc-phone { justify-self: center; width: 250px; max-width: 100%; aspect-ratio: 9/18; border-radius: 34px; background: #1a222a; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.amq-hc-phone > div { height: 100%; border-radius: 24px; background: linear-gradient(180deg, var(--amq-primary), #123049); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; text-align: center; padding: 16px; }
.amq-hc-phone img { width: 72px; height: 72px; border-radius: 18px; }
.amq-hc-phone strong { letter-spacing: .08em; font-size: 15px; }
.amq-hc-phone span { font-family: var(--amq-font-ar); }
.amq-hc-partners { background: var(--amq-soft); padding-block: 40px; }
.amq-hc-partners .amq-hc-wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.amq-hc-partners a { border: 1px dashed #cfd6dd; border-radius: 6px; padding: 22px 10px; text-align: center; font-weight: 600; color: #8a949e !important; letter-spacing: .04em; font-size: 15px; }
.amq-hc-partners a:hover { border-color: var(--amq-primary); color: var(--amq-primary) !important; }
.amq-hc-blog { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.amq-hc-post { background: #fff; border: 1px solid var(--amq-line); border-radius: 6px; overflow: hidden; min-width: 0; }
.amq-hc-post-img { display: block; aspect-ratio: 16/9; max-width: 100%; background: var(--amq-soft); }
.amq-hc-post-img img { width: 100%; height: 100%; object-fit: cover; }
.amq-hc-post-img svg { width: 46px; height: 46px; margin: 14% auto 0; display: block; stroke: var(--amq-primary); fill: none; stroke-width: 1.5; }
.amq-hc-post > div { padding: 18px; }
.amq-hc-d { font-size: 12px; line-height: 18px; color: var(--amq-accent); font-weight: 500; }
.amq-hc-post h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin-top: 6px; }
.amq-hc-rm { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--amq-primary) !important; font-weight: 500; }

/* --- Pro (Original) --- */
.amq-hpro-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--amq-primary); color: #fff !important; border: 0; border-radius: 3px; padding: 12px 24px; font: 500 15px/1.2 var(--amq-font); cursor: pointer; transition: background .2s, color .2s; }
.amq-hpro-btn:hover { background: var(--amq-accent); color: #232323 !important; }
.amq-hpro-btn-line { background: transparent; border: 1px solid rgba(255,255,255,.6); }
.amq-hpro-hero { position: relative; color: #fff; background: radial-gradient(ellipse at 30% 40%, rgba(120,40,30,.55), transparent 60%), radial-gradient(ellipse at 80% 60%, rgba(60,60,70,.6), transparent 55%), linear-gradient(180deg, #2a2622 0%, #1d1a17 100%); }
.amq-hpro-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); pointer-events: none; }
.amq-hpro-hero-in { position: relative; text-align: center; padding-block: 64px 130px; }
.amq-hpro-hero h1 { color: #fff; font-size: clamp(32px, 6vw, 68px); line-height: 1.15; font-weight: 600; }
.amq-hpro-zig { display: block; width: min(500px, 70%); height: 14px; margin: 14px auto 28px; color: var(--amq-yellow); }
.amq-hpro-hero p { max-width: 1000px; margin: 0 auto; font-size: clamp(16px, 2vw, 24px); line-height: 1.9; color: #fff; }
.amq-hpro-search { position: relative; background: #f9f9f9; margin-top: -70px; padding: 26px 30px 30px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.3fr) auto; gap: 20px; align-items: end; }
.amq-hpro-search label { display: grid; gap: 10px; color: var(--amq-heading); font-weight: 500; font-size: 18px; margin: 0; }
.amq-hpro-search input, .amq-hpro-search select { width: 100%; height: 56px; border: 1px solid #e5e5e5; background: #fff; padding: 0 14px; font: inherit; font-size: 16px; color: var(--amq-heading); border-radius: 0; }
.amq-hpro-search .amq-hpro-btn { height: 56px; width: 96px; }
.amq-hpro-ai { grid-column: 1/-1; margin: 0; font-size: 14px; }
.amq-hpro-ai a { color: var(--amq-primary) !important; font-weight: 500; text-decoration: underline !important; }
.amq-hpro-sec { padding-block: 72px; }
.amq-hpro-soft { background: #f9f9f9; }
.amq-hpro-ttl { text-align: center; margin-bottom: 44px; }
.amq-hpro-ttl small { display: block; color: var(--amq-primary); font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.amq-hpro-ttl h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; font-weight: 600; }
.amq-hpro-ttl i { display: block; width: 60px; height: 3px; background: var(--amq-primary); margin: 16px auto 0; }
.amq-hpro-cats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.amq-hpro-cat { background: #fff; border: 1px solid #e5e5e5; padding: 28px 16px; text-align: center; transition: border-color .2s, transform .2s; }
.amq-hpro-cat:hover { border-color: var(--amq-primary); transform: translateY(-3px); }
.amq-hpro-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: color-mix(in srgb, var(--amq-primary) 10%, #fff); display: grid; place-items: center; overflow: hidden; }
.amq-hpro-ic svg { width: 30px; height: 30px; stroke: var(--amq-primary); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.amq-hpro-ic img { width: 36px; height: 36px; object-fit: contain; }
.amq-hpro-cat h3 { font-size: 16px; line-height: 1.35; font-weight: 600; }
.amq-hpro-cat small { font-size: 13px; }
.amq-hpro-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.amq-hpro-steps > div { background: #fff; padding: 30px 26px; border-top: 3px solid var(--amq-primary); box-shadow: 0 10px 30px -22px rgba(0,0,0,.35); }
.amq-hpro-steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amq-primary); color: #fff; font-size: 18px; margin-bottom: 16px; }
.amq-hpro-steps h3 { font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.amq-hpro-steps p { margin: 0; }
.amq-hpro-ai-band { background: linear-gradient(135deg, #2c2924, #1c1b19); color: #fff; }
.amq-hpro-ai-in { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 40px; align-items: center; padding-block: 64px; }
.amq-hpro-ai-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; margin-bottom: 14px; font-weight: 600; }
.amq-hpro-ai-band h2 em { font-style: normal; color: var(--amq-yellow); }
.amq-hpro-ai-band p { color: #d6d3cf; margin: 0 0 24px; }
.amq-hpro-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.amq-hpro-ring { max-width: 320px; margin: 0 auto; }
.amq-hpro-ring svg { width: 100%; height: auto; display: block; }
.amq-hpro-ring-c { stroke: var(--amq-yellow); }
.amq-hpro-n1 { fill: var(--amq-primary); }
.amq-hpro-n3 { fill: var(--amq-yellow); }
.amq-hpro-cap { fill: #d6d3cf; }
.amq-hpro-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.amq-hpro-card { background: #fff; border: 1px solid #e5e5e5; display: flex; flex-direction: column; min-width: 0; }
.amq-hpro-im { position: relative; display: block; aspect-ratio: 400/260; max-width: 100%; background: #f9f9f9; }
.amq-hpro-im img { width: 100%; height: 100%; object-fit: cover; }
.amq-hpro-flag { position: absolute; left: 12px; top: 12px; background: var(--amq-primary); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 2px; }
.amq-hpro-card > div { padding: 16px 18px 18px; display: grid; gap: 6px; }
.amq-hpro-c { color: var(--amq-primary); font-size: 13px; font-weight: 500; }
.amq-hpro-card h3 { font-size: 16px; line-height: 1.4; font-weight: 600; }
.amq-hpro-m { font-size: 13px; }
.amq-hpro-p { color: var(--amq-heading); font-weight: 600; font-size: 17px; }
.amq-hpro-empty { text-align: center; }
.amq-hpro-empty a { color: var(--amq-primary) !important; font-weight: 500; }
.amq-hpro-app-in { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.amq-hpro-app-in img { width: 96px; height: 96px; border-radius: 22px; flex: 0 0 auto; }
.amq-hpro-app-in > div { flex: 1; min-width: 0; }
.amq-hpro-app h2 { font-size: 24px; margin-bottom: 6px; font-weight: 600; }
.amq-hpro-app p { margin: 0; }

@media (max-width: 1024px) {
  .amq-hc-cats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .amq-hc-ads, .amq-hc-shop, .amq-hc-partners .amq-hc-wrap, .amq-hpro-cats, .amq-hpro-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .amq-hpro-search { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .amq-hpro-search .amq-hpro-btn { width: 100%; }
  .amq-hpro-ai-in { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .amq-hc-search { grid-template-columns: minmax(0,1fr); }
  .amq-hc-trend, .amq-hc-blog, .amq-hc-app-in, .amq-hc-ai-in { grid-template-columns: minmax(0,1fr); }
  .amq-hc-hero-in { padding-block: 52px 64px; }
  .amq-hc-sec, .amq-hpro-sec { padding-block: 52px; }
}
@media (max-width: 640px) {
  .amq-hpro-search { grid-template-columns: minmax(0,1fr); padding: 20px; margin-top: -50px; }
  .amq-hpro-search label { font-size: 15px; }
  .amq-hpro-steps { grid-template-columns: minmax(0,1fr); }
  .amq-hpro-hero-in { padding-block: 40px 90px; }
}
@media (max-width: 480px) {
  .amq-hc-cats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .amq-hc-ads, .amq-hc-shop { gap: 12px; }
  .amq-hc-ad-body { padding: 12px; }
  .amq-hc-t { grid-template-columns: 84px minmax(0,1fr); }
  .amq-hpro-cat { padding: 20px 10px; }
  .amq-hpro-cat h3 { font-size: 14px; }
}
@media (max-width: 400px) { .amq-hpro-cards, .amq-hc-ads { grid-template-columns: minmax(0,1fr); } }
