/* iranipay 1.8.8 — mobile notification panel, account navigation & focused hero */
.iranipay-site .ip-hero h1 em.ip-hero-title-line{
 position:relative;display:block;width:fit-content;max-width:100%;padding-bottom:19px;
 color:var(--ip-accent);isolation:isolate;
}
/* Replace the old full-width, blurred underline with a deliberate short accent. */
.iranipay-site .ip-hero h1 em.ip-hero-title-line::after{
 content:"";position:absolute;right:0;left:auto;bottom:2px;z-index:0;
 width:clamp(78px,23%,142px);height:5px;opacity:1;border-radius:100px;
 background:linear-gradient(90deg,transparent,var(--ip-accent));
 box-shadow:0 3px 12px rgba(8,154,126,.13);transform:none;
}
.iranipay-site .ip-hero-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:stretch;margin-top:25px}
.iranipay-site .ip-hero-points .ip-hero-offer-card{
 position:relative;display:flex;flex-direction:column;align-items:flex-start;
 min-width:0;gap:7px;padding:21px;border:1px solid var(--edge);border-radius:19px;
 background:var(--panel);box-shadow:0 12px 26px rgba(7,44,56,.055);
 transition:border-color .18s,transform .18s,box-shadow .18s;
}
.iranipay-site .ip-hero-points .ip-hero-offer-card:hover{border-color:var(--ip-accent);transform:translateY(-2px);box-shadow:0 18px 35px rgba(7,44,56,.09)}
.iranipay-site .ip-hero-offer-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:var(--mint-soft);color:var(--ip-accent);font-size:21px;line-height:1}
.iranipay-site .ip-hero-offer-card>strong{display:block;font-size:16px;font-weight:900;color:var(--ip-title);line-height:1.55}
.iranipay-site .ip-hero-offer-card>p{font-size:12px;line-height:1.95;color:var(--ip-title-soft);margin:0 0 7px;flex:1;overflow-wrap:break-word}
.iranipay-site .ip-hero-offer-link{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ip-accent);font-size:13px;font-weight:900;padding:11px 14px;border-radius:11px;background:var(--mint-soft);width:100%;text-decoration:none;min-height:44px}
.iranipay-site .ip-hero-offer-link:hover,.iranipay-site .ip-hero-offer-link:focus-visible{background:color-mix(in srgb,var(--mint-soft) 75%,var(--ip-accent));color:var(--ip-title)}
.iranipay-site .ip-hero-offer-link>span{font-size:19px;line-height:1}
/* The bell panel is portaled to document.body: stacking/clipping no longer depends on the sticky header. */
body.iranipay-site #ip-notify-popover.ip-notify-popover{
 position:fixed!important;z-index:10010!important;
 top:var(--ip-bell-top,80px)!important;left:var(--ip-bell-left,12px)!important;
 right:var(--ip-bell-right,auto)!important;width:var(--ip-bell-width,min(356px,calc(100vw - 24px)))!important;
 max-width:calc(100dvh - var(--ip-bell-top,80px) - 16px)!important;
 max-height:min(470px,calc(100dvh - var(--ip-bell-top,80px) - 16px))!important;
 margin:0!important;padding:0!important;overflow-y:auto!important;overscroll-behavior:contain;
 border:1px solid var(--edge);border-radius:18px;background:var(--panel);color:var(--ip-title);
 box-shadow:0 18px 58px rgba(6,34,44,.21);direction:rtl;text-align:right;
}
body.iranipay-site #ip-notify-popover[hidden]{display:none!important}
body.iranipay-site .ip-bell-popover-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid var(--edge)}
body.iranipay-site .ip-bell-popover-header>div{min-width:0;display:grid;gap:2px}
body.iranipay-site .ip-bell-popover-header strong{font-size:15px;color:var(--ip-title);margin:0}
body.iranipay-site .ip-bell-popover-header span{font-size:11px;color:var(--muted)}
body.iranipay-site .ip-bell-popover-close{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:1px solid var(--edge);border-radius:11px;background:var(--bg);color:var(--ip-title);font-size:22px}
body.iranipay-site .ip-bell-popover-list{padding:3px 16px;max-width:100%}
body.iranipay-site .ip-bell-popover-list .ip-bell-line{padding:13px 1px;line-height:1.8;overflow-wrap:anywhere}
body.iranipay-site .ip-bell-popover-list .ip-bell-line b{font-size:13px;line-height:1.7;color:var(--ip-title)}
body.iranipay-site .ip-bell-popover-list .ip-bell-line small{font-size:12px;color:var(--ip-title-soft);line-height:1.9}
body.iranipay-site .ip-bell-popover-empty,body.iranipay-site .ip-bell-loading{padding:25px 17px;color:var(--muted);text-align:center;margin:0}
body.iranipay-site .ip-bell-all{width:calc(100% - 32px);margin:10px 16px 16px;min-height:45px;justify-content:center;box-sizing:border-box}
/* Account menu links scroll to the actual content without hiding under the sticky header. */
.iranipay-site #ip-app-start{scroll-margin-top:100px;outline:0;min-width:0}
@media(max-width:800px){
 .iranipay-site .ip-sidebar{position:relative;overflow:hidden;max-width:100%;margin-bottom:12px;padding:7px 7px 8px;border-radius:20px;box-shadow:0 10px 30px rgba(7,37,48,.055)}
 .iranipay-site .ip-sidebar nav{display:flex!important;flex-flow:row nowrap!important;align-items:stretch;justify-content:flex-start;gap:7px;max-width:100%;min-width:0;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;padding:4px 3px 7px}
 .iranipay-site .ip-sidebar nav::-webkit-scrollbar{display:none}
 .iranipay-site .ip-sidebar nav a{display:inline-flex;flex:0 0 auto;white-space:nowrap;align-items:center;justify-content:center;gap:8px;min-height:47px;max-width:none;padding:10px 13px;border-radius:12px;border:1px solid transparent;line-height:1.4;font-size:13px;font-weight:800;scroll-snap-align:center}
 .iranipay-site .ip-sidebar nav a.active{background:var(--mint-soft);border-color:rgba(11,170,139,.24);color:var(--ip-accent)}
 .iranipay-site .ip-sidebar nav a span{flex:0 0 auto;line-height:1}
 .iranipay-site .ip-sidebar nav .ip-sidebar-exit{margin:0!important;padding:10px 12px!important;border:1px solid rgba(210,80,90,.18)!important;border-radius:12px;color:#bc5965}
 .iranipay-site #ip-app-start{scroll-margin-top:90px}
 .iranipay-site .ip-hero-points{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
}
@media(max-width:580px){
 .iranipay-site .ip-hero h1 em.ip-hero-title-line{padding-bottom:13px}
 .iranipay-site .ip-hero h1 em.ip-hero-title-line::after{width:95px;height:4px;bottom:0}
 .iranipay-site .ip-hero-points{grid-template-columns:minmax(0,1fr)!important}
 .iranipay-site .ip-hero-points .ip-hero-offer-card{padding:17px}
 .iranipay-site .ip-sidebar nav a{font-size:13px;min-height:45px}
 body.iranipay-site #ip-notify-popover.ip-notify-popover{border-radius:16px}
}
@media(prefers-reduced-motion:reduce){.iranipay-site .ip-hero-offer-card{transition:none}}
/* Distinct, unmistakable actions for the two offer paths. */
.iranipay-site .ip-hero-offer-link{background:linear-gradient(120deg,#09b99d,#20cdb0);color:#053b3d;box-shadow:0 8px 18px rgba(8,168,138,.12);border:1px solid rgba(1,116,99,.12)}
.iranipay-site .ip-hero-offer-link:hover,.iranipay-site .ip-hero-offer-link:focus-visible{background:linear-gradient(120deg,#14caaa,#41dbbf);color:#052f35;box-shadow:0 12px 25px rgba(8,168,138,.19)}
.iranipay-site .ip-hero-offer-icon{font-family:Arial,sans-serif;font-weight:900;font-size:23px;color:var(--ip-accent)!important;box-shadow:inset 0 0 0 1px rgba(9,171,138,.1)}
