:root{
  --bg:#f7f7fb;
  --white:#fff;
  --ink:#171728;
  --muted:#687083;
  --line:#ece8f1;
  --mag:#b51b91;
  --mag2:#e241b5;
  --violet:#59256e;
  --soft:#fbe7f6;
  --soft2:#fdeaf8;
  --orange:#df743c;
  --shadow:0 12px 34px rgba(36,22,52,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);padding-bottom:110px}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
button{cursor:pointer}
.container{width:1100px;max-width:calc(100% - 28px);margin:0 auto}
.top-strip{height:38px;background:linear-gradient(90deg,#9c289f 0%,#ea4bac 100%);color:#fff;font-size:13px;font-weight:800}
.strip-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.strip-links{display:flex;gap:18px}
.strip-links span:not(.active){opacity:.45}
.language{background:transparent;border:0;color:#fff;font-weight:900}
.header{position:sticky;top:0;z-index:25}
.header-inner{height:64px;background:#fff;border-radius:18px;box-shadow:0 10px 26px rgba(27,19,44,.12);display:flex;align-items:center;justify-content:space-between;padding:0 24px}
.logo{display:flex;align-items:center;gap:12px;color:var(--violet);min-width:200px}
.logo-icon{width:48px;height:40px;border-radius:13px;background:var(--mag);color:#fff;display:grid;place-items:center;font-size:24px}
.logo-text b{display:block;font-size:22px;line-height:1;color:var(--mag);letter-spacing:.03em}
.logo-text small{display:block;font-size:11px;color:#806a88;font-weight:900;margin-top:4px}
.main-nav{display:flex;align-items:center;gap:0;font-weight:900;color:#1d1a2a}
.main-nav a{padding:0 18px;border-right:1px solid #ddd7e3;line-height:18px}
.main-nav a:last-child{border-right:0}
.main-nav .active{color:#e24820}
.header-actions{display:flex;gap:8px}
.header-actions button{width:38px;height:38px;border:0;border-radius:50%;background:#fde9f7;color:var(--mag);font-size:19px}
.page{padding:22px 0 40px}
.breadcrumbs{display:flex;align-items:center;gap:18px;color:#9ba1ad;font-size:13px;font-weight:800;margin-bottom:20px}
.breadcrumbs strong{padding:11px 22px;background:#f6cbe8;color:var(--mag);border-radius:999px}
.hero{background:#fff;border-radius:18px;overflow:hidden;display:grid;grid-template-columns:360px minmax(0,1fr);min-height:330px;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.illustration{position:relative;min-height:330px;background:#fff;overflow:hidden}
.illustration.compact{min-height:315px}
.person{position:absolute;left:22px;bottom:0;width:140px;height:265px}
.hair{position:absolute;left:22px;top:5px;width:72px;height:52px;background:#253147;border-radius:55% 55% 45% 45%;z-index:1}
.hair:before,.hair:after{content:"";position:absolute;background:#253147;border-radius:50%}
.hair:before{width:26px;height:30px;left:-4px;top:10px}.hair:after{width:28px;height:28px;right:0;top:0}
.head{position:absolute;left:38px;top:30px;width:50px;height:58px;background:#ca7655;border-radius:48%;z-index:2}
.neck{position:absolute;left:55px;top:84px;width:20px;height:24px;background:#bb6648;z-index:1}
.shirt{position:absolute;left:0;top:104px;width:112px;height:70px;background:#73cfe0;border-radius:34px 30px 10px 10px;transform:skewX(-8deg);z-index:2}
.arm{position:absolute;left:88px;top:110px;width:66px;height:20px;background:#bd6848;border-radius:20px;transform:rotate(-10deg);z-index:3}
.pants{position:absolute;bottom:0;width:42px;height:140px;background:#d429b4;border-radius:16px 16px 0 0}
.pants.left{left:16px;transform:skewX(-12deg)}.pants.right{left:58px;transform:skewX(9deg)}
.phone{position:absolute;left:122px;top:24px;width:210px;height:320px;border:8px solid #2c2842;border-radius:28px 28px 4px 4px;background:linear-gradient(#ffe2f6,#faccea);overflow:hidden;box-shadow:0 8px 18px rgba(32,23,54,.10)}
.input-ghost{position:absolute;left:28px;right:28px;top:45px;height:42px;border:1px solid #d56bbf;background:#fff;border-radius:8px;display:flex;align-items:center;padding-left:14px;font-size:20px;font-weight:900}
.circle{position:absolute;border-radius:50%;background:#eda1dd;opacity:.75;top:160px}
.circle.a{left:28px;width:92px;height:92px}.circle.b{right:20px;width:110px;height:110px}
.voucher{position:absolute;left:78px;top:162px;width:90px;height:70px;border-radius:7px;background:linear-gradient(135deg,#b21d96,#6a1f76);box-shadow:0 8px 13px rgba(0,0,0,.2);z-index:3;transform:rotate(-28deg)}
.v2{background:#fff;left:94px;top:178px;transform:rotate(0);display:grid;place-items:center;color:var(--mag);font-size:32px}
.v3{left:78px;top:198px;transform:rotate(-12deg)}
.hero-copy{padding:44px 50px 34px 0}
.hero-copy h1,.summary-panel h1{font-size:30px;margin:0 0 16px;letter-spacing:-.045em;line-height:1.15}
.hero-copy p,.summary-panel p{margin:0 0 22px;color:#30394f;font-size:16px;font-weight:850;line-height:1.58}
.recharge-form{display:grid;gap:16px;max-width:520px}
.field{display:grid;gap:8px;font-weight:900;color:#30384e}
.field input{height:58px;border:1px solid #ded8e7;border-radius:8px;background:#fff;padding:0 18px;font-size:18px;font-weight:800;outline:none}
.field input:focus{border-color:var(--mag);box-shadow:0 0 0 4px rgba(181,27,145,.10)}
.primary-btn{height:58px;border:0;border-radius:999px;background:var(--mag);color:#fff;font-weight:950;box-shadow:0 10px 28px rgba(181,27,145,.16)}
.form-error{margin:0!important;color:#e34861!important;font-weight:900!important;font-size:14px!important}
.scratch-banner{margin:28px 0 34px;min-height:88px;background:linear-gradient(90deg,#b01c93,#582672);border-radius:8px;color:#fff;display:grid;grid-template-columns:210px 1fr 210px;align-items:center;gap:24px;position:relative;padding:0 26px;overflow:visible}
.scratch-card{position:relative;width:180px;height:92px;background:#fff;border-radius:6px;box-shadow:0 8px 20px rgba(0,0,0,.16);transform:translateY(-18px);color:var(--mag);padding:12px}
.scratch-logo{font-weight:950;font-size:20px;letter-spacing:.12em}
.scratch-card i{display:block;height:22px;margin-top:12px;background:linear-gradient(90deg,#ddd,#fff,#aaa);filter:blur(.2px)}
.scratch-card b{position:absolute;left:12px;bottom:9px;background:var(--mag);color:#fff;border-radius:5px;padding:2px 10px}
.scratch-banner h2{font-size:26px;margin:0;text-align:center}.scratch-banner strong{font-weight:950}
.scratch-btn{height:58px;border:0;border-radius:999px;background:var(--mag);color:#fff;font-weight:950;font-size:16px}
.info-card{background:#fff;border:1px solid #ebe8f1;border-radius:16px;padding:28px;margin:0 0 28px;box-shadow:0 1px 0 rgba(0,0,0,.03)}
.info-card h2{color:var(--mag);font-size:28px;margin:0 0 18px}.info-card p{color:#344052;font-size:16px;line-height:1.65}
.split{display:grid;grid-template-columns:1fr 270px;align-items:center;gap:26px}
.info-art{position:relative;height:190px;background:#eef5ff;border-radius:50%;overflow:hidden}
.mini-phone{position:absolute;left:70px;top:34px;width:96px;height:132px;background:linear-gradient(135deg,#76237b,#e63aad);border:7px solid #24213b;border-radius:18px}
.bow{position:absolute;left:138px;top:60px;width:92px;height:92px;background:var(--mag);clip-path:polygon(0 0,50% 35%,100% 0,65% 50%,100% 100%,50% 65%,0 100%,35% 50%)}
.balance-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.balance h3{margin:0 0 10px;font-size:22px}
.hero-summary{min-height:315px}
.summary-panel{padding:46px 50px 36px 0}
.pink-summary{width:min(520px,100%);background:linear-gradient(90deg,#fff 0%,#ffd3f2 100%);border-radius:16px;padding:18px 18px 16px;box-shadow:0 14px 30px rgba(181,27,145,.12)}
.row{display:grid;grid-template-columns:42px 1fr 44px;align-items:center;gap:14px;margin-bottom:12px}.row:last-child{grid-template-columns:42px 1fr;margin-bottom:0}
.summary-ico{font-size:34px;color:var(--violet);line-height:1}.summary-ico.at{font-weight:400}.row small{display:block;color:#724276;font-size:13px;margin-bottom:5px}.row strong{color:var(--violet);font-size:18px;font-weight:950;overflow-wrap:anywhere}.edit-link{width:40px;height:40px;border-radius:50%;background:#fff;color:var(--mag);display:grid;place-items:center;font-size:20px}
.offers-list{width:770px;max-width:100%;margin:34px auto 0}
.offers-list h2{font-size:18px;margin:0 0 14px}.offers-list strong{font-weight:950}
.accordion{background:#fff;border-radius:9px;margin-bottom:12px;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.03)}
.acc-head{width:100%;border:0;background:#fff;display:grid;grid-template-columns:58px 1fr 40px;align-items:center;gap:18px;padding:20px;text-align:left}
.badge{width:44px;height:44px;border-radius:8px;background:#f6c7ec;color:var(--mag);display:grid;place-items:center;font-size:24px;font-weight:950}
.acc-title b{display:block;color:var(--violet);font-size:18px;margin-bottom:6px}.acc-title small{display:block;color:#344052;font-size:14px;line-height:1.45}
.chevron{width:34px;height:34px;border-radius:50%;background:#fde9f8;color:var(--mag);display:grid;place-items:center;font-size:18px;font-weight:950}
.accordion:not(.open) .acc-body{display:none}.acc-body{padding:0 20px 22px}.open .acc-head{border-bottom:1px solid var(--line)}
.offer-row{display:grid;grid-template-columns:76px minmax(0,1fr) 110px 130px;gap:18px;align-items:center;min-height:86px}
.price strong{display:block;color:var(--mag);font-size:30px;line-height:.9}.price small{display:block;color:var(--mag);font-size:11px;margin-top:4px}
.offer-name b{display:block;color:var(--violet);font-size:18px}.offer-name em{display:inline-block;margin-top:8px;background:#fde5f6;color:var(--mag);border-radius:999px;padding:5px 12px;font-size:12px;font-style:normal;font-weight:900}
.promo{justify-self:end;border-radius:999px;background:linear-gradient(#f3b673,#d46a32);color:#fff;font-weight:950;padding:9px 17px}
.choose{height:42px;border-radius:999px;background:#fff;color:var(--mag);border:1px solid var(--mag);font-weight:950;font-size:16px}
.cookie{position:fixed;left:50%;bottom:72px;transform:translateX(-50%);z-index:40;width:min(1050px,calc(100% - 44px));background:#fff;border-radius:10px;box-shadow:0 16px 50px rgba(0,0,0,.16);display:flex;align-items:center;gap:20px;padding:14px 24px}
.cookie-icon{font-size:34px}.cookie h3{margin:0 0 5px;color:var(--violet);font-size:23px}.cookie p{margin:0;color:#3d3048;font-size:13px;line-height:1.45}.cookie-buttons{margin-left:auto;display:grid;gap:8px;width:160px}.cookie-buttons button{height:34px;border-radius:999px;border:0;font-weight:950}.cookie-buttons button:first-child{background:var(--mag);color:#fff}.cookie-buttons button:last-child{background:#fff;color:var(--mag);box-shadow:0 3px 10px rgba(0,0,0,.08)}
.bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:35;width:min(1050px,calc(100% - 44px));height:72px;background:#fff;border-radius:16px 16px 0 0;box-shadow:0 -12px 36px rgba(0,0,0,.09);display:grid;grid-template-columns:repeat(5,1fr);overflow:hidden}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--mag);gap:5px;font-size:13px;font-weight:900}.bottom-nav .active{background:#f7d5ef}.bottom-nav span{font-size:22px}
.modal{position:fixed;inset:0;background:rgba(25,15,33,.54);z-index:90;display:none;align-items:center;justify-content:center;padding:18px}.modal.show{display:flex}.modal-card{position:relative;background:#fff;border-radius:24px;width:min(520px,100%);padding:28px;box-shadow:0 28px 70px rgba(0,0,0,.25)}.modal-close{position:absolute;right:12px;top:10px;width:40px;height:40px;border:0;border-radius:50%;background:#f4eefa;font-size:28px}.modal-card small{color:#8c3ccf;font-weight:950;letter-spacing:.08em}.modal-card h2{font-size:30px;margin:8px 0}.modal-card p{color:#676379;line-height:1.5}.verify-grid{display:grid;gap:10px;margin:18px 0}.verify-grid div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;background:#f9f7fc;border:1px solid #ebe7f2;border-radius:14px;padding:14px}.verify-grid span{color:#7b7589}.verify-grid b{text-align:right;overflow-wrap:anywhere}.modal-pay{width:100%}
@media(max-width:820px){
  body{padding-bottom:86px}.top-strip{display:none}.header-inner{max-width:100%;border-radius:0;padding:0 14px}.logo{min-width:0}.logo-text b{font-size:19px}.logo-text small{font-size:10px}.logo-icon{width:42px;height:36px}.main-nav{display:none}.header-actions button:nth-child(1),.header-actions button:nth-child(2){display:none}
  .page{padding:14px 0}.breadcrumbs{overflow-x:auto;white-space:nowrap;padding-bottom:3px}.hero{grid-template-columns:1fr}.illustration{min-height:245px}.illustration.compact{min-height:245px}.phone{left:118px;top:18px;transform:scale(.68);transform-origin:top left}.person{transform:scale(.74);transform-origin:bottom left}.hero-copy,.summary-panel{padding:24px}.hero-copy h1,.summary-panel h1{font-size:24px}.field input{height:56px}.scratch-banner{grid-template-columns:1fr;padding:22px;margin-top:18px;text-align:center}.scratch-card{margin:0 auto;transform:none}.scratch-banner h2{font-size:22px}.split{grid-template-columns:1fr}.info-art{height:160px}.balance-grid{grid-template-columns:1fr}
  .offers-list{margin-top:24px}.acc-head{grid-template-columns:52px 1fr 34px;padding:15px}.acc-body{padding:0 15px 16px}.offer-row{grid-template-columns:66px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.promo{grid-column:2;justify-self:start}.choose{grid-column:2;width:150px}.cookie{bottom:72px;width:calc(100% - 24px);display:grid;grid-template-columns:34px 1fr}.cookie-buttons{grid-column:1/-1;width:100%;margin-left:0}.bottom-nav{width:100%;height:68px;border-radius:0}.bottom-nav a{font-size:11px}.verify-grid div{grid-template-columns:1fr}.verify-grid b{text-align:left}
}

/* v2: provided logo path + uploaded illustration image */
.logo.inwi-brand{
  min-width:240px;
}
.inwi-logo{
  display:block;
  width:106px;
  height:auto;
  flex:0 0 auto;
}
.logo.inwi-brand .logo-text b{
  color:var(--violet);
  font-size:18px;
}
.logo.inwi-brand .logo-text small{
  font-size:10px;
}
.hero-illustration-img{
  position:absolute;
  left:50%;
  bottom:0;
  width:min(330px, 96%);
  height:auto;
  transform:translateX(-50%);
  display:block;
  object-fit:contain;
}
.illustration.compact .hero-illustration-img{
  width:min(315px, 94%);
}
@media(max-width:820px){
  .logo.inwi-brand{
    min-width:0;
    gap:8px;
  }
  .inwi-logo{
    width:78px;
  }
  .logo.inwi-brand .logo-text b{
    font-size:15px;
  }
  .logo.inwi-brand .logo-text small{
    display:none;
  }
  .hero-illustration-img{
    width:min(280px, 96%);
  }
}


/* v3: use provided/recreated PNG images in lower sections */
.scratch-card-img{
  width:180px;
  height:auto;
  display:block;
  border-radius:8px;
  box-shadow:0 8px 20px rgba(0,0,0,.16);
  transform:translateY(-18px);
}
.info-art.image-art{
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent !important;
  border-radius:0 !important;
  overflow:visible !important;
}
.info-art.image-art img{
  width:235px;
  max-width:100%;
  height:auto;
  display:block;
}
.balance-img{
  width:160px;
  max-width:100%;
  height:auto;
  margin-top:18px;
  display:block;
}
.google-play-img{
  width:210px;
  max-width:100%;
  height:auto;
  margin-top:18px;
  display:block;
}
@media(max-width:820px){
  .scratch-card-img{
    margin:0 auto;
    transform:none;
  }
  .balance-img,
  .google-play-img{
    margin-left:auto;
    margin-right:auto;
  }
}


/* v4: lower blocks closer to the provided reference */
.page{
  max-width:980px;
}

.hero,
.scratch-banner,
.info-card,
.offers-list{
  max-width:850px;
  margin-left:auto;
  margin-right:auto;
}

.hero{
  grid-template-columns:360px minmax(0,1fr);
}

.scratch-banner{
  grid-template-columns:190px 1fr 190px;
  min-height:92px;
}

.info-card{
  padding:34px 34px;
}

.info-card.split{
  grid-template-columns:1fr 260px;
}

.info-card h2{
  font-size:27px;
}

.info-card p{
  max-width:560px;
}

.info-art.image-art img{
  width:245px;
}

.balance-grid{
  grid-template-columns:1fr 1fr;
  align-items:start;
}

.balance-img{
  width:172px !important;
  margin-top:24px;
}

.myinwi-apps{
  display:flex;
  align-items:flex-end;
  gap:20px;
  margin-top:24px;
}

.myinwi-phone-img{
  width:82px;
  height:auto;
  display:block;
}

.store-badges{
  display:grid;
  gap:8px;
}

.store-badge-img{
  width:170px;
  height:auto;
  display:block;
}

.google-play-img{
  width:170px !important;
}

@media(max-width:820px){
  .page{
    max-width:calc(100% - 28px);
  }

  .hero,
  .scratch-banner,
  .info-card,
  .offers-list{
    max-width:100%;
  }

  .info-card.split{
    grid-template-columns:1fr;
  }

  .balance-grid{
    grid-template-columns:1fr;
  }

  .myinwi-apps{
    justify-content:center;
    align-items:center;
  }

  .myinwi-phone-img{
    width:74px;
  }

  .store-badge-img{
    width:158px;
  }
}


/* v6: compact layout closer to the original reference */
:root{
  --page-width: 770px;
  --header-width: 1050px;
}

body{
  font-size:14px;
}

.container{
  width:var(--header-width) !important;
  max-width:calc(100% - 90px) !important;
}

.page{
  width:var(--page-width) !important;
  max-width:calc(100% - 32px) !important;
  padding-top:18px !important;
}

.header-inner{
  height:58px !important;
  max-width:var(--header-width) !important;
  margin:0 auto !important;
  padding:0 20px !important;
}

.logo.inwi-brand{
  min-width:210px !important;
  gap:10px !important;
}

.inwi-logo{
  width:82px !important;
}

.logo.inwi-brand .logo-text b{
  font-size:17px !important;
  line-height:1 !important;
}

.logo.inwi-brand .logo-text small{
  font-size:9px !important;
  margin-top:3px !important;
}

.main-nav a{
  padding:0 14px !important;
  font-size:13px !important;
}

.header-actions button{
  width:32px !important;
  height:32px !important;
  font-size:16px !important;
}

.breadcrumbs{
  font-size:12px !important;
  gap:14px !important;
  margin-bottom:18px !important;
}

.breadcrumbs strong{
  padding:9px 18px !important;
}

.hero,
.scratch-banner,
.info-card,
.offers-list{
  width:var(--page-width) !important;
  max-width:100% !important;
}

.hero{
  grid-template-columns:330px 1fr !important;
  min-height:275px !important;
  border-radius:14px !important;
}

.hero-form{
  align-items:stretch !important;
}

.illustration,
.illustration.compact{
  min-height:275px !important;
}

.hero-illustration-img{
  width:286px !important;
  max-width:96% !important;
}

.hero-copy,
.summary-panel{
  padding:34px 36px 28px 0 !important;
}

.hero-copy h1,
.summary-panel h1{
  font-size:23px !important;
  line-height:1.15 !important;
  margin-bottom:12px !important;
}

.hero-copy p,
.summary-panel p{
  font-size:14px !important;
  line-height:1.5 !important;
  margin-bottom:16px !important;
  font-weight:800 !important;
}

.recharge-form{
  gap:12px !important;
  max-width:360px !important;
}

.field{
  gap:6px !important;
  font-size:13px !important;
}

.field input{
  height:42px !important;
  border-radius:6px !important;
  padding:0 14px !important;
  font-size:14px !important;
}

.primary-btn{
  height:48px !important;
  font-size:14px !important;
}

.scratch-banner{
  margin:22px auto 28px !important;
  min-height:72px !important;
  border-radius:6px !important;
  grid-template-columns:150px 1fr 150px !important;
  gap:18px !important;
  padding:0 22px !important;
}

.scratch-card-img{
  width:130px !important;
  transform:translateY(-13px) !important;
}

.scratch-banner h2{
  font-size:22px !important;
}

.scratch-btn{
  height:46px !important;
  font-size:14px !important;
}

.info-card{
  border-radius:14px !important;
  padding:26px 26px !important;
  margin-bottom:24px !important;
}

.info-card.split{
  grid-template-columns:1fr 230px !important;
  gap:20px !important;
}

.info-card h2{
  font-size:24px !important;
  margin-bottom:16px !important;
}

.info-card p{
  font-size:14px !important;
  line-height:1.6 !important;
}

.info-art.image-art img{
  width:210px !important;
}

.balance h3{
  font-size:18px !important;
}

.balance-grid{
  gap:26px !important;
}

.balance-img{
  width:142px !important;
  margin-top:20px !important;
}

.myinwi-apps{
  gap:14px !important;
  margin-top:20px !important;
}

.myinwi-phone-img{
  width:62px !important;
}

.store-badges{
  gap:7px !important;
}

.store-badge-img{
  width:145px !important;
}

.cookie{
  width:var(--header-width) !important;
  max-width:calc(100% - 90px) !important;
  min-height:68px !important;
  bottom:58px !important;
  padding:12px 22px !important;
  gap:18px !important;
}

.cookie-icon{
  font-size:28px !important;
}

.cookie h3{
  font-size:22px !important;
  margin-bottom:4px !important;
}

.cookie p{
  font-size:11px !important;
}

.cookie-buttons{
  width:150px !important;
}

.cookie-buttons button{
  height:30px !important;
  font-size:12px !important;
}

.bottom-nav{
  width:var(--header-width) !important;
  max-width:calc(100% - 90px) !important;
  height:58px !important;
  border-radius:0 0 16px 16px !important;
}

.bottom-nav a{
  font-size:12px !important;
}

.bottom-nav span{
  font-size:18px !important;
}

/* Compact offers page */
.offers-page{
  width:770px !important;
}

.hero-summary{
  min-height:275px !important;
}

.pink-summary{
  max-width:390px !important;
  padding:16px !important;
  border-radius:12px !important;
}

.row{
  grid-template-columns:36px 1fr 36px !important;
  gap:12px !important;
}

.row:last-child{
  grid-template-columns:36px 1fr !important;
}

.summary-ico{
  font-size:28px !important;
}

.row small{
  font-size:12px !important;
}

.row strong{
  font-size:15px !important;
}

.edit-link{
  width:34px !important;
  height:34px !important;
}

.offers-list{
  margin-top:28px !important;
}

.offers-list h2{
  font-size:16px !important;
}

.acc-head{
  padding:16px !important;
  grid-template-columns:48px 1fr 34px !important;
  gap:16px !important;
}

.badge{
  width:40px !important;
  height:40px !important;
  font-size:21px !important;
}

.acc-title b{
  font-size:16px !important;
}

.acc-title small{
  font-size:13px !important;
}

.chevron{
  width:30px !important;
  height:30px !important;
}

.acc-body{
  padding:0 16px 18px !important;
}

.offer-row{
  min-height:72px !important;
  grid-template-columns:64px minmax(0,1fr) 96px 118px !important;
  gap:15px !important;
}

.price strong{
  font-size:26px !important;
}

.offer-name b{
  font-size:16px !important;
}

.offer-name em{
  font-size:11px !important;
  padding:4px 10px !important;
}

.promo{
  padding:8px 14px !important;
  font-size:12px !important;
}

.choose{
  height:38px !important;
  font-size:14px !important;
}

@media(max-width:820px){
  .container,
  .page,
  .hero,
  .scratch-banner,
  .info-card,
  .offers-list,
  .cookie,
  .bottom-nav{
    width:auto !important;
    max-width:calc(100% - 24px) !important;
  }

  .header-inner{
    max-width:100% !important;
    padding:0 14px !important;
  }

  .hero{
    grid-template-columns:1fr !important;
  }

  .illustration,
  .illustration.compact{
    min-height:238px !important;
  }

  .hero-illustration-img{
    width:268px !important;
  }

  .hero-copy,
  .summary-panel{
    padding:22px !important;
  }

  .recharge-form{
    max-width:100% !important;
  }

  .scratch-banner{
    grid-template-columns:1fr !important;
    padding:18px !important;
  }

  .scratch-card-img{
    transform:none !important;
  }

  .info-card.split,
  .balance-grid{
    grid-template-columns:1fr !important;
  }

  .info-art.image-art img{
    width:190px !important;
  }

  .bottom-nav{
    max-width:100% !important;
    width:100% !important;
    height:66px !important;
  }

  .cookie{
    bottom:68px !important;
  }

  .offer-row{
    grid-template-columns:62px minmax(0,1fr) !important;
  }
}


/* v7: unified font + original-like header across all pages */
*{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

html,
body,
button,
input,
select,
textarea{
  font-family:"Montserrat","Avenir Next","Segoe UI",Arial,sans-serif !important;
}

body{
  color:#111827 !important;
  background:#f6f7fb !important;
}

h1,h2,h3,
.main-nav,
.logo-text,
.breadcrumbs,
.primary-btn,
.scratch-btn,
.cookie-buttons button,
.bottom-nav,
.acc-title,
.offer-name,
.choose,
.promo{
  font-family:"Montserrat","Avenir Next","Segoe UI",Arial,sans-serif !important;
  letter-spacing:-0.015em;
}

h1{font-weight:900 !important;}
h2{font-weight:900 !important;}
h3{font-weight:850 !important;}
p{letter-spacing:-0.01em;}

/* Header like the reference: thin magenta top bar + centered white navigation pill */
.top-strip{
  height:26px !important;
  background:linear-gradient(90deg,#982aa0 0%,#df41a3 56%,#f052ad 100%) !important;
  font-size:11px !important;
}

.strip-inner{
  width:1050px !important;
  max-width:calc(100% - 90px) !important;
  margin:0 auto !important;
  padding:0 !important;
}

.strip-links{gap:13px !important;}
.strip-links span{line-height:26px !important;}
.language{font-size:11px !important;line-height:26px !important;}

.header{background:transparent !important;}

.header-inner{
  width:1050px !important;
  max-width:calc(100% - 90px) !important;
  height:48px !important;
  background:#fff !important;
  border-radius:0 0 12px 12px !important;
  box-shadow:0 8px 22px rgba(30,24,42,.12) !important;
  padding:0 16px !important;
}

.logo.inwi-brand{
  min-width:170px !important;
  gap:8px !important;
}

.inwi-logo{
  width:74px !important;
  height:auto !important;
}

.logo.inwi-brand .logo-text b{
  font-size:13px !important;
  font-weight:900 !important;
  color:#2f2438 !important;
  letter-spacing:-.02em !important;
}

.logo.inwi-brand .logo-text small{
  font-size:8px !important;
  font-weight:800 !important;
  color:#7d7188 !important;
  margin-top:2px !important;
}

.main-nav{
  gap:0 !important;
  font-size:12px !important;
  font-weight:900 !important;
  color:#171827 !important;
}

.main-nav a{
  padding:0 13px !important;
  line-height:16px !important;
  border-right:1px solid #e3dee7 !important;
}

.main-nav a:last-child{border-right:0 !important;}
.main-nav a.active{color:#df4b22 !important;}

.header-actions{gap:6px !important;}

.header-actions button{
  width:28px !important;
  height:28px !important;
  background:#fdeaf7 !important;
  color:#b51b91 !important;
  font-size:15px !important;
}

/* Breadcrumb typography */
.breadcrumbs{
  color:#a4a9b4 !important;
  font-size:12px !important;
  font-weight:800 !important;
}

.breadcrumbs strong{
  background:#f7cde9 !important;
  color:#b51b91 !important;
  font-weight:850 !important;
}

/* Text blocks closer to reference */
.info-card h2,
.balance h2{
  color:#b51b91 !important;
  font-weight:900 !important;
  letter-spacing:-.035em !important;
}

.info-card p,
.balance p{
  color:#1f2937 !important;
  font-size:15px !important;
  line-height:1.62 !important;
  font-weight:500 !important;
}

.info-card strong,
.balance strong{
  font-weight:900 !important;
}

.balance h3{
  color:#111827 !important;
  font-weight:900 !important;
  letter-spacing:-.025em !important;
}

/* Home hero font match */
.hero-copy h1,
.summary-panel h1{
  color:#111827 !important;
  font-weight:900 !important;
  letter-spacing:-.04em !important;
}

.hero-copy p,
.summary-panel p{
  color:#273244 !important;
  font-weight:750 !important;
}

.field input{
  color:#111827 !important;
  font-weight:700 !important;
}

.field input::placeholder{
  color:#111827 !important;
  opacity:.9 !important;
}

/* Keep header same on both pages */
body[data-page="home"] .header-inner,
body[data-page="offers"] .header-inner{
  width:1050px !important;
  max-width:calc(100% - 90px) !important;
}

body[data-page="home"] .top-strip .strip-inner,
body[data-page="offers"] .top-strip .strip-inner{
  width:1050px !important;
  max-width:calc(100% - 90px) !important;
}

@media(max-width:820px){
  .top-strip{display:none !important;}

  .header-inner,
  body[data-page="home"] .header-inner,
  body[data-page="offers"] .header-inner{
    width:100% !important;
    max-width:100% !important;
    height:60px !important;
    border-radius:0 !important;
    padding:0 14px !important;
  }

  .logo.inwi-brand{min-width:0 !important;}
  .inwi-logo{width:70px !important;}
  .logo.inwi-brand .logo-text b{font-size:13px !important;}
  .main-nav{display:none !important;}

  .header-actions button{
    width:36px !important;
    height:36px !important;
    font-size:18px !important;
  }
}


/* v8: lighter typography closer to the original site */
html,
body,
button,
input,
select,
textarea{
  font-family:"Montserrat","Avenir Next","Segoe UI",Arial,sans-serif !important;
  font-weight:400 !important;
}

body{
  font-weight:400 !important;
}

p,
.info-card p,
.balance p,
.hero-copy p,
.summary-panel p,
.acc-title small,
.cookie p{
  font-weight:400 !important;
  letter-spacing:0 !important;
}

/* Headings: still strong, but not over-bold */
h1,
.hero-copy h1,
.summary-panel h1{
  font-weight:760 !important;
  letter-spacing:-0.025em !important;
}

h2,
.info-card h2,
.balance h2,
.offers-list h2,
.scratch-banner h2{
  font-weight:720 !important;
  letter-spacing:-0.02em !important;
}

h3,
.balance h3{
  font-weight:650 !important;
  letter-spacing:-0.01em !important;
}

/* Header/nav lighter */
.main-nav,
.main-nav a,
.logo.inwi-brand .logo-text b,
.logo.inwi-brand .logo-text small,
.strip-links,
.language,
.breadcrumbs,
.breadcrumbs strong{
  font-weight:650 !important;
  letter-spacing:0 !important;
}

.logo.inwi-brand .logo-text b{
  font-weight:700 !important;
}

.logo.inwi-brand .logo-text small{
  font-weight:500 !important;
}

/* Form labels and inputs */
.field{
  font-weight:600 !important;
}

.field input{
  font-weight:400 !important;
}

.field input::placeholder{
  font-weight:400 !important;
}

/* Buttons: less heavy */
.primary-btn,
.scratch-btn,
.cookie-buttons button,
.choose,
.promo{
  font-weight:650 !important;
  letter-spacing:0 !important;
}

/* Lower section text */
.info-card strong,
.balance strong{
  font-weight:700 !important;
}

.bottom-nav,
.bottom-nav a{
  font-weight:600 !important;
}

/* Offers page */
.acc-title b,
.offer-name b,
.price strong,
.row strong,
.pink-summary strong{
  font-weight:700 !important;
}

.offer-name em{
  font-weight:600 !important;
}

/* Cookie heading */
.cookie h3{
  font-weight:700 !important;
}


/* v9: more offer categories + smooth accordion animation */
.accordion .acc-body{
  display:block !important;
  max-height:0 !important;
  opacity:0 !important;
  overflow:hidden !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  transition:max-height .42s ease, opacity .26s ease, padding .26s ease !important;
  will-change:max-height, opacity;
}

.accordion.open .acc-body{
  max-height:1800px !important;
  opacity:1 !important;
  padding-top:0 !important;
  padding-bottom:18px !important;
}

.accordion{
  transition:box-shadow .25s ease, transform .25s ease;
}

.accordion.open{
  box-shadow:0 6px 18px rgba(35,24,54,.05);
}

.chevron{
  transition:transform .28s ease, background .28s ease;
}

.accordion.open .chevron{
  transform:rotate(180deg);
}

.promo.empty{
  visibility:hidden;
  pointer-events:none;
}

.offer-row{
  transition:background .22s ease;
}

.offer-row:hover{
  background:#fffafd;
}

@media(max-width:820px){
  .accordion.open .acc-body{
    max-height:2200px !important;
    padding-bottom:16px !important;
  }
}


/* v11: complete offer lists and safer animation height for long categories */
.accordion.open .acc-body{
  max-height:2600px !important;
}

@media(max-width:820px){
  .accordion.open .acc-body{
    max-height:3600px !important;
  }
}


/* v12: header closer to original inwi reference */
.top-strip{
  height:27px !important;
  background:linear-gradient(90deg,#962aa0 0%,#c93aa5 52%,#ef50ad 100%) !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:600 !important;
}

.strip-inner{
  width:1050px !important;
  max-width:calc(100% - 90px) !important;
  height:27px !important;
  margin:0 auto !important;
  padding:0 0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.strip-links{
  display:flex !important;
  align-items:center !important;
  gap:0 !important;
}

.strip-links span{
  display:inline-flex !important;
  align-items:center !important;
  height:27px !important;
  padding:0 8px !important;
  opacity:.42 !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
}

.strip-links span.active{
  opacity:1 !important;
  font-weight:700 !important;
}

.strip-links span + span:before{
  content:"·";
  margin-right:10px;
  opacity:.5;
}

.language{
  height:27px !important;
  border:0 !important;
  background:transparent !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:700 !important;
  padding:0 !important;
}

.header{
  position:sticky !important;
  top:0 !important;
  z-index:60 !important;
  background:transparent !important;
}

.header-inner{
  width:1050px !important;
  max-width:calc(100% - 90px) !important;
  height:45px !important;
  margin:0 auto !important;
  padding:0 16px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  background:#fff !important;
  border-radius:0 0 12px 12px !important;
  box-shadow:0 6px 20px rgba(31,25,46,.12) !important;
}

.logo.inwi-brand{
  min-width:210px !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}

.inwi-logo{
  width:82px !important;
  height:auto !important;
  display:block !important;
  flex:0 0 auto !important;
}

.logo.inwi-brand .logo-text b{
  display:block !important;
  font-size:16px !important;
  line-height:1 !important;
  color:#1f1729 !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
}

.logo.inwi-brand .logo-text small{
  display:block !important;
  margin-top:3px !important;
  font-size:9px !important;
  line-height:1 !important;
  color:#5f5367 !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
}

.main-nav{
  flex:1 !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  color:#141421 !important;
  font-size:12px !important;
  font-weight:650 !important;
  white-space:nowrap !important;
}

.main-nav a{
  height:18px !important;
  display:inline-flex !important;
  align-items:center !important;
  padding:0 12px !important;
  border-right:1px solid #e3dee7 !important;
  line-height:18px !important;
  color:#141421 !important;
  font-weight:650 !important;
  letter-spacing:0 !important;
}

.main-nav a:last-child{
  border-right:0 !important;
}

.main-nav a.active{
  color:#e04a23 !important;
}

.main-nav a.hot{
  color:#e04a23 !important;
  font-weight:700 !important;
}

.main-nav a.hot span{
  font-size:15px !important;
  line-height:1 !important;
  margin-right:5px !important;
  color:#e04a23 !important;
}

.header-actions{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  flex:0 0 auto !important;
}

.header-actions button{
  width:29px !important;
  height:29px !important;
  border:0 !important;
  border-radius:50% !important;
  background:#fdeaf7 !important;
  color:#b51b91 !important;
  font-size:15px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
}

.mobile-menu-btn{
  display:none !important;
}

/* keep content tucked under the compact header */
.page{
  padding-top:18px !important;
}

@media(max-width:1120px){
  .header-inner,
  .strip-inner{
    max-width:calc(100% - 40px) !important;
  }

  .main-nav a{
    padding:0 8px !important;
    font-size:11px !important;
  }

  .logo.inwi-brand{
    min-width:185px !important;
  }
}

@media(max-width:820px){
  .top-strip{
    display:none !important;
  }

  .header-inner{
    width:100% !important;
    max-width:100% !important;
    height:58px !important;
    border-radius:0 !important;
    padding:0 14px !important;
  }

  .logo.inwi-brand{
    min-width:0 !important;
    gap:8px !important;
  }

  .inwi-logo{
    width:70px !important;
  }

  .logo.inwi-brand .logo-text b{
    font-size:14px !important;
  }

  .logo.inwi-brand .logo-text small{
    display:block !important;
    font-size:8px !important;
  }

  .main-nav{
    display:none !important;
  }

  .header-actions button{
    display:none !important;
  }

  .header-actions .mobile-menu-btn{
    display:grid !important;
    width:40px !important;
    height:40px !important;
    border-radius:12px !important;
    background:#fdeaf7 !important;
    color:#b51b91 !important;
    font-size:22px !important;
  }
}


/* v13: bigger header closer to the original reference */
.top-strip{
  height:34px !important;
  font-size:13px !important;
}

.strip-inner{
  height:34px !important;
}

.strip-links span{
  height:34px !important;
  line-height:34px !important;
  padding:0 10px !important;
}

.language{
  height:34px !important;
  line-height:34px !important;
  font-size:13px !important;
}

.header-inner{
  height:66px !important;
  border-radius:0 0 14px 14px !important;
  padding:0 24px !important;
  box-shadow:0 8px 26px rgba(31,25,46,.13) !important;
}

.logo.inwi-brand{
  min-width:245px !important;
  gap:14px !important;
}

.inwi-logo{
  width:106px !important;
}

.logo.inwi-brand .logo-text b{
  font-size:21px !important;
  font-weight:700 !important;
}

.logo.inwi-brand .logo-text small{
  font-size:11px !important;
  margin-top:4px !important;
}

.main-nav{
  font-size:14px !important;
}

.main-nav a{
  height:24px !important;
  line-height:24px !important;
  padding:0 16px !important;
  font-size:14px !important;
}

.main-nav a.hot span{
  font-size:18px !important;
}

.header-actions{
  gap:9px !important;
}

.header-actions button{
  width:38px !important;
  height:38px !important;
  font-size:18px !important;
}

/* give the page a bit more breathing room after larger header */
.page{
  padding-top:24px !important;
}

@media(max-width:1120px){
  .header-inner,
  .strip-inner{
    max-width:calc(100% - 32px) !important;
  }

  .logo.inwi-brand{
    min-width:210px !important;
  }

  .inwi-logo{
    width:92px !important;
  }

  .main-nav a{
    padding:0 10px !important;
    font-size:13px !important;
  }
}

@media(max-width:820px){
  .header-inner{
    height:72px !important;
    padding:0 16px !important;
  }

  .inwi-logo{
    width:92px !important;
  }

  .logo.inwi-brand .logo-text b{
    font-size:18px !important;
  }

  .logo.inwi-brand .logo-text small{
    font-size:10px !important;
  }

  .header-actions .mobile-menu-btn{
    width:46px !important;
    height:46px !important;
    font-size:25px !important;
  }
}


/* v14: fix broken header overlap */
.logo.inwi-brand{
  min-width:145px !important;
  width:145px !important;
  flex:0 0 145px !important;
  gap:0 !important;
}

.logo.inwi-brand .logo-text{
  display:none !important;
}

.inwi-logo{
  width:106px !important;
  max-width:106px !important;
}

.main-nav{
  flex:1 1 auto !important;
  justify-content:flex-start !important;
  overflow:hidden !important;
}

.main-nav a{
  flex:0 0 auto !important;
  padding:0 13px !important;
}

.header-actions{
  flex:0 0 auto !important;
}

@media(max-width:1120px){
  .logo.inwi-brand{
    min-width:125px !important;
    width:125px !important;
    flex-basis:125px !important;
  }

  .inwi-logo{
    width:96px !important;
    max-width:96px !important;
  }

  .main-nav a{
    padding:0 8px !important;
    font-size:12px !important;
  }
}

@media(max-width:820px){
  .logo.inwi-brand{
    min-width:100px !important;
    width:100px !important;
    flex-basis:100px !important;
  }

  .inwi-logo{
    width:92px !important;
    max-width:92px !important;
  }
}

/* v15: replace header and bottom-nav icons with provided assets */
.header-actions button{
  color: var(--mag);
  font-size:0;
}
.action-icon-img{
  width:18px;
  height:18px;
  display:block;
}
.header-actions button:nth-child(2) .action-icon-img{
  width:20px;
  height:20px;
}
.header-actions button:nth-child(3) .action-icon-img{
  width:16px;
  height:20px;
}
.bottom-nav a{
  gap:4px;
}
.bottom-nav span{display:none !important;}
.bottom-icon{
  width:24px;
  height:24px;
  object-fit:contain;
  display:block;
}
@media(max-width:820px){
  .action-icon-img{width:17px;height:17px;}
  .bottom-icon{width:22px;height:22px;}
}


/* v16: FAQ, Assistance and Footer sections */
.site-section-inner{
  width:1060px;
  max-width:calc(100% - 90px);
  margin:0 auto;
}

.faq-section{
  margin-top:56px;
  padding:58px 0 70px;
  background:#fdeeff;
}

.faq-section h2{
  margin:0 0 36px;
  color:#b51b91;
  font-size:36px;
  line-height:1.15;
  font-weight:750 !important;
  letter-spacing:-.03em;
}

.faq-list{
  width:820px;
  max-width:100%;
  margin:0 auto;
  display:grid;
  gap:16px;
}

.faq-item{
  background:#fff;
  border-radius:16px;
  box-shadow:0 12px 26px rgba(181,27,145,.06);
  overflow:hidden;
}

.faq-question{
  width:100%;
  min-height:76px;
  border:0;
  background:#fff;
  display:grid;
  grid-template-columns:36px 1fr;
  align-items:center;
  gap:18px;
  padding:18px 28px;
  text-align:left;
  color:#101725;
}

.faq-toggle{
  width:26px;
  height:26px;
  border:2px solid #b51b91;
  border-radius:50%;
  color:#b51b91;
  display:grid;
  place-items:center;
  font-size:24px;
  line-height:1;
  font-weight:400;
}

.faq-question strong{
  font-size:23px;
  line-height:1.15;
  font-weight:620;
  letter-spacing:-.02em;
}

.faq-item.open .faq-question{
  color:#b51b91;
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .38s ease, opacity .22s ease, padding .28s ease;
  padding:0 28px 0 82px;
}

.faq-item.open .faq-answer{
  max-height:520px;
  opacity:1;
  padding:0 28px 28px 82px;
}

.faq-answer p,
.faq-answer li{
  font-size:17px;
  line-height:1.55;
  color:#111827;
  margin:0 0 16px;
}

.faq-answer ul{
  margin:0;
  padding-left:24px;
}

.faq-global-btn{
  width:max-content;
  min-width:330px;
  max-width:100%;
  min-height:56px;
  margin:34px auto 0;
  padding:0 30px;
  border-radius:999px;
  background:#b51b91;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  font-size:16px;
  font-weight:750;
  letter-spacing:.01em;
}

.faq-global-btn span{
  font-size:34px;
  line-height:1;
  margin-top:-2px;
}

.assistance-section{
  padding:58px 0 64px;
  background:#f7f8fc;
  text-align:center;
}

.assistance-section h2{
  margin:0;
  color:#342046;
  font-size:36px;
  line-height:1.1;
  font-weight:750 !important;
  letter-spacing:.03em;
}

.assistance-section p{
  margin:14px 0 38px;
  color:#342046;
  font-size:22px;
  font-weight:520;
}

.assist-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

.assist-card{
  min-height:120px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 10px 24px rgba(29,22,42,.08);
  display:grid;
  grid-template-columns:78px 1fr 28px;
  align-items:center;
  gap:18px;
  text-align:left;
  padding:22px 24px;
  color:#111827;
}

.assist-icon{
  width:72px;
  height:72px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#b51b91,#f04cac);
  color:#fff;
  font-size:36px;
  line-height:1;
}

.assist-card strong{
  font-size:22px;
  line-height:1.35;
  font-weight:620;
  letter-spacing:-.02em;
}

.assist-card em{
  font-style:normal;
  color:#b51b91;
  font-size:44px;
  line-height:1;
  justify-self:end;
}

.site-footer{
  background:linear-gradient(105deg,#8e28a2 0%,#b233a4 48%,#f343a4 100%);
  color:#fff;
  padding:32px 0 0;
  position:relative;
  overflow:hidden;
}

.site-footer:after{
  content:"";
  position:absolute;
  right:70px;
  bottom:90px;
  width:160px;
  height:160px;
  border-radius:42px;
  background:rgba(255,255,255,.08);
  box-shadow:52px 0 0 rgba(255,255,255,.06),104px 0 0 rgba(255,255,255,.04);
}

.footer-inner{
  width:1180px;
  max-width:calc(100% - 90px);
  margin:0 auto;
  position:relative;
  z-index:1;
}

.footer-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:0 0 28px;
  border-bottom:1px solid rgba(255,255,255,.22);
}

.footer-logo{
  width:112px;
  height:auto;
  display:block;
  margin-bottom:22px;
}

.footer-top p{
  margin:0;
  font-size:17px;
  color:#fff;
}

.socials{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:25px;
  font-weight:700;
}

.socials a{
  color:#fff;
}

.footer-columns{
  display:grid;
  grid-template-columns:1.2fr 1fr 1.2fr 1fr 1fr 1fr;
  gap:36px;
  padding:28px 0 48px;
}

.footer-columns h3{
  margin:0 0 22px;
  font-size:15px;
  font-weight:750;
  color:#fff;
}

.footer-columns a{
  display:block;
  color:#fff;
  opacity:.92;
  font-size:13px;
  line-height:1.9;
}

.footer-bottom{
  min-height:68px;
  border-top:1px solid rgba(255,255,255,.16);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#fff;
  font-size:13px;
}

.footer-bottom div{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.footer-bottom a{
  color:#fff;
  font-weight:650;
}

@media(max-width:900px){
  .site-section-inner,
  .footer-inner{
    max-width:calc(100% - 28px);
  }

  .faq-section{
    padding:42px 0 54px;
  }

  .faq-section h2{
    font-size:30px;
  }

  .faq-question{
    min-height:68px;
    padding:16px 18px;
    grid-template-columns:30px 1fr;
  }

  .faq-question strong{
    font-size:19px;
  }

  .faq-answer{
    padding-left:66px;
  }

  .faq-item.open .faq-answer{
    padding:0 18px 22px 66px;
  }

  .faq-answer p,
  .faq-answer li{
    font-size:15px;
  }

  .faq-global-btn{
    min-width:0;
    width:100%;
  }

  .assist-cards{
    grid-template-columns:1fr;
    gap:16px;
  }

  .assist-card{
    grid-template-columns:64px 1fr 24px;
  }

  .assist-icon{
    width:60px;
    height:60px;
    font-size:30px;
  }

  .footer-top{
    align-items:flex-start;
    gap:24px;
    flex-direction:column;
  }

  .footer-columns{
    grid-template-columns:1fr 1fr;
    gap:28px;
  }

  .footer-bottom{
    align-items:flex-start;
    flex-direction:column;
    padding:20px 0;
  }
}

@media(max-width:520px){
  .faq-section h2,
  .assistance-section h2{
    font-size:26px;
  }

  .faq-question strong{
    font-size:17px;
  }

  .footer-columns{
    grid-template-columns:1fr;
  }
}


/* v18: safe icon-only fix from stable v16 */
.action-icon-img{
  display:block !important;
  object-fit:contain !important;
}
.header-actions button:nth-child(1) .action-icon-img{
  width:19px !important;
  height:19px !important;
}
.header-actions button:nth-child(2) .action-icon-img{
  width:24px !important;
  height:24px !important;
}
.header-actions button:nth-child(3) .action-icon-img{
  width:16px !important;
  height:21px !important;
}
.bottom-icon{
  width:32px !important;
  height:32px !important;
  object-fit:contain !important;
  display:block !important;
}
.bottom-nav a{
  gap:5px !important;
}


/* v19: typography + header/footer/icon layout fixes */
html,
body,
button,
input,
select,
textarea{
  font-family:"effra","Effra","Avenir Next","Segoe UI",Arial,sans-serif !important;
}

/* Header: bigger usable menu, no clipped Assistance item */
.top-strip .strip-inner,
.header-inner{
  width:1180px !important;
  max-width:calc(100% - 64px) !important;
}

.header-inner{
  height:64px !important;
  padding:0 18px !important;
  overflow:visible !important;
}

.logo.inwi-brand{
  flex:0 0 132px !important;
  width:132px !important;
  min-width:132px !important;
}

.inwi-logo{
  width:106px !important;
  max-width:106px !important;
}

.main-nav{
  flex:1 1 auto !important;
  justify-content:flex-start !important;
  overflow:visible !important;
  white-space:nowrap !important;
  min-width:0 !important;
}

.main-nav a{
  padding:0 11px !important;
  font-size:14px !important;
  line-height:22px !important;
  height:22px !important;
  flex:0 0 auto !important;
}

.main-nav a.hot{
  color:#e04a23 !important;
}

.main-nav a.hot span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:16px !important;
  margin-right:5px !important;
}

.header-actions{
  flex:0 0 auto !important;
  gap:8px !important;
  margin-left:10px !important;
}

.header-actions button{
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  background:#fdeaf7 !important;
  overflow:hidden !important;
  padding:0 !important;
}

.action-icon-img{
  display:block !important;
  object-fit:contain !important;
}

.header-actions button:nth-child(1) .action-icon-img{
  width:19px !important;
  height:19px !important;
}

.header-actions button:nth-child(2) .action-icon-img{
  width:24px !important;
  height:24px !important;
}

.header-actions button:nth-child(3) .action-icon-img{
  width:16px !important;
  height:21px !important;
}

/* Offer arrows: no text glyph artifacts, clean centered V */
.chevron{
  position:relative !important;
  font-size:0 !important;
  color:transparent !important;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  display:grid !important;
  place-items:center !important;
  background:#fde9f8 !important;
  border-radius:50% !important;
  transform:none !important;
}

.chevron::before{
  content:"" !important;
  width:8px !important;
  height:8px !important;
  border-right:2px solid #b51b91 !important;
  border-bottom:2px solid #b51b91 !important;
  transform:rotate(45deg) translate(-1px,-1px) !important;
  transition:transform .25s ease !important;
}

.accordion.open .chevron{
  transform:none !important;
}

.accordion.open .chevron::before{
  transform:rotate(225deg) translate(-1px,-1px) !important;
}

/* FAQ plus/minus: draw icons with CSS so they don't jump or render as bad glyphs */
.faq-toggle{
  position:relative !important;
  flex:0 0 26px !important;
  width:26px !important;
  height:26px !important;
  min-width:26px !important;
  border:2px solid #b51b91 !important;
  border-radius:50% !important;
  color:transparent !important;
  font-size:0 !important;
  display:block !important;
}

.faq-toggle::before,
.faq-toggle::after{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:13px !important;
  height:2px !important;
  background:#b51b91 !important;
  border-radius:2px !important;
  transform:translate(-50%,-50%) !important;
  transition:transform .22s ease, opacity .22s ease !important;
}

.faq-toggle::after{
  transform:translate(-50%,-50%) rotate(90deg) !important;
}

.faq-item.open .faq-toggle::after{
  opacity:0 !important;
  transform:translate(-50%,-50%) rotate(90deg) scaleX(.4) !important;
}

.faq-question{
  grid-template-columns:34px 1fr !important;
  align-items:center !important;
}

.faq-question strong{
  line-height:1.2 !important;
}

/* Assistance icons: use clean image icons, no random glyphs */
.assist-icon{
  background:none !important;
  width:72px !important;
  height:72px !important;
  border-radius:16px !important;
  overflow:hidden !important;
  display:block !important;
}

.assist-icon img{
  width:72px !important;
  height:72px !important;
  display:block !important;
}

.assist-card em{
  font-size:0 !important;
  width:22px !important;
  height:22px !important;
  position:relative !important;
}

.assist-card em::before{
  content:"" !important;
  position:absolute !important;
  right:2px !important;
  top:50% !important;
  width:11px !important;
  height:11px !important;
  border-top:3px solid #b51b91 !important;
  border-right:3px solid #b51b91 !important;
  transform:translateY(-50%) rotate(45deg) !important;
}

/* Footer: remove weird watermark block and don't let bottom nav sit under desktop footer */
.site-footer::after{
  display:none !important;
}

.site-footer{
  padding-bottom:0 !important;
}

.footer-inner{
  width:1180px !important;
  max-width:calc(100% - 90px) !important;
}

.footer-bottom{
  padding-bottom:0 !important;
}

/* Bottom nav is mobile-style. Hide it on desktop so it doesn't break the footer. */
.bottom-nav{
  display:none !important;
}

@media(max-width:820px){
  .top-strip{
    display:none !important;
  }

  .header-inner{
    width:100% !important;
    max-width:100% !important;
    height:66px !important;
    padding:0 14px !important;
  }

  .logo.inwi-brand{
    flex:0 0 108px !important;
    width:108px !important;
    min-width:108px !important;
  }

  .inwi-logo{
    width:92px !important;
  }

  .main-nav{
    display:none !important;
  }

  .header-actions button:not(.mobile-menu-btn){
    display:none !important;
  }

  .header-actions .mobile-menu-btn{
    display:grid !important;
    width:46px !important;
    height:46px !important;
    font-size:24px !important;
  }

  .bottom-nav{
    display:grid !important;
    width:100% !important;
    max-width:100% !important;
    height:68px !important;
  }

  .bottom-icon{
    width:30px !important;
    height:30px !important;
  }

  body{
    padding-bottom:74px !important;
  }
}

@media(min-width:821px) and (max-width:1180px){
  .main-nav a{
    padding:0 8px !important;
    font-size:13px !important;
  }

  .header-actions button{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
  }
}


/* v20: footer fix + checkout page after Choisir + stronger highlighted contact block */
@media(min-width:821px){
  body{
    padding-bottom:0 !important;
  }
}

.site-footer{
  margin-bottom:0 !important;
  min-height:430px !important;
}

.footer-inner{
  padding-bottom:0 !important;
}

.footer-bottom{
  margin-bottom:0 !important;
}

.highlighted-contact,
.pink-summary{
  border:1px solid rgba(181,27,145,.14) !important;
  background:linear-gradient(90deg,#fff6fc 0%,#ffd8f3 100%) !important;
  box-shadow:0 18px 34px rgba(181,27,145,.14) !important;
}

.pink-summary{
  transform:translateZ(0);
}

.checkout-page{
  width:760px !important;
  max-width:calc(100% - 32px) !important;
  min-height:560px;
}

.checkout-card{
  background:#fff;
  border-radius:18px;
  padding:36px 42px 38px;
  box-shadow:0 1px 0 rgba(0,0,0,.03);
}

.checkout-card h1{
  margin:0 0 28px;
  font-size:30px;
  color:#111827;
  font-weight:760 !important;
  letter-spacing:-.025em;
}

.checkout-method{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding-bottom:22px;
  border-bottom:1px solid #ece8f1;
}

.method-left{
  display:flex;
  align-items:center;
  gap:18px;
  color:#b51b91;
}

.method-icon{
  width:38px;
  height:32px;
  display:grid;
  place-items:center;
  color:#b51b91;
}

.method-left strong{
  color:#b51b91;
  font-size:17px;
  font-weight:720;
}

.modify-btn{
  min-width:128px;
  height:46px;
  border:1.5px solid #b51b91;
  border-radius:999px;
  color:#b51b91;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-weight:700;
  background:#fff;
}

.checkout-contact{
  margin:22px 0 28px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  padding:18px 22px;
  border-radius:15px;
}

.contact-row{
  display:grid;
  grid-template-columns:48px 1fr;
  align-items:center;
  gap:10px;
}

.checkout-contact-icon{
  width:42px;
  height:42px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#f9d9ef;
  color:#b51b91;
  font-size:30px;
  line-height:1;
}

.checkout-contact-icon.at{
  font-size:32px;
  font-weight:500;
}

.contact-row small{
  display:block;
  margin-bottom:5px;
  color:#5f5570;
  font-size:13px;
}

.contact-row strong{
  display:block;
  color:#35154a;
  font-size:17px;
  font-weight:760;
  overflow-wrap:anywhere;
}

.checkout-offer{
  width:360px;
  max-width:100%;
  margin:0 auto 34px;
  border:1px solid #eadce9;
  border-radius:9px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 10px 20px rgba(35,24,54,.05);
  position:relative;
}

.checkout-offer-top{
  height:82px;
  background:linear-gradient(90deg,#a831b0,#e24aa7);
  color:#fff;
  display:grid;
  place-items:center;
  position:relative;
}

.checkout-offer-top strong{
  font-size:42px;
  line-height:1;
  font-weight:760;
}

.checkout-offer-top small{
  font-size:14px;
  margin-left:5px;
}

.checkout-ribbon{
  position:absolute;
  right:-36px;
  top:20px;
  width:126px;
  height:30px;
  background:#e38142;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:700;
  transform:rotate(45deg);
}

.checkout-offer-lines{
  padding:0 22px 12px;
}

.checkout-offer-lines > div{
  min-height:54px;
  display:grid;
  grid-template-columns:28px 1fr auto;
  align-items:center;
  gap:8px;
  border-bottom:1px solid #f0edf3;
}

.checkout-offer-lines > div:last-child{
  border-bottom:0;
}

.line-ico{
  color:#b51b91;
  font-size:21px;
}

.checkout-offer-lines b{
  color:#b51b91;
  font-size:17px;
  font-weight:720;
}

.checkout-offer-lines em{
  font-style:normal;
  color:#5f5570;
  font-size:12px;
  justify-self:end;
  text-align:right;
}

.checkout-next{
  width:360px;
  max-width:100%;
  margin:0 auto;
  display:block;
  height:50px !important;
}

.checkout-note{
  width:520px;
  max-width:100%;
  margin:14px auto 0;
  text-align:center;
  color:#6d6476;
  font-size:12px;
  line-height:1.4;
}

.payment-handoff{
  position:fixed;
  inset:0;
  z-index:110;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(29,18,38,.52);
}

.payment-handoff.show{
  display:flex;
}

.payment-handoff-card{
  position:relative;
  width:min(540px,100%);
  background:#fff;
  border-radius:24px;
  padding:30px;
  box-shadow:0 28px 70px rgba(0,0,0,.25);
}

.handoff-close{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#fdeaf7;
  color:#b51b91;
  font-size:28px;
  line-height:1;
}

.payment-handoff-card small{
  color:#b51b91;
  font-weight:760;
  letter-spacing:.08em;
}

.payment-handoff-card h2{
  margin:8px 0 10px;
  font-size:28px;
  color:#111827;
}

.payment-handoff-card p{
  margin:0 0 18px;
  color:#4b5563;
  line-height:1.55;
}

.handoff-summary{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:10px;
  margin:18px 0 24px;
  padding:16px;
  border:1px solid #eee5f0;
  border-radius:14px;
  background:#fbf7fc;
}

.handoff-summary span{
  color:#6d6476;
}

.handoff-summary b{
  text-align:right;
  color:#371a48;
  overflow-wrap:anywhere;
}

@media(max-width:820px){
  .checkout-card{
    padding:24px 18px 28px;
  }

  .checkout-contact{
    grid-template-columns:1fr;
    gap:14px;
  }

  .checkout-method{
    align-items:flex-start;
    flex-direction:column;
  }

  .modify-btn{
    width:100%;
  }

  .checkout-offer,
  .checkout-next{
    width:100%;
  }

  .checkout-offer-lines > div{
    grid-template-columns:26px 1fr;
  }

  .checkout-offer-lines em{
    grid-column:2;
    justify-self:start;
    margin-top:-8px;
  }

  .handoff-summary{
    grid-template-columns:1fr;
  }

  .handoff-summary b{
    text-align:left;
  }
}


/* v21: make desktop header/menu wider so all nav items fit */
@media(min-width:821px){
  .top-strip .strip-inner,
  .header-inner{
    width:1280px !important;
    max-width:calc(100% - 28px) !important;
  }

  .header-inner{
    padding-left:20px !important;
    padding-right:14px !important;
  }

  .logo.inwi-brand{
    flex:0 0 122px !important;
    width:122px !important;
    min-width:122px !important;
  }

  .inwi-logo{
    width:104px !important;
    max-width:104px !important;
  }

  .main-nav{
    flex:1 1 auto !important;
    min-width:0 !important;
    overflow:visible !important;
  }

  .main-nav a{
    padding-left:10px !important;
    padding-right:10px !important;
    font-size:14px !important;
    white-space:nowrap !important;
  }

  .header-actions{
    gap:6px !important;
    margin-left:8px !important;
  }

  .header-actions button{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
  }
}

@media(min-width:821px) and (max-width:1180px){
  .top-strip .strip-inner,
  .header-inner{
    max-width:calc(100% - 16px) !important;
  }

  .logo.inwi-brand{
    flex-basis:110px !important;
    width:110px !important;
    min-width:110px !important;
  }

  .inwi-logo{
    width:96px !important;
    max-width:96px !important;
  }

  .main-nav a{
    padding-left:7px !important;
    padding-right:7px !important;
    font-size:12.5px !important;
  }

  .header-actions{
    gap:4px !important;
    margin-left:5px !important;
  }

  .header-actions button{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
  }
}


/* v22 phone svg fix */
.summary-ico-phone,.checkout-contact-icon-phone{display:grid;place-items:center;}
.phone-icon-svg{display:block;width:24px;height:24px;object-fit:contain;}
.summary-ico-phone .phone-icon-svg{width:26px;height:26px;}
.checkout-contact-icon-phone .phone-icon-svg{width:24px;height:24px;}


/* v23 social icons fix */
.socials{display:flex;align-items:center;gap:18px;font-size:0;font-weight:700}
.socials a{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#fff;opacity:1}
.social-icon{display:block;max-width:100%;max-height:100%;width:22px;height:22px;object-fit:contain}
.social-facebook{width:14px;height:22px}
.social-x{width:18px;height:18px}
.social-youtube{width:22px;height:22px}
.social-instagram{width:20px;height:20px}
.social-linkedin{width:18px;height:18px}
.social-tiktok{width:16px;height:20px}


/* v25 language selector + Arabic-only mode */
.lang-switch{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  height:100%;
  color:#fff;
  white-space:nowrap;
  direction:ltr;
}
.lang-switch span{
  opacity:.55;
}
.lang-option{
  border:0;
  background:transparent;
  color:#fff;
  padding:0;
  font:inherit;
  font-weight:800;
  opacity:.68;
  cursor:pointer;
}
.lang-option.active{
  opacity:1;
  text-decoration:underline;
  text-underline-offset:3px;
}
.lang-ar{
  direction:ltr;
}
.lang-ar .main-nav a,
.lang-ar .strip-links span{
  font-size:13px !important;
}
.lang-ar .hero-copy,
.lang-ar .summary-panel,
.lang-ar .checkout-card,
.lang-ar .info-card,
.lang-ar .balance,
.lang-ar .faq-section,
.lang-ar .assistance-section,
.lang-ar .site-footer,
.lang-ar .offer-name,
.lang-ar .acc-title,
.lang-ar .modal-card,
.lang-ar .payment-handoff-card{
  direction:rtl;
  text-align:right;
}
.lang-ar .hero-copy,
.lang-ar .summary-panel{
  padding-left:44px !important;
  padding-right:0 !important;
}
.lang-ar .recharge-form,
.lang-ar .field{
  direction:rtl;
  text-align:right;
}
.lang-ar .field input{
  text-align:right;
}
.lang-ar .breadcrumbs{
  direction:rtl;
  justify-content:flex-end;
}
.lang-ar .scratch-banner{
  direction:rtl;
}
.lang-ar .scratch-banner h2{
  text-align:right;
}
.lang-ar .info-card.split{
  direction:rtl;
}
.lang-ar .balance-grid,
.lang-ar .footer-top,
.lang-ar .footer-columns,
.lang-ar .footer-bottom,
.lang-ar .assist-cards{
  direction:rtl;
}
.lang-ar .socials{
  direction:ltr;
}
.lang-ar .checkout-method,
.lang-ar .method-left,
.lang-ar .checkout-contact,
.lang-ar .contact-row{
  direction:rtl;
}
.lang-ar .checkout-offer{
  direction:rtl;
}
.lang-ar .checkout-offer-lines > div{
  grid-template-columns:auto 1fr 28px !important;
}
.lang-ar .line-ico{
  grid-column:3;
}
.lang-ar .checkout-offer-lines b{
  grid-column:2;
  text-align:right;
}
.lang-ar .checkout-offer-lines em{
  grid-column:1;
  text-align:left;
}
.lang-ar .handoff-summary b{
  text-align:left;
}
.lang-ar .faq-question{
  direction:rtl;
  text-align:right;
  grid-template-columns:1fr 34px !important;
}
.lang-ar .faq-toggle{
  grid-column:2;
}
.lang-ar .faq-question strong{
  grid-column:1;
}
.lang-ar .faq-answer{
  direction:rtl;
  text-align:right;
  padding-right:82px !important;
  padding-left:28px !important;
}
.lang-ar .faq-item.open .faq-answer{
  padding-right:82px !important;
  padding-left:28px !important;
}
.lang-ar .assist-card{
  direction:rtl;
  text-align:right;
  grid-template-columns:28px 1fr 78px !important;
}
.lang-ar .assist-card em{
  transform:rotate(180deg);
}
.lang-ar .assist-icon{
  grid-column:3;
}
.lang-ar .assist-card strong{
  grid-column:2;
}
.lang-ar .assist-card em{
  grid-column:1;
}
.lang-ar .footer-columns a{
  text-align:right;
}
.lang-ar .cookie{
  direction:rtl;
  text-align:right;
}
.lang-ar .cookie-buttons{
  margin-left:0;
  margin-right:auto;
}
.lang-ar .bottom-nav a{
  direction:rtl;
}
.lang-ar .choose,
.lang-ar .primary-btn,
.lang-ar .scratch-btn,
.lang-ar .modify-btn{
  font-weight:850;
}
@media(min-width:821px){
  .lang-ar .main-nav a{
    padding-left:8px !important;
    padding-right:8px !important;
    font-size:13px !important;
  }
}
@media(max-width:820px){
  .lang-switch{
    display:none;
  }
  .lang-ar .hero-copy,
  .lang-ar .summary-panel{
    padding:22px !important;
  }
  .lang-ar .faq-answer,
  .lang-ar .faq-item.open .faq-answer{
    padding-right:66px !important;
    padding-left:18px !important;
  }
  .lang-ar .assist-card{
    grid-template-columns:24px 1fr 64px !important;
  }
}


/* v26: Google Ads safe disclosure + cleaner Arabic mode */
.policy-notice{
  width:100%;
  margin:-4px 0 18px;
  padding:10px 16px;
  border:1px solid #ead8e8;
  border-radius:12px;
  background:#fff;
  color:#3a2b43;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:12px;
  line-height:1.35;
  box-shadow:0 4px 12px rgba(31,25,46,.04);
}
.policy-notice strong{
  color:#b51b91;
  font-weight:800;
}
.lang-ar .policy-notice{
  direction:rtl;
  text-align:center;
}
.lang-ar .policy-notice span{
  direction:rtl;
}
.lang-ar .info-card.split{
  grid-template-columns:230px 1fr !important;
}
.lang-ar .info-card.split > div:first-child{
  grid-column:2;
}
.lang-ar .info-card.split > .info-art{
  grid-column:1;
}
.lang-ar .info-card p{
  direction:rtl;
  text-align:right;
}
.lang-ar .info-card h2{
  direction:rtl;
  text-align:right;
}
.lang-ar .info-card .info-art{
  justify-self:center;
}
.lang-ar .hero-copy p,
.lang-ar .summary-panel p{
  direction:rtl;
  text-align:right;
}
.lang-ar .main-nav a.hot{
  min-width:auto !important;
}
@media(max-width:820px){
  .policy-notice{
    flex-direction:column;
    gap:2px;
    margin:0 0 16px;
  }
  .lang-ar .info-card.split{
    grid-template-columns:1fr !important;
  }
  .lang-ar .info-card.split > div:first-child,
  .lang-ar .info-card.split > .info-art{
    grid-column:auto;
  }
}


/* v27: remove separate policy notice block; keep small footer disclosure */
.policy-notice{
  display:none !important;
}
.footer-disclaimer{
  margin:8px 0 0 !important;
  font-size:12px !important;
  line-height:1.35 !important;
  color:#fff !important;
  opacity:.78 !important;
}
.lang-ar .footer-disclaimer{
  direction:rtl;
  text-align:right;
}


/* v29: smooth animations and micro-interactions */
:root{
  --ease-smooth:cubic-bezier(.22,.61,.36,1);
  --ease-bounce:cubic-bezier(.2,.9,.2,1.15);
}

@keyframes fadeUpSoft{
  from{
    opacity:0;
    transform:translateY(18px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes fadeScaleSoft{
  from{
    opacity:0;
    transform:scale(.96);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

@keyframes floatSoft{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-8px);
  }
}

@keyframes shimmerButton{
  0%{
    transform:translateX(-120%) skewX(-16deg);
  }
  100%{
    transform:translateX(220%) skewX(-16deg);
  }
}

body{
  scroll-behavior:smooth;
}

.header-inner{
  animation:fadeScaleSoft .5s var(--ease-smooth) both;
}

.breadcrumbs,
.hero,
.hero-summary,
.checkout-card{
  animation:fadeUpSoft .55s var(--ease-smooth) both;
}

.scratch-banner,
.info-card,
.balance,
.offers-list,
.faq-section,
.assistance-section{
  animation:fadeUpSoft .65s var(--ease-smooth) both;
}

.info-card:nth-of-type(2){
  animation-delay:.06s;
}

.info-card:nth-of-type(3){
  animation-delay:.1s;
}

.hero-illustration-img,
.info-art img,
.phone-balance,
.app-phone{
  animation:floatSoft 5.5s ease-in-out infinite;
}

.recharge-card-img,
.scratch-card-img{
  transition:transform .35s var(--ease-smooth), filter .35s var(--ease-smooth);
}

.scratch-banner:hover .scratch-card-img,
.hero:hover .recharge-card-img{
  transform:translateY(-4px) rotate(-1deg);
  filter:drop-shadow(0 12px 18px rgba(35,24,54,.18));
}

.primary-btn,
.scratch-btn,
.choose,
.modify-btn,
.cookie-buttons button,
.faq-global-btn{
  position:relative;
  overflow:hidden;
  transform:translateZ(0);
  transition:
    transform .22s var(--ease-smooth),
    box-shadow .22s var(--ease-smooth),
    background .22s var(--ease-smooth),
    border-color .22s var(--ease-smooth);
}

.primary-btn:hover,
.scratch-btn:hover,
.choose:hover,
.modify-btn:hover,
.cookie-buttons button:hover,
.faq-global-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(181,27,145,.18);
}

.primary-btn:active,
.scratch-btn:active,
.choose:active,
.modify-btn:active,
.cookie-buttons button:active,
.faq-global-btn:active{
  transform:translateY(0) scale(.98);
}

.primary-btn::after,
.scratch-btn::after,
.faq-global-btn::after{
  content:"";
  position:absolute;
  inset:-30% auto -30% -55%;
  width:42%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);
  transform:translateX(-120%) skewX(-16deg);
  pointer-events:none;
}

.primary-btn:hover::after,
.scratch-btn:hover::after,
.faq-global-btn:hover::after{
  animation:shimmerButton .8s var(--ease-smooth);
}

.field input{
  transition:
    border-color .24s var(--ease-smooth),
    box-shadow .24s var(--ease-smooth),
    background .24s var(--ease-smooth);
}

.field input:focus{
  box-shadow:0 0 0 4px rgba(181,27,145,.11);
}

.header-actions button,
.lang-option,
.main-nav a,
.bottom-nav a,
.socials a{
  transition:
    transform .22s var(--ease-smooth),
    opacity .22s var(--ease-smooth),
    color .22s var(--ease-smooth),
    background .22s var(--ease-smooth);
}

.header-actions button:hover{
  transform:translateY(-2px) scale(1.04);
}

.main-nav a:hover,
.lang-option:hover{
  color:#b51b91 !important;
  opacity:1;
}

.socials a:hover{
  transform:translateY(-3px) scale(1.08);
}

.bottom-nav a:hover{
  transform:translateY(-2px);
}

.accordion{
  transition:
    box-shadow .28s var(--ease-smooth),
    transform .28s var(--ease-smooth),
    border-color .28s var(--ease-smooth);
}

.accordion:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(35,24,54,.06);
}

.accordion .acc-body{
  transition:
    max-height .48s var(--ease-smooth),
    opacity .3s ease,
    padding .3s var(--ease-smooth) !important;
}

.offer-row{
  transition:
    background .22s var(--ease-smooth),
    transform .22s var(--ease-smooth);
}

.offer-row:hover{
  transform:translateX(3px);
}

.lang-ar .offer-row:hover{
  transform:translateX(-3px);
}

.chevron::before,
.faq-toggle::before,
.faq-toggle::after{
  transition:
    transform .24s var(--ease-smooth),
    opacity .24s var(--ease-smooth),
    background .24s var(--ease-smooth);
}

.faq-item{
  transition:
    box-shadow .28s var(--ease-smooth),
    transform .28s var(--ease-smooth);
}

.faq-item:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(181,27,145,.1);
}

.faq-answer{
  transition:
    max-height .46s var(--ease-smooth),
    opacity .3s ease,
    padding .3s var(--ease-smooth) !important;
}

.assist-card{
  transition:
    transform .28s var(--ease-smooth),
    box-shadow .28s var(--ease-smooth);
}

.assist-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 34px rgba(29,22,42,.13);
}

.assist-icon img{
  transition:transform .28s var(--ease-bounce);
}

.assist-card:hover .assist-icon img{
  transform:scale(1.08) rotate(-2deg);
}

.checkout-offer{
  animation:fadeScaleSoft .55s var(--ease-smooth) both;
  transition:transform .28s var(--ease-smooth), box-shadow .28s var(--ease-smooth);
}

.checkout-offer:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 30px rgba(35,24,54,.1);
}

.payment-handoff{
  backdrop-filter:blur(0);
  transition:backdrop-filter .28s ease, background .28s ease;
}

.payment-handoff.show{
  backdrop-filter:blur(4px);
}

.payment-handoff-card{
  animation:fadeScaleSoft .32s var(--ease-bounce) both;
}

.cookie{
  animation:fadeUpSoft .55s var(--ease-smooth) both;
}

.cookie[style*="display: none"]{
  animation:none;
}

@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}


/* v30: final audit fixes — stop hero overlap, stabilize grids, keep animations safe */
html,
body{
  overflow-x:hidden !important;
}

.container,
.header-inner,
.strip-inner,
.footer-inner,
.site-section-inner{
  box-sizing:border-box !important;
}

/* MAIN HERO FIX */
.hero,
.hero.hero-form,
.hero.hero-summary{
  width:880px !important;
  max-width:calc(100% - 28px) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  display:grid !important;
  grid-template-columns:360px minmax(0,1fr) !important;
  align-items:stretch !important;
  overflow:hidden !important;
  position:relative !important;
}

.hero .illustration,
.hero .illustration.compact{
  min-width:0 !important;
  width:100% !important;
  min-height:300px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
  overflow:hidden !important;
  padding:0 10px 0 22px !important;
  box-sizing:border-box !important;
}

.hero .hero-illustration-img{
  width:310px !important;
  max-width:100% !important;
  max-height:300px !important;
  object-fit:contain !important;
  object-position:center bottom !important;
  position:relative !important;
  z-index:1 !important;
}

.hero-copy,
.summary-panel{
  min-width:0 !important;
  width:100% !important;
  position:relative !important;
  z-index:2 !important;
  background:#fff !important;
  padding:40px 42px 30px 22px !important;
  box-sizing:border-box !important;
}

.hero-copy h1,
.summary-panel h1{
  max-width:100% !important;
  overflow-wrap:normal !important;
}

.hero-copy p,
.summary-panel p{
  max-width:100% !important;
}

.recharge-form{
  width:100% !important;
  max-width:390px !important;
}

.recharge-form .field,
.recharge-form input,
.recharge-form .primary-btn{
  width:100% !important;
  box-sizing:border-box !important;
}

/* Keep offer/checkout summary boxes from overflowing */
.pink-summary,
.checkout-contact,
.checkout-offer,
.offer-row,
.acc-head,
.faq-item,
.assist-card{
  box-sizing:border-box !important;
  max-width:100% !important;
}

.pink-summary{
  overflow:hidden !important;
}

.summary-line{
  min-width:0 !important;
}

.summary-line strong,
.contact-row strong,
.offer-name b{
  overflow-wrap:anywhere !important;
}

/* Header audit fix: Assistance must fit without clipping */
@media(min-width:821px){
  .top-strip .strip-inner,
  .header-inner{
    width:1320px !important;
    max-width:calc(100% - 20px) !important;
  }

  .header-inner{
    overflow:visible !important;
  }

  .logo.inwi-brand{
    flex:0 0 118px !important;
    width:118px !important;
    min-width:118px !important;
  }

  .inwi-logo{
    width:102px !important;
    max-width:102px !important;
  }

  .main-nav{
    overflow:visible !important;
    min-width:0 !important;
  }

  .main-nav a{
    padding-left:9px !important;
    padding-right:9px !important;
    font-size:13.5px !important;
  }

  .header-actions{
    gap:5px !important;
    margin-left:6px !important;
  }

  .header-actions button{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
  }
}

/* Footer must end cleanly, no gray bottom hole */
.site-footer{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}

.footer-bottom{
  margin-bottom:0 !important;
}

body{
  padding-bottom:0 !important;
}

/* Bottom nav only on mobile */
.bottom-nav{
  display:none !important;
}

@media(max-width:820px){
  .hero,
  .hero.hero-form,
  .hero.hero-summary{
    width:100% !important;
    max-width:calc(100% - 24px) !important;
    grid-template-columns:1fr !important;
  }

  .hero .illustration,
  .hero .illustration.compact{
    min-height:270px !important;
    padding:0 14px !important;
  }

  .hero .hero-illustration-img{
    width:295px !important;
    max-height:270px !important;
  }

  .hero-copy,
  .summary-panel{
    padding:24px 20px 24px !important;
  }

  .recharge-form{
    max-width:100% !important;
  }

  .bottom-nav{
    display:grid !important;
  }

  body{
    padding-bottom:74px !important;
  }
}

/* Arabic mode re-check */
.lang-ar .hero-copy,
.lang-ar .summary-panel{
  padding:40px 22px 30px 42px !important;
  text-align:right !important;
  direction:rtl !important;
}

.lang-ar .recharge-form{
  margin-left:0 !important;
  margin-right:0 !important;
}

.lang-ar .hero.hero-form,
.lang-ar .hero.hero-summary{
  direction:ltr !important;
}

.lang-ar .hero-copy,
.lang-ar .summary-panel{
  direction:rtl !important;
}

@media(max-width:820px){
  .lang-ar .hero-copy,
  .lang-ar .summary-panel{
    padding:24px 20px !important;
  }
}

/* Animation safety: avoid transforms breaking layout on parent containers */
.hero,
.hero-summary,
.hero-form,
.checkout-card{
  will-change:opacity, transform;
}

.hero-illustration-img{
  transform-origin:center bottom !important;
}


/* v31: fix hero overlap, cookie bar position, and make images static */

/* Hero: give illustration its own safe space so it cannot overlap the form */
.hero,
.hero.hero-form,
.hero.hero-summary{
  width:930px !important;
  max-width:calc(100% - 32px) !important;
  grid-template-columns:430px minmax(0,1fr) !important;
  column-gap:0 !important;
  overflow:hidden !important;
}

.hero .illustration,
.hero .illustration.compact{
  width:430px !important;
  min-width:430px !important;
  max-width:430px !important;
  min-height:315px !important;
  padding:0 28px 0 18px !important;
  justify-content:center !important;
  align-items:flex-end !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}

.hero .hero-illustration-img{
  width:335px !important;
  max-width:335px !important;
  max-height:315px !important;
  object-fit:contain !important;
  object-position:center bottom !important;
  transform:none !important;
  animation:none !important;
}

.hero-copy,
.summary-panel{
  padding:42px 44px 32px 20px !important;
  overflow:visible !important;
}

.hero-copy h1,
.summary-panel h1{
  white-space:normal !important;
  overflow-wrap:normal !important;
}

.recharge-form{
  max-width:410px !important;
  width:100% !important;
}

/* Cookie bar: keep it centered, contained, and at the bottom */
.cookie{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  bottom:18px !important;
  transform:translateX(-50%) !important;
  width:min(980px, calc(100vw - 40px)) !important;
  max-width:980px !important;
  min-height:78px !important;
  padding:14px 22px !important;
  border-radius:10px !important;
  box-sizing:border-box !important;
  z-index:80 !important;
  display:grid !important;
  grid-template-columns:58px minmax(0,1fr) 170px !important;
  gap:16px !important;
  align-items:center !important;
  overflow:hidden !important;
}

.cookie h3{
  margin:0 0 5px !important;
  font-size:21px !important;
  line-height:1.1 !important;
}

.cookie p{
  margin:0 !important;
  font-size:12px !important;
  line-height:1.35 !important;
}

.cookie-buttons{
  margin:0 !important;
  display:grid !important;
  gap:8px !important;
}

.cookie-buttons button{
  width:150px !important;
  min-height:30px !important;
  padding:0 14px !important;
  font-size:12px !important;
}

/* Static images: no floating or hover movement */
.hero-illustration-img,
.info-art img,
.phone-balance,
.app-phone,
.recharge-card-img,
.scratch-card-img,
.checkout-offer{
  animation:none !important;
}

.hero:hover .recharge-card-img,
.scratch-banner:hover .scratch-card-img,
.checkout-offer:hover{
  transform:none !important;
  filter:none !important;
}

.info-art img,
.phone-balance,
.app-phone,
.recharge-card-img,
.scratch-card-img{
  transform:none !important;
}

/* Arabic hero keeps the same safe grid */
.lang-ar .hero,
.lang-ar .hero.hero-form,
.lang-ar .hero.hero-summary{
  grid-template-columns:430px minmax(0,1fr) !important;
}

.lang-ar .hero-copy,
.lang-ar .summary-panel{
  padding:42px 20px 32px 44px !important;
}

/* Mobile layout */
@media(max-width:820px){
  .hero,
  .hero.hero-form,
  .hero.hero-summary{
    width:100% !important;
    max-width:calc(100% - 24px) !important;
    grid-template-columns:1fr !important;
  }

  .hero .illustration,
  .hero .illustration.compact{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:260px !important;
    padding:0 14px !important;
  }

  .hero .hero-illustration-img{
    width:285px !important;
    max-width:285px !important;
    max-height:260px !important;
  }

  .hero-copy,
  .summary-panel,
  .lang-ar .hero-copy,
  .lang-ar .summary-panel{
    padding:24px 20px !important;
  }

  .cookie{
    bottom:74px !important;
    width:calc(100vw - 24px) !important;
    max-width:calc(100vw - 24px) !important;
    grid-template-columns:42px minmax(0,1fr) !important;
    padding:12px 14px !important;
    gap:10px !important;
  }

  .cookie-buttons{
    grid-column:1 / -1 !important;
    grid-template-columns:1fr 1fr !important;
  }

  .cookie-buttons button{
    width:100% !important;
  }
}


/* v32: fix hero illustration clipping and keep cookie bar from overlaying desktop content */
.hero,
.hero.hero-form,
.hero.hero-summary{
  width:900px !important;
  max-width:calc(100% - 32px) !important;
  grid-template-columns:320px minmax(0,1fr) !important;
}

.hero .illustration,
.hero .illustration.compact{
  width:320px !important;
  min-width:320px !important;
  max-width:320px !important;
  min-height:320px !important;
  padding:0 0 0 18px !important;
  justify-content:flex-start !important;
  align-items:flex-end !important;
  overflow:hidden !important;
}

.hero .hero-illustration-img{
  position:static !important;
  display:block !important;
  width:280px !important;
  max-width:280px !important;
  max-height:320px !important;
  object-fit:contain !important;
  object-position:left bottom !important;
  margin:0 !important;
  transform:none !important;
}

.hero-copy,
.summary-panel{
  padding:36px 42px 30px 14px !important;
}

.hero-copy h1,
.summary-panel h1{
  font-size:26px !important;
  line-height:1.15 !important;
  margin-bottom:12px !important;
}

.hero-copy p,
.summary-panel p{
  font-size:15px !important;
  line-height:1.55 !important;
  margin-bottom:16px !important;
}

.recharge-form{
  max-width:400px !important;
}

/* Desktop cookie bar should sit after content instead of covering it */
@media(min-width:821px){
  .cookie{
    position:static !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    width:min(980px, calc(100% - 40px)) !important;
    margin:22px auto 0 !important;
  }
  body{padding-bottom:0 !important;}
}

/* Keep mobile cookie usable at bottom */
@media(max-width:820px){
  .hero,
  .hero.hero-form,
  .hero.hero-summary{
    width:100% !important;
    max-width:calc(100% - 24px) !important;
    grid-template-columns:1fr !important;
  }
  .hero .illustration,
  .hero .illustration.compact{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:255px !important;
    justify-content:center !important;
    padding:0 14px !important;
  }
  .hero .hero-illustration-img{
    width:240px !important;
    max-width:240px !important;
    max-height:255px !important;
  }
  .cookie{
    position:fixed !important;
    left:50% !important;
    bottom:8px !important;
    transform:translateX(-50%) !important;
    width:calc(100vw - 20px) !important;
    max-width:calc(100vw - 20px) !important;
    margin:0 !important;
  }
}


/* v33: dedicated mobile responsive pass */
@media(max-width:820px){
  html,
  body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  body{
    padding-bottom:78px !important;
    background:#f6f7fb !important;
  }

  .container,
  .page,
  .site-section-inner,
  .footer-inner{
    width:100% !important;
    max-width:100% !important;
    padding-left:14px !important;
    padding-right:14px !important;
    box-sizing:border-box !important;
  }

  /* mobile language bar */
  .top-strip{
    display:block !important;
    height:34px !important;
  }

  .strip-inner{
    max-width:100% !important;
    padding:0 14px !important;
    justify-content:flex-end !important;
  }

  .strip-links{
    display:none !important;
  }

  .lang-switch{
    display:flex !important;
    height:34px !important;
    font-size:13px !important;
  }

  /* mobile header */
  .header{
    position:sticky !important;
    top:0 !important;
    z-index:70 !important;
  }

  .header-inner{
    width:100% !important;
    max-width:100% !important;
    height:62px !important;
    border-radius:0 0 14px 14px !important;
    padding:0 14px !important;
    overflow:visible !important;
  }

  .logo.inwi-brand{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
  }

  .inwi-logo{
    width:92px !important;
    max-width:92px !important;
  }

  .main-nav{
    display:none !important;
  }

  .header-actions{
    margin-left:auto !important;
    gap:0 !important;
  }

  .header-actions button:not(.mobile-menu-btn){
    display:none !important;
  }

  .header-actions .mobile-menu-btn{
    display:grid !important;
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    border-radius:50% !important;
    background:#fdeaf7 !important;
    color:#b51b91 !important;
    font-size:24px !important;
  }

  .page{
    padding-top:14px !important;
    padding-bottom:30px !important;
  }

  .breadcrumbs{
    width:100% !important;
    overflow-x:auto !important;
    white-space:nowrap !important;
    gap:12px !important;
    margin:0 0 14px !important;
    padding-bottom:4px !important;
    font-size:12px !important;
    scrollbar-width:none !important;
  }

  .breadcrumbs::-webkit-scrollbar{
    display:none !important;
  }

  .breadcrumbs strong{
    padding:9px 18px !important;
  }

  /* mobile hero */
  .hero,
  .hero.hero-form,
  .hero.hero-summary{
    width:100% !important;
    max-width:100% !important;
    grid-template-columns:1fr !important;
    border-radius:16px !important;
    min-height:0 !important;
    overflow:hidden !important;
  }

  .hero .illustration,
  .hero .illustration.compact{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:230px !important;
    height:230px !important;
    padding:0 12px !important;
    justify-content:center !important;
    align-items:flex-end !important;
    overflow:hidden !important;
  }

  .hero .hero-illustration-img{
    width:220px !important;
    max-width:220px !important;
    max-height:230px !important;
    object-fit:contain !important;
    object-position:center bottom !important;
    margin:0 auto !important;
    transform:none !important;
  }

  .hero-copy,
  .summary-panel,
  .lang-ar .hero-copy,
  .lang-ar .summary-panel{
    width:100% !important;
    padding:22px 18px 24px !important;
    text-align:left !important;
  }

  .lang-ar .hero-copy,
  .lang-ar .summary-panel{
    text-align:right !important;
    direction:rtl !important;
  }

  .hero-copy h1,
  .summary-panel h1{
    font-size:24px !important;
    line-height:1.18 !important;
    margin-bottom:10px !important;
    letter-spacing:-.03em !important;
  }

  .hero-copy p,
  .summary-panel p{
    font-size:14px !important;
    line-height:1.5 !important;
    margin-bottom:16px !important;
  }

  .recharge-form{
    width:100% !important;
    max-width:100% !important;
    gap:13px !important;
  }

  .field{
    width:100% !important;
    gap:6px !important;
    font-size:13px !important;
  }

  .field input{
    width:100% !important;
    height:48px !important;
    border-radius:8px !important;
    padding:0 14px !important;
    font-size:14px !important;
  }

  .primary-btn{
    width:100% !important;
    height:50px !important;
    font-size:15px !important;
  }

  /* scratch banner */
  .scratch-banner{
    width:100% !important;
    max-width:100% !important;
    margin:18px 0 22px !important;
    min-height:0 !important;
    grid-template-columns:86px 1fr !important;
    grid-template-rows:auto auto !important;
    gap:10px 14px !important;
    padding:14px !important;
    border-radius:10px !important;
    overflow:hidden !important;
    text-align:left !important;
  }

  .scratch-card-img{
    width:82px !important;
    max-width:82px !important;
    transform:none !important;
    grid-row:1 / span 2 !important;
    align-self:center !important;
  }

  .scratch-banner h2{
    font-size:18px !important;
    line-height:1.25 !important;
    text-align:left !important;
    margin:0 !important;
  }

  .scratch-btn{
    width:100% !important;
    height:42px !important;
    font-size:14px !important;
  }

  .lang-ar .scratch-banner{
    direction:rtl !important;
    text-align:right !important;
  }

  .lang-ar .scratch-banner h2{
    text-align:right !important;
  }

  /* info cards */
  .info-card{
    width:100% !important;
    max-width:100% !important;
    margin:0 0 18px !important;
    padding:20px 18px !important;
    border-radius:14px !important;
  }

  .info-card.split,
  .lang-ar .info-card.split{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  .info-card h2{
    font-size:23px !important;
    line-height:1.2 !important;
    margin-bottom:12px !important;
  }

  .info-card p{
    font-size:14px !important;
    line-height:1.6 !important;
    margin:0 !important;
  }

  .info-art.image-art{
    height:auto !important;
    min-height:0 !important;
    justify-content:center !important;
  }

  .info-art.image-art img{
    width:180px !important;
    max-width:75% !important;
  }

  .balance-grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }

  .balance h3{
    font-size:18px !important;
  }

  .balance-img{
    width:125px !important;
  }

  .google-play-img,
  .app-store-img{
    max-width:170px !important;
  }

  /* offers page */
  .offers-list{
    width:100% !important;
    max-width:100% !important;
    margin-top:20px !important;
  }

  .offers-list h2{
    font-size:16px !important;
    line-height:1.35 !important;
  }

  .accordion{
    border-radius:12px !important;
    margin-bottom:12px !important;
  }

  .acc-head{
    grid-template-columns:48px minmax(0,1fr) 34px !important;
    gap:12px !important;
    padding:14px !important;
  }

  .badge{
    width:42px !important;
    height:42px !important;
    font-size:20px !important;
  }

  .acc-title b{
    font-size:15px !important;
    line-height:1.25 !important;
  }

  .acc-title small{
    font-size:12px !important;
    line-height:1.35 !important;
  }

  .acc-body{
    padding:0 14px 14px !important;
  }

  .offer-row{
    grid-template-columns:56px minmax(0,1fr) !important;
    gap:8px 12px !important;
    min-height:0 !important;
    padding:14px 0 !important;
    border-bottom:1px solid #ece8f1 !important;
  }

  .offer-row:last-child{
    border-bottom:0 !important;
  }

  .price strong{
    font-size:24px !important;
  }

  .price small{
    font-size:10px !important;
  }

  .offer-name b{
    font-size:14px !important;
    line-height:1.3 !important;
  }

  .offer-name em{
    font-size:11px !important;
    padding:4px 10px !important;
  }

  .promo{
    grid-column:2 !important;
    justify-self:start !important;
    padding:7px 12px !important;
    font-size:12px !important;
  }

  .choose{
    grid-column:2 !important;
    width:135px !important;
    height:38px !important;
    font-size:14px !important;
    justify-self:start !important;
  }

  .lang-ar .promo,
  .lang-ar .choose{
    justify-self:end !important;
  }

  /* checkout mobile */
  .checkout-page{
    width:100% !important;
    max-width:100% !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }

  .checkout-card{
    padding:22px 16px 26px !important;
    border-radius:16px !important;
  }

  .checkout-card h1{
    font-size:26px !important;
    margin-bottom:18px !important;
  }

  .checkout-method{
    gap:12px !important;
    padding-bottom:16px !important;
  }

  .method-left{
    gap:12px !important;
  }

  .method-left strong{
    font-size:15px !important;
    line-height:1.3 !important;
  }

  .modify-btn{
    width:100% !important;
    height:42px !important;
  }

  .checkout-contact{
    grid-template-columns:1fr !important;
    padding:16px !important;
    gap:14px !important;
  }

  .contact-row{
    grid-template-columns:38px minmax(0,1fr) !important;
  }

  .checkout-contact-icon{
    width:36px !important;
    height:36px !important;
  }

  .contact-row strong{
    font-size:15px !important;
  }

  .checkout-offer{
    width:100% !important;
  }

  .checkout-offer-top strong{
    font-size:34px !important;
  }

  .checkout-offer-lines > div{
    min-height:52px !important;
  }

  /* FAQ / assistance / footer */
  .faq-section{
    margin-top:28px !important;
    padding:36px 0 44px !important;
  }

  .faq-section h2{
    font-size:25px !important;
    line-height:1.2 !important;
    margin-bottom:22px !important;
  }

  .faq-list{
    width:100% !important;
    gap:12px !important;
  }

  .faq-question{
    min-height:64px !important;
    padding:14px 16px !important;
    grid-template-columns:30px 1fr !important;
    gap:12px !important;
  }

  .faq-question strong{
    font-size:16px !important;
    line-height:1.25 !important;
  }

  .faq-toggle{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
  }

  .faq-answer,
  .faq-item.open .faq-answer{
    padding-left:58px !important;
    padding-right:16px !important;
  }

  .lang-ar .faq-answer,
  .lang-ar .faq-item.open .faq-answer{
    padding-right:58px !important;
    padding-left:16px !important;
  }

  .faq-answer p,
  .faq-answer li{
    font-size:14px !important;
    line-height:1.55 !important;
  }

  .faq-global-btn{
    width:100% !important;
    min-width:0 !important;
    height:50px !important;
    font-size:13px !important;
  }

  .assistance-section{
    padding:36px 0 42px !important;
  }

  .assistance-section h2{
    font-size:28px !important;
  }

  .assistance-section p{
    font-size:17px !important;
    margin-bottom:22px !important;
  }

  .assist-cards{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .assist-card{
    min-height:92px !important;
    grid-template-columns:58px 1fr 22px !important;
    padding:16px !important;
    gap:12px !important;
  }

  .assist-icon,
  .assist-icon img{
    width:54px !important;
    height:54px !important;
  }

  .assist-card strong{
    font-size:17px !important;
    line-height:1.3 !important;
  }

  .site-footer{
    padding-top:28px !important;
    padding-bottom:76px !important;
  }

  .footer-inner{
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .footer-top{
    gap:18px !important;
    padding-bottom:22px !important;
  }

  .footer-logo{
    width:92px !important;
    margin-bottom:12px !important;
  }

  .socials{
    gap:14px !important;
    flex-wrap:wrap !important;
  }

  .footer-columns{
    grid-template-columns:1fr 1fr !important;
    gap:24px 18px !important;
    padding:24px 0 32px !important;
  }

  .footer-columns h3{
    margin-bottom:12px !important;
    font-size:13px !important;
  }

  .footer-columns a{
    font-size:12px !important;
    line-height:1.75 !important;
  }

  .footer-bottom{
    gap:12px !important;
    font-size:11px !important;
    padding:16px 0 !important;
  }

  /* cookie bar above bottom nav */
  .cookie{
    position:fixed !important;
    left:50% !important;
    bottom:74px !important;
    transform:translateX(-50%) !important;
    width:calc(100vw - 20px) !important;
    max-width:calc(100vw - 20px) !important;
    min-height:0 !important;
    margin:0 !important;
    padding:12px !important;
    border-radius:12px !important;
    grid-template-columns:36px minmax(0,1fr) !important;
    gap:10px !important;
    z-index:90 !important;
  }

  .cookie-icon{
    font-size:26px !important;
  }

  .cookie h3{
    font-size:17px !important;
    margin-bottom:3px !important;
  }

  .cookie p{
    font-size:11px !important;
    line-height:1.35 !important;
  }

  .cookie-buttons{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .cookie-buttons button{
    width:100% !important;
    height:32px !important;
    font-size:11px !important;
  }

  /* bottom nav */
  .bottom-nav{
    display:grid !important;
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    transform:none !important;
    width:100% !important;
    max-width:100% !important;
    height:66px !important;
    border-radius:14px 14px 0 0 !important;
    z-index:80 !important;
  }

  .bottom-nav a{
    font-size:10px !important;
    gap:3px !important;
  }

  .bottom-icon{
    width:24px !important;
    height:24px !important;
  }
}

@media(max-width:420px){
  .hero .illustration,
  .hero .illustration.compact{
    height:210px !important;
    min-height:210px !important;
  }

  .hero .hero-illustration-img{
    width:205px !important;
    max-width:205px !important;
    max-height:210px !important;
  }

  .hero-copy h1,
  .summary-panel h1{
    font-size:22px !important;
  }

  .footer-columns{
    grid-template-columns:1fr !important;
  }
}


/* v34: fix bottom gray gap — cookie bar is overlay again, not a page block */
@media(min-width:821px){
  html,
  body{
    min-height:100% !important;
    background:#f6f7fb !important;
  }

  .site-footer{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
  }

  .footer-bottom{
    margin-bottom:0 !important;
  }

  body{
    padding-bottom:0 !important;
  }

  .cookie{
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:24px !important;
    transform:translateX(-50%) !important;
    width:min(980px, calc(100vw - 80px)) !important;
    max-width:980px !important;
    min-height:78px !important;
    margin:0 !important;
    padding:14px 22px !important;
    border-radius:10px !important;
    z-index:120 !important;
    display:grid !important;
    grid-template-columns:58px minmax(0,1fr) 170px !important;
    gap:16px !important;
    align-items:center !important;
    box-shadow:0 16px 50px rgba(0,0,0,.16) !important;
  }
}


/* v35: checkout language switch fixes */
.lang-ar .checkout-card,
.lang-ar .payment-handoff-card{
  direction:rtl !important;
  text-align:right !important;
}

.lang-ar .checkout-offer-lines > div{
  grid-template-columns:auto 1fr 28px !important;
}

.lang-ar .checkout-ribbon{
  direction:ltr !important;
}

.lang-ar .checkout-next{
  direction:rtl !important;
}


/* v36: mobile header like reference, fixed cookie buttons, payment-ready checkout */
.mobile-app-banner{
  display:none;
}

@media(max-width:820px){
  /* app banner above purple strip */
  .mobile-app-banner{
    display:grid !important;
    grid-template-columns:26px 58px minmax(0,1fr) 82px;
    align-items:center;
    gap:10px;
    min-height:78px;
    padding:10px 14px;
    background:#f7f4fb;
    box-sizing:border-box;
  }

  .app-close{
    border:0;
    background:transparent;
    color:#b51b91;
    font-size:22px;
    line-height:1;
    padding:0;
  }

  .app-icon-mini{
    width:56px;
    height:56px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#b51b91,#f04cac);
    overflow:hidden;
  }

  .app-icon-mini img{
    width:42px;
    height:auto;
    filter:brightness(0) invert(1);
  }

  .app-text-mini{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
  }

  .app-text-mini strong{
    color:#1f1b2d;
    font-size:15px;
    line-height:1.15;
    white-space:nowrap;
  }

  .app-text-mini span{
    color:#676070;
    font-size:12px;
    line-height:1.25;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .app-open-btn{
    height:40px;
    border-radius:999px;
    background:#fff;
    color:#2b6bd8;
    display:grid;
    place-items:center;
    font-size:14px;
    font-weight:800;
    box-shadow:0 8px 22px rgba(30,24,45,.08);
  }

  /* top purple language/menu bar */
  .top-strip{
    display:block !important;
    height:42px !important;
    background:linear-gradient(90deg,#9d27a8,#f149a5) !important;
    color:#fff !important;
  }

  .strip-inner{
    height:42px !important;
    max-width:100% !important;
    padding:0 14px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  .strip-links{
    display:flex !important;
    align-items:center !important;
    min-width:0 !important;
  }

  .strip-links span:not(.active){
    display:none !important;
  }

  .strip-links .active{
    color:#fff !important;
    font-size:16px !important;
    font-weight:800 !important;
    opacity:1 !important;
    white-space:nowrap !important;
  }

  .strip-links .active::after{
    content:"⌄";
    margin-left:6px;
    font-size:14px;
  }

  .lang-switch{
    display:flex !important;
    align-items:center !important;
    height:42px !important;
    gap:7px !important;
    color:#fff !important;
    font-size:14px !important;
    flex:0 0 auto !important;
  }

  .lang-option{
    color:#fff !important;
    opacity:.75 !important;
    white-space:nowrap !important;
    font-weight:800 !important;
  }

  .lang-option.active{
    opacity:1 !important;
    text-decoration:underline !important;
    text-underline-offset:4px !important;
  }

  /* white rounded header card with all action icons */
  .header{
    position:sticky !important;
    top:0 !important;
    z-index:70 !important;
    background:transparent !important;
    padding:0 14px !important;
  }

  .header-inner{
    height:72px !important;
    width:100% !important;
    max-width:100% !important;
    border-radius:0 0 18px 18px !important;
    padding:0 12px !important;
    box-shadow:0 12px 30px rgba(31,24,47,.12) !important;
    background:#fff !important;
    display:flex !important;
    align-items:center !important;
  }

  .logo.inwi-brand{
    flex:1 1 auto !important;
    width:auto !important;
    min-width:0 !important;
  }

  .inwi-logo{
    width:118px !important;
    max-width:118px !important;
  }

  .logo-text{
    display:none !important;
  }

  .header-actions{
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    margin-left:auto !important;
    flex:0 0 auto !important;
  }

  .header-actions button,
  .header-actions button:not(.mobile-menu-btn),
  .header-actions .mobile-menu-btn{
    display:grid !important;
    place-items:center !important;
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    border-radius:50% !important;
    background:#fdeaf7 !important;
    color:#b51b91 !important;
    padding:0 !important;
  }

  .mobile-menu-btn{
    font-size:24px !important;
    line-height:1 !important;
  }

  .action-icon-img{
    max-width:22px !important;
    max-height:22px !important;
  }

  /* cookie: compact, buttons clickable and straight */
  .cookie{
    pointer-events:auto !important;
    z-index:999 !important;
    bottom:76px !important;
    grid-template-columns:34px minmax(0,1fr) !important;
    gap:8px 10px !important;
    padding:12px !important;
    border-radius:12px !important;
    box-shadow:0 12px 36px rgba(0,0,0,.18) !important;
  }

  .cookie-icon{
    font-size:25px !important;
    align-self:start !important;
  }

  .cookie h3{
    font-size:16px !important;
    line-height:1.15 !important;
    margin:0 0 3px !important;
    white-space:nowrap !important;
  }

  .cookie p{
    font-size:11px !important;
    line-height:1.3 !important;
    margin:0 !important;
  }

  .cookie-buttons{
    grid-column:1 / -1 !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
  }

  .cookie-buttons button{
    flex:1 1 0 !important;
    width:auto !important;
    min-width:0 !important;
    height:34px !important;
    white-space:nowrap !important;
    font-size:11px !important;
    line-height:1 !important;
    padding:0 8px !important;
    pointer-events:auto !important;
  }

  /* make bottom nav stay behind cookie, not blocking clicks */
  .bottom-nav{
    z-index:80 !important;
  }

  /* checkout note readability */
  .checkout-note{
    font-size:12px !important;
    line-height:1.45 !important;
    max-width:320px !important;
  }
}

@media(max-width:390px){
  .mobile-app-banner{
    grid-template-columns:20px 50px minmax(0,1fr) 72px;
    gap:8px;
    padding:8px 10px;
  }

  .app-icon-mini{
    width:50px;
    height:50px;
  }

  .app-open-btn{
    height:36px;
    font-size:13px;
  }

  .inwi-logo{
    width:104px !important;
    max-width:104px !important;
  }

  .header-actions{
    gap:3px !important;
  }

  .header-actions button,
  .header-actions button:not(.mobile-menu-btn),
  .header-actions .mobile-menu-btn{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
  }

  .cookie h3{
    font-size:15px !important;
  }
}


/* v37: cookie buttons click fix */
.cookie{
  pointer-events:auto !important;
}

.cookie *{
  pointer-events:auto !important;
}

.cookie-buttons{
  position:relative !important;
  z-index:1002 !important;
  pointer-events:auto !important;
}

.cookie-buttons button,
#acceptCookies,
#refuseCookies{
  position:relative !important;
  z-index:1003 !important;
  pointer-events:auto !important;
  cursor:pointer !important;
  touch-action:manipulation !important;
  -webkit-tap-highlight-color:rgba(181,27,145,.18) !important;
  user-select:none !important;
}

@media(max-width:820px){
  .cookie{
    z-index:1000 !important;
  }

  .bottom-nav{
    pointer-events:auto !important;
    z-index:80 !important;
  }
}


/* v38: center offer buttons/arrows and assistance card images */

/* Category cards: centered badge, title and arrow circle */
.acc-head{
  align-items:center !important;
}

.badge{
  display:grid !important;
  place-items:center !important;
  align-self:center !important;
  line-height:1 !important;
}

.acc-title{
  align-self:center !important;
  min-width:0 !important;
}

.acc-title b,
.acc-title small{
  display:block !important;
  max-width:100% !important;
}

.chevron{
  align-self:center !important;
  justify-self:end !important;
  margin:0 !important;
  display:grid !important;
  place-items:center !important;
  line-height:1 !important;
}

/* Assistance: icon, label and arrow centered like the reference */
.assist-cards{
  align-items:stretch !important;
}

.assist-card{
  display:grid !important;
  grid-template-columns:76px minmax(0,1fr) 26px !important;
  align-items:center !important;
  gap:22px !important;
  min-height:118px !important;
}

.assist-icon{
  width:72px !important;
  height:72px !important;
  min-width:72px !important;
  display:grid !important;
  place-items:center !important;
  align-self:center !important;
  justify-self:center !important;
  background:none !important;
  border-radius:14px !important;
  overflow:hidden !important;
}

.assist-icon img{
  width:72px !important;
  height:72px !important;
  object-fit:contain !important;
  display:block !important;
}

.assist-card strong{
  align-self:center !important;
  justify-self:start !important;
  text-align:left !important;
  line-height:1.28 !important;
  margin:0 !important;
}

.assist-card em{
  align-self:center !important;
  justify-self:end !important;
}

/* My inwi phone image */
.myinwi-phone-img{
  object-fit:contain !important;
  display:block !important;
  margin:0 auto !important;
}

/* Mobile centering */
@media(max-width:820px){
  .acc-head{
    align-items:center !important;
  }

  .chevron{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    align-self:center !important;
  }

  .acc-title b{
    font-size:15px !important;
    line-height:1.25 !important;
  }

  .acc-title small{
    font-size:12px !important;
    line-height:1.35 !important;
  }

  .assist-card{
    grid-template-columns:58px minmax(0,1fr) 22px !important;
    align-items:center !important;
    min-height:92px !important;
    gap:12px !important;
  }

  .assist-icon,
  .assist-icon img{
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
  }

  .assist-card strong{
    font-size:17px !important;
    line-height:1.25 !important;
  }
}

/* Arabic alignment */
.lang-ar .assist-card{
  grid-template-columns:26px minmax(0,1fr) 76px !important;
}

.lang-ar .assist-icon{
  grid-column:3 !important;
}

.lang-ar .assist-card strong{
  grid-column:2 !important;
  justify-self:end !important;
  text-align:right !important;
}

.lang-ar .assist-card em{
  grid-column:1 !important;
  justify-self:start !important;
}

@media(max-width:820px){
  .lang-ar .assist-card{
    grid-template-columns:22px minmax(0,1fr) 58px !important;
  }
}


/* v40: remove mobile app promo banner */
.mobile-app-banner{
  display:none !important;
}

@media(max-width:820px){
  .mobile-app-banner{
    display:none !important;
  }

  .top-strip{
    margin-top:0 !important;
  }

  body{
    padding-top:0 !important;
  }
}


/* v41: hard remove leftover app promo fragments */
.mobile-app-banner,
.app-close,
.app-icon-mini,
.app-text-mini,
.app-open-btn{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
}

body::before{
  content:none !important;
}


/* v42: Arabic form fix + policy/footer pages */
.latin-input{
  direction:ltr !important;
  text-align:left !important;
  unicode-bidi:plaintext !important;
}

.lang-ar .field{
  direction:rtl !important;
  text-align:right !important;
}

.lang-ar .field span{
  display:block !important;
  width:100% !important;
  text-align:right !important;
}

.lang-ar .field input.latin-input{
  direction:ltr !important;
  text-align:left !important;
}

.lang-ar .hero-copy h1,
.lang-ar .summary-panel h1{
  line-height:1.25 !important;
}

.legal-card{
  width:860px;
  max-width:100%;
  margin:0 auto 54px;
  background:#fff;
  border:1px solid #eee7f0;
  border-radius:18px;
  padding:42px 46px;
  box-shadow:0 14px 34px rgba(25,20,38,.05);
}

.legal-card h1{
  margin:0 0 22px;
  color:#2b1740;
  font-size:34px;
  line-height:1.15;
}

.legal-card p{
  margin:0 0 16px;
  color:#2f3443;
  font-size:16px;
  line-height:1.7;
}

.lang-ar .legal-card{
  direction:rtl;
  text-align:right;
}

.footer-columns{
  grid-template-columns:repeat(7,minmax(0,1fr)) !important;
}

.footer-columns a[href$=".html"]{
  text-decoration:none;
}

@media(max-width:1100px){
  .footer-columns{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

@media(max-width:820px){
  .legal-card{
    padding:26px 18px;
    border-radius:14px;
    margin-bottom:34px;
  }

  .legal-card h1{
    font-size:26px;
  }

  .legal-card p{
    font-size:14px;
    line-height:1.65;
  }

  .footer-columns{
    grid-template-columns:1fr 1fr !important;
  }
}

@media(max-width:420px){
  .footer-columns{
    grid-template-columns:1fr !important;
  }
}


/* v44: mobile Arabic hero fix — remove huge blank area and keep form visible */
@media(max-width:820px){
  .hero,
  .hero.hero-form,
  .hero.hero-summary,
  .lang-ar .hero,
  .lang-ar .hero.hero-form,
  .lang-ar .hero.hero-summary{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    height:auto !important;
    overflow:visible !important;
    border-radius:16px !important;
  }

  .hero .illustration,
  .hero .illustration.compact,
  .lang-ar .hero .illustration,
  .lang-ar .hero .illustration.compact{
    order:1 !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    padding:16px 14px 0 !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
    overflow:hidden !important;
  }

  .hero .hero-illustration-img,
  .lang-ar .hero .hero-illustration-img{
    width:230px !important;
    max-width:72% !important;
    height:auto !important;
    max-height:235px !important;
    object-fit:contain !important;
    object-position:center bottom !important;
    margin:0 auto !important;
    transform:none !important;
    position:static !important;
  }

  .hero-copy,
  .summary-panel,
  .lang-ar .hero-copy,
  .lang-ar .summary-panel{
    order:2 !important;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    transform:none !important;
    padding:22px 18px 24px !important;
    background:#fff !important;
    box-sizing:border-box !important;
    z-index:2 !important;
  }

  .lang-ar .hero-copy,
  .lang-ar .summary-panel{
    direction:rtl !important;
    text-align:right !important;
  }

  .hero-copy h1,
  .summary-panel h1,
  .lang-ar .hero-copy h1,
  .lang-ar .summary-panel h1{
    display:block !important;
    margin:0 0 10px !important;
    font-size:22px !important;
    line-height:1.25 !important;
    visibility:visible !important;
  }

  .hero-copy p,
  .summary-panel p,
  .lang-ar .hero-copy p,
  .lang-ar .summary-panel p{
    display:block !important;
    margin:0 0 16px !important;
    font-size:14px !important;
    line-height:1.55 !important;
    visibility:visible !important;
  }

  .recharge-form,
  .lang-ar .recharge-form{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    flex-direction:column !important;
    width:100% !important;
    max-width:100% !important;
    gap:13px !important;
    margin:0 !important;
    position:relative !important;
  }

  .field,
  .lang-ar .field{
    display:flex !important;
    flex-direction:column !important;
    gap:6px !important;
    width:100% !important;
  }

  .field span,
  .lang-ar .field span{
    display:block !important;
    width:100% !important;
  }

  .field input,
  .lang-ar .field input{
    width:100% !important;
    height:48px !important;
    box-sizing:border-box !important;
  }

  .primary-btn{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    height:50px !important;
  }

  .form-error{
    display:block;
    margin-top:6px !important;
    font-size:13px !important;
    line-height:1.4 !important;
  }

  .form-error[hidden]{
    display:none !important;
  }
}

/* very small phones */
@media(max-width:420px){
  .hero .hero-illustration-img,
  .lang-ar .hero .hero-illustration-img{
    width:215px !important;
    max-height:220px !important;
  }

  .hero-copy h1,
  .summary-panel h1,
  .lang-ar .hero-copy h1,
  .lang-ar .summary-panel h1{
    font-size:21px !important;
  }
}


/* v45: exact tariff data + flexible checkout cards */
.promo.empty{
  opacity:0;
}

.checkout-offer-lines b{
  display:flex !important;
  align-items:baseline;
  flex-wrap:wrap;
  gap:4px;
  min-width:0;
}

.checkout-offer-lines .line-old{
  color:#6f7380;
  text-decoration:line-through;
  text-decoration-thickness:2px;
  font-weight:700;
}

.checkout-offer-lines .line-sub{
  display:block;
  flex-basis:100%;
  color:#b51b91;
  font-size:11px;
  font-weight:500;
  margin-top:2px;
}

.checkout-offer-lines .line-separator{
  min-height:22px !important;
  border-bottom:0 !important;
  grid-template-columns:28px 1fr auto !important;
}

.checkout-offer-lines .line-separator b{
  font-size:13px !important;
  line-height:1 !important;
  color:#b51b91 !important;
  font-weight:800 !important;
}

.checkout-plan-note{
  margin:10px 0 0;
  padding:10px 0 0;
  border-top:1px solid #f0edf3;
  color:#b51b91;
  font-size:13px;
  line-height:1.45;
}

.checkout-ribbon[hidden]{
  display:none !important;
}

.offer-row .offer-name b{
  line-height:1.25;
}

@media(max-width:820px){
  .checkout-offer{
    width:min(390px, 100%) !important;
  }

  .checkout-offer-lines{
    padding:0 16px 12px !important;
  }

  .checkout-offer-lines > div{
    grid-template-columns:24px minmax(0,1fr) auto !important;
    gap:6px !important;
  }

  .checkout-offer-lines b{
    font-size:15px !important;
  }

  .checkout-offer-lines em{
    font-size:11px !important;
  }
}


/* v46: corrected offer labels + safer bottom spacing */
body{
  padding-bottom:92px;
}

@media(max-width:820px){
  body{
    padding-bottom:118px;
  }

  .bottom-nav{
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    max-width:none !important;
    border-radius:18px 18px 0 0 !important;
  }
}

/* v47: desktop navigation panel visible like the provided floating panel */
body{
  padding-bottom:122px !important;
}

.cookie{
  bottom:112px !important;
}

.bottom-nav{
  display:grid !important;
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  bottom:16px !important;
  transform:translateX(-50%) !important;
  width:min(990px, calc(100% - 56px)) !important;
  max-width:calc(100% - 56px) !important;
  height:78px !important;
  padding:8px 14px !important;
  background:#fff !important;
  border-radius:24px !important;
  box-shadow:0 12px 34px rgba(39,24,57,.12) !important;
  overflow:visible !important;
  grid-template-columns:repeat(5, minmax(0,1fr)) !important;
  gap:10px !important;
  align-items:stretch !important;
  z-index:85 !important;
}

.bottom-nav a{
  min-width:0 !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  padding:8px 10px !important;
  border-radius:14px !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  color:var(--mag) !important;
  text-align:center !important;
  white-space:nowrap !important;
}

.bottom-nav a.active{
  background:#f4deef !important;
}

.bottom-nav a:hover{
  background:#faecf6 !important;
}

.bottom-icon{
  width:26px !important;
  height:26px !important;
  object-fit:contain !important;
  display:block !important;
}

@media(max-width:820px){
  body{
    padding-bottom:118px !important;
  }

  .cookie{
    bottom:78px !important;
  }

  .bottom-nav{
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    transform:none !important;
    width:100% !important;
    max-width:none !important;
    height:68px !important;
    padding:0 !important;
    gap:0 !important;
    border-radius:18px 18px 0 0 !important;
    overflow:hidden !important;
  }

  .bottom-nav a{
    border-radius:0 !important;
    font-size:11px !important;
    gap:4px !important;
    white-space:normal !important;
  }

  .bottom-icon{
    width:24px !important;
    height:24px !important;
  }
}


/* v49: mobile cookie close reliability + sticky mobile header */
.cookie{
  pointer-events:auto !important;
}

.cookie-buttons,
.cookie-buttons button,
#acceptCookies,
#refuseCookies,
[data-cookie-close]{
  pointer-events:auto !important;
  touch-action:manipulation !important;
  -webkit-tap-highlight-color:rgba(181,27,145,.18) !important;
}

.cookie-buttons button{
  position:relative !important;
  z-index:1006 !important;
}

@media(max-width:820px){
  .header{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    padding:8px 10px 0 !important;
    box-sizing:border-box !important;
    z-index:950 !important;
    transform:translateZ(0);
  }

  .header-inner{
    height:66px !important;
    border-radius:18px !important;
    overflow:hidden !important;
    box-shadow:0 10px 28px rgba(27,19,44,.16) !important;
  }

  .page{
    padding-top:92px !important;
  }

  .cookie{
    z-index:1200 !important;
    bottom:78px !important;
    width:calc(100% - 20px) !important;
    max-width:560px !important;
    padding:14px 14px 16px !important;
    border-radius:16px !important;
  }

  .cookie-buttons{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    width:100% !important;
  }

  .cookie-buttons button{
    min-height:44px !important;
    font-size:13px !important;
  }

  .bottom-nav{
    z-index:900 !important;
  }
}


/* v51: mobile header matches original site layout more closely */
@media(max-width:820px){
  .top-strip{
    display:block !important;
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    height:58px !important;
    z-index:940 !important;
    background:linear-gradient(90deg,#a22aa6 0%,#ef4aa7 100%) !important;
    box-shadow:none !important;
  }

  .strip-inner{
    height:58px !important;
    max-width:100% !important;
    padding:0 18px !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    box-sizing:border-box !important;
    padding-top:12px !important;
  }

  .strip-links{
    display:flex !important;
    align-items:center !important;
  }

  .strip-links span:not(.active){
    display:none !important;
  }

  .strip-links .active{
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    color:#fff !important;
    font-size:16px !important;
    font-weight:800 !important;
    opacity:1 !important;
    white-space:nowrap !important;
  }

  .strip-links .active::after{
    content:"⌄" !important;
    font-size:13px !important;
    line-height:1 !important;
  }

  .lang-switch{
    display:flex !important;
    align-items:center !important;
    height:auto !important;
    gap:0 !important;
    font-size:16px !important;
  }

  .lang-switch span,
  .lang-option:not(.active){
    display:none !important;
  }

  .lang-option.active{
    color:#fff !important;
    opacity:1 !important;
    text-decoration:none !important;
    font-weight:800 !important;
  }

  .header{
    position:fixed !important;
    top:24px !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    padding:0 14px !important;
    box-sizing:border-box !important;
    z-index:950 !important;
    background:transparent !important;
    transform:translateZ(0);
  }

  .header-inner{
    width:100% !important;
    max-width:100% !important;
    height:64px !important;
    padding:0 10px 0 18px !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 8px 22px rgba(27,19,44,.14) !important;
    overflow:hidden !important;
  }

  .logo.inwi-brand{
    flex:1 1 auto !important;
    min-width:0 !important;
  }

  .inwi-logo{
    width:94px !important;
    max-width:94px !important;
  }

  .header-actions{
    gap:8px !important;
    margin-left:auto !important;
  }

  .header-actions button,
  .header-actions button:not(.mobile-menu-btn),
  .header-actions .mobile-menu-btn{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    border-radius:50% !important;
    background:#fdeaf7 !important;
    display:grid !important;
    place-items:center !important;
  }

  .mobile-menu-btn{
    font-size:26px !important;
    line-height:1 !important;
  }

  .action-icon-img{
    max-width:21px !important;
    max-height:21px !important;
  }

  .page{
    padding-top:108px !important;
  }
}


/* v52: mobile header card positioned like original */
@media(max-width:820px){
  .top-strip{
    display:block !important;
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    height:88px !important;
    z-index:940 !important;
    background:linear-gradient(90deg,#9c2aa6 0%,#ef4aa7 100%) !important;
  }

  .strip-inner{
    height:44px !important;
    padding:0 24px !important;
    padding-top:11px !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    box-sizing:border-box !important;
  }

  .strip-links,
  .strip-links .active{
    display:flex !important;
    align-items:center !important;
  }

  .strip-links span:not(.active){
    display:none !important;
  }

  .strip-links .active{
    color:#fff !important;
    font-size:15px !important;
    font-weight:800 !important;
    line-height:1 !important;
    opacity:1 !important;
  }

  .strip-links .active::after{
    content:"⌄" !important;
    margin-left:6px !important;
    font-size:12px !important;
    line-height:1 !important;
  }

  .lang-switch{
    display:flex !important;
    align-items:center !important;
    height:auto !important;
    gap:0 !important;
    font-size:15px !important;
    line-height:1 !important;
  }

  .lang-switch span,
  .lang-option:not(.active){
    display:none !important;
  }

  .lang-option.active{
    display:block !important;
    color:#fff !important;
    opacity:1 !important;
    text-decoration:none !important;
    font-weight:800 !important;
  }

  .header{
    position:fixed !important;
    top:46px !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    padding:0 28px !important;
    box-sizing:border-box !important;
    z-index:960 !important;
    background:transparent !important;
    transform:translateZ(0);
  }

  .header-inner{
    width:100% !important;
    max-width:100% !important;
    height:64px !important;
    min-height:64px !important;
    padding:0 10px 0 26px !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:0 10px 26px rgba(27,19,44,.13) !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  .logo.inwi-brand{
    flex:1 1 auto !important;
    min-width:0 !important;
    width:auto !important;
    gap:0 !important;
  }

  .inwi-logo{
    width:112px !important;
    max-width:112px !important;
    height:auto !important;
    display:block !important;
  }

  .logo-text,
  .logo.inwi-brand .logo-text{
    display:none !important;
  }

  .main-nav{
    display:none !important;
  }

  .header-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    margin-left:auto !important;
    flex:0 0 auto !important;
  }

  .header-actions button,
  .header-actions button:not(.mobile-menu-btn),
  .header-actions .mobile-menu-btn{
    display:grid !important;
    place-items:center !important;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    border-radius:50% !important;
    background:#fdeaf7 !important;
    color:#b51b91 !important;
    border:0 !important;
    padding:0 !important;
  }

  .action-icon-img{
    max-width:21px !important;
    max-height:21px !important;
  }

  .mobile-menu-btn{
    font-size:25px !important;
    line-height:1 !important;
  }

  .page{
    padding-top:126px !important;
  }
}

@media(max-width:390px){
  .header{
    padding:0 22px !important;
  }

  .header-inner{
    padding-left:20px !important;
  }

  .inwi-logo{
    width:104px !important;
    max-width:104px !important;
  }

  .header-actions{
    gap:6px !important;
  }

  .header-actions button,
  .header-actions button:not(.mobile-menu-btn),
  .header-actions .mobile-menu-btn{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
  }
}

@media(max-width:360px){
  .header{
    padding:0 18px !important;
  }

  .inwi-logo{
    width:96px !important;
    max-width:96px !important;
  }

  .header-actions{
    gap:4px !important;
  }

  .header-actions button,
  .header-actions button:not(.mobile-menu-btn),
  .header-actions .mobile-menu-btn{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
  }
}

/* v53: mobile header matched closer to original reference */
@media (max-width: 820px) {
  body[data-page="home"] .top-strip,
  body[data-page="offers"] .top-strip,
  body[data-page="checkout"] .top-strip,
  body[data-page="contact"] .top-strip,
  body[data-page="about"] .top-strip {
    position: fixed !important;
    top: 14px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    height: 58px !important;
    display: block !important;
    border-radius: 14px 14px 0 0 !important;
    background: linear-gradient(90deg,#9c2aa6 0%,#ef4aa7 100%) !important;
    z-index: 980 !important;
    overflow: visible !important;
    box-shadow: none !important;
  }

  body[data-page="home"] .top-strip .strip-inner,
  body[data-page="offers"] .top-strip .strip-inner,
  body[data-page="checkout"] .top-strip .strip-inner,
  body[data-page="contact"] .top-strip .strip-inner,
  body[data-page="about"] .top-strip .strip-inner {
    height: 58px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    padding-top: 16px !important;
  }

  .strip-links{
    gap: 0 !important;
  }

  .strip-links span:not(.active){
    display: none !important;
  }

  .strip-links .active{
    display: inline-flex !important;
    align-items: center !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .strip-links .active::after{
    content: "⌄" !important;
    font-size: 11px !important;
    margin-left: 7px !important;
    line-height: 1 !important;
  }

  .lang-switch{
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    height: auto !important;
  }

  .lang-switch span,
  .lang-option:not(.active){
    display: none !important;
  }

  .lang-option.active{
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0 !important;
    color: #fff !important;
    font-weight: 800 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  .lang-option.active::after{
    content: "Fr" !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .lang-option.active::before{
    content: none !important;
  }

  .lang-switch::after{
    content: "⌄" !important;
    font-size: 11px !important;
    color: #fff !important;
    margin-left: 7px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }

  body[data-page="home"] .header,
  body[data-page="offers"] .header,
  body[data-page="checkout"] .header,
  body[data-page="contact"] .header,
  body[data-page="about"] .header {
    position: fixed !important;
    top: 42px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 38px !important;
    background: transparent !important;
    z-index: 985 !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] .header-inner,
  body[data-page="offers"] .header-inner,
  body[data-page="checkout"] .header-inner,
  body[data-page="contact"] .header-inner,
  body[data-page="about"] .header-inner {
    max-width: 100% !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 16px 0 22px !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(27,19,44,.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: hidden !important;
  }

  .logo.inwi-brand{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }

  .inwi-logo{
    width: 102px !important;
    max-width: 102px !important;
    height: auto !important;
    display: block !important;
  }

  .logo-text,
  .logo.inwi-brand .logo-text,
  .main-nav{
    display: none !important;
  }

  .header-actions{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
    margin-left: 12px !important;
  }

  .header-actions button,
  .header-actions .mobile-menu-btn{
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fdeaf7 !important;
    border: 0 !important;
    padding: 0 !important;
    color: #b51b91 !important;
  }

  .action-icon-img{
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
  }

  .mobile-menu-btn{
    font-size: 25px !important;
    line-height: 1 !important;
  }

  .page{
    padding-top: 136px !important;
  }

  .breadcrumbs{
    margin-top: 4px !important;
  }
}

@media (max-width: 480px) {
  body[data-page="home"] .header,
  body[data-page="offers"] .header,
  body[data-page="checkout"] .header,
  body[data-page="contact"] .header,
  body[data-page="about"] .header {
    padding: 0 22px !important;
  }

  body[data-page="home"] .header-inner,
  body[data-page="offers"] .header-inner,
  body[data-page="checkout"] .header-inner,
  body[data-page="contact"] .header-inner,
  body[data-page="about"] .header-inner {
    padding: 0 14px 0 18px !important;
  }

  .header-actions{
    gap: 8px !important;
  }

  .header-actions button,
  .header-actions .mobile-menu-btn{
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .inwi-logo{
    width: 96px !important;
    max-width: 96px !important;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .top-strip,
  body[data-page="offers"] .top-strip,
  body[data-page="checkout"] .top-strip,
  body[data-page="contact"] .top-strip,
  body[data-page="about"] .top-strip {
    left: 10px !important;
    right: 10px !important;
  }

  body[data-page="home"] .header,
  body[data-page="offers"] .header,
  body[data-page="checkout"] .header,
  body[data-page="contact"] .header,
  body[data-page="about"] .header {
    padding: 0 18px !important;
    top: 42px !important;
  }

  .strip-links .active,
  .lang-option.active::after{
    font-size: 13px !important;
  }

  .header-actions{
    gap: 6px !important;
    margin-left: 8px !important;
  }

  .header-actions button,
  .header-actions .mobile-menu-btn{
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  .action-icon-img{
    width: 18px !important;
    height: 18px !important;
  }

  .inwi-logo{
    width: 88px !important;
    max-width: 88px !important;
  }
}

/* v54: fix missing "Particuliers" on mobile top bar and match original overlap */
@media (max-width: 820px) {
  body[data-page="home"] .top-strip,
  body[data-page="offers"] .top-strip,
  body[data-page="checkout"] .top-strip,
  body[data-page="contact"] .top-strip,
  body[data-page="about"] .top-strip {
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    height: 58px !important;
    z-index: 1002 !important;
    border-radius: 14px 14px 0 0 !important;
    overflow: visible !important;
  }

  body[data-page="home"] .top-strip .strip-inner,
  body[data-page="offers"] .top-strip .strip-inner,
  body[data-page="checkout"] .top-strip .strip-inner,
  body[data-page="contact"] .top-strip .strip-inner,
  body[data-page="about"] .top-strip .strip-inner {
    height: 58px !important;
    padding: 0 22px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    padding-top: 15px !important;
    position: relative !important;
    z-index: 1004 !important;
  }

  .strip-links,
  .lang-switch{
    position: relative !important;
    z-index: 1005 !important;
  }

  .strip-links .active,
  .lang-option.active::after{
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: 0 !important;
  }

  .strip-links .active{
    line-height: 1 !important;
  }

  .strip-links .active::after,
  .lang-switch::after{
    font-size: 10px !important;
    margin-left: 6px !important;
  }

  body[data-page="home"] .header,
  body[data-page="offers"] .header,
  body[data-page="checkout"] .header,
  body[data-page="contact"] .header,
  body[data-page="about"] .header {
    top: 34px !important;
    padding: 0 26px !important;
    z-index: 1003 !important;
  }

  body[data-page="home"] .header-inner,
  body[data-page="offers"] .header-inner,
  body[data-page="checkout"] .header-inner,
  body[data-page="contact"] .header-inner,
  body[data-page="about"] .header-inner {
    height: 64px !important;
    min-height: 64px !important;
    border-radius: 18px !important;
    padding: 0 16px 0 20px !important;
    overflow: visible !important;
  }

  .page{
    padding-top: 126px !important;
  }
}

@media (max-width: 480px) {
  body[data-page="home"] .header,
  body[data-page="offers"] .header,
  body[data-page="checkout"] .header,
  body[data-page="contact"] .header,
  body[data-page="about"] .header {
    padding: 0 18px !important;
  }

  body[data-page="home"] .header-inner,
  body[data-page="offers"] .header-inner,
  body[data-page="checkout"] .header-inner,
  body[data-page="contact"] .header-inner,
  body[data-page="about"] .header-inner {
    padding: 0 14px 0 18px !important;
  }

  body[data-page="home"] .top-strip .strip-inner,
  body[data-page="offers"] .top-strip .strip-inner,
  body[data-page="checkout"] .top-strip .strip-inner,
  body[data-page="contact"] .top-strip .strip-inner,
  body[data-page="about"] .top-strip .strip-inner {
    padding: 0 18px !important;
    padding-top: 15px !important;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .top-strip,
  body[data-page="offers"] .top-strip,
  body[data-page="checkout"] .top-strip,
  body[data-page="contact"] .top-strip,
  body[data-page="about"] .top-strip {
    left: 4px !important;
    right: 4px !important;
  }

  body[data-page="home"] .header,
  body[data-page="offers"] .header,
  body[data-page="checkout"] .header,
  body[data-page="contact"] .header,
  body[data-page="about"] .header {
    top: 34px !important;
    padding: 0 14px !important;
  }

  body[data-page="home"] .top-strip .strip-inner,
  body[data-page="offers"] .top-strip .strip-inner,
  body[data-page="checkout"] .top-strip .strip-inner,
  body[data-page="contact"] .top-strip .strip-inner,
  body[data-page="about"] .top-strip .strip-inner {
    padding: 0 14px !important;
    padding-top: 15px !important;
  }

  .strip-links .active,
  .lang-option.active::after{
    font-size: 13px !important;
  }
}


/* v55: fixed original-like mobile header */
@media (max-width: 820px) {
  body[data-page] .top-strip{
    position: fixed !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    height: 92px !important;
    border-radius: 14px 14px 0 0 !important;
    background: linear-gradient(90deg,#9c2aa6 0%,#ef4aa7 100%) !important;
    z-index: 980 !important;
    overflow: hidden !important;
  }

  body[data-page] .top-strip .strip-inner{
    height: 40px !important;
    padding: 14px 22px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  body[data-page] .strip-links span{display:none !important;}
  body[data-page] .strip-links .active{
    display:inline-flex !important;
    align-items:center !important;
    color:#fff !important;
    opacity:1 !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
  body[data-page] .strip-links .active::after{
    content:"⌄" !important;
    margin-left:6px !important;
    font-size:11px !important;
    color:#fff !important;
  }

  body[data-page] .lang-switch{
    display:inline-flex !important;
    align-items:center !important;
    color:#fff !important;
    gap:0 !important;
  }
  body[data-page] .lang-switch span,
  body[data-page] .lang-option{display:none !important;}
  body[data-page] .lang-option.active{
    display:inline-flex !important;
    color:#fff !important;
    opacity:1 !important;
    font-size:0 !important;
    font-weight:800 !important;
    text-decoration:none !important;
    line-height:1 !important;
  }
  body[data-page] .lang-option.active::after{
    content:"Fr" !important;
    font-size:14px !important;
  }
  body[data-page] .lang-switch::after{
    content:"⌄" !important;
    margin-left:6px !important;
    font-size:11px !important;
    color:#fff !important;
  }

  body[data-page] .header{
    position: fixed !important;
    top: 48px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 24px !important;
    background: transparent !important;
    z-index: 990 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  body[data-page] .header-inner{
    width: 100% !important;
    max-width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 14px 0 20px !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(27,19,44,.14) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body[data-page] .main-nav,
  body[data-page] .logo-text{display:none !important;}

  body[data-page] .logo.inwi-brand{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }

  body[data-page] .inwi-logo{
    width: 104px !important;
    max-width: 104px !important;
    height: auto !important;
    display: block !important;
  }

  body[data-page] .header-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    flex:0 0 auto !important;
    margin-left:10px !important;
  }

  body[data-page] .header-actions button,
  body[data-page] .header-actions .mobile-menu-btn{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    border-radius:50% !important;
    background:#fdeaf7 !important;
    border:0 !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:#b51b91 !important;
  }

  body[data-page] .action-icon-img{
    width:19px !important;
    height:19px !important;
    max-width:19px !important;
    max-height:19px !important;
  }

  body[data-page] .mobile-menu-btn{
    font-size:25px !important;
    line-height:1 !important;
  }

  body[data-page] .page{padding-top:130px !important;}
}

@media (max-width: 390px) {
  body[data-page] .top-strip{left:4px !important; right:4px !important;}
  body[data-page] .top-strip .strip-inner{padding-left:18px !important; padding-right:18px !important;}
  body[data-page] .header{padding-left:14px !important; padding-right:14px !important;}
  body[data-page] .header-inner{padding-left:18px !important; padding-right:12px !important;}
  body[data-page] .inwi-logo{width:94px !important; max-width:94px !important;}
  body[data-page] .header-actions{gap:6px !important;}
  body[data-page] .header-actions button,
  body[data-page] .header-actions .mobile-menu-btn{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
  }
}


/* v56: refine mobile header spacing to match original more closely */
@media (max-width: 820px) {
  body[data-page] .top-strip{
    height: 84px !important;
    border-radius: 14px 14px 0 0 !important;
  }

  body[data-page] .top-strip .strip-inner{
    height: 34px !important;
    padding: 12px 20px 0 !important;
    align-items: center !important;
  }

  body[data-page] .strip-links .active,
  body[data-page] .lang-option.active::after{
    font-size: 13px !important;
  }

  body[data-page] .strip-links .active::after,
  body[data-page] .lang-switch::after{
    margin-left: 5px !important;
    font-size: 10px !important;
  }

  body[data-page] .header{
    top: 36px !important;
    padding: 0 20px !important;
  }

  body[data-page] .header-inner{
    height: 62px !important;
    min-height: 62px !important;
    padding: 0 14px 0 18px !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 20px rgba(27,19,44,.12) !important;
  }

  body[data-page] .inwi-logo{
    width: 100px !important;
    max-width: 100px !important;
  }

  body[data-page] .header-actions{
    gap: 10px !important;
    margin-left: 12px !important;
  }

  body[data-page] .header-actions button,
  body[data-page] .header-actions .mobile-menu-btn{
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  body[data-page] .action-icon-img{
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }

  body[data-page] .mobile-menu-btn{
    font-size: 24px !important;
  }

  body[data-page] .page{
    padding-top: 116px !important;
  }
}

@media (max-width: 390px) {
  body[data-page] .top-strip{
    left: 6px !important;
    right: 6px !important;
    height: 82px !important;
  }

  body[data-page] .top-strip .strip-inner{
    padding: 11px 18px 0 !important;
  }

  body[data-page] .header{
    top: 34px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body[data-page] .header-inner{
    height: 60px !important;
    min-height: 60px !important;
    padding-left: 16px !important;
    padding-right: 12px !important;
  }

  body[data-page] .inwi-logo{
    width: 96px !important;
    max-width: 96px !important;
  }

  body[data-page] .header-actions{
    gap: 8px !important;
    margin-left: 10px !important;
  }

  body[data-page] .header-actions button,
  body[data-page] .header-actions .mobile-menu-btn{
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
  }

  body[data-page] .page{
    padding-top: 112px !important;
  }
}


/* v57: mobile top bar aligned like original + working language dropdown */
.lang-mobile{display:none;}

@media (max-width: 820px) {
  body[data-page] .top-strip{
    position: fixed !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    height: 58px !important;
    border-radius: 14px 14px 0 0 !important;
    background: linear-gradient(90deg,#9c2aa6 0%,#ef4aa7 100%) !important;
    z-index: 980 !important;
    overflow: visible !important;
  }

  body[data-page] .top-strip .strip-inner{
    height: 24px !important;
    padding: 14px 18px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  body[data-page] .strip-links span{display:none !important;}
  body[data-page] .strip-links .active{
    display:inline-flex !important;
    align-items:center !important;
    color:#fff !important;
    opacity:1 !important;
    font-size:13px !important;
    font-weight:800 !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
  body[data-page] .strip-links .active::after{
    content:"⌄" !important;
    margin-left:5px !important;
    font-size:10px !important;
    color:#fff !important;
  }

  body[data-page] .lang-switch{
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-width: 44px !important;
    justify-content: flex-end !important;
    overflow: visible !important;
  }

  body[data-page] .lang-switch > .lang-option,
  body[data-page] .lang-switch > span{display:none !important;}

  body[data-page] .lang-mobile{
    display:block !important;
    position:relative !important;
  }

  body[data-page] .lang-current{
    display:inline-flex !important;
    align-items:center !important;
    gap:5px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    background:transparent !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:800 !important;
    line-height:1 !important;
  }

  body[data-page] .lang-current-caret{
    font-size:10px !important;
    line-height:1 !important;
    transform: translateY(1px) !important;
  }

  body[data-page] .lang-mobile.open .lang-current-caret{
    transform: rotate(180deg) translateY(-1px) !important;
  }

  body[data-page] .lang-menu{
    display:none !important;
    position:absolute !important;
    top: calc(100% + 12px) !important;
    right: -6px !important;
    min-width: 64px !important;
    background:#fff !important;
    border-radius:4px !important;
    box-shadow:0 12px 28px rgba(23,16,38,.22) !important;
    overflow:hidden !important;
    z-index:1200 !important;
  }

  body[data-page] .lang-mobile.open .lang-menu{
    display:block !important;
  }

  body[data-page] .lang-menu-option{
    display:block !important;
    width:100% !important;
    padding:12px 14px !important;
    margin:0 !important;
    border:0 !important;
    background:#fff !important;
    color:#3c3550 !important;
    font-size:14px !important;
    font-weight:500 !important;
    line-height:1.1 !important;
    text-align:left !important;
  }

  body[data-page] .lang-menu-option.active{
    background:#f2dce8 !important;
  }

  body[data-page] .header{
    position: fixed !important;
    top: 26px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 20px !important;
    background: transparent !important;
    z-index: 990 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  body[data-page] .header-inner{
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 14px 0 20px !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(27,19,44,.14) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body[data-page] .main-nav,
  body[data-page] .logo-text{display:none !important;}

  body[data-page] .logo.inwi-brand{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }

  body[data-page] .inwi-logo{
    width: 104px !important;
    max-width: 104px !important;
    height: auto !important;
    display: block !important;
  }

  body[data-page] .header-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:10px !important;
    flex:0 0 auto !important;
    margin-left:12px !important;
  }

  body[data-page] .header-actions button,
  body[data-page] .header-actions .mobile-menu-btn{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    border-radius:50% !important;
    background:#fdeaf7 !important;
    border:0 !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:#b51b91 !important;
  }

  body[data-page] .action-icon-img{
    width:18px !important;
    height:18px !important;
    max-width:18px !important;
    max-height:18px !important;
  }

  body[data-page] .mobile-menu-btn{
    font-size:24px !important;
    line-height:1 !important;
  }

  body[data-page] .page{
    padding-top: 106px !important;
  }
}

@media (max-width: 390px) {
  body[data-page] .top-strip{
    left: 8px !important;
    right: 8px !important;
    height: 56px !important;
  }

  body[data-page] .top-strip .strip-inner{
    padding: 13px 16px 0 !important;
  }

  body[data-page] .header{
    top: 24px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body[data-page] .header-inner{
    height: 58px !important;
    min-height: 58px !important;
    padding-left: 16px !important;
    padding-right: 12px !important;
  }

  body[data-page] .inwi-logo{
    width: 96px !important;
    max-width: 96px !important;
  }

  body[data-page] .header-actions{
    gap: 8px !important;
    margin-left: 10px !important;
  }

  body[data-page] .header-actions button,
  body[data-page] .header-actions .mobile-menu-btn{
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
  }

  body[data-page] .page{
    padding-top: 102px !important;
  }
}


/* v58: remove the grey strip under footer on desktop/tablet */
html,
body{
  background:#f6eef7 !important;
}

/* Footer must visually continue down to the very bottom */
.footer{
  margin-bottom:0 !important;
  padding-bottom:118px !important;
  background:linear-gradient(90deg,#8f23aa 0%,#ef4aa7 100%) !important;
}

/* Desktop bottom panel sits on the footer gradient, not on a grey body gap */
@media (min-width:821px){
  .bottom-nav{
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:22px !important;
    transform:translateX(-50%) !important;
    z-index:900 !important;
    width:min(990px, calc(100% - 360px)) !important;
    max-width:990px !important;
    margin:0 !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:0 12px 34px rgba(27,19,44,.12) !important;
  }
}

/* Mobile keeps the normal fixed bottom navigation */
@media (max-width:820px){
  .footer{
    padding-bottom:90px !important;
  }
}


/* v59: hard fix for grey area below footer on desktop */
@media (min-width:821px){
  body::after{
    content:"" !important;
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:170px !important;
    background:linear-gradient(90deg,#8f23aa 0%,#ef4aa7 100%) !important;
    z-index:800 !important;
    pointer-events:none !important;
  }

  .bottom-nav{
    z-index:900 !important;
  }

  .cookie{
    z-index:1200 !important;
  }

  .footer{
    position:relative !important;
    z-index:850 !important;
    padding-bottom:155px !important;
    margin-bottom:-1px !important;
    background:linear-gradient(90deg,#8f23aa 0%,#ef4aa7 100%) !important;
  }
}

/* For pages where the footer is not tall enough, keep the page ending in the same gradient. */
.page-shell,
.site-wrap,
body{
  min-height:100vh !important;
}


/* v60: remove desktop bottom nav overlay, fix footer, fix mobile header overlap */
@media (min-width:821px){
  /* Remove the white floating bottom panel from desktop */
  .bottom-nav{
    display:none !important;
  }

  /* Undo previous hard fixed gradient layer */
  body::after{
    content:none !important;
    display:none !important;
  }

  html,
  body{
    padding-bottom:0 !important;
    background:#f4f5f8 !important;
  }

  .footer{
    margin-bottom:0 !important;
    padding-bottom:34px !important;
    background:linear-gradient(90deg,#8f23aa 0%,#ef4aa7 100%) !important;
  }

  .footer-bottom{
    padding-bottom:0 !important;
  }
}

/* Mobile: keep bottom nav, but make the footer end cleanly above it */
@media (max-width:820px){
  html,
  body{
    background:#f4f5f8 !important;
  }

  .footer{
    margin-bottom:0 !important;
    padding-bottom:88px !important;
    background:linear-gradient(90deg,#8f23aa 0%,#ef4aa7 100%) !important;
  }

  .bottom-nav{
    z-index:900 !important;
  }

  /* Fix hidden Particuliers/Fr: white header starts lower, labels stay visible */
  body[data-page] .top-strip{
    top:8px !important;
    left:8px !important;
    right:8px !important;
    height:96px !important;
    border-radius:14px 14px 0 0 !important;
    overflow:visible !important;
    z-index:980 !important;
  }

  body[data-page] .top-strip .strip-inner{
    height:38px !important;
    padding:14px 22px 0 !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    position:relative !important;
    z-index:1005 !important;
  }

  body[data-page] .strip-links .active,
  body[data-page] .lang-current,
  body[data-page] .lang-option.active::after{
    font-size:14px !important;
    font-weight:800 !important;
    color:#fff !important;
    opacity:1 !important;
    line-height:1 !important;
  }

  body[data-page] .header{
    top:44px !important;
    padding:0 24px !important;
    z-index:990 !important;
  }

  body[data-page] .header-inner{
    height:64px !important;
    min-height:64px !important;
    border-radius:18px !important;
    padding:0 14px 0 20px !important;
    overflow:hidden !important;
    background:#fff !important;
    box-shadow:0 10px 24px rgba(27,19,44,.14) !important;
  }

  body[data-page] .page{
    padding-top:132px !important;
  }
}

@media (max-width:390px){
  body[data-page] .top-strip{
    left:6px !important;
    right:6px !important;
    height:94px !important;
  }

  body[data-page] .top-strip .strip-inner{
    padding-left:18px !important;
    padding-right:18px !important;
  }

  body[data-page] .header{
    top:42px !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }

  body[data-page] .header-inner{
    height:62px !important;
    min-height:62px !important;
  }

  body[data-page] .page{
    padding-top:128px !important;
  }
}

/* v61: restore desktop floating bottom nav and hide it on refund page */
@media (min-width:821px){
  .bottom-nav{
    display:grid !important;
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    bottom:22px !important;
    transform:translateX(-50%) !important;
    z-index:900 !important;
    width:min(990px, calc(100% - 360px)) !important;
    max-width:990px !important;
    height:72px !important;
    margin:0 !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:0 12px 34px rgba(27,19,44,.12) !important;
    grid-template-columns:repeat(5,1fr) !important;
    overflow:hidden !important;
  }

  body::after{
    content:"" !important;
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:170px !important;
    background:linear-gradient(90deg,#8f23aa 0%,#ef4aa7 100%) !important;
    z-index:800 !important;
    pointer-events:none !important;
    display:block !important;
  }

  .footer{
    position:relative !important;
    z-index:850 !important;
    padding-bottom:155px !important;
    margin-bottom:-1px !important;
    background:linear-gradient(90deg,#8f23aa 0%,#ef4aa7 100%) !important;
  }

  .footer-bottom{
    padding-bottom:0 !important;
  }
}

/* Refund page: no bottom floating nav / no extra gradient tail */
body.page-refund .bottom-nav{
  display:none !important;
}

@media (min-width:821px){
  body.page-refund::after{
    content:none !important;
    display:none !important;
  }

  body.page-refund .footer{
    padding-bottom:34px !important;
  }
}

@media (max-width:820px){
  body.page-refund .bottom-nav{
    display:none !important;
  }

  body.page-refund .footer{
    padding-bottom:34px !important;
  }
}


/* v62: remove the desktop footer gradient tail; keep everything else */
@media (min-width:821px){
  body::after{
    content:none !important;
    display:none !important;
  }

  body:not(.page-refund) .footer{
    padding-bottom:34px !important;
    margin-bottom:0 !important;
  }

  body:not(.page-refund) .bottom-nav{
    display:grid !important;
  }
}


/* v63: mobile-only cleanup for top header and footer/bottom nav */
@media (max-width:820px){
  /* Top purple strip: keep text above the white card and visible */
  body[data-page] .top-strip{
    position:fixed !important;
    top:8px !important;
    left:8px !important;
    right:8px !important;
    width:auto !important;
    height:96px !important;
    border-radius:14px 14px 0 0 !important;
    overflow:visible !important;
    z-index:980 !important;
    background:linear-gradient(90deg,#9c2aa6 0%,#ef4aa7 100%) !important;
  }

  body[data-page] .top-strip .strip-inner{
    height:34px !important;
    padding:11px 22px 0 !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    box-sizing:border-box !important;
    position:relative !important;
    z-index:1008 !important;
    pointer-events:auto !important;
  }

  body[data-page] .strip-links,
  body[data-page] .lang-switch{
    position:relative !important;
    z-index:1010 !important;
  }

  body[data-page] .strip-links span{
    display:none !important;
  }

  body[data-page] .strip-links .active{
    display:inline-flex !important;
    align-items:center !important;
    color:#fff !important;
    opacity:1 !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1 !important;
    white-space:nowrap !important;
    text-shadow:0 1px 1px rgba(0,0,0,.08) !important;
  }

  body[data-page] .strip-links .active::after{
    content:"⌄" !important;
    margin-left:6px !important;
    font-size:11px !important;
    color:#fff !important;
    transform:translateY(-1px) !important;
  }

  body[data-page] .lang-current,
  body[data-page] .lang-option.active::after{
    color:#fff !important;
    opacity:1 !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1 !important;
  }

  body[data-page] .lang-switch::after,
  body[data-page] .lang-current-caret{
    color:#fff !important;
    font-size:11px !important;
  }

  /* White header card starts lower so it does not cover Particuliers / Fr */
  body[data-page] .header{
    position:fixed !important;
    top:42px !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    padding:0 24px !important;
    box-sizing:border-box !important;
    background:transparent !important;
    z-index:1000 !important;
    transform:none !important;
  }

  body[data-page] .header-inner{
    height:64px !important;
    min-height:64px !important;
    width:100% !important;
    max-width:100% !important;
    border-radius:18px !important;
    padding:0 14px 0 20px !important;
    background:#fff !important;
    box-shadow:0 10px 24px rgba(27,19,44,.14) !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  body[data-page] .page{
    padding-top:130px !important;
  }

  /* Mobile footer: remove the huge empty gradient area and grey strip above bottom nav */
  .footer{
    margin-bottom:0 !important;
    padding-top:34px !important;
    padding-bottom:88px !important;
    min-height:0 !important;
    background:linear-gradient(90deg,#8f23aa 0%,#ef4aa7 100%) !important;
  }

  .footer-inner{
    padding-bottom:0 !important;
  }

  .footer-grid{
    margin-bottom:18px !important;
    row-gap:24px !important;
  }

  .footer-bottom{
    padding-top:14px !important;
    padding-bottom:0 !important;
    margin-bottom:0 !important;
  }

  /* Bottom nav sits directly at the bottom, no grey block above it */
  .bottom-nav{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    height:68px !important;
    margin:0 !important;
    border-radius:18px 18px 0 0 !important;
    background:#fff !important;
    z-index:1100 !important;
    box-shadow:0 -8px 22px rgba(27,19,44,.10) !important;
  }

  html,
  body{
    background:#f4f5f8 !important;
  }

  body{
    padding-bottom:68px !important;
  }
}

@media (max-width:390px){
  body[data-page] .top-strip{
    left:6px !important;
    right:6px !important;
    height:94px !important;
  }

  body[data-page] .top-strip .strip-inner{
    padding-left:18px !important;
    padding-right:18px !important;
  }

  body[data-page] .header{
    top:40px !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }

  body[data-page] .header-inner{
    height:62px !important;
    min-height:62px !important;
    padding-left:18px !important;
    padding-right:12px !important;
  }

  body[data-page] .page{
    padding-top:126px !important;
  }

  .footer{
    padding-bottom:86px !important;
  }
}


/* v64: mobile header without Particuliers top strip; language switch between logo and search */
@media (max-width:820px){
  body[data-page] .top-strip{
    display:none !important;
  }

  body[data-page] .header{
    position:fixed !important;
    top:8px !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    padding:0 8px !important;
    background:transparent !important;
    z-index:990 !important;
    box-sizing:border-box !important;
    transform:none !important;
  }

  body[data-page] .header-inner{
    height:64px !important;
    min-height:64px !important;
    border-radius:18px !important;
    padding:0 14px 0 18px !important;
    background:#fff !important;
    box-shadow:0 8px 18px rgba(27,19,44,.12) !important;
    overflow:visible !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  body[data-page] .page{
    padding-top:88px !important;
  }

  body[data-page] .logo.inwi-brand{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
  }

  body[data-page] .inwi-logo{
    width:105px !important;
    max-width:105px !important;
    height:auto !important;
    display:block !important;
  }

  body[data-page] .header-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    flex:0 0 auto !important;
    margin-left:auto !important;
  }

  body[data-page] .header-actions button,
  body[data-page] .header-actions .mobile-menu-btn,
  body[data-page] .header-mobile-lang{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    border-radius:50% !important;
    background:#FAE5F4 !important;
    border:0 !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:#AD2184 !important;
  }

  body[data-page] .header-mobile-lang{
    order:-1 !important;
    position:relative !important;
    font-size:13px !important;
    font-weight:800 !important;
    line-height:1 !important;
    cursor:pointer !important;
    overflow:visible !important;
  }

  body[data-page] .header-mobile-lang .header-lang-label{
    transform:translateY(-1px) !important;
  }

  body[data-page] .header-mobile-lang-menu{
    display:none !important;
    position:absolute !important;
    top:42px !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    min-width:64px !important;
    background:#fff !important;
    border-radius:6px !important;
    box-shadow:0 12px 28px rgba(23,16,38,.22) !important;
    overflow:hidden !important;
    z-index:1600 !important;
  }

  body[data-page] .header-mobile-lang.open .header-mobile-lang-menu{
    display:block !important;
  }

  body[data-page] .header-mobile-lang-option{
    display:block !important;
    width:100% !important;
    padding:12px 14px !important;
    border:0 !important;
    background:#fff !important;
    color:#3c3550 !important;
    font-size:14px !important;
    font-weight:500 !important;
    text-align:left !important;
    line-height:1 !important;
    cursor:pointer !important;
  }

  body[data-page] .header-mobile-lang-option.active{
    background:#f2dce8 !important;
  }

  body[data-page] .action-icon-img{
    width:19px !important;
    height:19px !important;
    max-width:19px !important;
    max-height:19px !important;
  }

  body[data-page] .mobile-menu-btn{
    font-size:24px !important;
    line-height:1 !important;
  }
}

@media (max-width:390px){
  body[data-page] .header{
    top:8px !important;
    padding-left:6px !important;
    padding-right:6px !important;
  }

  body[data-page] .header-inner{
    height:62px !important;
    min-height:62px !important;
    padding-left:16px !important;
    padding-right:10px !important;
  }

  body[data-page] .inwi-logo{
    width:96px !important;
    max-width:96px !important;
  }

  body[data-page] .header-actions{
    gap:7px !important;
  }

  body[data-page] .header-actions button,
  body[data-page] .header-actions .mobile-menu-btn,
  body[data-page] .header-mobile-lang{
    width:35px !important;
    height:35px !important;
    min-width:35px !important;
  }

  body[data-page] .page{
    padding-top:84px !important;
  }
}


/* v65: hide mobile language button on desktop + smooth hide bottom nav on scroll */
.header-mobile-lang{
  display:none !important;
}

.header-mobile-lang-menu{
  display:none !important;
}

@media (min-width:821px){
  body[data-page] .header-mobile-lang,
  body[data-page] .header-mobile-lang *{
    display:none !important;
  }
}

/* The Fr/Ar button should exist only in the mobile white header */
@media (max-width:820px){
  body[data-page] .header-mobile-lang{
    display:inline-flex !important;
  }

  body[data-page] .header-mobile-lang.open .header-mobile-lang-menu{
    display:block !important;
  }
}

/* Smooth bottom panel disappearing while scrolling down */
.bottom-nav{
  transition:
    transform .34s cubic-bezier(.22,.61,.36,1),
    opacity .34s cubic-bezier(.22,.61,.36,1),
    visibility .34s cubic-bezier(.22,.61,.36,1) !important;
  will-change:transform, opacity !important;
}

body.bottom-nav-hidden .bottom-nav{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

@media (min-width:821px){
  body.bottom-nav-hidden .bottom-nav{
    transform:translateX(-50%) translateY(110px) !important;
  }
}

@media (max-width:820px){
  body.bottom-nav-hidden .bottom-nav{
    transform:translateY(110px) !important;
  }
}
/* Расстояние между главным блоком и карточками */
main.page > section.hero.hero-form {
  margin-bottom: 42px !important;
}

/* Расстояние между Les recharges и Comment consulter */
main.page > section.info-card {
  margin-top: 0 !important;
  margin-bottom: 42px !important;
}

/* Если scratch-banner скрыт, чтобы Les recharges не прилипал к hero */
main.page > section.hero.hero-form + section.scratch-banner + section.info-card,
main.page > section.hero.hero-form + section.info-card {
  margin-top: 42px !important;
}

/* Последняя карточка */
main.page > section.info-card.balance {
  margin-bottom: 50px !important;
}
/* Убираем фиолетовый scratch-блок полностью */
body[data-page="home"] main.page > section.scratch-banner {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Расстояние после первого блока формы */
body[data-page="home"] main.page > section.hero.hero-form {
  margin-bottom: 36px !important;
}

/* Расстояние перед Les recharges inwi, даже если scratch-banner есть в HTML */
body[data-page="home"] main.page > section.scratch-banner + section.info-card,
body[data-page="home"] main.page > section.hero.hero-form + section.info-card {
  margin-top: 36px !important;
}

/* На мобилке тоже */
@media (max-width: 820px) {
  body[data-page="home"] main.page > section.hero.hero-form {
    margin-bottom: 34px !important;
  }

  body[data-page="home"] main.page > section.scratch-banner + section.info-card,
  body[data-page="home"] main.page > section.hero.hero-form + section.info-card {
    margin-top: 34px !important;
  }
}