/* Mazari AI Advisor v2 — isolated UI */
.mza2-shell{--n:#071426;--n2:#0b1b31;--n3:#11243f;--gold:#c9a96a;--gold2:#e2c98f;--paper:#f6f1e8;--ink:#0b1729;--muted:#8f9aae;position:relative;isolation:isolate;overflow:hidden;max-width:1180px;margin:28px auto 70px;border-radius:30px;background:linear-gradient(145deg,#07111f 0%,#09182b 45%,#071321 100%);box-shadow:0 30px 90px rgba(4,12,25,.24);font-family:"Vazirmatn","IRANSans",Tahoma,sans-serif!important;color:#fff!important;direction:rtl!important;-webkit-font-smoothing:antialiased}
.mza2-shell *{box-sizing:border-box}.mza2-shell button,.mza2-shell input,.mza2-shell textarea{font:inherit}.mza2-shell button{cursor:pointer}.mza2-orb{position:absolute;border-radius:999px;filter:blur(2px);pointer-events:none;z-index:-1}.mza2-orb-a{width:520px;height:520px;right:-220px;top:-230px;background:radial-gradient(circle,rgba(55,92,145,.38),rgba(55,92,145,0) 69%)}.mza2-orb-b{width:540px;height:540px;left:-260px;bottom:-300px;background:radial-gradient(circle,rgba(201,169,106,.15),rgba(201,169,106,0) 70%)}.mza2-noise{position:absolute;inset:0;opacity:.14;pointer-events:none;z-index:-1;background-image:radial-gradient(rgba(255,255,255,.22) .55px,transparent .55px);background-size:5px 5px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 48%)}
.mza2-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:45px;align-items:center;padding:64px 68px 52px;border-bottom:1px solid rgba(255,255,255,.07)}.mza2-kicker{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:2.6px;color:rgba(226,201,143,.75);direction:ltr;justify-content:flex-end}.mza2-kicker span{width:26px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}.mza2-hero h1{margin:14px 0 18px;font-size:52px!important;line-height:1.22!important;letter-spacing:-1.7px!important;font-weight:850!important;color:#fff!important}.mza2-hero h1 em{font-style:normal;color:var(--gold2)}.mza2-hero p{max-width:640px;margin:0;color:rgba(232,238,247,.62)!important;font-size:15px!important;line-height:2!important}.mza2-status-row{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:24px;font-size:11px;color:rgba(255,255,255,.42)}.mza2-live{color:rgba(255,255,255,.68)}.mza2-live i,.mza2-agent span i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#58c98b;box-shadow:0 0 0 5px rgba(88,201,139,.08);margin-left:7px}.mza2-hero-mark{min-height:240px;display:flex;position:relative;align-items:center;justify-content:center}.mza2-mark-ring{position:absolute;width:230px;height:230px;border:1px solid rgba(226,201,143,.16);border-radius:50%;box-shadow:inset 0 0 60px rgba(226,201,143,.02)}.mza2-mark-ring:before,.mza2-mark-ring:after{content:"";position:absolute;inset:26px;border:1px solid rgba(255,255,255,.06);border-radius:50%}.mza2-mark-ring:after{inset:58px;border-color:rgba(201,169,106,.12)}.mza2-mark-core{width:92px;height:92px;display:grid;place-items:center;border-radius:26px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));border:1px solid rgba(226,201,143,.24);box-shadow:0 20px 60px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.08);font-family:Georgia,serif;font-size:36px;color:var(--gold2)}.mza2-hero-mark small{position:absolute;bottom:0;letter-spacing:2px;font-size:8px;color:rgba(255,255,255,.28)}
.mza2-workspace{display:grid;grid-template-columns:420px minmax(0,1fr);gap:18px;padding:18px;background:rgba(0,0,0,.08)}.mza2-profile,.mza2-chat{border:1px solid rgba(255,255,255,.07);border-radius:23px;background:rgba(255,255,255,.035);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}.mza2-profile{padding:26px 24px;align-self:start;transition:opacity .25s ease,transform .25s ease}.mza2-panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.mza2-mini{display:block;font-size:8px;letter-spacing:2.2px;color:rgba(226,201,143,.58);margin-bottom:7px}.mza2-panel-head h2{margin:0!important;color:#fff!important;font-size:20px!important;line-height:1.5!important;font-weight:800!important}.mza2-score{width:54px;height:54px;border:1px solid rgba(226,201,143,.2);border-radius:18px;display:flex;align-items:center;justify-content:center;color:var(--gold2);background:rgba(201,169,106,.05)}.mza2-score b{font-size:18px}.mza2-score span{font-size:9px;margin-right:2px}.mza2-panel-note{font-size:11px!important;line-height:1.9!important;color:rgba(255,255,255,.4)!important;margin:10px 0 24px!important}.mza2-pref-group{padding:16px 0;border-top:1px solid rgba(255,255,255,.055)}.mza2-pref-title{font-size:11px;color:rgba(255,255,255,.68);margin-bottom:11px;font-weight:650}.mza2-chips{display:flex;gap:8px;flex-wrap:wrap}.mza2-chip{appearance:none;border:1px solid rgba(255,255,255,.085)!important;background:rgba(255,255,255,.035)!important;color:rgba(255,255,255,.56)!important;border-radius:999px!important;padding:8px 12px!important;min-height:34px!important;font-size:10.5px!important;line-height:1!important;transition:.18s ease!important;box-shadow:none!important}.mza2-chip:hover{color:#fff!important;border-color:rgba(201,169,106,.28)!important;background:rgba(201,169,106,.06)!important;transform:translateY(-1px)}.mza2-chip.is-active{color:#0c1728!important;background:linear-gradient(135deg,#e3cd98,#c3a05a)!important;border-color:transparent!important;font-weight:800!important;box-shadow:0 8px 22px rgba(201,169,106,.14)!important}.mza2-loved{margin-top:8px;padding-top:17px;border-top:1px solid rgba(255,255,255,.055)}.mza2-loved label{display:block;font-size:11px;color:rgba(255,255,255,.68);margin-bottom:9px}.mza2-inline-field{display:grid;grid-template-columns:1fr 62px;gap:7px}.mza2-inline-field input{height:44px;border-radius:13px!important;border:1px solid rgba(255,255,255,.09)!important;background:rgba(2,9,18,.32)!important;color:#fff!important;padding:0 13px!important;outline:none!important;font-size:11px!important;box-shadow:none!important}.mza2-inline-field input:focus{border-color:rgba(201,169,106,.38)!important}.mza2-inline-field button{border:1px solid rgba(201,169,106,.18)!important;background:rgba(201,169,106,.08)!important;color:var(--gold2)!important;border-radius:13px!important;font-size:11px!important}.mza2-start{width:100%;margin-top:16px;height:52px;border:0!important;border-radius:15px!important;background:linear-gradient(135deg,#e1c989 0%,#bd9851 100%)!important;color:#0c1728!important;display:flex;align-items:center;justify-content:center;gap:14px;font-size:12px!important;font-weight:850!important;box-shadow:0 18px 34px rgba(185,148,78,.12)!important;transition:.2s ease!important}.mza2-start:hover{transform:translateY(-2px);filter:brightness(1.04)}.mza2-start svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;transform:scaleX(-1)}
.mza2-chat{min-height:690px;display:flex;flex-direction:column;overflow:hidden;position:relative;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018))}.mza2-chat-top{height:78px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.065);background:rgba(3,10,19,.18);backdrop-filter:blur(18px)}.mza2-agent{display:flex;align-items:center;gap:11px}.mza2-agent-avatar,.mza2-message-sign{display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,rgba(226,201,143,.16),rgba(226,201,143,.04));border:1px solid rgba(226,201,143,.22);color:var(--gold2);font-family:Georgia,serif}.mza2-agent-avatar{width:42px;height:42px;font-size:18px}.mza2-agent strong{display:block;font-size:12px;color:#fff}.mza2-agent span{display:block;font-size:9.5px;color:rgba(255,255,255,.38);margin-top:4px}.mza2-agent span i{width:5px;height:5px;margin-left:5px}.mza2-chat-actions{display:flex;gap:7px;align-items:center}.mza2-chat-actions button{height:34px;border-radius:10px!important;border:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.035)!important;color:rgba(255,255,255,.55)!important;padding:0 11px!important;font-size:10px!important;box-shadow:none!important}.mza2-chat-actions button:hover{border-color:rgba(201,169,106,.23)!important;color:var(--gold2)!important}.mza2-chat-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.mza2-empty{margin:auto;padding:50px 40px;text-align:center;max-width:580px}.mza2-empty[hidden]{display:none!important}.mza2-empty-label{font-size:8px;letter-spacing:2.2px;color:rgba(226,201,143,.5)}.mza2-empty h3{font-size:25px!important;color:#fff!important;margin:12px 0 10px!important;line-height:1.5!important}.mza2-empty p{font-size:12px!important;line-height:2!important;color:rgba(255,255,255,.42)!important;margin:0!important}.mza2-prompts{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:22px}.mza2-prompts button{border:1px solid rgba(255,255,255,.08)!important;border-radius:999px!important;background:rgba(255,255,255,.03)!important;color:rgba(255,255,255,.55)!important;padding:9px 13px!important;font-size:10px!important;box-shadow:none!important}.mza2-prompts button:hover{color:#fff!important;border-color:rgba(201,169,106,.26)!important;background:rgba(201,169,106,.05)!important}.mza2-messages{padding:24px 24px 8px;display:flex;flex-direction:column;gap:20px;max-height:630px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(201,169,106,.22) transparent}.mza2-message{display:flex;gap:10px;align-items:flex-start;max-width:92%}.mza2-message.is-user{align-self:flex-start;flex-direction:row-reverse;max-width:76%}.mza2-message-sign{width:31px;height:31px;min-width:31px;border-radius:10px;font-size:12px;margin-top:2px}.mza2-message-body{font-size:12px!important;line-height:2!important;color:rgba(242,246,251,.78)!important}.mza2-message.is-assistant .mza2-message-body{padding:3px 3px 4px}.mza2-message.is-assistant strong{color:var(--gold2)!important;font-weight:800}.mza2-message.is-user .mza2-message-body{background:linear-gradient(145deg,rgba(225,201,143,.13),rgba(225,201,143,.06));border:1px solid rgba(225,201,143,.15);border-radius:16px 16px 5px 16px;padding:12px 15px;color:#fff!important}.mza2-typing{display:flex;align-items:center;gap:5px;margin:6px 24px 14px;padding-right:41px;color:rgba(255,255,255,.3);font-size:9px}.mza2-typing[hidden]{display:none!important}.mza2-typing span{width:5px;height:5px;border-radius:50%;background:var(--gold);animation:mza2dot 1s infinite ease-in-out}.mza2-typing span:nth-child(2){animation-delay:.15s}.mza2-typing span:nth-child(3){animation-delay:.3s}.mza2-typing b{font-weight:400;margin-right:5px}@keyframes mza2dot{0%,70%,100%{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
.mza2-composer{margin-top:auto;padding:13px;border-top:1px solid rgba(255,255,255,.06);background:rgba(3,10,18,.36);display:grid;grid-template-columns:1fr 52px;gap:8px;align-items:end;backdrop-filter:blur(20px)}.mza2-composer textarea{min-height:52px!important;max-height:150px!important;resize:none!important;border-radius:15px!important;border:1px solid rgba(255,255,255,.09)!important;background:rgba(255,255,255,.04)!important;color:#fff!important;padding:15px 16px!important;outline:none!important;font-size:12px!important;line-height:1.8!important;box-shadow:none!important}.mza2-composer textarea::placeholder{color:rgba(255,255,255,.28)!important}.mza2-composer textarea:focus{border-color:rgba(201,169,106,.28)!important;background:rgba(255,255,255,.05)!important}.mza2-composer>button{width:52px;height:52px;border:0!important;border-radius:15px!important;background:linear-gradient(135deg,#e2ca8d,#bf9b53)!important;color:#0b1729!important;display:grid;place-items:center;box-shadow:none!important}.mza2-composer>button:disabled{opacity:.45;cursor:not-allowed}.mza2-composer svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;transform:scaleX(-1)}.mza2-composer-foot{grid-column:1/-1;display:flex;justify-content:space-between;gap:20px;padding:0 4px 2px;color:rgba(255,255,255,.25);font-size:8.5px}
.mza2-product{display:grid;grid-template-columns:92px 1fr;gap:14px;margin:14px 0 8px;padding:10px;border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.09);max-width:510px;overflow:hidden}.mza2-product-media{display:block;width:92px;height:92px;border-radius:13px;overflow:hidden;background:#f7f3eb}.mza2-product-img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}.mza2-product-copy{min-width:0;padding:3px 2px;display:flex;flex-direction:column}.mza2-product-copy small{font-size:8px;letter-spacing:1.2px;color:rgba(226,201,143,.55);margin-bottom:5px}.mza2-product-name{color:#fff!important;text-decoration:none!important;font-size:11px!important;line-height:1.75!important;font-weight:750!important}.mza2-product-bottom{margin-top:auto;display:flex;align-items:end;justify-content:space-between;gap:10px}.mza2-product-price{color:var(--gold2)!important;font-size:11px!important;font-weight:800!important}.mza2-product-price del{color:rgba(255,255,255,.28)!important;font-size:9px!important}.mza2-product-price ins{text-decoration:none!important}.mza2-product-link{height:30px;padding:0 11px;display:inline-flex;align-items:center;border-radius:9px;background:rgba(201,169,106,.09);border:1px solid rgba(201,169,106,.18);color:var(--gold2)!important;text-decoration:none!important;font-size:9px!important}
.mza2-toast{position:fixed;left:50%;bottom:26px;z-index:999999;transform:translate(-50%,14px);opacity:0;transition:.25s ease;padding:10px 17px;border-radius:999px;background:#0b1729;border:1px solid rgba(201,169,106,.24);box-shadow:0 16px 44px rgba(0,0,0,.28);font-family:"Vazirmatn",Tahoma,sans-serif;color:#fff;font-size:10px;direction:rtl}.mza2-toast.show{opacity:1;transform:translate(-50%,0)}.mza2-unavailable{padding:24px;text-align:center;border-radius:18px;background:#0b1729;color:#fff}.mza2-login{min-height:520px;display:grid;place-items:center;padding:40px}.mza2-login-card{max-width:500px;text-align:center;padding:48px;border:1px solid rgba(255,255,255,.08);border-radius:24px;background:rgba(255,255,255,.035)}.mza2-eyebrow{font-size:9px;letter-spacing:2px;color:var(--gold2)}.mza2-login-card h2{color:#fff!important;font-size:28px!important;margin:15px 0 10px!important}.mza2-login-card p{color:rgba(255,255,255,.5)!important;line-height:2!important}.mza2-primary{display:inline-flex;margin-top:18px;background:linear-gradient(135deg,#e1c989,#bd9851);color:#0b1729!important;text-decoration:none!important;border-radius:14px;padding:13px 24px;font-weight:800;font-size:12px}
@media(max-width:980px){.mza2-shell{margin:14px 10px 55px;border-radius:24px}.mza2-hero{grid-template-columns:1fr;padding:48px 32px 36px}.mza2-hero-mark{display:none}.mza2-hero h1{font-size:40px!important}.mza2-workspace{grid-template-columns:1fr}.mza2-profile.is-collapsed{display:none}.mza2-chat{min-height:650px}.mza2-workspace:has(.mza2-chat.is-live) .mza2-profile:not(.is-editing){display:none}}
@media(max-width:640px){.mza2-shell{margin:0!important;border-radius:0!important;max-width:none!important;min-height:calc(100svh - 70px)}.mza2-hero{padding:34px 18px 28px}.mza2-kicker{font-size:7.5px;letter-spacing:1.8px}.mza2-hero h1{font-size:32px!important;letter-spacing:-.7px!important;margin-top:11px!important}.mza2-hero p{font-size:11.5px!important;line-height:1.9!important}.mza2-status-row{font-size:9px;margin-top:18px}.mza2-workspace{padding:8px;gap:8px}.mza2-profile,.mza2-chat{border-radius:18px}.mza2-profile{padding:20px 15px}.mza2-panel-head h2{font-size:17px!important}.mza2-pref-group{padding:13px 0}.mza2-chip{padding:7px 10px!important;font-size:9.5px!important;min-height:31px!important}.mza2-chat{min-height:calc(100svh - 150px)}.mza2-chat-top{height:66px;padding:0 13px}.mza2-agent-avatar{width:36px;height:36px;border-radius:12px}.mza2-agent strong{font-size:10.5px}.mza2-chat-actions button:first-child{display:none}.mza2-empty{padding:40px 20px}.mza2-empty h3{font-size:20px!important}.mza2-empty p{font-size:11px!important}.mza2-messages{padding:18px 13px 6px;gap:16px;max-height:none}.mza2-message{max-width:96%}.mza2-message.is-user{max-width:86%}.mza2-message-body{font-size:11px!important;line-height:1.9!important}.mza2-message-sign{width:27px;height:27px;min-width:27px}.mza2-composer{position:sticky;bottom:0;padding:9px;grid-template-columns:1fr 48px}.mza2-composer textarea{min-height:48px!important;padding:12px 13px!important;font-size:11px!important}.mza2-composer>button{width:48px;height:48px}.mza2-composer-foot{display:none}.mza2-product{grid-template-columns:76px 1fr;gap:10px;padding:8px;border-radius:15px}.mza2-product-media{width:76px;height:76px}.mza2-product-name{font-size:10px!important}.mza2-product-price{font-size:9.5px!important}.mza2-product-link{height:27px;font-size:8px!important;padding:0 8px}.mza2-prompts{gap:6px}.mza2-prompts button{font-size:9px!important;padding:8px 10px!important}}

/* =========================================================
   Mazari AI Advisor v3 — Precision Concierge overrides
   ========================================================= */
.mza2-workspace{grid-template-columns:430px minmax(0,1fr)!important;gap:22px!important;padding:22px!important;background:linear-gradient(180deg,rgba(3,9,18,.22),rgba(3,9,18,.08))!important}
.mza2-profile{position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(18,42,73,.78),rgba(8,23,42,.93))!important;border:1px solid rgba(92,145,216,.18)!important;box-shadow:0 24px 65px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.045)!important}
.mza2-profile-glow{position:absolute;inset:-18% -25% auto auto;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(51,110,190,.34) 0%,rgba(35,78,137,.16) 35%,transparent 72%);filter:blur(4px);pointer-events:none;z-index:0}
.mza2-profile>*:not(.mza2-profile-glow){position:relative;z-index:1}
.mza2-chat{background:linear-gradient(145deg,rgba(5,16,30,.84),rgba(7,22,40,.72))!important;border-color:rgba(255,255,255,.065)!important;box-shadow:0 24px 70px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.035)!important}
.mza2-score{width:78px!important;height:78px!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(201,169,106,.13),rgba(201,169,106,.045))!important;border:1px solid rgba(226,201,143,.28)!important;box-shadow:0 12px 32px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.06)!important}
.mza2-score b{font-size:28px!important;line-height:1!important;font-weight:900!important;letter-spacing:-1px!important}.mza2-score span{font-size:13px!important;font-weight:800!important;margin-right:3px!important}
.mza2-mark-core{overflow:hidden;padding:16px!important}.mza2-mark-core img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important;opacity:1!important}
.mza2-agent-avatar,.mza2-message-sign{overflow:hidden!important;padding:7px!important}.mza2-agent-avatar img,.mza2-message-sign img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important;opacity:1!important}
.mza2-loved>small{display:block;margin:-4px 0 11px;font-size:9px;color:rgba(255,255,255,.36);line-height:1.8}

