/* =========================================================
   HEBERPAGE — PACK COMPARE
   ========================================================= */

.hp-pack-compare{
  padding:45px 20px 70px;
  background:#fff;
  color:#061747;
}

.hp-pack-compare__container{
  width:min(1180px,100%);
  margin:auto;
}

/* Standard features */

.hp-pack-standard{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:35px;
  align-items:center;
  padding:26px 34px;
  margin-bottom:26px;
  border-radius:22px;
  background:#f4f7fb;
}

.hp-pack-standard__badge{
  display:inline-block;
  margin-bottom:8px;
  padding:5px 9px;
  border-radius:5px;
  background:#ffd15c;
  color:#061747;
  font-size:12px;
  
  text-transform:uppercase;
}

.hp-pack-standard__heading h2,
.hp-pack-standard__heading h3{
  margin:0;
  color:#061747;
  font-size:30px;
  
}

.hp-pack-standard__intro{
  margin-top:10px;
  color:#526481;
  font-size:14px;
  
}

.hp-pack-standard__features{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px 24px;
}

.hp-pack-standard__feature{
  display:flex;
  align-items:center;
  gap:10px;
  color:#10295a;
  font-size:14px;
}

.hp-pack-standard__feature > span{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  flex:0 0 22px;
  border-radius:50%;
  background:#e7f1ff;
  color:#1765e8;
  font-size:13px;
}

/* Toggle */

.hp-pack-compare__toggle{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 28px;
  padding:0;
  border:0;
  background:transparent;
  color:#061747;
  
  font-size:15px;
  
  text-transform:uppercase;
  cursor:pointer;
}

.hp-pack-compare__toggle i{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#1765e8;
  color:#fff;
}

.hp-pack-compare__toggle i::before{
  content:"↓";
  font-style:normal;
  font-size:20px;
}

.hp-pack-compare__toggle[aria-expanded="true"] i::before{
  content:"↑";
}

/* Table wrapper */

.hp-pack-compare__scroll{
  overflow-x:auto;
  border:1px solid #dce4ef;
  border-radius:20px;
}

.hp-pack-compare__table{
  min-width:900px;
  display:grid;
  grid-template-columns:240px repeat(var(--hp-plan-count),minmax(0,1fr));
}

/* Corner */

.hp-pack-compare__corner{
  min-height:250px;
  border-right:1px solid #dce4ef;
  background:#fff;
}

/* Plan card */

.hp-pack-compare__plan{
  position:relative;
  min-width:0;
  min-height:250px;
  border-right:1px solid #dce4ef;
  background:#fff;
}

.hp-pack-compare__plan:last-of-type{
  border-right:0;
}

.hp-pack-compare__recommended{
  height:38px;
  display:grid;
  place-items:center;
  background:#dcecff;
  color:#061747;
  font-size:13px;
  
}

.hp-pack-compare__plan-body{
  display:flex;
  flex-direction:column;
  min-height:250px;
  padding:24px 28px 26px;
}

.hp-pack-compare__plan.is-recommended .hp-pack-compare__plan-body{
  min-height:212px;
}

.hp-pack-compare__plan h3{
  margin:0 0 10px;
  color:#061747;
  font-size:27px;
  
}

.hp-pack-compare__plan-body > small{
  color:#657694;
  font-size:13px;
}

.hp-pack-compare__price{
  display:flex;
  align-items:baseline;
  gap:5px;
  margin:14px 0 16px;
  white-space:nowrap;
}

.hp-pack-compare__price strong{
  color:#f45555;
  font-size:38px;
  
  
}

.hp-pack-compare__price span{
  color:#061747;
  font-size:14px;
  
}

.hp-pack-compare__price small{
  color:#061747;
  font-size:13px;
}

.hp-pack-compare__plan-body p{
  min-height:42px;
  margin:0 0 18px;
  color:#526481;
  font-size:13px;
  
}

.hp-pack-compare__plan-body > a{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  margin-top:auto;
  border-radius:8px;
  background:#1765e8;
  color:#fff;
  font-size:14px;
  
  text-decoration:none;
}

