/* IRAQ STORES V5.0.8 — accessible first-activation welcome, restrained purchase CTA and authentic print documents.
   Navy #122D39, warm gold #D6B779, ivory #F7F5EF from supplied brand kit. */
:root{--v508-navy:#122d39;--v508-deep:#082e45;--v508-gold:#d6b779;--v508-ivory:#f7f5ef;--v508-ink:#143648}
body.route-home:not(.kaseh-promo-dismissed){padding-bottom:0!important}
.kaseh-v508-tag,.kaseh-v508-paper-eyebrow{font-weight:900;color:#93691f;font-size:12px;letter-spacing:.02em}
/* Marketing module is in document flow, never overlaying platform header or hero. */
body.route-home .kaseh-v508-purchase-ribbon{display:flex;align-items:center;gap:22px;margin:22px 0;padding:18px 24px;background:linear-gradient(105deg,#0d3346,#174e60);border:1px solid #c5a16c;border-radius:18px;box-shadow:0 12px 28px #173b501c;color:#fff;position:relative;overflow:hidden}
body.route-home .kaseh-v508-purchase-ribbon:after{content:'';position:absolute;width:240px;height:240px;inset:auto auto -190px -70px;border-radius:50%;border:1px solid #dabd7855;pointer-events:none}
body.route-home .kaseh-v508-price-orbit{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;width:102px;height:102px;border-radius:50%;background:#e8c782;color:#173448;box-shadow:0 0 0 5px #ffffff0d;z-index:1}
body.route-home .kaseh-v508-price-orbit:before{content:'';position:absolute;inset:-6px;border:2px dashed #f1d19a;border-radius:50%;animation:kaseh-v508-orbit 12s linear infinite;pointer-events:none}
body.route-home .kaseh-v508-price-orbit strong{font:900 24px/1.2 Arial,system-ui,sans-serif;letter-spacing:-.04em;color:#122d39!important}
body.route-home .kaseh-v508-price-orbit span{font-size:12px;font-weight:900;color:#4d3d1e!important}
body.route-home .kaseh-v508-purchase-copy{flex:1;min-width:0;display:grid;gap:4px}
body.route-home .kaseh-v508-purchase-copy>span{font-size:11px;color:#f2d49c!important;font-weight:850}
body.route-home .kaseh-v508-purchase-copy>strong{font-size:clamp(18px,2vw,27px);line-height:1.4;color:#fff!important}
body.route-home .kaseh-v508-purchase-copy p{font-size:12px;color:#e2eff2!important;line-height:1.9;margin:0}
body.route-home .kaseh-v508-purchase-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:9px;padding:12px 20px;min-height:49px;background:#eac77f;border:1px solid #f5deaf;border-radius:10px;color:#11364a!important;text-decoration:none;font-size:15px;font-weight:900;transition:transform .16s ease,background-color .16s ease}
body.route-home .kaseh-v508-purchase-button:is(:hover,:focus-visible){transform:translateY(-2px);background:#ffe1a2;box-shadow:0 5px 13px #0004}
@keyframes kaseh-v508-orbit{to{transform:rotate(360deg)}}
/* Permanent links in dashboard and on platform home. */
.kaseh-v508-home-docs,.kaseh-v508-merchant-docs{display:flex;align-items:center;justify-content:space-between;gap:23px;margin:18px 0 26px;padding:22px 26px;background:linear-gradient(110deg,#f9f7f0,#eef6f7);border:1px solid #d6b779;border-radius:16px;color:#153a4e}
.kaseh-v508-home-docs>div:first-child,.kaseh-v508-merchant-docs>div:first-child{flex:1;min-width:0}
.kaseh-v508-home-docs h2,.kaseh-v508-merchant-docs h2{font-size:clamp(19px,2.2vw,25px);line-height:1.55;color:#0c3449!important;margin:7px 0}
.kaseh-v508-home-docs p,.kaseh-v508-merchant-docs p{color:#345a69!important;font-size:13px;line-height:1.9;margin:0}
.kaseh-v508-home-doc-actions,.kaseh-v508-merchant-doc-links,.kaseh-v508-welcome-docs{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch;justify-content:center}
.kaseh-v508-home-doc-actions{max-width:440px}
.kaseh-v508-doc-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px 14px;border-radius:10px;border:1px solid #12425b;background:#0c3d56;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:900;line-height:1.5;min-height:56px;text-align:center;min-width:145px;transition:transform .15s,background-color .15s}
.kaseh-v508-doc-button span{color:#e4bd75;font-size:22px;line-height:1}
.kaseh-v508-doc-button small{color:#dbe8ee!important;font-size:10px;font-weight:500;line-height:1.5}
.kaseh-v508-doc-button:is(:hover,:focus-visible){background:#0c6a7c;transform:translateY(-1px)}
.kaseh-v508-home-dashboard{color:#105b73!important;font-size:12px;font-weight:900;align-self:center;text-decoration:underline;text-underline-offset:3px}
/* Activation-only overlay shown by server and acknowledged through CSRF-protected POST. */
.kaseh-v508-welcome-overlay{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;overflow-y:auto;overscroll-behavior:contain;padding:16px;background:rgba(5,28,42,.83);backdrop-filter:blur(7px)}
.kaseh-v508-welcome-card{width:min(100%,640px);max-height:calc(100dvh - 30px);overflow-y:auto;padding:clamp(20px,4vw,36px);border:2px solid #d3b675;border-radius:22px;background:radial-gradient(circle at top right,#f4e8c7 0,transparent 38%),linear-gradient(140deg,#fffefa,#f7f5ee);box-shadow:0 22px 70px #0008;text-align:center;color:#143749;outline:none;position:relative}
.kaseh-v508-welcome-card:before{content:'';position:absolute;inset:9px;border:1px solid #c9a96b80;border-radius:15px;pointer-events:none}
.kaseh-v508-welcome-stars{font-size:23px;letter-spacing:10px;color:#b58936;margin-bottom:10px;animation:kaseh-v508-glisten 3s ease-in-out infinite}
.kaseh-v508-welcome-logo{width:64px;height:64px;object-fit:contain;margin-inline:auto;display:block}
.kaseh-v508-welcome-eyebrow{display:block;margin:11px 0;font-size:11px;font-weight:900;color:#936a27!important;letter-spacing:.02em}
.kaseh-v508-welcome-card h2{margin:10px 0 12px;color:#0d354a!important;font-size:clamp(23px,3.4vw,32px);line-height:1.5}
.kaseh-v508-welcome-card p{color:#345466!important;line-height:2;font-size:13px;margin:0 auto 18px;max-width:540px}
.kaseh-v508-welcome-card p strong{color:#073a56!important}
.kaseh-v508-welcome-docs{margin:21px 0 14px}
.kaseh-v508-welcome-ack button{width:100%;max-width:385px;min-height:48px;margin:0 auto;background:#d5ad61!important;border-color:#bc9040!important;color:#0d344c!important;font-size:14px;font-weight:900}
.kaseh-v508-welcome-card .kaseh-v508-welcome-footnote{font-size:11px;color:#567180!important;margin:14px auto 0}
@keyframes kaseh-v508-glisten{50%{opacity:.55;transform:scale(.95)}}
/* Print documents: match supplied horizontal navy-gold formal identity, while remaining live HTML/data. */
.kaseh-v508-document-actions{max-width:1120px;margin:18px auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #e0e5e9;padding:12px 16px;border-radius:12px}
.kaseh-v508-document-actions span{font-size:11px;color:#4a6878}
.kaseh-v508-paper{--paper-gold:#b58a3f;--paper-navy:#122d39;position:relative;isolation:isolate;box-sizing:border-box;width:100%;max-width:1120px;min-height:760px;margin:12px auto 28px;padding:40px 46px 34px;color:#143449!important;background:#fdfbf7;border:1px solid #c8ab76;box-shadow:0 20px 45px #12344426;overflow:hidden;print-color-adjust:exact;-webkit-print-color-adjust:exact;font-family:'Noto Sans Arabic',Tahoma,Arial,sans-serif}
.kaseh-v508-paper:before{content:'';position:absolute;inset:14px;border:2px solid #bd9756;pointer-events:none;z-index:-1}
.kaseh-v508-paper:after{content:'';position:absolute;inset:22px;border:1px solid #edddbf;pointer-events:none;z-index:-1}
.kaseh-v508-paper-corner{position:absolute;width:170px;height:170px;background:linear-gradient(130deg,#0c3f55,#122d39);pointer-events:none;z-index:-1}
.kaseh-v508-corner-top{top:-95px;right:-95px;transform:rotate(45deg);border:5px solid #cfaa65}
.kaseh-v508-corner-bottom{bottom:-110px;left:-100px;transform:rotate(45deg);border:5px solid #cfaa65}
.kaseh-v508-paper-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 15px 17px;border-bottom:1px solid #d7c49b}
.kaseh-v508-paper-brand{display:flex;align-items:center;gap:14px}
.kaseh-v508-paper-brand img{width:66px;height:66px;object-fit:contain}
.kaseh-v508-paper-brand>div{display:grid;gap:3px}
.kaseh-v508-paper-brand strong{font-size:30px;color:#123549!important;font-weight:900;line-height:1.3}
.kaseh-v508-paper-brand span{font-size:14px;color:#936d2f!important;letter-spacing:4px;font-family:Arial,sans-serif}
.kaseh-v508-paper-issue{text-align:left;display:grid;gap:5px;max-width:40%}
.kaseh-v508-paper-issue b{font-size:12px;color:#675536!important}
.kaseh-v508-paper-issue span{font:700 12px/1.5 Arial,system-ui,sans-serif;color:#254c5e;overflow-wrap:anywhere;direction:ltr}
.kaseh-v508-certificate-main{text-align:center;padding:17px 30px 11px}
.kaseh-v508-certificate-main .kaseh-v508-paper-eyebrow{color:#92703a!important}
.kaseh-v508-paper h1{font-size:clamp(34px,4.2vw,58px);line-height:1.35;font-weight:900;color:#0b354d!important;margin:8px 0 0}
.kaseh-v508-gold-rule{width:70%;margin:7px auto 10px;display:flex;align-items:center;justify-content:center;gap:14px;color:#b58a3f}
.kaseh-v508-gold-rule:before,.kaseh-v508-gold-rule:after{content:'';flex:1;height:1px;background:#c9ad76}
.kaseh-v508-certificate-main h2{color:#936a2e!important;font-size:24px;margin:6px 0 12px}
.kaseh-v508-certificate-intro,.kaseh-v508-certificate-body{font-size:clamp(13px,1.4vw,16px)!important;line-height:2.15!important;color:#254459!important;margin:0 auto!important;max-width:850px}
.kaseh-v508-certificate-recipient{color:#08374e!important;font-size:clamp(22px,2.5vw,36px)!important;line-height:1.7!important;font-weight:900!important;margin:6px auto!important}
.kaseh-v508-certificate-store-label{color:#6a6270!important;font-size:12px!important;margin:0!important}
.kaseh-v508-certificate-store{color:#a67532!important;font-size:clamp(19px,2.4vw,32px)!important;font-weight:900!important;line-height:1.6!important;margin:4px auto 12px!important}
.kaseh-v508-paper-footer,.kaseh-v508-contract-footer{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:22px 20px 0;padding:17px 0 0;border-top:1px solid #bd9a57}
.kaseh-v508-paper-meta{display:flex;flex-direction:column;gap:7px;min-width:0}
.kaseh-v508-paper-meta strong{font-size:14px;color:#15364a!important}
.kaseh-v508-paper-meta small{font-size:11px;color:#33576a!important;line-height:1.5}
.kaseh-v508-platform-seal{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;border:3px double #b99253;width:104px;height:104px;border-radius:50%;background:#faf4e6;flex:none}
.kaseh-v508-platform-seal img{height:54px;width:54px;object-fit:contain}
.kaseh-v508-platform-seal span{font-size:9px;font-weight:900;color:#8a662b!important}
.kaseh-v508-verification{display:grid;justify-items:center;gap:3px;width:122px;flex:none;text-align:center;color:#1b3f54}
.kaseh-v508-verification .qr-box{width:93px;height:93px;display:grid;place-items:center;padding:3px;background:white;border:1px solid #ad8849;border-radius:3px}
.kaseh-v508-verification .qr-box svg{width:87px!important;height:87px!important;max-width:100%}
.kaseh-v508-verification b{font-size:11px;color:#173d50!important}
.kaseh-v508-verification small{font-size:9px;line-height:1.5;color:#4b6875!important}
/* Contract: one A4 landscape, dense but legible. */
.kaseh-v508-contract-heading{text-align:center;padding:6px 0 10px}
.kaseh-v508-contract-heading h1{font-size:41px;margin:0}
.kaseh-v508-contract-heading p{font-size:12px;color:#375264!important;margin:0}
.kaseh-v508-contract-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 14px 10px}
.kaseh-v508-contract-meta>div{display:grid;gap:4px;background:#f4eee2;border:1px solid #e3d5b8;border-radius:7px;padding:9px 11px;min-width:0}
.kaseh-v508-contract-meta span{font-size:10px;color:#806032!important;font-weight:800}
.kaseh-v508-contract-meta strong{font-size:12px;line-height:1.55;overflow-wrap:anywhere;color:#11384b!important}
.kaseh-v508-contract-parties{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:10px 14px}
.kaseh-v508-contract-parties section{padding:12px 16px;border:1px solid #d4c5a7;background:#fffefc;border-radius:8px;min-width:0}
.kaseh-v508-contract-parties h2{font-size:14px;margin:-12px -16px 9px;background:#0d3d52;padding:7px 14px;color:#fff!important;border-radius:8px 8px 0 0}
.kaseh-v508-contract-parties section:last-child h2{background:#c6a063;color:#113448!important}
.kaseh-v508-contract-parties p{font-size:11px;line-height:1.7;margin:3px 0;color:#2e4e61!important;overflow-wrap:anywhere}
.kaseh-v508-contract-parties p b{color:#153a4d!important}
.kaseh-v508-contract-clauses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 14px}
.kaseh-v508-contract-clauses section{min-width:0;background:#fffdf9;border:1px solid #e0d2ba;border-radius:7px;padding:10px 12px;break-inside:avoid}
.kaseh-v508-contract-clauses h3{display:flex;align-items:center;gap:7px;font-size:12px;color:#12384c!important;margin:0 0 5px}
.kaseh-v508-contract-clauses h3 span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;flex:none;color:#fff!important;background:#153e51;font:800 11px Arial,sans-serif}
.kaseh-v508-contract-clauses p{font-size:10.3px;line-height:1.8;color:#375164!important;margin:0}
.kaseh-v508-contract-footer{margin-top:10px;padding-top:8px}
.kaseh-v508-contract-accept{display:grid;gap:5px;min-width:0;flex:1}
.kaseh-v508-contract-accept b{font-size:13px;color:#0d3a50!important}
.kaseh-v508-contract-accept span{font-size:10px;color:#32566a!important;line-height:1.65}
.kaseh-v508-contract-accept small{font-size:9px;color:#567280!important}
@media(max-width:760px){
 body.route-home .kaseh-v508-purchase-ribbon{padding:15px;gap:13px;flex-wrap:wrap;margin:12px 0 18px;border-radius:13px}
 body.route-home .kaseh-v508-price-orbit{height:80px;width:80px}
 body.route-home .kaseh-v508-price-orbit strong{font-size:20px}
 body.route-home .kaseh-v508-purchase-copy{flex:1 1 calc(100% - 115px)}
 body.route-home .kaseh-v508-purchase-copy>strong{font-size:17px}
 body.route-home .kaseh-v508-purchase-copy p{font-size:11px}
 body.route-home .kaseh-v508-purchase-button{flex:1 1 100%;font-size:14px;min-height:45px}
 .kaseh-v508-home-docs,.kaseh-v508-merchant-docs{flex-direction:column;align-items:stretch;padding:17px;gap:13px}
 .kaseh-v508-home-doc-actions,.kaseh-v508-merchant-doc-links{max-width:none;display:grid;grid-template-columns:1fr 1fr}
 .kaseh-v508-home-dashboard{grid-column:1/-1;text-align:center}
 .kaseh-v508-doc-button{min-width:0;font-size:12px;padding:9px 5px}
 .kaseh-v508-welcome-overlay{padding:8px}
 .kaseh-v508-welcome-card{max-height:calc(100dvh - 16px);padding:19px 14px;border-radius:14px}
 .kaseh-v508-welcome-card h2{font-size:23px}
 .kaseh-v508-welcome-docs{display:grid;grid-template-columns:1fr 1fr;gap:7px}
 .kaseh-v508-document-actions{justify-content:center}
 .kaseh-v508-paper{padding:23px 17px;min-height:0}
 .kaseh-v508-paper-header{padding:8px 6px 13px;gap:8px}
 .kaseh-v508-paper-brand img{width:45px;height:45px}
 .kaseh-v508-paper-brand strong{font-size:18px}
 .kaseh-v508-paper-brand span{font-size:10px;letter-spacing:1px}
 .kaseh-v508-paper-issue{max-width:45%}
 .kaseh-v508-paper-issue b,.kaseh-v508-paper-issue span{font-size:9px}
 .kaseh-v508-certificate-main{padding:14px 8px}
 .kaseh-v508-paper h1{font-size:32px}
 .kaseh-v508-certificate-main h2{font-size:18px}
 .kaseh-v508-certificate-body{font-size:12px!important}
 .kaseh-v508-paper-footer,.kaseh-v508-contract-footer{flex-wrap:wrap;margin:13px 8px}
 .kaseh-v508-contract-parties,.kaseh-v508-contract-clauses{grid-template-columns:1fr}
 .kaseh-v508-contract-meta{grid-template-columns:1fr 1fr}
 .kaseh-v508-contract-heading h1{font-size:31px}
}
@media(max-width:360px){.kaseh-v508-welcome-docs{grid-template-columns:1fr}.kaseh-v508-welcome-card p{font-size:12px}.kaseh-v508-home-doc-actions,.kaseh-v508-merchant-doc-links{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.kaseh-v508-price-orbit:before,.kaseh-v508-welcome-stars{animation:none!important}.kaseh-v508-purchase-button,.kaseh-v508-doc-button{transition:none!important}}
@page{size:A4 landscape;margin:8mm}
@media print{
 body{margin:0!important;padding:0!important;background:white!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
 body .topbar,body .footer,body .platform-announcement,body .skip-link,body .kaseh-v508-document-actions{display:none!important}
 body .container.main{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;min-width:0!important}
 .kaseh-v508-paper{width:280mm!important;max-width:280mm!important;min-height:190mm!important;height:190mm!important;overflow:hidden!important;box-shadow:none!important;margin:0 auto!important;padding:7mm 9mm 6mm!important;border:1.5px solid #b28d53!important;break-inside:avoid!important;page-break-inside:avoid!important;page-break-after:avoid!important}
 .kaseh-v508-paper:before{inset:3mm!important}.kaseh-v508-paper:after{inset:5mm!important}
 .kaseh-v508-paper-header{padding-bottom:4mm!important}
 .kaseh-v508-paper-brand img{width:15mm!important;height:15mm!important}
 .kaseh-v508-paper-brand strong{font-size:22px!important}
 .kaseh-v508-paper-brand span{font-size:10px!important}
 .kaseh-v508-certificate-main{padding:3mm 8mm 1mm!important}
 .kaseh-v508-certificate-main h1{font-size:42px!important}
 .kaseh-v508-certificate-main h2{font-size:18px!important}
 .kaseh-v508-certificate-recipient{font-size:27px!important}
 .kaseh-v508-certificate-store{font-size:24px!important;margin-bottom:3mm!important}
 .kaseh-v508-certificate-body{font-size:13px!important;line-height:1.95!important}
 .kaseh-v508-paper-footer{margin-top:4mm!important;padding-top:3mm!important}
 .kaseh-v508-platform-seal{width:22mm;height:22mm}
 .kaseh-v508-platform-seal img{width:12mm;height:12mm}
 .kaseh-v508-verification{width:24mm}
 .kaseh-v508-verification .qr-box{width:19mm;height:19mm}
 .kaseh-v508-verification .qr-box svg{width:18mm!important;height:18mm!important}
 .kaseh-v508-contract-heading{padding:0!important}
 .kaseh-v508-contract-heading h1{font-size:29px!important}
 .kaseh-v508-contract-heading p{font-size:9px!important}
 .kaseh-v508-contract-meta{margin:2mm 3mm!important;gap:2mm}
 .kaseh-v508-contract-meta>div{padding:1.5mm 2.2mm!important}
 .kaseh-v508-contract-meta span{font-size:8px!important}
 .kaseh-v508-contract-meta strong{font-size:9px!important}
 .kaseh-v508-contract-parties{margin:2mm 3mm!important;gap:3mm}
 .kaseh-v508-contract-parties section{padding:2mm 3mm!important}
 .kaseh-v508-contract-parties h2{font-size:11px!important;margin:-2mm -3mm 1mm!important;padding:1mm 3mm!important}
 .kaseh-v508-contract-parties p{font-size:8px!important;line-height:1.6!important;margin:0!important}
 .kaseh-v508-contract-clauses{margin:2mm 3mm!important;gap:2mm}
 .kaseh-v508-contract-clauses section{padding:2mm!important}
 .kaseh-v508-contract-clauses h3{font-size:9.3px!important;margin:0 0 1mm!important}
 .kaseh-v508-contract-clauses h3 span{height:5mm;width:5mm;font-size:8px!important}
 .kaseh-v508-contract-clauses p{font-size:8.15px!important;line-height:1.6!important}
 .kaseh-v508-contract-footer{margin:1mm 3mm 0!important;padding-top:1mm!important}
 .kaseh-v508-contract-accept b{font-size:10px!important}
 .kaseh-v508-contract-accept span{font-size:8px!important}
 .kaseh-v508-contract-accept small{font-size:7px!important}
}
