/* علام — site styles. The design markup keeps its inline styles; this file adds the
   shared design helpers, the header/footer, responsive rules and the motion layer. */

/* ------------------------------------------------------------ base */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:#F6F9FF;color:#1B2433;font-family:'IBM Plex Sans Arabic','IBM Plex Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.pg{font-family:'IBM Plex Sans Arabic','IBM Plex Sans',system-ui,sans-serif;color:#1B2433;background:#F6F9FF;min-height:100vh;container-type:inline-size;display:flex;flex-direction:column}
.pg>main{flex-grow:1}
a{color:#0062CC;text-decoration:none}a:hover{color:#004A99}
img{max-width:100%}
button,input,select,textarea{font-family:inherit}
.notch{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,12px 50%)}
.tag{clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 10px),0 100%)}
details summary{list-style:none}details summary::-webkit-details-marker{display:none}
.m-only{display:none !important}
.hl{color:#007AFF}
.skip{position:absolute;right:12px;top:-60px;z-index:100;background:#007AFF;color:#fff;padding:10px 16px;border-radius:12px;font-weight:700}
.skip:focus{top:12px;color:#fff}
:focus-visible{outline:2px solid #007AFF;outline-offset:2px}
.screen-reader-text{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ------------------------------------------------------------ design responsive rules (from the canvas) */
.pg>*{--hh:86px}
@container (max-width: 760px){
	.d-only{display:none !important}.m-only{display:flex !important}
	.stack{flex-direction:column !important;align-items:stretch !important}
	.h1{font-size:34px !important;line-height:48px !important}
	.home .h1{font-size:36px !important;line-height:50px !important}
	.h2{font-size:28px !important;line-height:40px !important}
	.sec{padding-top:56px !important;padding-bottom:56px !important}
	.m-last{order:2 !important}
	.m-full{width:100% !important;flex-basis:100% !important;box-sizing:border-box !important}
}
@container (max-width: 760px){
	.lg svg{width:62px !important;height:28px !important}
	.hdrwrap{padding:10px 12px 0 !important}
	.hdr{padding:6px 6px 6px 14px !important;min-height:56px;box-sizing:border-box}
	.hdr button,.hdr .m-only a{min-height:40px !important;height:40px}
	.hdr button{width:40px !important}
	[style*="padding: 0 24px"]{padding-left:16px !important;padding-right:16px !important}
	[style*="padding: 48px 24px"],[style*="padding: 40px 24px"]{padding:28px 16px !important}
	.btns>a{flex:1 1 0 !important;min-width:max-content;justify-content:center !important;box-sizing:border-box}
	.fgrid{grid-template-columns:1fr 1fr !important;gap:24px !important}
	.fbrand{grid-column:1/-1}
	.facts{grid-template-columns:1fr 1fr !important;padding:12px 4px !important}
	.facts>*{padding:10px 6px !important}
	.panel{padding:20px !important}
	.card-c{padding:20px !important}
	.m-full{position:static !important}
	.sec2{padding-top:56px !important;padding-bottom:56px !important}
	footer{padding-top:40px !important}
	.hero-in{padding-left:16px !important;padding-right:16px !important}
	.cta-box>div:last-child{padding:40px 20px !important}
	.pg>*{--hh:66px}
}

/* ------------------------------------------------------------ header */
.hdrwrap{position:sticky;top:0;z-index:50;padding:16px 16px 0;pointer-events:none}
.hdrwrap--home{padding:20px 24px 0;margin-bottom:calc(-1 * var(--hh))}
.admin-bar .hdrwrap{top:32px}
@media (max-width:782px){.admin-bar .hdrwrap{top:46px}}
@media (max-width:600px){.admin-bar .hdrwrap{top:0}}
.hdr,.mnav{pointer-events:auto}
.hdr{max-width:1200px;margin:0 auto;background:rgba(255,255,255,.55);-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);border:1px solid rgba(255,255,255,.8);border-radius:999px;padding:10px 14px 10px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 10px 40px rgba(16,40,90,.10);transition:background-color .35s ease-out,box-shadow .35s ease-out,border-color .35s ease-out}
.hdrwrap--home .hdr{background:rgba(255,255,255,.45);border-color:rgba(255,255,255,.7)}
.hdrwrap.is-scrolled .hdr{background:rgba(255,255,255,.82);border-color:rgba(255,255,255,.9);box-shadow:0 14px 40px rgba(16,40,90,.16)}
.lg{display:flex;align-items:center;padding-right:6px}
.hdr-nav{display:flex;gap:26px;font-size:15px;font-weight:500;flex-wrap:wrap}
.hdr-nav a{color:#1B2433;position:relative;transition:color .2s ease-out}
.hdr-nav a::after{content:"";position:absolute;right:0;left:0;bottom:-4px;height:2px;border-radius:2px;background:#007AFF;transform:scaleX(0);transform-origin:right;transition:transform .3s ease-out}
.hdr-nav a:hover{color:#007AFF}.hdr-nav a:hover::after{transform:scaleX(1)}
.hdr-actions,.hdr-mob{display:flex;gap:8px;align-items:center}
.tt{display:flex;gap:2px;background:rgba(255,255,255,.6);border-radius:999px;padding:3px}
.tt button{width:34px;height:34px;border:0;border-radius:999px;background:transparent;color:#5B6576;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .25s ease-out,color .25s ease-out}
.tt button[aria-checked="true"]{background:#007AFF;color:#FFFFFF}
.hdr-login{font-size:15px;font-weight:600;color:#1B2433;padding:10px 12px}
.hdr-cta{background:#007AFF;color:#FFFFFF !important;font-size:15px;font-weight:700;padding:0 20px;border-radius:999px;min-height:44px;display:inline-flex;align-items:center}
.hdr-mob .hdr-cta{font-size:14px;padding:0 16px}
.hdr-me{display:inline-flex;align-items:center;gap:10px;color:#1B2433;font-weight:600;font-size:15px;padding:4px 4px 4px 14px;border-radius:999px;background:rgba(255,255,255,.7);border:1px solid #E3E8EF}
.hdr-me .av,.av{width:36px;height:36px;border-radius:999px;background:#007AFF;color:#FFFFFF;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.hdr-menu{width:44px;height:44px;border-radius:999px;border:1px solid #E3E8EF;background:rgba(255,255,255,.8);color:#1B2433;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.hdrwrap--home .hdr-menu{border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.2)}
.hdr-menu path{transition:transform .3s ease-out,opacity .2s ease-out;transform-origin:12px 12px}
.hdr-menu[aria-expanded="true"] .l1{transform:translateY(5px) rotate(45deg)}
.hdr-menu[aria-expanded="true"] .l2{opacity:0}
.hdr-menu[aria-expanded="true"] .l3{transform:translateY(-5px) rotate(-45deg)}
.mnav{max-width:1200px;margin:8px auto 0;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%);border:1px solid #E3E8EF;border-radius:24px;padding:8px;box-shadow:0 18px 50px rgba(16,40,90,.16);opacity:0;transform:translateY(-8px);transition:opacity .25s ease-out,transform .25s ease-out}
.mnav.open{opacity:1;transform:none}
.mnav nav{display:flex;flex-direction:column}
.mnav nav a{display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:14px;font-size:16px;font-weight:600;color:#1B2433}
.mnav nav a:hover{background:#F6F9FF}
.mnav-theme{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 8px;margin-top:4px;border-top:1px solid #E3E8EF;font-size:15px;color:#5B6576}
.mnav-theme .tt{background:#F5F7FA}

/* ------------------------------------------------------------ home hero */
.hero{position:relative;min-height:780px;overflow:hidden;background:#F6F9FF;color:#1B2433;display:flex;flex-direction:column}
.hero .hero-in{padding-top:calc(120px + var(--hh)) !important}
.hero>img{transform-origin:60% 40%;animation:allamZoom 14s cubic-bezier(.2,.6,.2,1) both}
@keyframes allamZoom{from{transform:scale(1.08)}to{transform:scale(1)}}

/* ------------------------------------------------------------ footer */
.site-foot .fh{color:#EEF2F8;font-weight:700;font-size:16px;margin-bottom:12px}
.site-foot .fl{display:flex;flex-direction:column;gap:8px;font-size:15px}
.site-foot .fl a{color:#9AA6B8;transition:color .2s ease-out}
.site-foot .fl a:hover{color:#FFFFFF}

/* ------------------------------------------------------------ motion */
.btn{transition:transform .2s ease-out,filter .2s ease-out,box-shadow .2s ease-out,background-color .2s ease-out}
.btn:hover{transform:translateY(-1px);filter:brightness(1.06)}
.btn:active{transform:translateY(0) scale(.98);filter:brightness(.96);transition-duration:.1s}
.lift{transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s cubic-bezier(.2,.7,.2,1)}
.lift:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(16,40,90,.10)}
.js [data-reveal]{opacity:0;transform:translateY(16px);transition:opacity .55s cubic-bezier(.2,.7,.2,1),transform .55s cubic-bezier(.2,.7,.2,1);}
.js [data-d="1"]{transition-delay:70ms}.js [data-d="2"]{transition-delay:140ms}.js [data-d="3"]{transition-delay:210ms}.js [data-d="4"]{transition-delay:280ms}.js [data-d="5"]{transition-delay:350ms}.js [data-d="6"]{transition-delay:420ms}
.js [data-reveal].is-in{opacity:1;transform:none}
.js [data-fill]{transform:scaleX(0);transform-origin:right center;transition:transform .7s cubic-bezier(.2,.7,.2,1) .15s}
.js [data-fill].is-in{transform:scaleX(1)}
details .chev{transition:transform .3s ease-out;flex:none}
details[open] .chev{transform:rotate(180deg)}
details summary{transition:color .2s ease-out}
details summary:hover{color:#007AFF}
.acc-body{overflow:hidden}

@media (prefers-reduced-motion: reduce){
	html{scroll-behavior:auto}
	*,*::before,*::after{animation:none !important;transition:none !important}
	.js [data-reveal]{opacity:1 !important;transform:none !important}
	.js [data-fill]{transform:none !important}
	.lift:hover,.btn:hover,.btn:active{transform:none !important}
}
details.closing .chev{transform:none}

/* ------------------------------------------------------------ prose (legal & generic pages) */
.prose-body>*:first-child{margin-top:0}.prose-body>*:last-child{margin-bottom:0}
.prose-body h2{font-size:22px;line-height:34px;color:#1B2433;margin:24px 0 8px}
.prose-body h3{font-size:19px;color:#1B2433;margin:20px 0 6px}
.prose-body p{margin:0 0 14px}
.prose-body ul,.prose-body ol{margin:0 0 14px;padding-right:22px}
html[data-theme=dark] .prose-body h2,html[data-theme=dark] .prose-body h3{color:#EEF2F8}
html[data-theme=dark] [style*="color: #2E3747"]{color:#C9D2DE !important}
html[data-theme=dark] [style*="color: #0B3D7A"]{color:#B5D8FF !important}

/* ------------------------------------------------------------ paths catalogue */
.under-hdr{margin-top:calc(-1 * var(--hh));padding-top:var(--hh)}
.filters button{min-height:44px;padding:0 18px;border-radius:999px;border:1px solid #E3E8EF;background:#FFFFFF;color:#1B2433;font:inherit;font-weight:600;cursor:pointer;transition:background-color .25s ease-out,color .25s ease-out,border-color .25s ease-out}
.filters button[aria-pressed="true"]{background:#007AFF;border-color:#007AFF;color:#FFFFFF;font-weight:700}
.filters button:hover{border-color:#007AFF}
.path-grid>.card{transition:opacity .3s ease-out,transform .3s ease-out}
.path-grid>.card.is-hidden{display:none}
html[data-theme=dark] .filters button{background:#151F33;border-color:#24304A;color:#EEF2F8}
html[data-theme=dark] .filters button[aria-pressed="true"]{background:#007AFF;border-color:#007AFF;color:#FFFFFF}

/* ------------------------------------------------------------ certificate */
.cert-sheet{container-type:inline-size}
@container (max-width: 640px){
	.cert-sheet .c-name{font-size:24px !important;line-height:34px !important}
	.cert-sheet .c-path{font-size:16px !important}
	.cert-sheet .c-sm{font-size:13px !important}
	.cert-sheet .c-xs,.cert-sheet .c-meta,.cert-sheet .cert-code{font-size:11px !important}
	.cert-sheet>div:nth-child(3) svg{width:64px;height:30px}
	.cert-sheet>div:nth-child(4){gap:4px !important}
}
html[data-theme=dark] .cert-sheet{background:#FFFFFF !important;color:#1B2433}
html[data-theme=dark] .cert-sheet [style*="color: #1B2433"]{color:#1B2433 !important}
html[data-theme=dark] .cert-sheet [style*="color: #5B6576"]{color:#5B6576 !important}
html[data-theme=dark] .cert-sheet [style*="border: 1px solid #E3E8EF"]{border-color:#E3E8EF !important}
html[data-theme=dark] .cert-sheet .c-path{color:#007AFF !important}
html[data-theme=dark] [style*="color: #14573D"]{color:#7BE0B0 !important}
@media print{
	@page{size:A4 landscape;margin:0}
	body,.pg{background:#FFFFFF !important}
	.hdrwrap,.site-foot,.no-print,.skip,#wpadminbar{display:none !important}
	.cert-page>div{padding:0 !important}
	.cert-sheet{max-width:none !important;width:297mm !important;height:210mm !important;box-shadow:none !important;border-radius:0 !important;opacity:1 !important;transform:none !important}
}

/* ------------------------------------------------------------ path page */
.pulse{position:relative}
.pulse::after{content:"";position:absolute;inset:0;border-radius:999px;background:inherit;animation:allamPulse 2s ease-out infinite}
@keyframes allamPulse{from{transform:scale(1);opacity:.6}to{transform:scale(2.6);opacity:0}}
.lrow{border-radius:10px;transition:background-color .2s ease-out}
.lrow:hover{background:#F6F9FF}
.buybar{box-shadow:0 -8px 24px rgba(16,40,90,.08)}
html[data-theme=dark] .lrow:hover{background:#1A2438}
html[data-theme=dark] .buybar{background:rgba(15,24,41,.88) !important}
html[data-theme=dark] .on-blue{background:#FFFFFF !important;color:#0062CC !important}
html[data-theme=dark] [style*="radial-gradient(60% 80% at 85% 20%"]{background:radial-gradient(60% 80% at 85% 20%,rgba(95,211,160,.10) 0%,rgba(0,0,0,0) 70%),radial-gradient(40% 60% at 10% 90%,rgba(0,122,255,.14) 0%,rgba(0,0,0,0) 70%) !important}
[hidden]{display:none !important}

/* ------------------------------------------------------------ lesson */
.tabsfade{-webkit-mask-image:linear-gradient(to left,#000 70%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to left,#000 70%,rgba(0,0,0,0) 100%);padding-left:40px !important}
.tabsfade::-webkit-scrollbar{display:none}
.ltabs a{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border-radius:999px;background:transparent;color:#1B2433;font-weight:600;font-size:15px;white-space:nowrap;transition:background-color .25s ease-out,color .25s ease-out}
.ltabs a[aria-selected="true"]{background:#007AFF;color:#FFFFFF;font-weight:700}
.lsec{scroll-margin-top:140px}
.vid .wm{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.vid .wm span{position:absolute;transform:rotate(-18deg);font-size:13px;color:rgba(255,255,255,.22);white-space:nowrap;font-family:'IBM Plex Sans','IBM Plex Sans Arabic',sans-serif}
.allam-ico{flex:none;width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background-repeat:no-repeat;background-position:center}
.allam-ico--done{background-color:#1F7A57;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E")}
.allam-ico--play{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23007AFF'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E")}
.allam-ico--lock{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6576' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")}
.srow{transition:background-color .2s ease-out}
.srow:not(.is-current):hover{background:#F6F9FF}
.fchip{min-height:40px;padding:0 16px;border-radius:999px;border:1px solid #E3E8EF;background:#FFFFFF;color:#1B2433;font:inherit;font-weight:600;cursor:pointer}
.fchip.is-active{background:#007AFF;border-color:#007AFF;color:#fff}
.allam-viewer{display:flex;flex-direction:column;align-items:center;gap:16px;user-select:none;-webkit-user-select:none}
.allam-viewer canvas.allam-page{max-width:100%;height:auto;background:#fff;border-radius:6px;box-shadow:0 6px 24px rgba(16,40,90,.12)}
.allam-muted{color:#5B6576}
.allam-error{color:#B42318;font-weight:600}
.allam-opt{display:flex;gap:10px;align-items:center;border:1px solid #E3E8EF;border-radius:12px;padding:12px 14px;cursor:pointer;transition:border-color .2s ease-out,background-color .2s ease-out}
.allam-opt:hover{border-color:#9CC7FF}
.allam-opt:has(input:checked){border:2px solid #007AFF;background:#E6F1FF;padding:11px 13px}
.allam-opt input{accent-color:#007AFF;margin:0}
.allam-q.is-wrong .allam-opt:has(input:checked){border-color:#F04438;background:#FEF3F2}
.allam-opt.is-correct{border:2px solid #1F7A57 !important;background:#E7F3EE !important;padding:11px 13px}
.allam-quiz__result:empty{display:none}
.allam-quiz__result{display:flex;gap:12px;align-items:center;border-radius:14px;padding:14px 16px;font-weight:600;animation:allamIn .35s ease-out}
.allam-quiz__result.is-pass{background:#E7F3EE;color:#14573D}
.allam-quiz__result.is-fail{background:#FFF0EC;color:#9A2A14}
.allam-quiz .allam-btn--primary{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:12px;background:#007AFF;color:#fff;font-weight:700}
@keyframes allamIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ldone{min-height:48px;padding:0 22px;border-radius:12px;font:inherit;font-weight:700;font-size:16px;cursor:pointer;display:inline-flex;align-items:center;border:0}
.ldone.allam-btn--primary{background:#007AFF;color:#fff}
.ldone.allam-btn--done{background:#E7F3EE;color:#14573D}
.vid iframe{display:block}
html[data-theme=dark] .lbar{background:rgba(11,18,32,.82) !important;border-bottom-color:#24304A !important}
html[data-theme=dark] .lbar .logo-arrow{fill:#fff}
html[data-theme=dark] .ltabs a{color:#EEF2F8}
html[data-theme=dark] .ltabs a[aria-selected="true"]{color:#fff}
html[data-theme=dark] .srow:not(.is-current):hover{background:#1A2438}
html[data-theme=dark] .allam-opt{border-color:#24304A}
html[data-theme=dark] .allam-opt:has(input:checked){background:rgba(0,122,255,.18);border-color:#007AFF}
html[data-theme=dark] .allam-opt.is-correct{background:rgba(95,211,160,.14) !important}
html[data-theme=dark] .allam-quiz__result.is-pass,html[data-theme=dark] .ldone.allam-btn--done{background:rgba(95,211,160,.14);color:#7BE0B0}
html[data-theme=dark] .allam-quiz__result.is-fail{background:rgba(250,101,77,.16);color:#FFB4A6}
html[data-theme=dark] .fchip{background:#151F33;border-color:#24304A;color:#EEF2F8}
html[data-theme=dark] .allam-ico--lock{filter:brightness(1.6)}
@container (max-width: 760px){.ltabs-wrap{top:66px !important}.lsec{scroll-margin-top:130px}#syllabus{position:static !important;max-height:none !important}}
.cform{display:flex;flex-direction:column;gap:10px}
.cform p{margin:0;display:flex;flex-direction:column;gap:8px}
.comment-respond .comment-reply-title{display:none}

/* ---------- auth (Auth design) */
.acc-wrap{max-width:1200px;margin:0 auto;padding:40px 24px 56px;box-sizing:border-box}
.acc-wrap.is-guest{padding-top:48px}
.au{display:flex;flex-direction:column;gap:32px;align-items:center}
.au-head{text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center}
.au-head>span{align-self:center !important}
.au-panel{width:100%;max-width:440px;background:#FFFFFF;border:1px solid #E3E8EF;border-radius:24px;padding:28px;box-shadow:0 16px 48px rgba(16,40,90,.10);display:flex;flex-direction:column;gap:18px;box-sizing:border-box}
.au-title{margin:0;font-size:24px;line-height:36px;font-weight:700}
.au-sub{margin:6px 0 0;font-size:15px;line-height:26px;color:#5B6576}
.au-num{font-family:'IBM Plex Sans',sans-serif;unicode-bidi:isolate}
.au-tabs{display:flex;background:#F5F7FA;border-radius:999px;padding:4px;position:relative}
.au-tabs a{flex:1;min-height:44px;border-radius:999px;font-weight:700;display:flex;align-items:center;justify-content:center;color:#5B6576;transition:background-color .25s ease-out,color .25s ease-out,box-shadow .25s ease-out}
.au-tabs a:hover{color:#1B2433}
.au-tabs a[aria-current]{background:#FFFFFF;color:#1B2433;box-shadow:0 2px 8px rgba(16,40,90,.08)}
.au-form{display:flex;flex-direction:column;gap:18px}
.au-f{display:flex;flex-direction:column;gap:8px;min-width:0}
.au-f label{font-size:15px;font-weight:600}
.au-lrow{display:flex;justify-content:space-between;align-items:center}
.au-lrow a{font-size:14px;font-weight:600}
.au-row{display:flex;gap:12px;flex-wrap:wrap}
.au-row>.au-f{flex:1 1 160px}
.au-in{font:inherit;font-size:16px;min-height:52px;border:1px solid #C9D2DE;border-radius:12px;padding:0 14px;background:#FFFFFF;color:#1B2433;box-sizing:border-box;width:100%;transition:border-color .2s ease-out,box-shadow .2s ease-out}
.au-in:focus{outline:none;border-color:#007AFF;box-shadow:0 0 0 4px rgba(0,122,255,.15)}
.au-ltr{direction:ltr;text-align:left}
.au-phone{display:flex;gap:8px;direction:ltr}
.au-cc{flex:none;width:auto;font-size:15px;padding:0 10px;direction:ltr;font-family:'IBM Plex Sans',sans-serif}
.au-otp{direction:ltr;text-align:center;letter-spacing:8px;font-family:'IBM Plex Sans',sans-serif;font-size:22px;font-weight:700;min-height:56px}
.au-hint{margin:0;font-size:13px;color:#5B6576}
.au-btn{min-height:54px;border:0;border-radius:12px;background:#007AFF;color:#FFFFFF;font:inherit;font-size:17px;font-weight:700;cursor:pointer;width:100%}
.au-btn:hover{background:#0062CC}
.au-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;flex-wrap:wrap}
.au-foot form{margin:0}
.au-link{background:none;border:0;padding:0;font:inherit;font-weight:600;color:#0062CC;cursor:pointer}
.au-link:hover{text-decoration:underline}
.au-alert{display:flex;gap:10px;align-items:flex-start;background:#FFF0EC;color:#9A2A14;border-radius:12px;padding:12px 14px;font-size:14px;font-weight:600;line-height:22px}
.au-alert svg{flex:none;margin-top:2px}
@container (max-width: 760px){.au-panel{padding:20px}.acc-wrap{padding:28px 16px 40px}.au{gap:24px}}

/* ---------- my account shell (MyPaths design) */
.acc{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.acc-nav{flex:0 0 260px;min-width:0;background:#FFFFFF;border:1px solid #E3E8EF;border-radius:24px;padding:12px;display:flex;flex-direction:column;gap:4px;box-sizing:border-box;position:sticky;top:calc(var(--hh) + 16px)}
.acc-user{display:flex;gap:12px;align-items:center;padding:10px}
.acc-av{flex:none;width:44px;height:44px;border-radius:999px;background:#007AFF;color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-weight:700}
.acc-name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acc-num{font-family:'IBM Plex Sans',sans-serif;font-size:13px;color:#5B6576;text-align:right}
.acc-links{display:flex;flex-direction:column;gap:4px}
.acc-links a{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;color:#1B2433;transition:background-color .2s ease-out,color .2s ease-out}
.acc-links a:hover{background:#F5F7FA}
.acc-links a[aria-current]{background:#E6F1FF;color:#0062CC;font-weight:700}
.acc-links a.is-out{color:#B42318}
.acc-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:24px}
.mp{display:flex;flex-direction:column;gap:24px}
.mp-resume{background:linear-gradient(120deg,#007AFF,#0057C2);color:#FFFFFF;border-radius:24px;padding:28px;display:flex;gap:24px;align-items:center;position:relative;overflow:hidden}
.mp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.mp-card{background:#FFFFFF;border:1px solid #E3E8EF;border-radius:24px;overflow:hidden;display:flex;flex-direction:column}
.mp-add:hover{border-color:#007AFF !important}
@container (max-width: 760px){
	.acc-nav{flex-basis:100%;position:static;padding:8px}
	.acc-links{flex-direction:row;overflow-x:auto;gap:6px;padding:4px;scrollbar-width:none}
	.acc-links::-webkit-scrollbar{display:none}
	.acc-links a{flex:none;min-height:40px;border-radius:999px;border:1px solid #E3E8EF;white-space:nowrap}
	.acc-links a[aria-current]{background:#007AFF;color:#FFFFFF;border-color:#007AFF}
	.mp-resume{padding:22px}
	.mp-resume .btn{width:100%}
}

/* WooCommerce account content (orders, details, addresses) */
.acc-main h2,.acc-main h3{margin:0 0 12px;font-size:22px;font-weight:700}
.acc-main p{margin:0 0 12px;line-height:28px}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{list-style:none;margin:0 0 16px !important;padding:14px 16px !important;border-radius:14px !important;font-size:15px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;border:1px solid #E3E8EF !important;background:#FFFFFF !important;color:#1B2433 !important}
.woocommerce-message{background:#E7F3EE !important;border-color:transparent !important;color:#1F7A57 !important}
.woocommerce-error{background:#FFF0EC !important;border-color:transparent !important;color:#9A2A14 !important}
.woocommerce-info{background:#E6F1FF !important;border-color:transparent !important;color:#0062CC !important}
.woocommerce-error li{list-style:none}
.woocommerce-message .button,.woocommerce-info .button{margin-inline-start:auto}
.acc-main .button,.acc-main button[type=submit],.co-body .button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:12px;border:0;background:#007AFF;color:#FFFFFF !important;font:inherit;font-weight:700;cursor:pointer;transition:background-color .2s ease-out,transform .2s ease-out}
.acc-main .button:hover,.acc-main button[type=submit]:hover{background:#0062CC}
.acc-main table{width:100%;border-collapse:separate;border-spacing:0;background:#FFFFFF;border:1px solid #E3E8EF;border-radius:20px;overflow:hidden;font-size:15px}
.acc-main th,.acc-main td{padding:14px 16px;text-align:right;border-bottom:1px solid #E3E8EF;vertical-align:middle}
.acc-main thead th{background:#F5F7FA;font-weight:700;font-size:14px;color:#5B6576}
.acc-main tr:last-child td,.acc-main tfoot tr:last-child th{border-bottom:0}
.acc-main td .button{min-height:38px;padding:0 14px;font-size:14px;margin:2px}
.acc-main form{background:#FFFFFF;border:1px solid #E3E8EF;border-radius:24px;padding:24px;display:flex;flex-wrap:wrap;gap:16px}
.acc-main form>*{flex:1 1 100%;margin:0}
.acc-main .form-row-first,.acc-main .form-row-last{flex:1 1 220px}
.acc-main .form-row{display:flex;flex-direction:column;gap:8px}
.acc-main label{font-size:15px;font-weight:600}
.acc-main .required{color:#B42318;text-decoration:none}
.acc-main input.input-text,.acc-main select,.acc-main textarea{font:inherit;font-size:16px;min-height:52px;border:1px solid #C9D2DE;border-radius:12px;padding:0 14px;background:#FFFFFF;color:#1B2433;box-sizing:border-box;width:100%}
.acc-main input.input-text:focus,.acc-main select:focus{outline:none;border-color:#007AFF;box-shadow:0 0 0 4px rgba(0,122,255,.15)}
.acc-main fieldset{border:1px solid #E3E8EF;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:14px}
.acc-main legend{font-weight:700;padding:0 8px}
.acc-main em,.acc-main .description{font-size:13px;color:#5B6576;font-style:normal}
.acc-main .woocommerce-Addresses{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.acc-main .woocommerce-Address{background:#FFFFFF;border:1px solid #E3E8EF;border-radius:20px;padding:20px}
.acc-main address{font-style:normal;line-height:26px;color:#5B6576}
.acc-main mark{background:#E6F1FF;color:#0062CC;padding:0 6px;border-radius:6px}
.acc-main .woocommerce-pagination{display:flex;gap:8px;margin-top:16px}
@container (max-width: 760px){
	.acc-main table.shop_table_responsive thead{display:none}
	.acc-main table.shop_table_responsive tr{display:block;border-bottom:1px solid #E3E8EF;padding:8px 0}
	.acc-main table.shop_table_responsive td{display:flex;justify-content:space-between;gap:12px;border:0;padding:8px 16px}
	.acc-main table.shop_table_responsive td::before{content:attr(data-title);font-weight:600;color:#5B6576}
	.acc-main form{padding:18px}
}

/* ---------- checkout (Checkout design over the WooCommerce blocks) */
.co-steps{display:flex;gap:8px;align-items:center;font-size:14px;flex-wrap:wrap;color:#5B6576}
.co-steps>[aria-hidden]{color:#C9D2DE}
.co-steps .is-done{color:#1F7A57;font-weight:700}
.co-steps .is-on{color:#007AFF;font-weight:700}
.co-body .wp-block-woocommerce-checkout,.co-body .wp-block-woocommerce-cart{margin:0;padding:0;max-width:none;font-family:inherit}
.co-body .wc-block-components-sidebar-layout{margin:0 !important;gap:24px;display:flex;flex-wrap:wrap;align-items:flex-start}
.co-body .wc-block-components-main,.co-body .wc-block-checkout__main,.co-body .wc-block-cart__main{flex:999 1 480px;min-width:0;width:auto !important;padding:0 !important;margin:0 !important}
.co-body .wc-block-components-sidebar,.co-body .wc-block-checkout__sidebar,.co-body .wc-block-cart__sidebar{flex:1 1 340px;min-width:0;width:auto !important;padding:24px !important;margin:0 !important;background:#FFFFFF;border:1px solid #E3E8EF;border-radius:24px;box-shadow:0 16px 48px rgba(16,40,90,.10);box-sizing:border-box;position:sticky;top:calc(var(--hh) + 16px)}
.co-body .wc-block-components-checkout-step{background:#FFFFFF;border:1px solid #E3E8EF;border-radius:24px;padding:24px !important;margin:0 0 16px !important;box-sizing:border-box}
.co-body .wc-block-components-checkout-step::after{display:none !important}
.co-body .wc-block-components-checkout-step__title{font-size:19px !important;font-weight:700 !important}
.co-body .wc-block-components-checkout-step__heading{margin:0 0 12px !important}
.co-body .wc-block-components-checkout-step__container,.co-body .wc-block-components-checkout-step__content{padding:0 !important}
.co-body .wc-block-components-text-input input,.co-body .wc-block-components-combobox input,.co-body .wc-blocks-components-select__select,.co-body .wc-block-components-textarea{border:1px solid #C9D2DE !important;border-radius:12px !important;background:#FFFFFF !important;color:#1B2433 !important;font-family:inherit !important}
.co-body .wc-block-components-text-input.is-active input:focus,.co-body .wc-block-components-text-input input:focus{border-color:#007AFF !important;box-shadow:0 0 0 4px rgba(0,122,255,.15) !important;outline:none}
.co-body .wc-block-components-radio-control__option,.co-body .wc-block-components-radio-control-accordion-option{border-radius:14px !important}
.co-body .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,.co-body .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted{box-shadow:inset 0 0 0 2px #007AFF !important;background:#E6F1FF}
.co-body .wc-block-components-button:not(.is-link),.co-body .wc-block-cart__submit-button{min-height:56px;border-radius:12px !important;background:#007AFF !important;color:#FFFFFF !important;font-family:inherit !important;font-size:18px !important;font-weight:700 !important;border:0 !important;transition:background-color .2s ease-out,transform .2s ease-out}
.co-body .wc-block-components-button:not(.is-link):hover{background:#0062CC !important}
.co-body .wc-block-components-button:not(.is-link):active{transform:scale(.98)}
.co-body .wc-block-components-totals-wrapper{border-top:1px solid #E3E8EF !important;padding:12px 0 !important}
.co-body .wc-block-components-totals-footer-item{font-size:18px;font-weight:700}
.co-body .wc-block-components-order-summary-item__image img{border-radius:10px}
.co-body .wc-block-components-title,.co-body .wc-block-components-checkout-order-summary__title-text{font-size:19px !important;font-weight:700 !important}
.co-body .wc-block-components-checkout-return-to-cart-button{display:none !important}
.co-body .wc-block-components-notice-banner{background:#FFF0EC !important;color:#9A2A14 !important;border:0 !important}
.co-body .wc-block-components-notice-banner svg{fill:currentColor}
.co-body .wc-block-checkout__actions_row{justify-content:stretch}
.co-body .wc-block-checkout__actions_row .wc-block-components-button{width:100%}
.co-body .woocommerce-order{display:flex;flex-direction:column;gap:16px}
.co-body .woocommerce-order>p:first-child,.co-body .woocommerce-thankyou-order-received{display:none}
.co-body ul.woocommerce-order-overview{list-style:none;margin:0;padding:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;background:#FFFFFF;border:1px solid #E3E8EF;border-radius:20px}
.co-body ul.woocommerce-order-overview li{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#5B6576}
.co-body ul.woocommerce-order-overview strong{font-size:15px;color:#1B2433}
.co-body .woocommerce-order-details,.co-body .woocommerce-customer-details{background:#FFFFFF;border:1px solid #E3E8EF;border-radius:20px;padding:20px}
.co-body .woocommerce-order-details table{width:100%;border-collapse:collapse}
.co-body .woocommerce-order-details th,.co-body .woocommerce-order-details td{padding:10px 0;text-align:right;border-bottom:1px solid #E3E8EF}
.co-body address{font-style:normal;line-height:26px;color:#5B6576}
@container (max-width: 760px){
	.co-body .wc-block-components-sidebar,.co-body .wc-block-checkout__sidebar,.co-body .wc-block-cart__sidebar{position:static;padding:20px !important}
	.co-body .wc-block-components-checkout-step{padding:20px !important}
}
.password-input{position:relative;display:block}
.show-password-input{position:absolute;left:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:10px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235B6576' stroke-width='2'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center no-repeat;cursor:pointer;padding:0;min-height:0 !important}
.show-password-input:hover{background-color:#F5F7FA}
.show-password-input.display-password{opacity:.6}
.password-input .input-text{padding-left:48px !important}

/* ---------- header logo "builds" itself once per page load (~2s); footer logo stays static */
@keyframes allamDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes allamRibbon{0%{transform:scaleY(0)}70%{transform:scaleY(1.12)}100%{transform:scaleY(1)}}
.lg .allam-logo g path{stroke-dasharray:1;stroke-dashoffset:1;animation:allamDraw .8s cubic-bezier(.2,.7,.2,1) forwards}
.lg .allam-logo g path:nth-child(2){animation-delay:.25s}
.lg .allam-logo g path:nth-child(3){animation-delay:.5s}
.lg .allam-logo g path:nth-child(4){animation-delay:.65s}
.lg .allam-logo g path:nth-child(5){animation-delay:.8s}
.lg .allam-logo .logo-arrow{transform-box:fill-box;transform-origin:50% 0;transform:scaleY(0);animation:allamRibbon .45s cubic-bezier(.2,.7,.2,1) 1.55s forwards}
@media (prefers-reduced-motion: reduce){.lg .allam-logo g path,.lg .allam-logo .logo-arrow{animation:none;stroke-dashoffset:0;transform:none}}
/* shorter coral bookmarks on mobile so they never cover the text below them */
@container (max-width: 760px){.tag[style*="height: 110px"]{width:22px !important;height:56px !important;left:20px !important}.tag[style*="height: 64px"],.tag[style*="height: 70px"]{width:18px !important;height:44px !important;left:20px !important}}

/* ------------------------------------------------------------ legal: data table + consent checkbox */
.prose-body .legal-table{margin:0 0 16px;overflow-x:auto}
.prose-body .legal-table table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #E3E8EF;border-radius:16px;overflow:hidden;font-size:15px;line-height:26px}
.prose-body .legal-table th,.prose-body .legal-table td{border:0 !important}
.prose-body .legal-table thead{border:0 !important}
.prose-body .legal-table th{background:#F3F6FA;color:#1B2433;font-weight:700;text-align:right;padding:12px 14px;box-shadow:inset 0 -1px 0 #E3E8EF}
.prose-body .legal-table td{padding:12px 14px;vertical-align:top;box-shadow:inset 0 -1px 0 #E3E8EF}
.prose-body .legal-table tr:last-child td{box-shadow:none}
.prose-body .legal-table td:first-child{font-weight:600;color:#1B2433;white-space:nowrap}
@media (max-width: 640px){
	.prose-body .legal-table thead{display:none}
	.prose-body .legal-table table,.prose-body .legal-table tbody,.prose-body .legal-table tr,.prose-body .legal-table td{display:block;width:auto}
	.prose-body .legal-table tr{border-bottom:1px solid #E3E8EF;padding:6px 0}
	.prose-body .legal-table tr:last-child{border-bottom:0}
	.prose-body .legal-table td{border:0;padding:4px 14px;white-space:normal;box-shadow:none !important}
	.prose-body .legal-table td:not(:first-child)::before{content:attr(data-title) ": ";font-weight:600;color:#5B6576}
}
.au-check{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:24px;color:#2E3747;cursor:pointer}
.au-check input{width:20px;height:20px;margin:2px 0 0;flex:0 0 20px;accent-color:#007AFF;cursor:pointer}
.au-check a{color:#0062CC;font-weight:600}