.hp-pack-compare__plan-body > a:hover{
  filter:brightness(.95);
}

/* Comparison rows */

.hp-pack-compare__group{
  grid-column:1;
  padding:14px 18px;
  background:#dcecff;
  color:#061747;
  font-size:14px;
  
}

.hp-pack-compare__group-fill{
  padding:14px;
  background:#dcecff;
  border-left:1px solid #d2deec;
}

.hp-pack-compare__label,
.hp-pack-compare__value{
  min-height:46px;
  display:flex;
  align-items:center;
  padding:11px 18px;
  border-top:1px solid #e2e8f0;
  background:#fff;
  color:#061747;
  font-size:14px;
 border-bottom: 1px solid #e7ebf0;
}

.hp-pack-compare__value{
  border-left:1px solid #e2e8f0;
}

.hp-pack-compare__label:nth-of-type(even),
.hp-pack-compare__value:nth-of-type(even){
  background:#fafafa;
}

.hp-pack-compare__value.is-check{
  color:#1765e8;
  font-size:20px;
  
}

/* Tablet */

@media (max-width:900px){.hp-pack-standard{
    grid-template-columns:1fr;
  }
.hp-pack-standard__features{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
.hp-pack-compare__table{
    grid-template-columns:210px repeat(var(--hp-plan-count),280px);
  }}

/* Mobile */

@media (max-width:600px){.hp-pack-compare{
    padding:35px 14px 55px;
  }
.hp-pack-standard{
    padding:22px;
    border-radius:16px;
  }
.hp-pack-standard__heading h2,
  .hp-pack-standard__heading h3{
    font-size:25px;
  }
.hp-pack-standard__features{
    grid-template-columns:1fr;
  }
.hp-pack-compare__toggle{
    font-size:13px;
  }
.hp-pack-compare__table{
    grid-template-columns:180px repeat(var(--hp-plan-count),250px);
  }
.hp-pack-compare__corner,
  .hp-pack-compare__plan{
    min-height:225px;
  }
.hp-pack-compare__plan-body{
    min-height:225px;
    padding:20px;
  }
.hp-pack-compare__price strong{
    font-size:31px;
  }}

/* =========================================================
   FIX RECOMMENDED + REMOVE PLAN CARD OUTLINES
   ========================================================= */

/* نلغي ستايل hosting-plan العادي داخل جدول المقارنة */

.hp-pack-compare .hp-pack-compare__plan.hosting-plan{
  position:relative !important;
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;

  border:0 !important;
  border-right:1px solid #e7ebf0 !important;
  border-radius:0 !important;

  outline:0 !important;
  box-shadow:none !important;
  transform:none !important;
  overflow:hidden !important;
  background:#fff !important;
  border-top: 1px solid #e7ebf0 !important;
}

.hp-pack-compare .hp-pack-compare__plan.hosting-plan:last-of-type{
  border-right:0 !important;
}

/* حيد أي line دايرة بكل Pack */

.hp-pack-compare .hp-pack-compare__plan::before,
.hp-pack-compare .hp-pack-compare__plan::after{
  content:none !important;
  display:none !important;
}

/* Recommended داخل نفس column ديال Boost */

.hp-pack-compare__plan.is-recommended{
  display:grid !important;
  grid-template-rows:42px 1fr !important;
  align-self:stretch !important;
  background:#fff !important;
}

/* الشريط الفوقاني */

.hp-pack-compare__recommended{
  position:static !important;
  inset:auto !important;

  width:100% !important;
  height:42px !important;
  min-height:42px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:0 12px !important;
  box-sizing:border-box !important;

  border:0 !important;
  border-radius:0 !important;
  background:#dcecff !important;
  color:#08245a !important;

  font-size:14px !important;
  
  
  text-align:center !important;
}

section.hp-pack-compare
.hp-pack-compare__container
.hp-pack-compare__panel
.hp-pack-compare__scroll{
  border-left:none !important;
  border-top:none !important;
  border-bottom:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

section.hp-pack-compare
.hp-pack-compare__table{
  border-left:none !important;
  border-top:none !important;
  border-bottom:none !important;
  border-radius:0 !important;
}