/* Product recommendation — full luxury card */
.mza2-product-card{display:grid;grid-template-columns:154px minmax(0,1fr);gap:18px;margin:18px 0;padding:14px;max-width:620px;border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.11);box-shadow:0 18px 50px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.055);overflow:hidden;position:relative}
.mza2-product-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 15%,rgba(201,169,106,.10),transparent 33%)}
.mza2-product-visual{position:relative;display:flex!important;align-items:center;justify-content:center;width:154px;height:172px;border-radius:18px;background:#f7f2e9!important;overflow:hidden;text-decoration:none!important;z-index:1}
.mza2-product-img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;padding:10px!important;background:#f7f2e9!important}
.mza2-sale-badge{position:absolute;top:10px;right:10px;min-width:38px;height:26px;padding:0 8px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#0b1a2f;color:#e7cd92!important;border:1px solid rgba(201,169,106,.28);font-size:9px!important;font-weight:900!important;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.mza2-product-copy{position:relative;z-index:1;min-width:0;display:flex!important;flex-direction:column!important;padding:3px 2px 2px!important}
.mza2-product-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.mza2-product-meta span{font-size:9px!important;color:rgba(255,255,255,.50)!important}.mza2-product-meta b{font-size:9px!important;padding:5px 8px;border-radius:999px;background:rgba(201,169,106,.12);border:1px solid rgba(201,169,106,.22);color:#e4c989!important}
.mza2-product-brand{font-size:8px!important;letter-spacing:1.3px;color:rgba(226,201,143,.58)!important;margin-bottom:4px!important}
.mza2-product-card .mza2-product-name{font-size:13px!important;line-height:1.65!important;font-weight:800!important;color:#fff!important;text-decoration:none!important;margin-bottom:4px!important}
.mza2-product-persian{font-size:9.5px!important;line-height:1.8!important;color:rgba(255,255,255,.42)!important;min-height:18px}
.mza2-product-price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.065)}
.mza2-product-card .mza2-product-price{display:flex;flex-direction:column;gap:3px}.mza2-product-card .mza2-product-price del{font-size:8.5px!important;color:rgba(255,255,255,.28)!important}.mza2-product-card .mza2-product-price strong{font-size:13px!important;color:#e4c989!important;font-weight:900!important}
.mza2-stock{font-size:8.5px!important;color:#78d7a4!important;white-space:nowrap}.mza2-stock i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#54c78a;margin-left:5px;box-shadow:0 0 0 4px rgba(84,199,138,.08)}
.mza2-product-card .mza2-product-link{margin-top:12px!important;width:100%;height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:12px!important;background:linear-gradient(135deg,#dfc37f,#bc9550)!important;border:0!important;color:#081426!important;font-size:10px!important;font-weight:900!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(201,169,106,.13)!important}.mza2-product-card .mza2-product-link span{font-size:14px}
.mza2-product-card:hover{transform:translateY(-2px);border-color:rgba(201,169,106,.22);box-shadow:0 24px 60px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.06);transition:.22s ease}

@media(max-width:980px){.mza2-workspace{grid-template-columns:1fr!important}.mza2-score{width:68px!important;height:68px!important}.mza2-score b{font-size:24px!important}}
@media(max-width:640px){.mza2-profile-glow{width:280px;height:280px;right:-120px;top:-100px}.mza2-score{width:62px!important;height:62px!important;border-radius:20px!important}.mza2-score b{font-size:22px!important}.mza2-score span{font-size:11px!important}.mza2-product-card{grid-template-columns:102px minmax(0,1fr);gap:11px;padding:10px;border-radius:18px;margin:14px 0}.mza2-product-visual{width:102px;height:126px;border-radius:14px}.mza2-product-img{padding:7px!important}.mza2-product-card .mza2-product-name{font-size:10.5px!important;line-height:1.6!important}.mza2-product-meta{margin-bottom:5px}.mza2-product-meta span,.mza2-product-meta b{font-size:7.5px!important}.mza2-product-persian{display:none}.mza2-product-price-row{margin-top:7px;padding-top:7px}.mza2-product-card .mza2-product-price strong{font-size:10px!important}.mza2-product-card .mza2-product-price del{font-size:7px!important}.mza2-stock{display:none}.mza2-product-card .mza2-product-link{height:32px!important;margin-top:8px!important;font-size:8.5px!important}.mza2-sale-badge{top:6px;right:6px;height:22px;min-width:32px;font-size:7.5px!important}}


/* Mazari AI Advisor v4 — precision UX polish */
.mza2-pref-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.mza2-pref-title small{font-size:8px!important;font-weight:500!important;color:rgba(151,184,225,.55)!important}
.mza2-profile{background:radial-gradient(circle at 88% 8%,rgba(56,123,214,.24),transparent 34%),linear-gradient(145deg,rgba(17,43,76,.86),rgba(7,21,40,.96))!important}
.mza2-profile:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,rgba(79,142,226,.06),transparent 32%,transparent 70%,rgba(201,169,106,.025));z-index:0}
.mza2-score{width:84px!important;height:84px!important}.mza2-score b{font-size:31px!important}.mza2-score span{font-size:14px!important}
.mza2-product-card{max-width:680px;min-height:205px}.mza2-product-visual{height:180px}.mza2-product-persian{min-height:0!important}.mza2-product-price strong{letter-spacing:-.2px}
.mza2-product-img.is-fallback{opacity:.55!important;padding:24px!important}
@media(max-width:640px){.mza2-pref-title small{font-size:7px!important}.mza2-score{width:66px!important;height:66px!important}.mza2-score b{font-size:24px!important}.mza2-score span{font-size:11px!important}}

/* v4.1 — fast-response controls */
.mza2-retry-top{width:36px!important;padding:0!important;display:grid!important;place-items:center!important;transition:.18s ease!important}
.mza2-retry-top:not(:disabled){color:var(--gold2)!important;border-color:rgba(201,169,106,.22)!important;background:rgba(201,169,106,.055)!important}
.mza2-retry-top:disabled{opacity:.28!important;cursor:not-allowed!important}
.mza2-shell.is-requesting .mza2-retry-top{opacity:.35!important}
#mza2-cancel{margin-right:8px!important;height:27px!important;padding:0 10px!important;border-radius:999px!important;border:1px solid rgba(231,180,170,.18)!important;background:rgba(231,180,170,.06)!important;color:#e7b4aa!important;font-size:8.5px!important;box-shadow:none!important;cursor:pointer!important}
.mza2-error-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#e7b4aa}
.mza2-inline-retry{height:30px!important;padding:0 11px!important;border-radius:999px!important;border:1px solid rgba(201,169,106,.24)!important;background:rgba(201,169,106,.08)!important;color:var(--gold2)!important;font-size:9px!important;box-shadow:none!important;cursor:pointer!important}
@media(max-width:640px){.mza2-retry-top{display:grid!important;width:34px!important}.mza2-chat-actions{gap:5px}.mza2-chat-actions button{padding:0 8px!important}#mza2-cancel{height:26px!important;font-size:8px!important}}


/* v4.2 — compact recommendation result cards only */
.mza2-message.is-assistant{max-width:100%!important;width:100%!important}
.mza2-message.is-assistant .mza2-message-body{min-width:0!important;width:100%!important}
.mza2-product-card{
  direction:rtl!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:stretch!important;
  gap:14px!important;
  width:min(100%,650px)!important;
  max-width:650px!important;
  min-height:0!important;
  margin:12px 0!important;
  padding:11px!important;
  border-radius:19px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.028))!important;
}
.mza2-product-card:before{background:radial-gradient(circle at 88% 10%,rgba(201,169,106,.10),transparent 35%)!important}
.mza2-product-visual{
  flex:0 0 132px!important;
  width:132px!important;
  height:132px!important;
  min-width:132px!important;
  border-radius:15px!important;
  order:0!important;
}
.mza2-product-img{padding:8px!important}
.mza2-product-copy{
  flex:1 1 auto!important;
  min-width:0!important;
  padding:1px 2px!important;
  justify-content:center!important;
  text-align:right!important;
}
.mza2-product-meta{margin:0 0 5px!important;gap:7px!important}
.mza2-product-meta span,.mza2-product-meta b{font-size:8px!important}
.mza2-product-meta b{padding:4px 7px!important}
.mza2-product-brand{font-size:7.5px!important;margin:0 0 3px!important;letter-spacing:.8px!important}
.mza2-product-card .mza2-product-name{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  font-size:11.5px!important;
  line-height:1.55!important;
  margin:0 0 3px!important;
  text-align:right!important;
  unicode-bidi:plaintext!important;
}
.mza2-product-persian{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  font-size:8.5px!important;
  line-height:1.65!important;
  margin:0!important;
  color:rgba(255,255,255,.44)!important;
}
.mza2-product-price-row{margin-top:7px!important;padding-top:7px!important;gap:8px!important;align-items:center!important}
.mza2-product-card .mza2-product-price{gap:1px!important}
.mza2-product-card .mza2-product-price strong{font-size:11.5px!important;line-height:1.3!important}
.mza2-product-card .mza2-product-price del{font-size:7.5px!important;line-height:1.2!important}
.mza2-stock{font-size:7.5px!important}
.mza2-product-card .mza2-product-link{
  width:auto!important;
  min-width:112px!important;
  align-self:flex-start!important;
  height:31px!important;
  margin-top:7px!important;
  padding:0 12px!important;
  border-radius:10px!important;
  font-size:8.5px!important;
  box-shadow:0 7px 18px rgba(201,169,106,.10)!important;
}
.mza2-sale-badge{top:7px!important;right:7px!important;height:23px!important;min-width:34px!important;font-size:8px!important}

@media(max-width:640px){
  .mza2-message.is-assistant{max-width:100%!important;width:100%!important;gap:6px!important}
  .mza2-message.is-assistant .mza2-message-sign{display:none!important}
  .mza2-product-card{
    width:100%!important;
    max-width:none!important;
    gap:9px!important;
    margin:9px 0!important;
    padding:8px!important;
    border-radius:15px!important;
  }
  .mza2-product-visual{
    flex:0 0 88px!important;
    width:88px!important;
    min-width:88px!important;
    height:98px!important;
    border-radius:12px!important;
  }
  .mza2-product-img{padding:5px!important}
  .mza2-product-copy{padding:0!important;justify-content:flex-start!important}
  .mza2-product-meta{margin-bottom:3px!important}
  .mza2-product-meta span,.mza2-product-meta b{font-size:6.8px!important}
  .mza2-product-meta span{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:82px!important}
  .mza2-product-meta b{padding:3px 5px!important;white-space:nowrap!important}
  .mza2-product-brand{font-size:6.5px!important;margin-bottom:2px!important}
  .mza2-product-card .mza2-product-name{font-size:9px!important;line-height:1.45!important;margin-bottom:2px!important}
  .mza2-product-persian{display:none!important}
  .mza2-product-price-row{margin-top:4px!important;padding-top:4px!important}
  .mza2-product-card .mza2-product-price strong{font-size:8.8px!important}
  .mza2-product-card .mza2-product-price del{font-size:6.5px!important}
  .mza2-stock{display:none!important}
  .mza2-product-card .mza2-product-link{height:26px!important;min-width:92px!important;margin-top:4px!important;padding:0 9px!important;font-size:7.2px!important}
  .mza2-product-card .mza2-product-link span{font-size:10px!important}
  .mza2-sale-badge{top:5px!important;right:5px!important;height:19px!important;min-width:28px!important;padding:0 5px!important;font-size:6.8px!important}
}
