/* Idea Creator 5.5.0: unified quiet-luxury design layer. Scoped to plugin UI only.
   Accessible interactions take precedence over decoration; WoodMart global chrome is untouched. */
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fikra-customer-auth,.fh-subpage-intro){
 --fx-wine:#70394d;--fx-wine-dark:#4d2837;--fx-wine-soft:#93586f;
 --fx-ink:#362b30;--fx-sub:#665960;--fx-paper:#fffcfa;--fx-shell:#f8f1ee;
 --fx-border:#e5d6d8;--fx-focus:#a43e67;--fx-elev:0 16px 44px rgba(80,41,57,.09);
 color:var(--fx-ink);font-synthesis:none;
}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fikra-customer-auth) :is(button,a,input,textarea,select,summary):focus-visible,
#fikra-calc-dialog :is(button,a,input,textarea,select):focus-visible,
#fikra-alhoshan-verify :is(button,a,input,textarea,select):focus-visible{
 outline:3px solid var(--fx-focus,#a43e67)!important;outline-offset:3px!important;
}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fikra-customer-auth) :is(input,select,textarea){accent-color:#70394d}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fikra-customer-auth) :is(button,a){touch-action:manipulation}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fikra-customer-auth) [hidden]{display:none!important}
:where(.fic-page,.fikra-home,.fikra-store,.fipr-page,.fip-dash-app,.fikra-customer-auth) :is(.fikra-feedback,.fca-feedback,.fipr-notice,.fh-calc-message){overflow-wrap:anywhere}
/* Strong editorial hierarchy with warm paper and restrained premium surfaces. */
.fic-page .fic-custom-hero{background:radial-gradient(circle at 0% 0%,#fffefb 0%,transparent 58%),linear-gradient(145deg,#f8edeb,#fefbf8 70%)!important;border:1px solid #e4d4d8!important}
.fic-page .fic-custom-hero-copy{position:relative}
.fic-page .fic-custom-hero-copy:after{content:'';display:block;width:72px;height:3px;background:linear-gradient(90deg,#793c55,#d4a2ae);border-radius:99px;margin-block:4px 2px;opacity:.72;order:1}
.fic-page .fic-custom-hero-copy .fic-hero-actions{order:2}
.fic-page .fic-custom-hero-copy .fic-discovery-search{order:3}
.fic-page :is(.fh-category-card,.fh-product){overflow:hidden;border-radius:20px!important;box-shadow:0 6px 27px rgba(88,50,65,.065)!important}
.fic-page .fh-product-picture{aspect-ratio:1/1;overflow:hidden;background:#f8f0ed}
.fic-page .fh-product-picture img{transition:transform .6s cubic-bezier(.22,1,.36,1)}
.fic-page .fh-product:is(:hover,:focus-within) .fh-product-picture img{transform:scale(1.045)}
.fic-page .fh-product-info{padding:clamp(14px,2vw,22px)}
.fic-page .fh-section{padding-inline:clamp(12px,2vw,24px)}
.fic-page .fh-text-link{min-height:44px;display:inline-flex;align-items:center;gap:7px}
.fic-page .fh-empty{padding:clamp(26px,5vw,48px)!important;border:1px dashed #d8bec9;border-radius:18px;background:#fffaf8}
/* Campaigns should be unobtrusive; the operational forms stay inside accessible dialogs. */
.fah-promo{isolation:isolate;box-shadow:0 9px 32px rgba(75,38,53,.1)!important}
.fah-promo [data-fah-open],.fah-cart-reminder [data-fah-open]{cursor:pointer;min-height:44px;border-radius:11px}
#fikra-calc-dialog,#fikra-alhoshan-verify{width:min(950px,calc(100vw - 28px))!important;max-height:calc(100dvh - 24px)!important;padding:0!important;overflow-y:auto!important;overscroll-behavior:contain;background:#fffdfa!important;border:1px solid #e6d5da!important;box-shadow:0 30px 100px rgba(21,9,18,.26)!important}
#fikra-calc-dialog::backdrop,#fikra-alhoshan-verify::backdrop{background:rgba(34,19,28,.63)!important;backdrop-filter:blur(7px)}
#fikra-calc-dialog :is(input,select),#fikra-alhoshan-verify :is(input,select){min-height:43px;max-width:100%;border-color:#deccd3}
#fikra-calc-dialog :is(button,a),#fikra-alhoshan-verify :is(button,a){min-height:42px}
#fikra-calc-dialog :is([data-fh-close]),#fikra-alhoshan-verify :is([data-fah-close]){min-width:44px;min-height:44px}
/* Partner and customer account UX: states, inputs, and card rhythm. */
.fipr-page .fipr-hero{position:relative;overflow:hidden;box-shadow:var(--fx-elev)!important;background:linear-gradient(130deg,#fffaf6,#f5e6eb 80%)!important}
.fipr-page .fipr-panel{border-radius:22px!important;box-shadow:var(--fx-elev)!important;background:#fffdfb!important}
.fipr-page :is(input,select,textarea){min-height:45px;border-radius:11px;background:#fff!important;color:#382d34!important}
.fipr-page :is(.fipr-button,.fipr-auth-tab){min-height:45px;border-radius:12px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.fipr-page :is(.fipr-button,.fipr-auth-tab):not(:disabled):hover{transform:translateY(-1px)}
.fipr-page .fipr-notice{border-radius:13px;padding:13px 17px;line-height:1.8}
.fikra-customer-auth .fca-layout{border-radius:24px;overflow:hidden;box-shadow:0 24px 65px rgba(84,47,61,.13)}
.fikra-customer-auth :is(.fca-auth-panel,.fca-signed){background:#fffdfb!important}
.fikra-customer-auth :is(input,select){min-height:46px;border-radius:11px}
.fikra-customer-auth .fca-primary{min-height:45px;border-radius:12px}
.fikra-customer-auth .fca-mode-btn{min-height:44px}
.fip-dash-app :is(.fip-dash-white,.fip-dash-kpi){border:1px solid #eadfe1;box-shadow:0 9px 26px rgba(67,38,52,.06)!important}
.fip-dash-app :is(button,a,input,select,textarea){max-width:100%}
.fip-dash-app :is(button,input,select,textarea){min-height:40px}
.fip-dash-app :is(.fip-dash-kpi,.fip-dash-white){border-radius:18px!important}
/* Clear mobile interaction hierarchy and no sideways scrolling on narrow screens. */
@media(max-width:768px){
 .fic-page .fic-custom-hero-copy:after{width:48px}
 .fic-page .fh-section{padding-inline:12px}
 .fic-page .fh-product-info{padding:15px}
 #fikra-calc-dialog,#fikra-alhoshan-verify{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 12px)!important;border-radius:17px!important}
 .fipr-page .fipr-panel{border-radius:15px!important}
 .fikra-customer-auth .fca-layout{border-radius:16px}
}
@media(max-width:340px){
 .fic-page .fic-custom-hero h1{font-size:30px!important}
 .fic-page .fic-custom-hero-copy{padding:21px 16px!important}
 .fic-page .fic-hero-actions{width:100%}
 .fic-page .fic-hero-actions a{flex:1 1 130px;max-width:100%;min-height:45px}
}
@media(prefers-reduced-motion:reduce){
 :where(.fic-page,.fikra-home,.fipr-page,.fip-dash-app,.fikra-customer-auth) *,
 :where(.fic-page,.fikra-home,.fipr-page,.fip-dash-app,.fikra-customer-auth) *::before,
 :where(.fic-page,.fikra-home,.fipr-page,.fip-dash-app,.fikra-customer-auth) *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
 .fic-page .fh-product:is(:hover,:focus-within) .fh-product-picture img{transform:none}
}
/* Contrast fix: v5.4 changed calculator background to pale while older text stayed white. */
.fic-page .fh-calculator-banner{color:#543143!important}
.fic-page .fh-calculator-banner-copy .fh-kicker{color:#834a60!important}
.fic-page .fh-calculator-banner-copy h2{color:#4c2a3a!important}
.fic-page .fh-calculator-banner-copy p{color:#725761!important}
.fic-page .fh-calc-banner-symbol{background:linear-gradient(145deg,#7d435b,#9d6b7c)!important;border:1px solid #ad8793!important}
.fic-page .fh-calc-banner-symbol span,.fic-page .fh-calc-banner-symbol b{color:#fff!important}
