/* IDEA CREATOR v5.4.0 — visual consistency & WCAG-minded enhancements.
   All selectors scoped to this plugin; no global theme/font/body overrides. */
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fah-promo,.fko-studio){
 --fc-plum:#663449;--fc-plum-deep:#472537;--fc-berry:#914d67;--fc-rose:#d6afbc;
 --fc-ink:#382832;--fc-muted:#806a74;--fc-paper:#fffdfa;--fc-surface:#faf3f1;
 --fc-line:#eadde0;--fc-shadow:0 22px 58px rgba(92,43,62,.11);
 color:var(--fc-ink);font-synthesis:none;-webkit-tap-highlight-color:transparent;
}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fah-promo,.fko-studio) :is(button,a,input,select,textarea,summary):focus-visible{
 outline:3px solid #b76f87!important;outline-offset:3px!important;
}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fah-promo,.fko-studio) :is(button,input,select,textarea){font-family:inherit;}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fah-promo,.fko-studio) :is(input,select,textarea){max-width:100%;}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fah-promo,.fko-studio) [hidden]{display:none!important}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fah-promo,.fko-studio) img{max-width:100%;height:auto}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fah-promo,.fko-studio) :is(h1,h2,h3,p){overflow-wrap:break-word;}
.fic-page{background:#fffdfa!important;position:relative;isolation:isolate;}
.fic-page:before{content:"";position:absolute;z-index:-1;inset:0 0 auto;background:radial-gradient(circle at 6% 8%,#f1dbe256,transparent 30%),radial-gradient(circle at 94% 31%,#f8e7d54d,transparent 30%);height:80rem;pointer-events:none}
/* Editorial hero: typography, material texture and structured rhythm. */
.fic-page-home .fic-custom-hero,.fic-page-store .fic-custom-hero{max-width:1440px;border-radius:26px!important;min-height:550px!important;box-shadow:0 28px 85px rgba(82,39,58,.15)!important;position:relative;}
.fic-page .fic-custom-hero-copy{padding:clamp(30px,5.4vw,90px)!important;gap:clamp(12px,1.8vw,20px)!important;align-items:flex-start;}
.fic-page .fic-hero-eyebrow{background:#fff9f7cc!important;box-shadow:0 5px 16px #69394c0d;border-color:#dfc6ce!important;color:#713b51!important;}
.fic-page .fic-custom-hero h1{font-size:clamp(37px,5vw,76px)!important;line-height:1.24!important;letter-spacing:-1.4px!important;max-width:690px;}
.fic-page .fic-custom-hero p{font-size:clamp(14px,1.4vw,18px)!important;color:#715a66!important;max-width:560px;line-height:2!important;}
.fic-page .fic-custom-hero-visual{min-height:550px!important;overflow:hidden}
.fic-page .fic-custom-hero-visual>img{min-height:550px!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;transition:transform 700ms cubic-bezier(.22,1,.36,1)}
.fic-page .fic-custom-hero:hover .fic-custom-hero-visual>img{transform:scale(1.03)}
.fic-page .fic-custom-hero-visual:after{background:linear-gradient(0deg,#241326ac,transparent 52%)!important}
.fic-page .fic-custom-hero-visual figcaption{inset-inline:clamp(20px,3vw,40px);bottom:clamp(20px,3vw,36px);}
.fic-page .fic-custom-hero-visual figcaption strong{color:#fff!important;text-shadow:0 4px 16px #22152566}
.fic-page .fic-hero-actions{gap:12px!important;margin-top:7px!important}
.fic-page .fic-hero-actions a{min-height:51px!important;border-radius:12px!important;padding-inline:clamp(18px,2vw,30px)!important;box-shadow:0 10px 28px #6f354c21!important}
.fic-page .fic-hero-actions a:first-child{background:linear-gradient(135deg,#884862,#63334b)!important;border-color:#6b354e!important}
.fic-page .fic-hero-actions a:hover{transform:translateY(-3px)}
/* Search works with the *published* catalog and receives the current language. */
.fic-discovery-search{width:min(100%,565px);display:flex;align-items:center;gap:7px;padding:7px;border-radius:16px;border:1px solid #e0cbd2;background:#fffdfc;box-shadow:0 14px 34px #8b5d6a14;margin-top:6px!important;min-height:63px;}
.fic-discovery-search .fic-search-symbol{width:39px;min-width:39px;text-align:center;color:#934b65;font:400 34px/1 Arial,sans-serif}
.fic-discovery-search input[type=search]{box-shadow:none!important;border:0!important;outline:0!important;background:transparent!important;flex:1 1 130px;min-width:70px!important;width:100%!important;padding:9px 3px!important;margin:0!important;color:#4f3343;font:600 14px/1.5 'El Messiri',sans-serif;}
.fic-discovery-search input[type=search]::placeholder{color:#9d8891}
.fic-discovery-search button{min-height:44px;flex-shrink:0;border:0!important;border-radius:10px;background:#713a52!important;color:#fff!important;padding:10px 16px!important;font:700 13px/1.4 'El Messiri',sans-serif!important;cursor:pointer}
.fic-discovery-search button:hover{background:#4b2a3b!important}
.fic-discovery-search:focus-within{border-color:#995c75;box-shadow:0 0 0 4px #c7839e30,0 14px 34px #8b5d6a14}
.fic-discovery-search .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;clip:rect(0,0,0,0)!important;overflow:hidden!important;white-space:nowrap!important}
/* Editorial values, marketing bar and product grid. */
.fic-page .fic-editorial-values{max-width:1400px!important;padding-block:20px!important;border-bottom-color:#e9dbdf!important}
.fic-page .fic-editorial-values b{font-size:13px!important}
.fic-page .fh-section{scroll-margin-top:90px}
.fic-page :is(.fh-category-card,.fh-product){background:#fff;border:1px solid #ebdfe1!important;box-shadow:0 8px 26px #65344b0c!important;transition:transform 220ms ease,box-shadow 220ms ease,border-color 220ms ease!important;}
.fic-page :is(.fh-category-card,.fh-product):is(:hover,:focus-within){transform:translateY(-5px)!important;box-shadow:0 22px 48px #65344b23!important;border-color:#d4b1c0!important;}
.fic-page .fh-product-picture{background:#f8f1ee}
.fic-page .fh-product-picture img{height:100%!important;object-fit:cover!important}
.fic-page .fh-product-info h3{font-weight:800;color:#4a2b3a}
.fic-page .fh-product-info>span{color:#7d3e57!important;font-size:16px}
.fic-page .fh-section .fh-head h2{font-size:clamp(26px,3.2vw,43px)!important;line-height:1.45!important}
.fic-page .fh-section .fh-kicker{color:#a96581!important;letter-spacing:1.6px}
.fic-page .fh-category-body{background:linear-gradient(130deg,#fffdfb,#faf4f3)}
.fic-page .fh-category-body strong{color:#5a3748;font-weight:900}
.fic-page .fh-calculator-banner{border-radius:23px!important;border:1px solid #e8cbd2!important;background:radial-gradient(circle at 5% 50%,#edc9d455,transparent 34%),linear-gradient(110deg,#fff9f6,#f8ecef)!important;box-shadow:0 20px 48px #69364913!important;}
.fic-page .fh-open-calc{background:linear-gradient(120deg,#8d4962,#5b3047)!important;color:#fff!important;min-height:52px!important;box-shadow:0 11px 24px #65324935!important;}
.fic-page .fh-open-calc:hover{filter:brightness(1.06);transform:translateY(-2px)}
.fic-page .fh-faq details{background:#fff;border-radius:14px;border:1px solid #eadde0;transition:border-color .18s,background .18s}
.fic-page .fh-faq details[open]{border-color:#d4a7b7;background:#fffbfa}
.fic-page .fh-faq summary{cursor:pointer;min-height:50px}
.fic-page .fh-how-grid>div{border-radius:18px;overflow:hidden}
.fic-page .fh-direction-card{border-radius:23px;box-shadow:0 15px 33px #743d5114;transition:transform .22s,box-shadow .22s}
.fic-page .fh-direction-card:hover{transform:translateY(-4px);box-shadow:0 22px 40px #743d5124}
/* Distinct yet compact campaign, no full-page form. */
.fah-promo{border-color:#e1cdd5!important;box-shadow:0 12px 34px #5d354810!important}
.fah-promo :is(button,a){min-height:40px}
.fah-promo :is(button,a):focus-visible{outline:3px solid #aa5578!important;outline-offset:3px!important}
/* Dialogs: visible close targets, safe scrolling, consistent focus. */
#fikra-calc-dialog,#fikra-alhoshan-verify{color:#452c39;overscroll-behavior:contain;max-height:calc(100dvh - 32px)!important;border-radius:22px!important}
#fikra-calc-dialog::backdrop,#fikra-alhoshan-verify::backdrop{background:rgba(37,23,34,.66)!important;backdrop-filter:blur(6px)}
#fikra-calc-dialog [data-fh-close],#fikra-alhoshan-verify [data-fah-close]{min-height:44px;min-width:44px;display:inline-grid;place-items:center}
/* Subpages, service and partner registration: single interaction language. */
.fh-subpage-intro{background:linear-gradient(120deg,#fff9f6,#f3e6ea)!important;border:1px solid #ecdde1!important;border-radius:24px!important;box-shadow:0 14px 44px #7744540e!important;}
.fh-subpage-intro h1{font-size:clamp(27px,3.4vw,45px)!important;color:#583047!important}
.fh-subpage-links a{border-radius:10px!important;min-height:42px;display:inline-flex;align-items:center;}
.fipr-page{background:#fffdfa!important}
.fipr-page .fipr-hero{border-radius:24px!important;background:linear-gradient(115deg,#fcf3f4,#f6e7ed)!important;border:1px solid #ead6df!important;}
.fipr-page :is(.fipr-panel,.fipr-main,.fipr-auth-tabs,.fipr-fields input,.fipr-fields textarea){border-color:#e6d7de!important}
.fipr-page :is(button,.fipr-auth-tab){min-height:44px}
.fipr-page :is(input,textarea,select):focus-visible{outline:3px solid #b77994!important;outline-offset:2px!important}
.fip-dash-app{--ds-wine:#763b52;--ds-wine-dark:#51283b;--ds-border:#e9dfe4;--ds-soft:#faf0f4}
.fip-dash-app :is(.fip-dash-white,.fip-dash-kpi){border-radius:19px!important;box-shadow:0 9px 26px #56334b0b!important}
.fip-dash-app :is(.fip-dash-kpi,.fip-dash-navlink){transition:background .15s,border-color .15s,transform .18s,box-shadow .18s}
.fip-dash-app .fip-dash-kpi:hover{transform:translateY(-3px)!important;box-shadow:0 18px 36px #56334b19!important}
.fip-dash-app input,.fip-dash-app select,.fip-dash-app textarea{border-radius:10px;min-height:42px}
/* Accessibility & responsive resilience. */
@media (max-width:970px){.fic-page-home .fic-custom-hero,.fic-page-store .fic-custom-hero{min-height:470px!important}.fic-page .fic-custom-hero-visual,.fic-page .fic-custom-hero-visual>img{min-height:470px!important}}
@media (max-width:760px){
 .fic-page-home .fic-custom-hero,.fic-page-store .fic-custom-hero{border-radius:18px!important;margin:12px 12px 0!important;min-height:0!important}
 .fic-page .fic-custom-hero-copy{padding:34px 23px 30px!important;gap:13px!important}
 .fic-page .fic-custom-hero h1{font-size:clamp(35px,8.4vw,48px)!important;line-height:1.3!important}
 .fic-page .fic-custom-hero-visual,.fic-page .fic-custom-hero-visual>img{min-height:285px!important;max-height:400px!important}
 .fic-page .fic-discovery-search{width:100%;margin-top:7px!important}
 .fic-page .fic-editorial-values{margin:0 12px 14px!important;gap:9px;justify-content:center}
 .fic-page .fic-hero-actions{width:100%}.fic-page .fic-hero-actions a{flex:1 1 140px;text-align:center}
 .fic-page .fh-calculator-banner{border-radius:17px!important}
 .fip-dash-app .fip-dash-main{padding-inline:16px!important}
}
@media(max-width:400px){
 .fic-page .fic-custom-hero-copy{padding:27px 17px 23px!important}
 .fic-page .fic-custom-hero h1{font-size:34px!important}
 .fic-discovery-search{padding:5px;gap:3px;min-height:55px}
 .fic-discovery-search .fic-search-symbol{width:24px;min-width:24px;font-size:26px}
 .fic-discovery-search input[type=search]{font-size:12px!important}
 .fic-discovery-search button{padding:9px!important;font-size:11px!important;min-height:42px}
 .fic-page .fic-hero-actions a{padding-inline:12px!important}
}
@media (prefers-reduced-motion:reduce){
 :where(.fic-page,.fikra-home,.fipr-page,.fip-dash-app) *, :where(.fic-page,.fikra-home,.fipr-page,.fip-dash-app) *::before, :where(.fic-page,.fikra-home,.fipr-page,.fip-dash-app) *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
 .fic-page .fic-custom-hero:hover .fic-custom-hero-visual>img{transform:none!important}
}
