/* SECTION */

.section-box{
  background:#fafafa;
  border:1px solid #eee;
  border-radius:12px;
  margin-bottom:20px;
  overflow:hidden;
}

.section-head{
  padding:16px 20px;
  border-bottom:1px solid #eee;
  display:flex;
  align-items:center;
  gap:12px;
}

.step{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#0a3d62;
  color:#fff;
  font-size:12px;
  font-weight:bold;
  display:flex;
  align-items:center;
  justify-content:center;
}

.section-head h3{
  font-size:15px;
}

.section-body{
  padding:20px;
}

/* GRID */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:14px;
}

.thumb{
  border-radius:12px;
  overflow:hidden;
  border:1px solid #ddd;
  background:#fff;
  position:relative;
}

.thumb img{
  width:100%;
  height:130px;
  object-fit:cover;
  display:block;
}

.add-box{
  border:2px dashed #ccc;
  border-radius:12px;
  min-height:130px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  cursor:pointer;
  background:#fff;
  transition:0.3s;
  padding:10px;
}

.add-box:hover{
  border-color:#0a3d62;
  background:#f0f7ff;
}

.add-box span{
  font-size:13px;
  font-weight:bold;
  color:#555;
}

.info{
  padding:10px;
  font-size:12px;
  line-height:1.7;
  border-top:1px solid #eee;
  background:#fafafa;
}

.info div{
  margin-bottom:4px;
}

.badge{
  display:inline-block;
  padding:4px 8px;
  border-radius:30px;
  background:#e8f5ee;
  color:#0d8a4f;
  font-size:11px;
  font-weight:bold;
}

/* OPTIONS */

.option-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:15px;
}

.label{
  display:block;
  font-size:14px;
  font-weight:bold;
  margin-bottom:8px;
}

.input-box,
.select-box{
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid #ccc;
  outline:none;
}

.input-box:focus,
.select-box:focus{
  border-color:#0a3d62;
}

/* BUTTON */

.btns{
  display:flex;
  justify-content:flex-end;
  margin-top:20px;
}

.app{
  background:linear-gradient(135deg,#0a3d62,#07517d);
  color:#fff;
  border:none;
  padding:13px 24px;
  border-radius:5px;
  cursor:pointer;
  font-size:14px;
  font-weight:bold;
}

/* RESULT */

.result-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:18px;
}

.result-card{
  background:#fff;
  border:1px solid #ddd;
  border-radius:14px;
  overflow:hidden;
}

.compare{
  position:relative;
  height:230px;
  background:#f1f1f1;
}

.compare img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.after{
  position:absolute;
  top:0;
  left:0;
  width:50%;
  height:100%;
  overflow:hidden;
}

.after img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.slider{
  position:absolute;
  top:0;
  left:50%;
  width:3px;
  height:100%;
  background:#fff;
  box-shadow:0 0 10px rgba(0,0,0,0.3);
}

.stats{
  padding:15px;
  background:#fafafa;
  border-top:1px solid #eee;
}

.stat-box{
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:12px;
  margin-bottom:10px;
  font-size:13px;
  line-height:1.8;
}

.download-btn{
  width:100%;
  padding:12px;
  border:none;
  border-radius:8px;
  background:#0a3d62;
  color:#fff;
  cursor:pointer;
  font-weight:bold;
  text-decoration:none;
  display:block;
  text-align:center;
}

.note{
  margin-top:12px;
  font-size:13px;
  color:#666;
}

@media(max-width:768px){

  .compare{
    height:200px;
  }

}