
:root{
  --red:#e5163f;
  --red-dark:#bf1234;
  --text:#303640;
  --muted:#6d7280;
  --light:#efefef;
  --line:#d9d9d9;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#fff;
}
a{color:inherit}
.hero{
  background:#eeeeee;
  height:120px;
  overflow:hidden;
  position:relative;
}
.hero:before,
.hero:after{
  content:"";
  position:absolute;
  border:10px solid rgba(0,0,0,.08);
  transform:rotate(-7deg);
}
.hero:before{
  width:240px;
  height:86px;
  right:280px;
  top:-22px;
}
.hero:after{
  width:178px;
  height:72px;
  right:70px;
  top:-8px;
  transform:rotate(9deg);
}
.container{
  width:min(1120px, calc(100% - 44px));
  margin:0 auto;
}
.top-title{
  padding:28px 0 4px;
}
.top-title h1{
  margin:0 0 6px;
  font-size:24px;
  color:#3b4048;
}
.top-title p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}
.toolbar{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.search{
  width:min(380px, 100%);
  height:34px;
  border:1px solid #c9c9c9;
  padding:0 12px;
  font-size:14px;
}
.modules{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:100px;
  row-gap:64px;
  padding:44px 0 60px;
}
.module{
  display:grid;
  grid-template-columns:62px 1fr;
  gap:20px;
  min-height:155px;
}
.icon{
  width:42px;
  height:42px;
  margin-top:2px;
  display:grid;
  place-items:center;
}
.icon svg{
  width:38px;
  height:38px;
}
.module h2{
  font-size:20px;
  line-height:1.15;
  margin:0 0 4px;
  color:#3a3f47;
}
.meta{
  color:var(--red);
  font-size:14px;
  line-height:1.35;
  margin-bottom:16px;
}
.price{
  font-weight:bold;
}
.desc{
  font-size:14px;
  line-height:1.45;
  min-height:50px;
  max-width:430px;
}
.buttons{
  display:flex;
  gap:3px;
  margin-top:18px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 30px;
  background:var(--red);
  color:white;
  text-decoration:none;
  border:0;
  font-weight:bold;
  font-size:13px;
  cursor:pointer;
  font-family:Arial, Helvetica, sans-serif;
}
.btn:hover{background:var(--red-dark)}
.btn.secondary{
  background:#444b55;
}
.btn.secondary:hover{
  background:#303640;
}
.purchase{
  background:#efefef;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  padding:26px 0 34px;
}
.purchase h2,
.content h2{
  font-size:22px;
  letter-spacing:.04em;
  margin:0 0 12px;
  color:#474c55;
}
.purchase h2{
  color:var(--red);
  font-size:18px;
  letter-spacing:.02em;
}
.purchase p{
  margin:0 0 18px;
  line-height:1.55;
}
.purchase a.inline{
  color:var(--red);
  text-decoration:none;
}
.select-row{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
}
select{
  height:34px;
  min-width:150px;
  padding:0 12px;
  border:1px solid #bbb;
  background:white;
}
.content{
  padding:60px 0 80px;
}
.detail-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 420px;
  gap:80px;
  align-items:start;
}
.lead{
  font-weight:bold;
  line-height:1.5;
  margin:0 0 28px;
}
.details-text{
  font-size:15px;
  line-height:1.65;
  color:#1f2b44;
  max-width:720px;
}
.prereq-line{
  display:flex;
  align-items:center;
  gap:20px;
  margin:24px 0 28px;
  flex-wrap:wrap;
}
.mock-screen{
  width:100%;
  min-height:240px;
  background:#1f242b;
  border-radius:4px;
  padding:16px;
  box-shadow:0 12px 22px rgba(0,0,0,.25);
}
.mock-inner{
  height:210px;
  background:#e6eef8;
  border:1px solid #92a9c4;
  padding:8px;
  font-size:10px;
  color:#465260;
}
.mock-bar{
  height:16px;
  background:#b7cae5;
  margin-bottom:8px;
}
.mock-table{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:4px;
}
.mock-table div{
  height:16px;
  background:#cfdced;
}
.preview-image{
  width:100%;
  display:block;
  border-radius:4px;
  box-shadow:0 12px 22px rgba(0,0,0,.2);
}
.back{
  display:inline-block;
  margin-bottom:20px;
  color:var(--red);
  text-decoration:none;
  font-weight:bold;
}
.empty{
  padding:40px 0;
  color:var(--muted);
}
.error{
  padding:30px;
  background:#fff4f5;
  border:1px solid #ffc9d2;
  color:#7d1026;
  margin:40px 0;
}
@media(max-width:850px){
  .modules{
    grid-template-columns:1fr;
    row-gap:38px;
  }
  .detail-grid{
    grid-template-columns:1fr;
  }
  .module{
    grid-template-columns:48px 1fr;
  }
}

.inline-buttons{
  display:inline-flex;
  margin-top:0;
}
.empty-inline{
  color:var(--muted);
  font-size:14px;
}

.lang-switch{
  position:absolute;
  right:calc((100% - min(1120px, calc(100% - 44px))) / 2);
  bottom:18px;
  display:flex;
  gap:6px;
}
.lang-switch a{
  min-width:38px;
  height:28px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#303640;
  text-decoration:none;
  font-weight:bold;
  font-size:13px;
  border:1px solid #ddd;
}
.lang-switch a.active{
  background:var(--red);
  color:#fff;
  border-color:var(--red);
}

.purchase-method{font-weight:bold;color:#474c55;margin-top:-8px!important}

/* v4 fix */
.lang-switch{
  position:absolute !important;
  right:40px !important;
  bottom:18px !important;
  display:flex !important;
  gap:6px !important;
  z-index:5 !important;
}
.lang-switch a{
  min-width:38px !important;
  height:28px !important;
  display:grid !important;
  place-items:center !important;
  background:#fff !important;
  color:#303640 !important;
  text-decoration:none !important;
  font-weight:bold !important;
  font-size:13px !important;
  border:1px solid #ddd !important;
}
.lang-switch a.active{
  background:var(--red) !important;
  color:#fff !important;
  border-color:var(--red) !important;
}

.custom-icon{
  max-width:42px;
  max-height:42px;
  object-fit:contain;
  display:block;
}
